ContentValues.GetAsByteArray(String) Method

Definition

Gets a value that is a byte array.

[Android.Runtime.Register("getAsByteArray", "(Ljava/lang/String;)[B", "")]
public byte[]? GetAsByteArray (string? key);
[<Android.Runtime.Register("getAsByteArray", "(Ljava/lang/String;)[B", "")>]
member this.GetAsByteArray : string -> byte[]

Parameters

key
String

the value to get

Returns

Byte[]

the byte[] value, or null is the value is missing or not a byte[]

Attributes

Remarks

Gets a value that is a byte array. Note that this method will not convert any other types to byte arrays.

Java documentation for android.content.ContentValues.getAsByteArray(java.lang.String).

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