start Emergency Alert With Connected Channel
open fun startEmergencyAlertWithConnectedChannel( @NonNull context: Context, @Nullable attendingParticipants: String, emergencyAlertLevel: Int, @Nullable callback: EmergencyAlertCompletionCallback)
Content copied to clipboard
Start and send an emergency alert message
Parameters
context
Context the application context
attending Participants
String the attending participants for active channel must be follow this format : [groupId:123,21699926249@smartms206.streamwide.com,...]
emergency Alert Level
STWEmergencyLevel emergency level, can be one of the following list: EMERGENCY_ALERT_CRITICALEMERGENCY_ALERT_SEVEREEMERGENCY_ALERT_URGENTEMERGENCY_ALERT_CUSTOM
callback
EmergencyAlertCompletionCallback callback to receive results of emergency alert request