# 程序包 com.aliyun.player

- 接口概要
  接口 | 说明
  --- | ---
  AliListPlayer |
  AliLiveShiftPlayer |
  AliLiveShiftPlayer.OnSeekLiveCompletionListener | Timeshifting success callback.
  AliLiveShiftPlayer.OnTimeShiftUpdaterListener | Timeshifting update callback.
  AliPlayer |
  AliPlayer.OnVerifyTimeExpireCallback | callback to verify if time is expired
  AliPlayerGlobalSettings.OnGetUrlHashCallback | Get the hash value of the loaded URL, used as the unique id of the URL.
  IPlayer |
  IPlayer.ConvertURLCallback | URL conversion callback.
  IPlayer.OnChooseTrackIndexListener | 选择要播放的流。
  IPlayer.OnCompletionListener | Playback completion callback.
  IPlayer.OnErrorListener | Error callback.
  IPlayer.OnInfoListener | Notification callback.
  IPlayer.OnLoadingStatusListener | Loading status callback.
  IPlayer.OnPreparedListener | Preparation success callback.
  IPlayer.OnPreRenderFrameCallback | Prerender frame callback.
  IPlayer.OnRenderFrameCallback | Render frame callback
  IPlayer.OnRenderingStartListener | Rendering start callback.
  IPlayer.OnReportEventListener | report event listener
  IPlayer.OnSeekCompleteListener | Seeking completion callback.
  IPlayer.OnSeiDataListener | SEI data callback.
  IPlayer.OnSnapShotListener | Snapshot creation result callback.
  IPlayer.OnStateChangedListener | Player status update callback.
  IPlayer.OnSubtitleDisplayListener | Subtitle display callback.
  IPlayer.OnThumbnailListener | Thumbnail image retrieval callback.
  IPlayer.OnTrackChangedListener | Stream switchover callback.
  IPlayer.OnTrackReadyListener | Stream preparation success callback.
  IPlayer.OnVideoRenderedListener | video render callback
  IPlayer.OnVideoSizeChangedListener | Video size change callback.

- 类概要
  类 | 说明
  --- | ---
  AliPlayerFactory |
  AliPlayerFactory.DeviceInfo | Device information.
  AliPlayerGlobalSettings |
  IPlayer.Option | player available options
  IPlayer.RenderFrameCallbackConfig |
  VidPlayerConfigGen |

- 枚举概要
  枚举 | 说明
  --- | ---
  AliPlayer.Status |
  AliPlayerFactory.BlackType | The type of the blacklist.
  AliPlayerFactory.SupportFeatureType | The type of the feature.
  AliPlayerGlobalSettings.StreamType | audio stream type
  IPlayer.IPResolveType | IP resolve type
  IPlayer.MirrorMode | Mirroring modes
  IPlayer.PropertyKey | The key to get property
  IPlayer.RotateMode | Rotate modes
  IPlayer.ScaleMode | Zoom modes
  IPlayer.SeekMode | Seeking modes
  VidPlayerConfigGen.EncryptType | Encryption types