public static void GetIdsAvailable(IdsAvailable idsAvailableDelegate)
 {
                 #if ONESIGNAL_PLATFORM
     OneSignal.idsAvailableDelegate = idsAvailableDelegate;
     oneSignalPlatform.IdsAvailable();
                 #endif
 }
示例#2
0
 // 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
 }
示例#3
0
 // Set OneSignal.idsAvailableDelegate before calling this method or use the method above.
 public static void IdsAvailable()
 {
     #if ONESIGNAL_PLATFORM
     oneSignalPlatform.IdsAvailable(null);
     #endif
 }