Udostępnij za pośrednictwem


BadParcelableException Constructors

Definition

Overloads

BadParcelableException(Exception)
BadParcelableException(String)
BadParcelableException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

BadParcelableException(Exception)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")]
public BadParcelableException (Java.Lang.Exception? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")>]
new Android.OS.BadParcelableException : Java.Lang.Exception -> Android.OS.BadParcelableException

Parameters

cause
Exception
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.

Applies to

BadParcelableException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public BadParcelableException (string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.OS.BadParcelableException : string -> Android.OS.BadParcelableException

Parameters

msg
String
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.

Applies to

BadParcelableException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected BadParcelableException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.BadParcelableException : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.BadParcelableException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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.

Applies to