JniTypeSignatureAttribute.GenerateJavaPeer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.