Bundle.GetParcelable(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
[Android.Runtime.Register("getParcelable", "(Ljava/lang/String;)Landroid/os/Parcelable;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })]
public Java.Lang.Object? GetParcelable (string? key);
[<Android.Runtime.Register("getParcelable", "(Ljava/lang/String;)Landroid/os/Parcelable;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.Parcelable" })>]
member this.GetParcelable : string -> Java.Lang.Object
Parameters
- key
- String
a String, or null
Returns
a Parcelable value, or null
- Attributes
Remarks
Java documentation for android.os.Bundle.getParcelable(java.lang.String).
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.