DefaultStreamIntentResolver

class DefaultStreamIntentResolver(val context: Context, val notificationIntentBundleResolver: NotificationIntentBundleResolver) : StreamIntentResolver

Constructors

Link copied to clipboard
constructor(context: Context, notificationIntentBundleResolver: NotificationIntentBundleResolver)

Properties

Functions

Link copied to clipboard
open override fun getDefaultPendingIntent(payload: Map<String, Any?>): PendingIntent
Link copied to clipboard
open override fun searchAcceptCallPendingIntent(callId: StreamCallId, notificationId: Int, payload: Map<String, Any?>): PendingIntent?

Search for an activity that can accept call from Stream Server.

Link copied to clipboard
open override fun searchEndCallPendingIntent(callId: StreamCallId, payload: Map<String, Any?>): PendingIntent?

Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server.

Link copied to clipboard
open override fun searchIncomingCallPendingIntent(callId: StreamCallId, notificationId: Int, payload: Map<String, Any?>): PendingIntent?

Search for an activity that can receive incoming calls from Stream Server.

Link copied to clipboard
open override fun searchLiveCallPendingIntent(callId: StreamCallId, notificationId: Int, payload: Map<String, Any?>): PendingIntent?

Search for an activity that can receive live calls from Stream Server.

Link copied to clipboard
open override fun searchMissedCallPendingIntent(callId: StreamCallId, notificationId: Int, payload: Map<String, Any?>): PendingIntent?

Search for an activity that can receive missed calls from Stream Server.

Link copied to clipboard
open override fun searchNotificationCallPendingIntent(callId: StreamCallId, notificationId: Int, payload: Map<String, Any?>): PendingIntent?

Search for an activity that can receive live calls from Stream Server.

Link copied to clipboard
open override fun searchOngoingCallPendingIntent(callId: StreamCallId, notificationId: Int, payload: Map<String, Any?>): PendingIntent?

Searches an activity that will accept the ACTION_ONGOING_CALL intent and jump right back into the call.

Link copied to clipboard
open override fun searchOutgoingCallPendingIntent(callId: StreamCallId, notificationId: Int, payload: Map<String, Any?>): PendingIntent?

Search for an activity that is used for outgoing calls. Calls are considered outgoing until the call is accepted.

Link copied to clipboard
open override fun searchRejectCallPendingIntent(callId: StreamCallId, payload: Map<String, Any?>): PendingIntent?

Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server.

Inherited functions

Link copied to clipboard
Link copied to clipboard
open fun searchAcceptCallPendingIntent(callId: StreamCallId, notificationId: Int = NotificationHandler.INCOMING_CALL_NOTIFICATION_ID): PendingIntent?

Search for an activity that can accept call from Stream Server.

Link copied to clipboard

Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server.

Link copied to clipboard
open fun searchIncomingCallPendingIntent(callId: StreamCallId, notificationId: Int = NotificationHandler.INCOMING_CALL_NOTIFICATION_ID): PendingIntent?

Search for an activity that can receive incoming calls from Stream Server.

Link copied to clipboard
open fun searchLiveCallPendingIntent(callId: StreamCallId, notificationId: Int): PendingIntent?

Search for an activity that can receive live calls from Stream Server.

Link copied to clipboard
open fun searchMissedCallPendingIntent(callId: StreamCallId, notificationId: Int): PendingIntent?

Search for an activity that can receive missed calls from Stream Server.

Link copied to clipboard

Search for an activity that can receive live calls from Stream Server.

Link copied to clipboard
open fun searchOngoingCallPendingIntent(callId: StreamCallId, notificationId: Int): PendingIntent?

Searches an activity that will accept the ACTION_ONGOING_CALL intent and jump right back into the call.

Link copied to clipboard
open fun searchOutgoingCallPendingIntent(callId: StreamCallId, notificationId: Int = NotificationHandler.INCOMING_CALL_NOTIFICATION_ID): PendingIntent?

Search for an activity that is used for outgoing calls. Calls are considered outgoing until the call is accepted.

Link copied to clipboard

Searches for a broadcast receiver that can consume the ACTION_REJECT_CALL intent to reject a call from the Stream Server.