FederatedComputeScheduler.Cancel(FederatedComputeInput) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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.