BaseBundle.PutByteArray(String, Byte[]) 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.
Inserts a byte array value into the mapping of this Bundle, replacing any existing value for the given key.
[Android.Runtime.Register("putByteArray", "(Ljava/lang/String;[B)V", "GetPutByteArray_Ljava_lang_String_arrayBHandler", ApiSince=37)]
public virtual void PutByteArray(string? key, byte[]? value);
[<Android.Runtime.Register("putByteArray", "(Ljava/lang/String;[B)V", "GetPutByteArray_Ljava_lang_String_arrayBHandler", ApiSince=37)>]
abstract member PutByteArray : string * byte[] -> unit
override this.PutByteArray : string * byte[] -> unit
Parameters
- key
- String
a String, or null
- value
- Byte[]
a byte array object, or null
- Attributes
Remarks
Inserts a byte array value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null.
Android reference for android.os.BaseBundle.putByteArray.
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.