Exemplo n.º 1
0
 /**
  * Simply pass a void no argument function to this function to handle registration
  */
 public static void OnPusheRegistered(PusheUnity.PusheDelegate pusheCallback)
 {
     PusheAndroidUtils.Native().CallStatic("setRegistrationCompleteListener", new RegisterCallback(pusheCallback));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Simply pass a void no argument function to this to handle initialization.
 ///
 /// * NOTE: This is not like Pushe.initialize() from Pushe 1.x. This is different.
 /// </summary>
 /// <param name="initCallback"></param>
 public static void OnPusheInitialized(PusheUnity.PusheDelegate initCallback)
 {
     PusheAndroidUtils.Native().CallStatic("setInitializationCompleteListener", new RegisterCallback(initCallback));
 }
Exemplo n.º 3
0
 public RegisterCallback(PusheUnity.PusheDelegate pushe) : base("co.pushe.plus.Pushe$Callback")
 {
     pusheSuccessDelegate = pushe;
 }