Class AN_FirebaseMessaging
Firebase Messaging proxy.
Inheritance
System.Object
AN_FirebaseMessaging
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.Android.Firebase.Messaging
Assembly: cs.temp.dll.dll
Syntax
public static class AN_FirebaseMessaging
Properties
OnFbMessageReceived
Declaration
public static SA_iEvent<AN_FirebaseMessage> OnFbMessageReceived { get; }
Property Value
| Type | Description |
|---|---|
| SA_iEvent<AN_FirebaseMessage> |
Methods
Initialize(Action<String>)
Initialize FCM service. Once the initialization is successfully established, OnFBTokenReceived will be invoked with registration token and available after method callback
The Firebase Cloud Message library will be initialized when adding handlers for either the TokenReceived or MessageReceived events.
Declaration
public static void Initialize(Action<string> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<System.String> | callback | The Initialize result callback |