PushNotificationInfo Class
- java.
lang. Object - com.
azure. android. communication. calling. PushNotificationInfo
- com.
public class PushNotificationInfo
Describes an incoming call
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
Push |
fromMap(Map<String, String> payload)
Retrieve IncomingCallInformation from FCM/GCM push notification payload |
java.util.UUID |
getCallId()
Get the UUID representing the call id |
Push |
getEventType()
Type of Push Notification Event |
com.azure.android.communication.common.CommunicationIdentifier |
getFrom()
Get the CommunicationIdentifier representing the Call initiator |
String |
getFromDisplayName()
Gets the display name of the caller |
com.azure.android.communication.common.CommunicationIdentifier |
getTo()
Get the CommunicationIdentifier representing the Callee |
boolean |
isIncomingWithVideo()
Indicates whether the incoming call has a video or not |
Method Details
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.
fromMap
public static PushNotificationInfo fromMap(Map
Retrieve IncomingCallInformation from FCM/GCM push notification payload
Parameters:
Returns:
getCallId
public java.util.UUID getCallId()
Get the UUID representing the call id
Returns:
getEventType
public PushNotificationEventType getEventType()
Type of Push Notification Event
getFrom
public com.azure.android.communication.common.CommunicationIdentifier getFrom()
Get the CommunicationIdentifier representing the Call initiator
Returns:
getFromDisplayName
public String getFromDisplayName()
Gets the display name of the caller
getTo
public com.azure.android.communication.common.CommunicationIdentifier getTo()
Get the CommunicationIdentifier representing the Callee
Returns:
isIncomingWithVideo
public boolean isIncomingWithVideo()
Indicates whether the incoming call has a video or not