Compartilhar via


ExportAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public class ExportAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type ExportAttribute = class
    inherit Attribute
Inheritance
ExportAttribute
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

ExportAttribute()
ExportAttribute(String)

Creates a new instance of this type.

Properties

Name

Specifies the Java method name to be generated.

SuperArgumentsString
Throws

Specifies which types could be thrown, which will be used to indicate the checked exceptions.

Applies to