StreamCallActivity
Properties
A configuration object returned for this activity controlling various behaviors of the activity. Can be overridden for further control on the behavior.
Map of a call id with StreamCallActivityConfiguration You can get Call id via intent?.streamCallId(NotificationHandler.INTENT_EXTRA_CALL_CID)?.id
Each activity needs its onw ui delegate that will set content to the activity.
Inherited properties
Functions
Used to apply dashboard settings to the call. By default, it enables or disables the microphone and camera based on the settings.
Enter picture in picture mode. By default supported for video calls.
The call which is accepted
Invoked when back button is pressed. Will leave the call and finish the activity. Override to change this behavior
Called when there was an UI action invoked for the call.
Call events handler.
Called when there has been a new event from the socket.
Same as onCreate but with the Call as parameter. The onCreate method will crash with IllegalArgumentException if the call cannot be loaded or if the intent was created incorrectly, thus arriving in this method means that the call is already available.
Called when call has ended successfully, either by action from the user or backend event. The activity will finish after this call. To prevent it, provide a different StreamCallActivityConfiguration
Called when the activity has failed for any reason. The activity will finish after this call, to prevent the finish()
provide a different StreamCallActivityConfiguration.
Called when current device has become the last participant in the call. Invokes LeaveCall action for audio calls.
Get notified when the activity enters picture in picture.
Called when the activity is created, but the SDK is not yet initialized. Initializes the configuration and UI delegates.
Called when the activity is about to go into the background as the result of user choice. Makes sure the call object is available.