MeasurementManager.DeleteRegistrations 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.
Overloads
DeleteRegistrations(DeletionRequest, IExecutor, IAdServicesOutcomeReceiver) |
Delete previous registrations. |
DeleteRegistrations(DeletionRequest, IExecutor, IOutcomeReceiver) |
Delete previous registrations. |
DeleteRegistrations(DeletionRequest, IExecutor, IAdServicesOutcomeReceiver)
Delete previous registrations.
[Android.Runtime.Register("deleteRegistrations", "(Landroid/adservices/measurement/DeletionRequest;Ljava/util/concurrent/Executor;Landroid/adservices/common/AdServicesOutcomeReceiver;)V", "GetDeleteRegistrations_Landroid_adservices_measurement_DeletionRequest_Ljava_util_concurrent_Executor_Landroid_adservices_common_AdServicesOutcomeReceiver_Handler", ApiSince=35)]
public virtual void DeleteRegistrations (Android.AdServices.Measurement.DeletionRequest deletionRequest, Java.Util.Concurrent.IExecutor executor, Android.AdServices.Common.IAdServicesOutcomeReceiver callback);
[<Android.Runtime.Register("deleteRegistrations", "(Landroid/adservices/measurement/DeletionRequest;Ljava/util/concurrent/Executor;Landroid/adservices/common/AdServicesOutcomeReceiver;)V", "GetDeleteRegistrations_Landroid_adservices_measurement_DeletionRequest_Ljava_util_concurrent_Executor_Landroid_adservices_common_AdServicesOutcomeReceiver_Handler", ApiSince=35)>]
abstract member DeleteRegistrations : Android.AdServices.Measurement.DeletionRequest * Java.Util.Concurrent.IExecutor * Android.AdServices.Common.IAdServicesOutcomeReceiver -> unit
override this.DeleteRegistrations : Android.AdServices.Measurement.DeletionRequest * Java.Util.Concurrent.IExecutor * Android.AdServices.Common.IAdServicesOutcomeReceiver -> unit
Parameters
- deletionRequest
- DeletionRequest
The request for deleting data.
- executor
- IExecutor
The executor to run callback.
- callback
- IAdServicesOutcomeReceiver
intended to notify asynchronously the API result.
- Attributes
Remarks
Delete previous registrations. If the deletion is successful, the callback's OutcomeReceiver#onResult
is invoked with null. In case of failure, a Exception
is sent through the callback's OutcomeReceiver#onError
. Both success and failure feedback are executed on the provided Executor
.
For use on Android R or lower.
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
DeleteRegistrations(DeletionRequest, IExecutor, IOutcomeReceiver)
Delete previous registrations.
[Android.Runtime.Register("deleteRegistrations", "(Landroid/adservices/measurement/DeletionRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetDeleteRegistrations_Landroid_adservices_measurement_DeletionRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)]
public virtual void DeleteRegistrations (Android.AdServices.Measurement.DeletionRequest deletionRequest, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("deleteRegistrations", "(Landroid/adservices/measurement/DeletionRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetDeleteRegistrations_Landroid_adservices_measurement_DeletionRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)>]
abstract member DeleteRegistrations : Android.AdServices.Measurement.DeletionRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.DeleteRegistrations : Android.AdServices.Measurement.DeletionRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- deletionRequest
- DeletionRequest
The request for deleting data.
- executor
- IExecutor
The executor to run callback.
- callback
- IOutcomeReceiver
intended to notify asynchronously the API result.
- Attributes
Remarks
Delete previous registrations. If the deletion is successful, the callback's OutcomeReceiver#onResult
is invoked with null. In case of failure, a Exception
is sent through the callback's OutcomeReceiver#onError
. Both success and failure feedback are executed on the provided Executor
.
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.