Class PushNotificationInfo
- Object
-
- PushNotificationInfo
-
public final class PushNotificationInfo extends Object
Describes an incoming call
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.static PushNotificationInfo
fromMap(Map<String,String> payload)
Retrieve IncomingCallInformation from FCM/GCM push notification payloadUUID
getCallId()
Get the UUID representing the call idPushNotificationEventType
getEventType()
Type of Push Notification EventCommunicationIdentifier
getFrom()
Get the CommunicationIdentifier representing the Call initiatorString
getFromDisplayName()
Gets the display name of the callerCommunicationIdentifier
getTo()
Get the CommunicationIdentifier representing the Calleeboolean
isIncomingWithVideo()
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:
finalize
in 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
-
-