Android.Runtime.RegisterAttribute.DoNotGenerateAcw Property
Whether an Android Callable Wrapper should be generated for the type.

Syntax

public bool DoNotGenerateAcw { get; set; }

Value

If true, then Android Callable Wrappers will not be generated for the type; otherwise, Android Callable Wrappers will be generated (the default).

Remarks

This property is only used for [Register] attributes placed on classes which inherit Java.Lang.Object.

Set the DoNotGenerateAcw property when declaring a type that "aliases" a Java type -- that is, it has the same name as a Java type -- and an Android Callable Wrapper should not be generated.

C# Example

[Register ("java/util/ArrayList", DoNotGenerateAcw=true)]
class MyArrayList : Java.Lang.Object {
    // ...
}
          

Requirements

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