2016-04-21 15:30:02 +03:00
|
|
|
//
|
|
|
|
// AdSupport bindings.
|
|
|
|
//
|
|
|
|
// Authors:
|
|
|
|
// Sebastien Pouliot <sebastien@xamarin.com>
|
|
|
|
//
|
|
|
|
// Copyright 2012 Xamarin Inc. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2018-02-05 18:26:29 +03:00
|
|
|
using ObjCRuntime;
|
|
|
|
using Foundation;
|
2016-04-21 15:30:02 +03:00
|
|
|
using System;
|
|
|
|
|
2018-02-05 18:26:29 +03:00
|
|
|
namespace AdSupport {
|
2016-04-21 15:30:02 +03:00
|
|
|
|
2018-06-12 15:19:16 +03:00
|
|
|
[iOS (6,0)][Mac (10,14)]
|
2016-04-21 15:30:02 +03:00
|
|
|
[BaseType (typeof (NSObject))]
|
|
|
|
[DisableDefaultCtor]
|
|
|
|
interface ASIdentifierManager {
|
|
|
|
|
|
|
|
[Export ("sharedManager")]
|
|
|
|
[Static]
|
|
|
|
ASIdentifierManager SharedManager { get; }
|
|
|
|
|
|
|
|
[Export ("advertisingTrackingEnabled")]
|
|
|
|
bool IsAdvertisingTrackingEnabled { [Bind ("isAdvertisingTrackingEnabled")] get; }
|
|
|
|
|
|
|
|
[Export ("advertisingIdentifier")]
|
|
|
|
NSUuid AdvertisingIdentifier { get; }
|
|
|
|
}
|
|
|
|
}
|