Language

JniRuntime.CreationOptions.JniAddNativeMethodRegistrationAttributePresent Property

Definition

Gets or sets whether reflection registration scans for methods marked with JniAddNativeMethodRegistrationAttribute.

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

Property Value

true to enable the attribute scan; otherwise, false. The default is true.

Remarks

Disabling this scan does not disable a generated registration method that the type manager finds by its known name.

Applies to