void onError(AndroidJavaObject firebaseError)
        {
            FirebaseErrorAndroidImpl errorImpl = new FirebaseErrorAndroidImpl(firebaseError);

            if (onErrorHandler != null)
            {
                onErrorHandler(new FirebaseError(errorImpl.Code, errorImpl.Message, errorImpl.Details));
            }
        }
Ejemplo n.º 2
0
        void onCancelled(AndroidJavaObject error)
        {
            FirebaseErrorAndroidImpl errorImpl            = new FirebaseErrorAndroidImpl(error);
            EventHandler <FirebaseErrorEventArgs> handler = parent.Error;

            if (handler != null)
            {
                handler(this, new FirebaseErrorEventArgs()
                {
                    Error = new FirebaseError(errorImpl.Code, errorImpl.Message, errorImpl.Details)
                });
            }
        }
Ejemplo n.º 3
0
		void onCancelled(AndroidJavaObject error) {
			FirebaseErrorAndroidImpl errorImpl = new FirebaseErrorAndroidImpl (error);
			EventHandler<ErrorEventArgs> handler = parent.Error;
			if (handler != null) {
				handler(this, new ErrorEventArgs() { Error = new FirebaseError(
					errorImpl.Code, errorImpl.Message, errorImpl.Details)});
			}
		}
Ejemplo n.º 4
0
		void onAuthenticationError(AndroidJavaObject firebaseError) {
			FirebaseErrorAndroidImpl errorImpl = new FirebaseErrorAndroidImpl (firebaseError);
			if (onError != null) {
				onError(new FirebaseError( errorImpl.Code, 
      					errorImpl.Message, errorImpl.Details));
			}
		}