PlayerViewBridge

open class PlayerViewBridge(    context: Context,     media: Media,     playerPool: PlayerPool<Player>,     mediaSourceFactory: MediaSourceFactory) : AbstractBridge<PlayerView> , Player.Listener

Author

eneim (2018/06/24).

Constructors

Link copied to clipboard
fun PlayerViewBridge(    context: Context,     media: Media,     playerPool: PlayerPool<Player>,     mediaSourceFactory: MediaSourceFactory)

Functions

Link copied to clipboard
override fun addErrorListener(errorListener: ErrorListener)
Link copied to clipboard
override fun addEventListener(listener: Player.Listener)
Link copied to clipboard
override fun addVolumeChangeListener(listener: VolumeChangedListener)
Link copied to clipboard
open override fun isPlaying(): Boolean
Link copied to clipboard
open fun onAudioAttributesChanged(p0: AudioAttributes)
Link copied to clipboard
open fun onAudioSessionIdChanged(p0: Int)
Link copied to clipboard
open fun onAvailableCommandsChanged(p0: Player.Commands)
Link copied to clipboard
open fun onCues(p0: MutableList<Cue>)
Link copied to clipboard
open fun onDeviceInfoChanged(p0: DeviceInfo)
Link copied to clipboard
open fun onDeviceVolumeChanged(p0: Int, p1: Boolean)
Link copied to clipboard
open fun onEvents(p0: Player, p1: Player.Events)
Link copied to clipboard
open fun onIsLoadingChanged(p0: Boolean)
Link copied to clipboard
open fun onIsPlayingChanged(p0: Boolean)
Link copied to clipboard
open fun onMaxSeekToPreviousPositionChanged(p0: Long)
Link copied to clipboard
open fun onMediaItemTransition(@Nullable p0: MediaItem?, p1: Int)
Link copied to clipboard
open fun onMediaMetadataChanged(p0: MediaMetadata)
Link copied to clipboard
open fun onMetadata(p0: Metadata)
Link copied to clipboard
open fun onPlaybackParametersChanged(p0: PlaybackParameters)
Link copied to clipboard
open fun onPlaybackStateChanged(p0: Int)
Link copied to clipboard
open fun onPlaybackSuppressionReasonChanged(p0: Int)
Link copied to clipboard
open override fun onPlayerError(error: PlaybackException)
Link copied to clipboard
open fun onPlayerErrorChanged(@Nullable p0: PlaybackException?)
Link copied to clipboard
open fun onPlaylistMetadataChanged(p0: MediaMetadata)
Link copied to clipboard
open fun onPlayWhenReadyChanged(p0: Boolean, p1: Int)
Link copied to clipboard
open fun onPositionDiscontinuity(    p0: Player.PositionInfo,     p1: Player.PositionInfo,     p2: Int)
Link copied to clipboard
open fun onRenderedFirstFrame()
Link copied to clipboard
open fun onRepeatModeChanged(p0: Int)
Link copied to clipboard
open fun onSeekBackIncrementChanged(p0: Long)
Link copied to clipboard
open fun onSeekForwardIncrementChanged(p0: Long)
Link copied to clipboard
open fun onShuffleModeEnabledChanged(p0: Boolean)
Link copied to clipboard
open fun onSkipSilenceEnabledChanged(p0: Boolean)
Link copied to clipboard
open fun onSurfaceSizeChanged(p0: Int, p1: Int)
Link copied to clipboard
open fun onTimelineChanged(p0: Timeline, p1: Int)
Link copied to clipboard
open fun onTrackSelectionParametersChanged(p0: TrackSelectionParameters)
Link copied to clipboard
open fun onTracksInfoChanged(p0: TracksInfo)
Link copied to clipboard
open fun onVideoSizeChanged(p0: VideoSize)
Link copied to clipboard
open fun onVolumeChanged(p0: Float)
Link copied to clipboard
open override fun pause()
Link copied to clipboard
open override fun play()
Link copied to clipboard
open override fun prepare(loadSource: Boolean)
Link copied to clipboard
open override fun ready()
Link copied to clipboard
open override fun release()
Link copied to clipboard
override fun removeErrorListener(errorListener: ErrorListener?)
Link copied to clipboard
override fun removeEventListener(listener: Player.Listener?)
Link copied to clipboard
override fun removeVolumeChangeListener(listener: VolumeChangedListener?)
Link copied to clipboard
open override fun reset(resetPlayer: Boolean)
Link copied to clipboard
open override fun seekTo(positionMs: Long)

Properties

Link copied to clipboard
open override var playbackInfo: PlaybackInfo
Link copied to clipboard
open override var playerParameters: PlayerParameters
Link copied to clipboard
open override val playerState: Int
Link copied to clipboard
open override var renderer: PlayerView? = null
Link copied to clipboard
open override var repeatMode: Int
Link copied to clipboard
open override var volumeInfo: VolumeInfo