Language

JniTypeSignatureAttribute.GenerateJavaPeer Property

Definition

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

public bool GenerateJavaPeer { get; set; }
member this.GenerateJavaPeer : bool with get, set

Property Value

true to allow a Java callable wrapper; false to suppress one when this property is explicitly set.

Remarks

The property defaults to false. When the property is omitted from the attribute, the Java callable wrapper tooling does not suppress generation. Set the property explicitly to false to suppress generation.

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.

Applies to