| Package | com.tuarua.firebase | 
| Class | public class Messaging | 
| Inheritance | Messaging    flash.events.EventDispatcher | 
| Property | Defined By | ||
|---|---|---|---|
| channelId : String [static] [write-only]  The id of the channel.  | Messaging | ||
| channelName : String [static] [write-only] 
     The user visible name of the channel.  | Messaging | ||
| token : String [read-only] 
      The FCM token is used to identify this device so that FCM can send notifications to it.  | Messaging | ||
| Method | Defined By | ||
|---|---|---|---|
dispose():void [static]  Disposes the ANE   | Messaging | ||
subscribe(toTopic:String):void 
      Asynchronously subscribes to a topic.  | Messaging | ||
unsubscribe(fromTopic:String):void 
      Asynchronously unsubscribe from a topic.  | Messaging | ||
| channelId | property | 
channelId:String  [write-only] The id of the channel. Must be unique per package. The value may be truncated if it is too long.
    public static function set channelId(value:String):void| channelName | property | 
channelName:String  [write-only] The user visible name of the channel. The recommended maximum length is 40 characters; the value may be truncated if it is too long.
    public static function set channelName(value:String):void| token | property | 
token:String  [read-only] 
The FCM token is used to identify this device so that FCM can send notifications to it. It is associated with your APNS token when the APNS token is supplied, so that sending messages to the FCM token will be delivered over APNS.
The FCM token is sometimes refreshed automatically.
Once you have an FCM token, you should send it to your application server, so it can use the FCM token to send notifications to your device.
    public function get token():String| dispose | () | method | 
 public static function dispose():voidDisposes the ANE
| subscribe | () | method | 
 public function subscribe(toTopic:String):voidAsynchronously subscribes to a topic.
Parameters
toTopic:String — The name of the topic, for example, "sports".
      | 
| unsubscribe | () | method | 
 public function unsubscribe(fromTopic:String):voidAsynchronously unsubscribe from a topic.
Parameters
fromTopic:String — The name of the topic, for example "sports".
      |