Partager via


FederatedComputeScheduler.Cancel(FederatedComputeInput) Method

Definition

Cancels a federated compute job with input training params.

[Android.Runtime.Register("cancel", "(Landroid/adservices/ondevicepersonalization/FederatedComputeInput;)V", "GetCancel_Landroid_adservices_ondevicepersonalization_FederatedComputeInput_Handler", ApiSince=35)]
public virtual void Cancel (Android.AdServices.OnDevicePersonalization.FederatedComputeInput input);
[<Android.Runtime.Register("cancel", "(Landroid/adservices/ondevicepersonalization/FederatedComputeInput;)V", "GetCancel_Landroid_adservices_ondevicepersonalization_FederatedComputeInput_Handler", ApiSince=35)>]
abstract member Cancel : Android.AdServices.OnDevicePersonalization.FederatedComputeInput -> unit
override this.Cancel : Android.AdServices.OnDevicePersonalization.FederatedComputeInput -> unit

Parameters

input
FederatedComputeInput

the configuration of the federated compute. It should be consistent with the federated compute server setup.

Attributes

Remarks

Cancels a federated compute job with input training params. In IsolatedService#onRequest, the app can call IsolatedService#getFederatedComputeScheduler to pass scheduler when construct IsolatedWorker.

Java documentation for android.adservices.ondevicepersonalization.FederatedComputeScheduler.cancel(android.adservices.ondevicepersonalization.FederatedComputeInput).

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