xamarin-macios/src/adsupport.cs

31 строка
630 B
C#
Исходник Обычный вид История

2016-04-21 15:30:02 +03:00
//
// AdSupport bindings.
//
// Authors:
// Sebastien Pouliot <sebastien@xamarin.com>
//
// Copyright 2012 Xamarin Inc. All rights reserved.
//
using ObjCRuntime;
using Foundation;
2016-04-21 15:30:02 +03:00
using System;
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; }
}
}