Compartilhar via


MediaSessionCoordinatorSuspension interface

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

Properties

waitPoint

The wait point that the suspension was created with.

Methods

end(number)

Ends the suspension.

Property Details

waitPoint

The wait point that the suspension was created with.

waitPoint?: CoordinationWaitPoint

Property Value

Remarks

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

Method Details

end(number)

Ends the suspension.

function end(seekTo?: number)

Parameters

seekTo

number

the timestamp to seek to after the suspension ends. If no value is provided, the local user will return to the group playback position.

Remarks

If there are other suspensions active, all other suspensions must be ended before group synchronization can resume.