Package-level declarations

Types

Link copied to clipboard
interface SLRAppHost

Interface which get access to all available options of single StreamLayerFragment instance.

Link copied to clipboard

Callback interface invoked when the SDK delegates authentication control to the HOST app.

Link copied to clipboard
open class SLRCustomNotification(val title: String? = null, val description: String? = null, @LayoutRes val layoutId: Int? = null, @IdRes val actionId: Int? = null, @ColorRes val iconBackgroundColor: Int? = null, val iconUrl: String? = null) : NotificationBuilder

Extendable class. Used to send custom notifications to the StreamLayer SDK overlay.

Link copied to clipboard
@Serializable
data class SLRCustomOverlay(@IdRes val actionId: Int, @StringRes val titleId: Int, @DrawableRes val iconId: Int, val fullClassName: String)

Sets the custom overlay to the list menu.

Link copied to clipboard
interface SLREventSession

Interface for providing current event session.

Link copied to clipboard
@Serializable
data class SLRInviteData(val linkId: String? = null, val eventId: String? = null, val externalEventId: String? = null, val groupId: String? = null, val externalGroupId: String? = null, val gamification: Boolean? = null, val groupType: SLRInviteData.GroupType? = null, val user: SLRInviteData.User) : Serializable

Invite link data payload.

Link copied to clipboard

Callback interface invoked when the SDK delegates invite link generation to the HOST app.

Link copied to clipboard
interface SLRLogListener

Interface definition for a callback to be invoked when StreamLayer SDK will log any message or error.

Link copied to clipboard

Interface which provides access to managed group.

Link copied to clipboard
data class SLRTheme @JvmOverloads constructor(val mainTheme: Int? = null, val profileTheme: Int? = null, val baseTheme: Int? = null, val watchPartyTheme: Int? = null, val inviteTheme: Int? = null, val predictionsTheme: Int? = null, val highlightsTheme: Int? = null, val statisticsTheme: Int? = null, val messengerTheme: Int? = null, val publicChatTheme: Int? = null, val notificationsStyle: SLRTheme.NotificationsStyle? = null)

Sets the parameters for the custom theme in the application.

Link copied to clipboard

Interface for providing player current epoch time.

Link copied to clipboard
interface SLRVideoPlayer

Interface for providing video player. Api based on ExoPlayer library.

Link copied to clipboard

Interface for supporting video playback. Host app should implement it and add to SDK.

Link copied to clipboard

Interface for providing SLRVideoPlayer ui view. Api based on ExoPlayer library.

Link copied to clipboard

Use this class as an entry point for StreamLayer SDK.

Link copied to clipboard

This object allows uses demo features of sdk for their host application. Remember to call io.streamlayer.sdk.StreamLayer.initializeApp before using it.