MediaSessionActionThrottler class

Base class for action throttlers.

Methods

throttled(ExtendedMediaSessionActionDetails | MediaSessionActionDetails, ExtendedMediaSessionActionHandler | MediaSessionActionHandler)

Method Details

throttled(ExtendedMediaSessionActionDetails | MediaSessionActionDetails, ExtendedMediaSessionActionHandler | MediaSessionActionHandler)

function throttled(details: ExtendedMediaSessionActionDetails | MediaSessionActionDetails, handler?: ExtendedMediaSessionActionHandler | MediaSessionActionHandler)

Parameters

details

ExtendedMediaSessionActionDetails | MediaSessionActionDetails

handler

ExtendedMediaSessionActionHandler | MediaSessionActionHandler