回呼的事件類型和類

當您向瀏覽器TVSDK註冊事件接聽程式時,您會指定要監聽的事件類型以及回呼的名稱。 發生事件時,瀏覽器TVSDK會呼叫您的回呼,並傳遞適當類型的事件物件給它。

當您監聽此事件名稱(AdobePSDK.EventType) phrases/browser-tvsdk-name會將事件傳遞給您此物件類型的回呼( AdobePSDK.Event)
  • AD_STARTED
  • AD_PROGRESS
  • AD_COMPLETED
AdPlaybackEvent
  • AD_BREAK_STARTED
  • AD_BREAK_COMPLETED
  • AD_BREAK_BRIKPED
AdBreakPlaybackEvent
AD_CLICK AdClickEvent
  • BUFFERING_BEGIN
  • BUFFERING_END
BufferEvent
DRM_METADATA_INFO_AVAILABLE DRMMetadataInfoAvailableEvent
LOAD_INFORMATION_AVAILABLE LoadInformationEvent
  • AUDIO_UPDATED
  • CAPTIONS_UPDATED
  • MASTER_UPDATED
  • ITEM_CREATED
  • ITEM_UPDATED
MediaPlayerItemEvent
STATUS_CHANGED StatusChangeEvent
操作失敗 NotificationEvent
RESERVATION_REACHED ReservationEvent
  • RATE_SELECTED
  • RATE_PLAYING
PlaybackRateEvent
PROFILE_CHANGED ProfileEvent
PLAY_START PSDKEvent
  • SEEK_POSITION_ADJUSTED
  • SEEK_BEGIN
  • SEEK_END
SeekEvent
SIZE_AVAILABLE SizeAvailableEvent
TIME_CHANGED TimeChangeEvent
TIMED_METADATA_AVAILABLE TimedMetadataEvent
時間軸已更新 TimelineEvent
PLAYBACK_RANGE_UPDATED

本頁內容