-
public interface NotificationIntentBundleResolver
-
-
Method Summary
Modifier and Type Method Description abstract BundlegetIncomingCallBundle(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive incoming calls from Stream Server. abstract BundlegetOutgoingCallBundle(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that is used for outgoing calls. abstract BundlegetNotificationCallBundle(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive live calls from Stream Server. abstract BundlegetMissedCallBundle(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive missed calls from Stream Server. abstract BundlegetDefaultBundle(Map<String, Object> payload)abstract BundlegetLiveCallBundle(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can receive live calls from Stream Server. abstract BundlegetAcceptCallBundle(StreamCallId callId, Integer notificationId, Map<String, Object> payload)Search for an activity that can accept call from Stream Server. abstract BundlegetRejectCallBundle(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 BundlegetEndCallPendingBundle(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 BundlegetOngoingCallBundle(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
-
getIncomingCallBundle
abstract Bundle getIncomingCallBundle(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
-
getOutgoingCallBundle
abstract Bundle getOutgoingCallBundle(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
-
getNotificationCallBundle
abstract Bundle getNotificationCallBundle(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
-
getMissedCallBundle
abstract Bundle getMissedCallBundle(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
-
getDefaultBundle
abstract Bundle getDefaultBundle(Map<String, Object> payload)
-
getLiveCallBundle
abstract Bundle getLiveCallBundle(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
-
getAcceptCallBundle
abstract Bundle getAcceptCallBundle(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
-
getRejectCallBundle
abstract Bundle getRejectCallBundle(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
-
getEndCallPendingBundle
abstract Bundle getEndCallPendingBundle(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
-
getOngoingCallBundle
abstract Bundle getOngoingCallBundle(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
-
-
-
-