Language

JniTypeSignatureAttribute Class

Definition

Specifies the JNI type name and array information for a managed type.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false)]
public sealed class JniTypeSignatureAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false)>]
type JniTypeSignatureAttribute = class
    inherit Attribute
Inheritance
JniTypeSignatureAttribute
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
JniTypeSignatureAttribute(String)

Creates an attribute with the specified simple JNI type reference.

Properties

Name Description
ArrayRank

Gets or sets the number of array dimensions in the JNI type.

GenerateJavaPeer

Gets or sets whether to generate a Java callable wrapper for the managed type.

InvokerType

Gets or sets the managed invoker type used for an abstract class or interface.

IsKeyword

Gets or sets whether SimpleReference is a primitive JNI type descriptor.

SimpleReference

Gets the simple JNI type reference supplied to the constructor.

Applies to