Freigeben über


TrainingExamplesInput.GetResumptionToken Method

Definition

Token used to support the resumption of training.

[Android.Runtime.Register("getResumptionToken", "()[B", "", ApiSince=35)]
public byte[]? GetResumptionToken ();
[<Android.Runtime.Register("getResumptionToken", "()[B", "", ApiSince=35)>]
member this.GetResumptionToken : unit -> byte[]

Returns

Byte[]
Attributes

Remarks

Token used to support the resumption of training. If client app wants to use resumption token to track what examples are already used in previous federated compute jobs, it need set TrainingExampleRecord.Builder#setResumptionToken, OnDevicePersonalization will store it and pass it here for generating new training examples.

Java documentation for android.adservices.ondevicepersonalization.TrainingExamplesInput.getResumptionToken().

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