Android.OS.Bundle Members

The members of Android.OS.Bundle are listed below.

See Also: Inherited members from Android.OS.BaseBundle

Public Constructors

Constructs a new, empty Bundle.
Constructs a Bundle containing a copy of the mappings from the given Bundle.
Constructs a Bundle containing a copy of the mappings from the given PersistableBundle.
Constructs a new, empty Bundle that uses a specific ClassLoader for instantiating Parcelable and Serializable objects.
Constructs a new, empty Bundle sized to hold the given number of elements.

Public Properties

ClassLoaderJava.Lang.ClassLoader. Return the ClassLoader currently associated with this Bundle.
[read-only]
static
CreatorIParcelableCreator.
[read-only]
static
EmptyBundle.
[read-only]
HasFileDescriptorsbool. Reports whether the bundle contains any parcelled file descriptors.
[read-only]
override
IsEmptybool. Returns true if the mapping of this Bundle is empty, false otherwise.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
Clear()
Removes all elements from the mapping of this Bundle.
Clone() : Java.Lang.Object
Clones the current Bundle.
override
ContainsKey(string) : bool
Returns true if the given key is contained in the mapping of this Bundle.
DescribeContents() : int
Report the nature of this Parcelable's contents
override
Get(string) : Java.Lang.Object
Returns the entry with the given key as an object.
GetBinder(string) : IBinder
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.
GetBoolean(string) : bool
Returns the value associated with the given key, or false if no mapping of the desired type exists for the given key.
GetBoolean(string, bool) : bool
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
GetBooleanArray(string) : bool[]
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.
GetBundle(string) : Bundle
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.
GetByte(string) : sbyte
Returns the value associated with the given key, or (byte) 0 if no mapping of the desired type exists for the given key.
GetByte(string, sbyte) : Java.Lang.Byte
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
GetByteArray(string) : byte[]
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.
GetChar(string) : char
Returns the value associated with the given key, or (char) 0 if no mapping of the desired type exists for the given key.
GetChar(string, char) : char
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
GetCharArray(string) : char[]
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.
GetCharSequence(string) : string
Documentation for this section has not yet been entered.
GetCharSequence(string, string) : string
Documentation for this section has not yet been entered.
GetCharSequenceArray(string) : string[]
Documentation for this section has not yet been entered.
GetCharSequenceArrayFormatted(string) : Java.Lang.ICharSequence[]
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.
GetCharSequenceArrayList(string) : IList<Java.Lang.ICharSequence>
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.
GetCharSequenceFormatted(string) : Java.Lang.ICharSequence
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.
GetCharSequenceFormatted(string, Java.Lang.ICharSequence) : Java.Lang.ICharSequence
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key or if a null value is explicitly associatd with the given key.
override
GetDouble(string) : double
Returns the value associated with the given key, or 0.0 if no mapping of the desired type exists for the given key.
override
GetDouble(string, double) : double
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
override
GetDoubleArray(string) : double[]
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.
GetFloat(string) : float
Returns the value associated with the given key, or 0.0f if no mapping of the desired type exists for the given key.
GetFloat(string, float) : float
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
GetFloatArray(string) : float[]
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.
override
GetInt(string) : int
Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key.
override
GetInt(string, int) : int
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
override
GetIntArray(string) : int[]
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.
GetIntegerArrayList(string) : IList<Java.Lang.Integer>
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.
override
GetLong(string) : long
Returns the value associated with the given key, or 0L if no mapping of the desired type exists for the given key.
override
GetLong(string, long) : long
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
override
GetLongArray(string) : long[]
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.
GetParcelable(string) : Java.Lang.Object
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.
GetParcelableArray(string) : IParcelable[]
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.
GetParcelableArrayList(string) : IList
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.
GetSerializable(string) : Java.IO.ISerializable
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.
GetShort(string) : short
Returns the value associated with the given key, or (short) 0 if no mapping of the desired type exists for the given key.
GetShort(string, short) : short
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
GetShortArray(string) : short[]
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.
GetSize(string) : Android.Util.Size
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.
GetSizeF(string) : Android.Util.SizeF
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.
GetSparseParcelableArray(string) : Android.Util.SparseArray
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.
override
GetString(string) : string
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.
override
GetString(string, string) : string
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.
override
GetStringArray(string) : string[]
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.
GetStringArrayList(string) : IList<string>
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.
override
KeySet() : ICollection<string>
Returns a Set containing the Strings used as keys in this Bundle.
PutAll(Bundle)
Inserts all mappings from the given Bundle into this Bundle.
PutBinder(string, IBinder)
Inserts an Android.OS.BinderConsts value into the mapping of this Bundle, replacing any existing value for the given key.
PutBoolean(string, bool)
Inserts a Boolean value into the mapping of this Bundle, replacing any existing value for the given key.
PutBooleanArray(string, bool[])
Inserts a boolean array value into the mapping of this Bundle, replacing any existing value for the given key.
PutBundle(string, Bundle)
Inserts a Bundle value into the mapping of this Bundle, replacing any existing value for the given key.
PutByte(string, sbyte)
Inserts a byte value into the mapping of this Bundle, replacing any existing value for the given key.
PutByteArray(string, byte[])
Inserts a byte array value into the mapping of this Bundle, replacing any existing value for the given key.
PutChar(string, char)
Inserts a char value into the mapping of this Bundle, replacing any existing value for the given key.
PutCharArray(string, char[])
Inserts a char array value into the mapping of this Bundle, replacing any existing value for the given key.
PutCharSequence(string, Java.Lang.ICharSequence)
Inserts a CharSequence value into the mapping of this Bundle, replacing any existing value for the given key.
PutCharSequence(string, string)
Documentation for this section has not yet been entered.
PutCharSequenceArray(string, Java.Lang.ICharSequence[])
Inserts a CharSequence array value into the mapping of this Bundle, replacing any existing value for the given key.
PutCharSequenceArray(string, string[])
Documentation for this section has not yet been entered.
PutCharSequenceArrayList(string, IList<Java.Lang.ICharSequence>)
Documentation for this section has not yet been entered.
override
PutDouble(string, double)
Inserts a double value into the mapping of this Bundle, replacing any existing value for the given key.
override
PutDoubleArray(string, double[])
Inserts a double array value into the mapping of this Bundle, replacing any existing value for the given key.
PutFloat(string, float)
Inserts a float value into the mapping of this Bundle, replacing any existing value for the given key.
PutFloatArray(string, float[])
Inserts a float array value into the mapping of this Bundle, replacing any existing value for the given key.
override
PutInt(string, int)
Inserts an int value into the mapping of this Bundle, replacing any existing value for the given key.
override
PutIntArray(string, int[])
Inserts an int array value into the mapping of this Bundle, replacing any existing value for the given key.
PutIntegerArrayList(string, IList<Java.Lang.Integer>)
Documentation for this section has not yet been entered.
override
PutLong(string, long)
Inserts a long value into the mapping of this Bundle, replacing any existing value for the given key.
override
PutLongArray(string, long[])
Inserts a long array value into the mapping of this Bundle, replacing any existing value for the given key.
PutParcelable(string, IParcelable)
Inserts a Parcelable value into the mapping of this Bundle, replacing any existing value for the given key.
PutParcelableArray(string, IParcelable[])
Inserts an array of Parcelable values into the mapping of this Bundle, replacing any existing value for the given key.
PutParcelableArrayList(string, IList<IParcelable>)
Documentation for this section has not yet been entered.
PutSerializable(string, Java.IO.ISerializable)
Inserts a Serializable value into the mapping of this Bundle, replacing any existing value for the given key.
PutShort(string, short)
Inserts a short value into the mapping of this Bundle, replacing any existing value for the given key.
PutShortArray(string, short[])
Inserts a short array value into the mapping of this Bundle, replacing any existing value for the given key.
PutSize(string, Android.Util.Size)
Inserts a Size value into the mapping of this Bundle, replacing any existing value for the given key.
PutSizeF(string, Android.Util.SizeF)
Inserts a SizeF value into the mapping of this Bundle, replacing any existing value for the given key.
PutSparseParcelableArray(string, Android.Util.SparseArray)
Documentation for this section has not yet been entered.
override
PutString(string, string)
Inserts a String value into the mapping of this Bundle, replacing any existing value for the given key.
override
PutStringArray(string, string[])
Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key.
PutStringArrayList(string, IList<string>)
Documentation for this section has not yet been entered.
ReadFromParcel(Parcel)
Reads the Parcel contents into this Bundle, typically in order for it to be passed through an IBinder connection.
override
Remove(string)
Removes any entry with the given key from the mapping of this Bundle.
SetClassLoader(Java.Lang.ClassLoader)
Changes the ClassLoader this Bundle uses when instantiating objects.
override
Size() : int
Returns the number of mappings contained in this Bundle.
WriteToParcel(Parcel, ParcelableWriteFlags)
Writes the Bundle contents to a Parcel, typically in order for it to be passed through an IBinder connection.