Package com.sinch.android.rtc.calling
Interface CallNotificationResult
-
public interface CallNotificationResult
The CallNotificationResult is used to indicate the result of a relayed push notification (read moreSinchClient.relayRemotePushNotificationPayload(java.lang.String)
andNotificationResult.getCallResult()
). The CallNotificationResult includes call related information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCallId()
Returns the call identifier.java.util.Map<java.lang.String,java.lang.String>
getHeaders()
Returns public headers associated with the call.java.lang.String
getRemoteUserId()
Returns the remote user identifier.boolean
isTimedOut()
Indicates whether the call has timed out.boolean
isVideoOffered()
Returns whether the caller offered video.
-
-
-
Method Detail
-
getCallId
java.lang.String getCallId()
Returns the call identifier.- Returns:
- the call identifier.
-
getRemoteUserId
java.lang.String getRemoteUserId()
Returns the remote user identifier.- Returns:
- the remote user identifier.
-
isVideoOffered
boolean isVideoOffered()
Returns whether the caller offered video.- Returns:
- true if the caller offered video, false otherwise.
-
getHeaders
java.util.Map<java.lang.String,java.lang.String> getHeaders()
Returns public headers associated with the call.- Returns:
- empty string if no headers were set by the call initiator.
-
isTimedOut
boolean isTimedOut()
Indicates whether the call has timed out.- Returns:
- true if the call has timed out, otherwise false.
-
-