public final enum

PushNotificationType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.glia.androidsdk.fcm.PushNotificationType

Class Overview

Defines the possible types the Glia push notification events

Summary

Enum Values
PushNotificationType  END  Triggers when an engagement ends. 
PushNotificationType  FAILED  Triggers when the engagement request ends without resulting in an engagement. 
PushNotificationType  MESSAGE  Triggers when a chat message is sent. 
PushNotificationType  START  Triggers when an engagement starts. 
PushNotificationType  TRANSFER  Triggers when the engagement is transferred to another user. 
PushNotificationType  UNKNOWN  Default value, could be received if value returned by server is not supported by current version of SDK  
Public Methods
int getStringResId()
Provides the default message for the push notification type.
static PushNotificationType valueOf(String name)
final static PushNotificationType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PushNotificationType END

Triggers when an engagement ends.

public static final PushNotificationType FAILED

Triggers when the engagement request ends without resulting in an engagement.

public static final PushNotificationType MESSAGE

Triggers when a chat message is sent.

public static final PushNotificationType START

Triggers when an engagement starts.

public static final PushNotificationType TRANSFER

Triggers when the engagement is transferred to another user.

public static final PushNotificationType UNKNOWN

Default value, could be received if value returned by server is not supported by current version of SDK

Public Methods

public int getStringResId ()

Provides the default message for the push notification type.

Returns
  • Android string resource reference of the default notification message

public static PushNotificationType valueOf (String name)

public static final PushNotificationType[] values ()