Back to Exoplayer

ExoPlayer.DeviceComponent (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.DeviceComponent.html

latest3.7 KB
Original Source

Package com.google.android.exoplayer2

Interface ExoPlayer.DeviceComponent

  • All Known Implementing Classes:SimpleExoPlayerEnclosing interface:ExoPlayer

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static interfaceExoPlayer.DeviceComponent

Deprecated. Use Player, as the ExoPlayer.DeviceComponent methods are defined by that interface.

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | decreaseDeviceVolume() | Deprecated. Use Player.decreaseDeviceVolume() instead.

| | DeviceInfo | getDeviceInfo() | Deprecated. Use Player.getDeviceInfo() instead.

| | int | getDeviceVolume() | Deprecated. Use Player.getDeviceVolume() instead.

| | void | increaseDeviceVolume() | Deprecated. Use Player.increaseDeviceVolume() instead.

| | boolean | isDeviceMuted() | Deprecated. Use Player.isDeviceMuted() instead.

| | void | setDeviceMuted​(boolean muted) | Deprecated. Use Player.setDeviceMuted(boolean) instead.

| | void | setDeviceVolume​(int volume) | Deprecated. Use Player.setDeviceVolume(int) instead.

|

Method Detail

- 

getDeviceInfo

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")[DeviceInfo](DeviceInfo.html "class in com.google.android.exoplayer2")getDeviceInfo()

Deprecated. Use Player.getDeviceInfo() instead.

- 

getDeviceVolume

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")int getDeviceVolume()

Deprecated. Use Player.getDeviceVolume() instead.

- 

isDeviceMuted

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")boolean isDeviceMuted()

Deprecated. Use Player.isDeviceMuted() instead.

- 

setDeviceVolume

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setDeviceVolume​(int volume)

Deprecated. Use Player.setDeviceVolume(int) instead.

- 

increaseDeviceVolume

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void increaseDeviceVolume()

Deprecated. Use Player.increaseDeviceVolume() instead.

- 

decreaseDeviceVolume

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void decreaseDeviceVolume()

Deprecated. Use Player.decreaseDeviceVolume() instead.

- 

setDeviceMuted

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setDeviceMuted​(boolean muted)

Deprecated. Use Player.setDeviceMuted(boolean) instead.