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());
         }
     }));
 }