create Local Data Track
fun createLocalDataTrack(context: Context, dataTrackOptionsBuilder: DataTrackOptionsBuilder? = null): LocalDataTrack?
Content copied to clipboard
Creates a local data track. If no DataTrackOptionsBuilder is provided, then the SDK will use default com.twilio.video.DataTrackOptions to create the local data track.
Return
local data track.
See also
com.twilio.video.LocalDataTrack
Parameters
context
application context.
dataTrackOptionsBuilder
data track options builder