Java.Interop.ExportAttribute Class
Used on a method to indicate Java code generator to export a Java method that becomes an Android Callable Wrapper (ACW).

See Also: ExportAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)]
public class ExportAttribute : Attribute

Remarks

Java.Introp.ExportAttribute and Java.Introp.ExportFieldAttribute are used to generate Java method and/or field explicitly in Android Callable Wrappers (ACWs), with specific name. The Mono for Android build process does not usually generate Java methods that is not necessary, but they are required in some usage scenario. This attribute is introduced to support them.

For details, see ExportAttribute section of the documentation page.

This type is introduced in Mono for Android 4.2.

Requirements

Namespace: Java.Interop
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0