Package io.getstream.video.android.core
Class StreamVideoBuilder
-
- All Implemented Interfaces:
public final class StreamVideoBuilderThe StreamVideoBuilder is used to create a new instance of the StreamVideo client. This is the most essential class to connect to the Stream server and initialize everything you need to implement audio/video calls.
val client = StreamVideoBuilder( context = context, apiKey = apiKey, geo = GEO.GlobalEdgeNetwork, user = user, token = token, loggingLevel = LoggingLevel.BODY )
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineScopescope
-
Constructor Summary
Constructors Constructor Description StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, String localSfuAddress)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user)StreamVideoBuilder(Context context, String apiKey, GEO geo)StreamVideoBuilder(Context context, String apiKey)
-
Method Summary
Modifier and Type Method Description final CoroutineScopegetScope()final StreamVideobuild()-
-
Constructor Detail
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, String localSfuAddress)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider, LoggingLevel loggingLevel)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> tokenProvider)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token)
-
-
Method Detail
-
getScope
final CoroutineScope getScope()
-
build
final StreamVideo build()
-
-
-
-