public void OnAirshipReady(UAirship airship) { if (callback != null) { callback.Invoke (airship); } }
public void OnAirshipReady(UAirship airship) { if (callback != null) { callback.Invoke(airship); } }
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()); } })); }