MeasurementManager.GetMeasurementApiStatus 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
GetMeasurementApiStatus(IExecutor, IAdServicesOutcomeReceiver) |
Get Measurement API status. |
GetMeasurementApiStatus(IExecutor, IOutcomeReceiver) |
Get Measurement API status. |
GetMeasurementApiStatus(IExecutor, IAdServicesOutcomeReceiver)
Get Measurement API status.
[Android.Runtime.Register("getMeasurementApiStatus", "(Ljava/util/concurrent/Executor;Landroid/adservices/common/AdServicesOutcomeReceiver;)V", "GetGetMeasurementApiStatus_Ljava_util_concurrent_Executor_Landroid_adservices_common_AdServicesOutcomeReceiver_Handler", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_ADSERVICES_ATTRIBUTION")]
public virtual void GetMeasurementApiStatus (Java.Util.Concurrent.IExecutor executor, Android.AdServices.Common.IAdServicesOutcomeReceiver callback);
[<Android.Runtime.Register("getMeasurementApiStatus", "(Ljava/util/concurrent/Executor;Landroid/adservices/common/AdServicesOutcomeReceiver;)V", "GetGetMeasurementApiStatus_Ljava_util_concurrent_Executor_Landroid_adservices_common_AdServicesOutcomeReceiver_Handler", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_ADSERVICES_ATTRIBUTION")>]
abstract member GetMeasurementApiStatus : Java.Util.Concurrent.IExecutor * Android.AdServices.Common.IAdServicesOutcomeReceiver -> unit
override this.GetMeasurementApiStatus : Java.Util.Concurrent.IExecutor * Android.AdServices.Common.IAdServicesOutcomeReceiver -> unit
Parameters
- executor
- IExecutor
used by callback to dispatch results.
- callback
- IAdServicesOutcomeReceiver
intended to notify asynchronously the API result.
- Attributes
Remarks
Get Measurement API status.
The callback's Integer
value is one of MeasurementApiState
.
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
GetMeasurementApiStatus(IExecutor, IOutcomeReceiver)
Get Measurement API status.
[Android.Runtime.Register("getMeasurementApiStatus", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetGetMeasurementApiStatus_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_ADSERVICES_ATTRIBUTION")]
public virtual void GetMeasurementApiStatus (Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("getMeasurementApiStatus", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetGetMeasurementApiStatus_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_ADSERVICES_ATTRIBUTION")>]
abstract member GetMeasurementApiStatus : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.GetMeasurementApiStatus : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- executor
- IExecutor
used by callback to dispatch results.
- callback
- IOutcomeReceiver
intended to notify asynchronously the API result.
- Attributes
Remarks
Get Measurement API status.
The callback's Integer
value is one of MeasurementApiState
.
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.