callIntent

fun <T : StreamCallActivity> callIntent(context: Context, cid: StreamCallId, members: List<String> = defaultExtraMembers, leaveWhenLastInCall: Boolean = DEFAULT_LEAVE_WHEN_LAST, action: String? = null, clazz: Class<T>, configuration: StreamCallActivityConfiguration = StreamCallActivityConfiguration(), extraData: Bundle? = null): Intent

Factory method used to build an intent to start this activity.

Parameters

context

the context.

cid

the Call id

members

list of members

action

android action.

clazz

the class of the Activity

configuration

the configuration object

extraData

extra data to pass to the activity