GetShortArrayElement(IntPtr, int)
Returns the value of one element of a primitive array.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
public static short GetShortArrayElement(IntPtr array, int index)
Parameters
Returns
Type | Description |
|---|---|
| short |
Remarks
This function is a special case of GetShortArrayRegion(), called with region size set to 1.
Additional Resources: Java Native Interface Specification (Oracle)