StreamCallActivityComposeDelegate
A default implementation of the compose delegate for the call activity. Can be extended. Provides functions with the context of the activity.
Override the methods of this delegate to replace whole screens (e.g. the video call or the ringing screens). To customize individual components inside those screens, override componentFactory instead; the screens rendered by this delegate resolve their components through that factory.
Properties
The VideoComponentFactory provided to the VideoTheme that wraps all the screens rendered by this delegate. Override to customize individual components on those screens.
Functions
Content for in-call audio-only calls. Audio call is a call which returns false for Call.hasCapability when the argument is SendVideo
Content when the call has failed for whatever reason.
Content when the call has failed for whatever reason.
Content for incoming call.
Content shown when there is data to be loaded.
Shows a progressbar until everything is set.
Content for when the call was not answered.
Content for outgoing call.
Content shown when the required permissions are not granted and the call cannot happen. Note: There are other places that permissions are required like in the service etc.. Best practice is to request these permissions a screen before starting the call.
Call when the call was rejected.
Root content of the UI. If you override this, the rest might not work as expected and need to be called from this method.
Create the delegate.
Content for in-call for every other call that has video capabilities. Default call is a call which returns true for Call.hasCapability when the argument is SendVideo