public static void GetIdsAvailable(IdsAvailable idsAvailableDelegate) { #if ONESIGNAL_PLATFORM OneSignal.idsAvailableDelegate = idsAvailableDelegate; oneSignalPlatform.IdsAvailable(); #endif }
// Call this if you need the playerId and/or pushToken // NOTE: pushToken maybe null if notifications are not accepted or there is connectivity issues. public static void IdsAvailable(IdsAvailableCallback inIdsAvailableDelegate) { #if ONESIGNAL_PLATFORM idsAvailableDelegate = inIdsAvailableDelegate; oneSignalPlatform.IdsAvailable(); #endif }
// Set OneSignal.idsAvailableDelegate before calling this method or use the method above. public static void IdsAvailable() { #if ONESIGNAL_PLATFORM oneSignalPlatform.IdsAvailable(null); #endif }