示例#1
0
 /// <summary>
 /// Registers the push.
 /// </summary>
 /// <param name="callback">Callback delegate. If exception is null, execution is succeeded.</param>
 /// <remarks></remarks>
 public void RegisterPush(KiiRegisterPushCallback callback)
 {
     try
     {
         this.registerCallback = callback;
         kiiPush.Call("getRegistrationID");
     }
     catch (Exception e)
     {
         callback(null, e);
     }
 }
示例#2
0
 /// <summary>
 /// Registers the push.
 /// </summary>
 /// <param name="callback">Callback delegate. If exception is null, execution is succeeded.</param>
 /// <remarks></remarks>
 public void RegisterPush(KiiRegisterPushCallback callback)
 {
     try
     {
         this.registerCallback = callback;
         kiiPush.Call("getRegistrationID");
         Debug.Log("#####KiiPushReceiver.RegisterPush");
     }
     catch (Exception e)
     {
         callback(null, e);
     }
 }
示例#3
0
 /// <summary>
 /// Registers the push.
 /// </summary>
 /// <param name="callback">Callback delegate. If exception is null, execution is succeeded.</param>
 /// <remarks></remarks>
 public void RegisterPush(KiiRegisterPushCallback callback)
 {
 }
示例#4
0
 public void RegisterPush(KiiRegisterPushCallback callback)
 {
     this.callback = callback;
     registerForRemoteNotifications();
 }
		/// <summary>
		/// Registers the push.
		/// </summary>
		/// <param name="callback">Callback delegate. If exception is null, execution is succeeded.</param>
		/// <remarks></remarks>
		public void RegisterPush(KiiRegisterPushCallback callback)
		{
		}
		/// <summary>
		/// Registers the push.
		/// </summary>
		/// <param name="callback">Callback delegate. If exception is null, execution is succeeded.</param>
		/// <remarks></remarks>
		public void RegisterPush(KiiRegisterPushCallback callback)
		{
			try
			{
				this.registerCallback = callback;
				kiiPush.Call ("getRegistrationID");
			}
			catch (Exception e)
			{
				callback (null, e);
			}
		}
		public void RegisterPush(KiiRegisterPushCallback callback)
		{
			this.callback = callback;
			registerForRemoteNotifications();
		}
示例#8
0
		/// <summary>
		/// Registers the push.
		/// </summary>
		/// <param name="callback">Callback delegate. If exception is null, execution is succeeded.</param>
		/// <remarks></remarks>
		public void RegisterPush(KiiRegisterPushCallback callback)
		{
			try
			{
				this.registerCallback = callback;
				kiiPush.Call ("getRegistrationID");
				Debug.Log ("#####KiiPushReceiver.RegisterPush");
			}
			catch (Exception e)
			{
				callback (null, e);
			}
		}