Lasīt angliski

Kopīgot, izmantojot


LiveMediaSessionCoordinatorSuspension class

Suspension object for when group synchronization is suspended for the local user.

Constructors

Properties

waitPoint

Returns an optional wait point associated with the suspension.

Methods

end(number)

Ends the suspension and optionally proposes a time to seek to.

Constructor Details

LiveMediaSessionCoordinatorSuspension(undefined | CoordinationWaitPoint, (seekTo?: number) => void)

TypeScript
new LiveMediaSessionCoordinatorSuspension(waitPoint: undefined | CoordinationWaitPoint, onEnd: (seekTo?: number) => void)

Parameters

waitPoint

undefined | CoordinationWaitPoint

onEnd

(seekTo?: number) => void

Property Details

waitPoint

Returns an optional wait point associated with the suspension.

TypeScript
undefined | CoordinationWaitPoint waitPoint

Property Value

undefined | CoordinationWaitPoint

Remarks

If undefined, the suspension was not created with a wait point.

Method Details

end(number)

Ends the suspension and optionally proposes a time to seek to.

TypeScript
function end(seekTo?: number)

Parameters

seekTo

number

Optional. Proposed time to seek to. Ignored for suspensions at wait points.