-
public interface StreamIntentResolverWithPayload
-
-
Method Summary
Modifier and Type Method Description abstract PendingIntentsearchIncomingCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive incoming calls from Stream Server. abstract PendingIntentsearchOutgoingCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that is used for outgoing calls. abstract PendingIntentsearchNotificationCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive live calls from Stream Server. abstract PendingIntentsearchMissedCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive missed calls from Stream Server. abstract PendingIntentgetDefaultPendingIntent(Map<String, Object> payload)abstract PendingIntentsearchLiveCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive live calls from Stream Server. abstract PendingIntentsearchAcceptCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can accept call from Stream Server. abstract PendingIntentsearchRejectCallPendingIntent(StreamCallId callId, Map<String, Object> payload)Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server. abstract PendingIntentsearchEndCallPendingIntent(StreamCallId callId, Map<String, Object> payload)Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server. abstract PendingIntentsearchOngoingCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Searches an activity that will accept the ACTION_ONGOING_CALL intent and jump right back into the call. -
-
Method Detail
-
searchIncomingCallPendingIntent
abstract PendingIntent searchIncomingCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)
Search for an activity that can receive incoming calls from Stream Server.
- Parameters:
callId- The call id from the incoming call.notificationId- the notification ID.payload- The payload from Push Notification
-
searchOutgoingCallPendingIntent
abstract PendingIntent searchOutgoingCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)
Search for an activity that is used for outgoing calls. Calls are considered outgoing until the call is accepted.
- Parameters:
callId- the call idnotificationId- the notification ID.payload- The payload from Push Notification
-
searchNotificationCallPendingIntent
abstract PendingIntent searchNotificationCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)
Search for an activity that can receive live calls from Stream Server.
- Parameters:
callId- The call id from the incoming call.notificationId- the notification ID.payload- The payload from Push Notification
-
searchMissedCallPendingIntent
abstract PendingIntent searchMissedCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)
Search for an activity that can receive missed calls from Stream Server.
- Parameters:
callId- The call id from the incoming call.notificationId- the notification ID.payload- The payload from Push Notification
-
getDefaultPendingIntent
abstract PendingIntent getDefaultPendingIntent(Map<String, Object> payload)
-
searchLiveCallPendingIntent
abstract PendingIntent searchLiveCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)
Search for an activity that can receive live calls from Stream Server.
- Parameters:
callId- The call id from the incoming call.notificationId- the notification ID.payload- The payload from Push Notification
-
searchAcceptCallPendingIntent
abstract PendingIntent searchAcceptCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)
Search for an activity that can accept call from Stream Server.
- Parameters:
callId- The call id from the incoming call.notificationId- the notification ID.payload- The payload from Push Notification
-
searchRejectCallPendingIntent
abstract PendingIntent searchRejectCallPendingIntent(StreamCallId callId, Map<String, Object> payload)
Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server.
- Parameters:
callId- The ID of the call.payload- The payload from Push Notification
-
searchEndCallPendingIntent
abstract PendingIntent searchEndCallPendingIntent(StreamCallId callId, Map<String, Object> payload)
Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server.
- Parameters:
callId- The ID of the call.payload- The payload from Push Notification
-
searchOngoingCallPendingIntent
abstract PendingIntent searchOngoingCallPendingIntent(StreamCallId callId, Integer notificationId, Map<String, Object> payload)
Searches an activity that will accept the ACTION_ONGOING_CALL intent and jump right back into the call.
- Parameters:
callId- the call idnotificationId- the notification ID.payload- The payload from Push Notification
-
-
-
-