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