Bundle.GetByte Bundle.GetByte Method

Definition

Overloads

GetByte(String) GetByte(String)

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) GetByte(String, SByte)

Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.

GetByte(String) GetByte(String)

Returns the value associated with the given key, or (byte) 0 if no mapping of the desired type exists for the given key.

[Android.Runtime.Register("getByte", "(Ljava/lang/String;)B", "")]
public sbyte GetByte (string key);
member this.GetByte : string -> sbyte

Parameters

key
String String

a String

Returns

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.

GetByte(String, SByte) GetByte(String, SByte)

Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.

[Android.Runtime.Register("getByte", "(Ljava/lang/String;B)Ljava/lang/Byte;", "")]
public Java.Lang.Byte GetByte (string key, sbyte defaultValue);
member this.GetByte : string * sbyte -> Java.Lang.Byte

Parameters

key
String String

a String

defaultValue
SByte SByte

Value to return if key does not exist

Returns

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