Other call features
Fetching Participants list#
In order to fetch all the participants in the call, use below method
[String] returns the list of UserId
Fetching Participants list with Call Status#
To fetch the participants in the call with their call status, use below method
[String] returns the list of UserId,
callStatus value will be anyone of the values of annotation class CallStatus.
Fetching Call Connected list#
To fetch the connected users in the call, use below method
[String] returns the list of UserId
Fetching Call Users list in Ringing status#
To fetch the users in the ringing state of the call, use below method
[String] returns the list of UserId
Fetching Timeout Users list#
To fetch the userslist after timeout, use below method
[String] returns the list of UserId
Fetching Reconnecting Users list#
[String] returns the list of UserId
Check Audio mute status of the UserId#
In order to check the audio mute status of the given UserId, use below method
Bool returns true/false
Check Video mute status of the UserId#
In order to check the video mute status of the given UserId, use below method
Bool returns true/false
Get Call status of the UserId#
In order to get the call status of the given UserId, use below method
callStatus value will be anyone of the values of annotation class CallStatus.
Get Own userId#
In order to get the own userId which is passed to SDk, use below method
Get Presented root Viewcontroler#
In order to get the viewcontroller from which the call UI is presented, use below method
Get GroupId of the current call#
In order to get the groupId of the ongoing call, use below method
Get callType of the current call#
In order to get the callType of the ongoing call, use below method
CallType value will be anyone of the values of annotation class CallType
| CallType Value | Description |
|---|---|
| CallType.Audio | the call is Audio |
| CallType.Video | the call is Video |
Set callType of the current call#
In order to set the callType of the ongoing call, use below method
CallType value will be anyone of the values of annotation class CallType
| CallType Value | Description |
|---|---|
| CallType.Audio | the call is Audio |
| CallType.Video | the call is Video |
Get CallMode of the current call#
In order to get the callMode of the ongoing call, use below method
CallMode value will be anyone of the values of annotation class CallMode
| CallMode Value | Description |
|---|---|
| CallMode.ONE_TO_ONE | the call is between 2 user |
| CallMode.ONE_TO_MANY | the call is between group of members |
Get CallMode of the current call#
In order to get the callDirection of the ongoing call, use below method
CallDirection value will be anyone of the values of annotation class CallDirection
| CallDirection Value | Description |
|---|---|
| CallDirection.Incoming | the call is a incoming call |
| CallDirection.Outgoing | the call is an outgoing call |
Check Call is Connected#
In order to check the ongoing call is connected with atleast of one user in the call, use below method
Check Call is OneToOne#
In order to check the ongoing call is made between single user, use below method
Get Current Call Metadata#
To get metadata for the current call, use the method below.
CallKit App Icon#
In order to show our app icon in CallKit. An icon file named fly_call_app_icon should be placed in the Assets of our main application.
warning
The file name should be fly_call_app_icon, otherwise the sdk considers it as no asset provided and nothing will be shown in CallKit.