public static void registerAsync(string senderId, GCMRegisterComplete callback)
		{
			if (RegistrationCallback != null)
				throw new Exception ("GCM Registration already in progress");

			RegistrationCallback = callback;
			PlayFabGCMClass.CallStatic ("registerInBackground", new object[] {senderId});
		}
Exemplo n.º 2
0
        internal static void RegistrationComplete(string id, string error)
        {
            if (_RegistrationCallback == null)
            {
                return;
            }

            _RegistrationCallback(id, error);
            _RegistrationCallback = null;
        }
Exemplo n.º 3
0
        public static void registerAsync(string senderId, GCMRegisterComplete callback)
        {
            if (RegistrationCallback != null)
            {
                throw new Exception("GCM Registration already in progress");
            }

            RegistrationCallback = callback;
            PlayFabGCMClass.CallStatic("registerInBackground", new object[] { senderId });
        }
Exemplo n.º 4
0
        internal static void RegistrationComplete(string id, string error)
		{
			if (_RegistrationCallback == null)
				return;

            _RegistrationCallback(id, error);
			_RegistrationCallback = null;
		}
Exemplo n.º 5
0
 public static void registerAsync(string senderId, GCMRegisterComplete callback)
 {
     registrationComplete(null, "Google Cloud Messaging not available");
 }
		public static void registerAsync(string senderId, GCMRegisterComplete callback)
		{
			registrationComplete(null, "Google Cloud Messaging not available");
		}