PlayerId
Artifact: androidx.media3:media3-exoplayer
@UnstableApi
class PlayerId
Identifier for a player instance.
Summary
Constants |
|
|---|---|
const PlayerId! |
A player identifier that is used when we preload media outside of a player but have to pass a |
const PlayerId! |
A player identifier with unset default values that can be used as a placeholder or for testing. |
Public functions |
|
|---|---|
synchronized LogSessionId! |
@RequiresApi(value = 31)Returns the |
synchronized Unit |
@RequiresApi(value = 31)Set the |
Constants
Public constructors
Public functions
getLogSessionId
@RequiresApi(value = 31)
synchronized fun getLogSessionId(): LogSessionId!
Returns the LogSessionId for this player instance.
setLogSessionId
@RequiresApi(value = 31)
synchronized fun setLogSessionId(logSessionId: LogSessionId!): Unit
Set the LogSessionId for this player instance.
Must not be called if already set.