# GetSignature

> Creates the JNI signature string for particular object type.

## Definition

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

## GetSignature(Object)

Creates the JNI signature string for particular object type.

```csharp
public static string GetSignature(object obj)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): Object for which a signature is to be produced.

### Returns

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

## GetSignature(Object\[])

Creates the JNI signature string for an object parameter list.

```csharp
public static string GetSignature(object[] args)
```

### Parameters

**** (\[Object\[]]\(https\://learn.microsoft.com/dotnet/api/system.object)): Array of object for which a signature is to be produced.

### Returns

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

## GetSignature\<T>(Object\[])

Creates the JNI signature string for an object parameter list.

```csharp
public static string GetSignature<ReturnType>(object[] args)
```

### Parameters

**** (\[Object\[]]\(https\://learn.microsoft.com/dotnet/api/system.object)): Array of object for which a signature is to be produced.

### Returns

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

### Remarks

The generic parameter represents the method return type.
