The primary manager class for the Urban Airship plugin.
Пример #1
0
 public void OnAirshipReady(UAirship airship)
 {
     if (callback != null)
     {
         callback.Invoke (airship);
     }
 }
Пример #2
0
 public void OnAirshipReady(UAirship airship)
 {
     if (callback != null)
     {
         callback.Invoke(airship);
     }
 }
Пример #3
0
 static UAirship()
 {
     UAirship.Shared(new AirshipReadyCallback((UAirship airship) =>
     {
         // Register Airship Xamarin component
         Object[] crossPlatformVersions = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(UACrossPlatformVersionAttribute), false);
         if (crossPlatformVersions.Length >= 1)
         {
             UACrossPlatformVersionAttribute version = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(UACrossPlatformVersionAttribute), false)[0] as UACrossPlatformVersionAttribute;
             airship.Analytics.RegisterSDKExtension(AnalyticsClass.ExtensionXamarin, version.Version.ToString());
         }
     }));
 }