Package com.avaya.core

## Class FcmService

- java.lang.Object
- - FirebaseMessagingService
  - - com.avaya.core.FcmService

-     public class FcmService
      extends FirebaseMessagingService

  Firebase Cloud Messaging Service

  Service used to receive the push notification message from FCM.

  This service is automatically registered when using the AAR library.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FcmService()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onMessageReceived​(RemoteMessage message)` |
    `void` | `onNewToken​(java.lang.String token)` |
    `static void` | `triggerAvMessagingSdkNotification​(java.util.Map<java.lang.String,​java.lang.String> data, android.content.Context context)` | Helper function that handles a push notification received from AvMessagingSdk.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FcmService

          public FcmService()

  - ### Method Detail

    - #### onNewToken

          public void onNewToken​(java.lang.String token)

    - #### onMessageReceived

          public void onMessageReceived​(RemoteMessage message)

    - #### triggerAvMessagingSdkNotification

          public static void triggerAvMessagingSdkNotification​(java.util.Map<java.lang.String,​java.lang.String> data,
                                                               android.content.Context context)

      Helper function that handles a push notification received from AvMessagingSdk.
      Parameters:
        `data` - the data received in a RemoteMessage
        `context` - the context where the message was received