IKeyValueStore.Get(String) Method

Definition

Looks up a key in a read-only store.

[Android.Runtime.Register("get", "(Ljava/lang/String;)[B", "GetGet_Ljava_lang_String_Handler:Android.AdServices.OnDevicePersonalization.IKeyValueStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public byte[]? Get (string key);
[<Android.Runtime.Register("get", "(Ljava/lang/String;)[B", "GetGet_Ljava_lang_String_Handler:Android.AdServices.OnDevicePersonalization.IKeyValueStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member Get : string -> byte[]

Parameters

key
String

The key to look up.

Returns

Byte[]

the value to which the specified key is mapped, or null if there contains no mapping for the key.

Attributes

Remarks

Looks up a key in a read-only store.

Java documentation for android.adservices.ondevicepersonalization.KeyValueStore.get(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