Class PushNotificationInfo
- Object
-
- PushNotificationInfo
-
public final class PushNotificationInfo extends ObjectDescribes an incoming call
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.static PushNotificationInfofromMap(Map<String,String> payload)Retrieve IncomingCallInformation from FCM/GCM push notification payloadUUIDgetCallId()Get the UUID representing the call idPushNotificationEventTypegetEventType()Type of Push Notification EventCommunicationIdentifiergetFrom()Get the CommunicationIdentifier representing the Call initiatorStringgetFromDisplayName()Gets the display name of the callerCommunicationIdentifiergetTo()Get the CommunicationIdentifier representing the CalleebooleanisIncomingWithVideo()Indicates whether the incoming call has a video or not
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalizein classObject
-
getFromDisplayName
public String getFromDisplayName()
Gets the display name of the caller
-
isIncomingWithVideo
public boolean isIncomingWithVideo()
Indicates whether the incoming call has a video or not
-
getEventType
public PushNotificationEventType getEventType()
Type of Push Notification Event
-
getFrom
public CommunicationIdentifier getFrom()
Get the CommunicationIdentifier representing the Call initiator- Returns:
- a CommunicationIdentifier object representing the call initiator.
-
getTo
public CommunicationIdentifier getTo()
Get the CommunicationIdentifier representing the Callee- Returns:
- a CommunicationIdentifier object representing the callee.
-
getCallId
public UUID getCallId()
Get the UUID representing the call id- Returns:
- a UUID representing the call id
-
fromMap
public static PushNotificationInfo fromMap(Map<String,String> payload)
Retrieve IncomingCallInformation from FCM/GCM push notification payload- Parameters:
payload- a dictionary representing the push notification payload from FCM/GCM- Returns:
- IncomingCallInformation an object representing details of the push notification information
-
-