Package org.robolectric.shadows
Class AudioDeviceInfoBuilder
- java.lang.Object
-
- org.robolectric.shadows.AudioDeviceInfoBuilder
-
public class AudioDeviceInfoBuilder extends Object
Builder forAudioDeviceInfo.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioDeviceInfobuild()static AudioDeviceInfoBuildernewBuilder()AudioDeviceInfoBuildersetType(int type)Sets the device type.
-
-
-
Method Detail
-
newBuilder
public static AudioDeviceInfoBuilder newBuilder()
-
setType
public AudioDeviceInfoBuilder setType(int type)
Sets the device type.- Parameters:
type- The device type. The possible values are the constants defined asAudioDeviceInfo.AudioDeviceType
-
build
public AudioDeviceInfo build()
-
-