RemoteVideoViewAttachment

Owns one native remote view attachment. detach releases only this attachment and runs on the main dispatcher. Repeated detach, or detach after the same view has been rebound, does nothing. A failed native detach throws and leaves the attachment owned so the caller can retry.

actual class RemoteVideoViewAttachment(owner: RemoteVideoViewAttachmentOwner, val view: PlatformView, val userId: String, val clientId: String)

Owns one native remote view attachment. detach releases only this attachment and runs on the main dispatcher. Repeated detach, or detach after the same view has been rebound, does nothing. A failed native detach throws and leaves the attachment owned so the caller can retry.

Constructors

Link copied to clipboard
internal constructor(owner: RemoteVideoViewAttachmentOwner, view: PlatformView, userId: String, clientId: String)

Properties

Link copied to clipboard
internal val clientId: String
Link copied to clipboard
internal val userId: String
Link copied to clipboard
internal val view: PlatformView

Functions

Link copied to clipboard
expect suspend fun detach()
actual suspend fun detach()