# FromShortArray(IntPtr)

> Converts a Java array of \<tt\>short\</tt\> to a managed array of System.Int16.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public static short[] FromShortArray(IntPtr array)
```

### Parameters

**** (\[IntPtr]\(https\://learn.microsoft.com/dotnet/api/system.intptr)):&#x20;

### Returns

| Type                                                             | Description |
| ---------------------------------------------------------------- | ----------- |
| [short\[\]](https://learn.microsoft.com/dotnet/api/system.int16) |             |

### Remarks

Additional Resources: [AndroidJNI.GetShortArrayElement](/engine/6000.0/script-reference/unityengine/androidjni/getshortarrayelement.md), [AndroidJNI.GetArrayLength](/engine/6000.0/script-reference/unityengine/androidjni/getarraylength.md).
