AdId Constructors
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
AdId(IntPtr, JniHandleOwnership) | |
AdId(String, Boolean) |
Creates an instance of |
AdId(IntPtr, JniHandleOwnership)
protected AdId (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.AdServices.AdIds.AdId : nativeint * Android.Runtime.JniHandleOwnership -> Android.AdServices.AdIds.AdId
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Applies to
AdId(String, Boolean)
Creates an instance of AdId
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "", ApiSince=34)]
public AdId (string adId, bool limitAdTrackingEnabled);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "", ApiSince=34)>]
new Android.AdServices.AdIds.AdId : string * bool -> Android.AdServices.AdIds.AdId
Parameters
- adId
- String
obtained from the provider service.
- limitAdTrackingEnabled
- Boolean
value from the provider service which determines the value of adId.
- Attributes
Remarks
Creates an instance of AdId
Java documentation for android.adservices.adid.AdId.AdId(java.lang.String, boolean)
.
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.