Package org.robolectric.shadows
Class PlaybackInfoBuilder
java.lang.Object
org.robolectric.shadows.PlaybackInfoBuilder
public class PlaybackInfoBuilder extends Object
Builder for
MediaController.PlaybackInfo
-
Method Summary
Modifier and Type Method Description MediaController.PlaybackInfo
build()
static PlaybackInfoBuilder
newBuilder()
PlaybackInfoBuilder
setAudioAttributes(AudioAttributes audioAttrs)
PlaybackInfoBuilder
setCurrentVolume(int currentVolume)
PlaybackInfoBuilder
setMaxVolume(int maxVolume)
PlaybackInfoBuilder
setVolumeControl(int volumeControl)
PlaybackInfoBuilder
setVolumeType(int volumeType)