Language

InferenceInput.Params.Builder.SetKeyValueStore(IKeyValueStore) Method

Definition

A KeyValueStore where pre-trained model is stored.

[Android.Runtime.Register("setKeyValueStore", "(Landroid/adservices/ondevicepersonalization/KeyValueStore;)Landroid/adservices/ondevicepersonalization/InferenceInput$Params$Builder;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.InferenceInput.Params.Builder SetKeyValueStore(Android.AdServices.OnDevicePersonalization.IKeyValueStore value);
[<Android.Runtime.Register("setKeyValueStore", "(Landroid/adservices/ondevicepersonalization/KeyValueStore;)Landroid/adservices/ondevicepersonalization/InferenceInput$Params$Builder;", "", ApiSince=35)>]
member this.SetKeyValueStore : Android.AdServices.OnDevicePersonalization.IKeyValueStore -> Android.AdServices.OnDevicePersonalization.InferenceInput.Params.Builder

Parameters

value
IKeyValueStore

The key-value store that contains the model.

Returns

This builder, with the key-value store assigned.

Attributes

Remarks

A KeyValueStore where pre-trained model is stored.

Android reference for android.adservices.ondevicepersonalization.InferenceInput.Params.Builder.setKeyValueStore.

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