Język

InferenceInput.Params.Builder(IKeyValueStore, String) Constructor

Definition

Creates a new Builder.

[Android.Runtime.Register(".ctor", "(Landroid/adservices/ondevicepersonalization/KeyValueStore;Ljava/lang/String;)V", "", ApiSince=35)]
public Builder(Android.AdServices.OnDevicePersonalization.IKeyValueStore keyValueStore, string modelKey);
[<Android.Runtime.Register(".ctor", "(Landroid/adservices/ondevicepersonalization/KeyValueStore;Ljava/lang/String;)V", "", ApiSince=35)>]
new Android.AdServices.OnDevicePersonalization.InferenceInput.Params.Builder : Android.AdServices.OnDevicePersonalization.IKeyValueStore * string -> Android.AdServices.OnDevicePersonalization.InferenceInput.Params.Builder

Parameters

keyValueStore
IKeyValueStore

a KeyValueStore where pre-trained model is stored. This value cannot be null.

modelKey
String

key of the table where the corresponding value stores a pre-trained model. This value cannot be null.

Attributes

Remarks

Creates a new Builder.

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

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