Android.OS.BaseBundle Members

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

See Also: Inherited members from Java.Lang.Object

Protected Constructors

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

Public Properties

[read-only]
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

Clear()
Removes all elements from the mapping of this Bundle.
ContainsKey(string) : bool
Returns true if the given key is contained in the mapping of this Bundle.
Get(string) : Java.Lang.Object
Returns the entry with the given key as an object.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 or if a null value is explicitly associated with the given key.
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.
KeySet() : ICollection<string>
Returns a Set containing the Strings used as keys in this Bundle.
PutAll(PersistableBundle)
Inserts all mappings from the given PersistableBundle into this BaseBundle.
PutDouble(string, double)
Inserts a double value into the mapping of this Bundle, replacing any existing value for the given key.
PutDoubleArray(string, double[])
Inserts a double array value into the mapping of this Bundle, replacing any existing value for the given key.
PutInt(string, int)
Inserts an int value into the mapping of this Bundle, replacing any existing value for the given key.
PutIntArray(string, int[])
Inserts an int array value into the mapping of this Bundle, replacing any existing value for the given key.
PutLong(string, long)
Inserts a long value into the mapping of this Bundle, replacing any existing value for the given key.
PutLongArray(string, long[])
Inserts a long array value into the mapping of this Bundle, replacing any existing value for the given key.
PutString(string, string)
Inserts a String value into the mapping of this Bundle, replacing any existing value for the given key.
PutStringArray(string, string[])
Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key.
Remove(string)
Removes any entry with the given key from the mapping of this Bundle.
Size() : int
Returns the number of mappings contained in this Bundle.