Package io.getstream.video.android.core
Object StreamVideo.Companion
-
- All Implemented Interfaces:
public class StreamVideo.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisInstalledpublic final static StreamVideo.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final StreamVideoinstance()Returns an installed StreamVideo instance or throw an exception if its not installed. final StreamVideoinstanceOrNull()final Lazy<StreamVideo>lazyInstance()Returns an installed StreamVideo instance lazy or throw an exception if its not installed. final UnitremoveClient()Uninstall a previous StreamVideo instance. final StringdevToken(String userId)Generate a developer token that can be used to connect users while the app is using a development environment. final BooleanisInstalled()-
-
Method Detail
-
instance
final StreamVideo instance()
Returns an installed StreamVideo instance or throw an exception if its not installed.
-
instanceOrNull
final StreamVideo instanceOrNull()
-
lazyInstance
final Lazy<StreamVideo> lazyInstance()
Returns an installed StreamVideo instance lazy or throw an exception if its not installed.
-
removeClient
final Unit removeClient()
Uninstall a previous StreamVideo instance.
-
devToken
final String devToken(String userId)
Generate a developer token that can be used to connect users while the app is using a development environment.
- Parameters:
userId- the desired id of the user to be connected.
-
isInstalled
final Boolean isInstalled()
-
-
-
-