Partager via


IsolatedService.GetFederatedComputeScheduler(RequestToken) Method

Definition

Returns an FederatedComputeScheduler for the current request.

[Android.Runtime.Register("getFederatedComputeScheduler", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/FederatedComputeScheduler;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.FederatedComputeScheduler GetFederatedComputeScheduler (Android.AdServices.OnDevicePersonalization.RequestToken requestToken);
[<Android.Runtime.Register("getFederatedComputeScheduler", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/FederatedComputeScheduler;", "", ApiSince=35)>]
member this.GetFederatedComputeScheduler : Android.AdServices.OnDevicePersonalization.RequestToken -> Android.AdServices.OnDevicePersonalization.FederatedComputeScheduler

Parameters

requestToken
RequestToken

an opaque token that identifies the current request to the service.

Returns

An FederatedComputeScheduler that returns a federated computation job scheduler.

Attributes

Remarks

Returns an FederatedComputeScheduler for the current request. The FederatedComputeScheduler can be used to schedule and cancel federated computation jobs. The federated computation includes federated learning and federated analytic jobs.

Java documentation for android.adservices.ondevicepersonalization.IsolatedService.getFederatedComputeScheduler(android.adservices.ondevicepersonalization.RequestToken).

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