Java.Util.Prefs.AbstractPreferences.PutByteArray Method
Adds a new preference to this node using the given key and the string form of the given value or updates the value if a preference with the given key already exists.

Syntax

[Android.Runtime.Register("putByteArray", "(Ljava/lang/String;[B)V", "GetPutByteArray_Ljava_lang_String_arrayBHandler")]
public override void PutByteArray (string key, byte[] value)

Parameters

key
the preference key to be added or updated.
value
the preference value for the given key.

Remarks

Adds a new preference to this node using the given key and the string form of the given value or updates the value if a preference with the given key already exists.

The string form of the value is the Base64-encoded binary data of the given byte array. The Base64 encoding is as defined in , section 6.8.

[Android Documentation]

Requirements

Namespace: Java.Util.Prefs
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1