NewByteArray(int)
Constructs a new primitive array object.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
public static IntPtr NewByteArray(int size)
Parameters
Returns
Type | Description |
|---|---|
| IntPtr |
Remarks
AndroidJNI.NewByteArray is obsolete. Use AndroidJNI.NewSByteArray instead.
Additional Resources: Java Native Interface Specification (Oracle)