Package org.robolectric.shadows
Class AudioDeviceInfoBuilder
java.lang.Object
org.robolectric.shadows.AudioDeviceInfoBuilder
public class AudioDeviceInfoBuilder extends Object
Builder for
AudioDeviceInfo
.-
Method Summary
Modifier and Type Method Description AudioDeviceInfo
build()
static AudioDeviceInfoBuilder
newBuilder()
AudioDeviceInfoBuilder
setType(int type)
Sets the device type.
-
Method Details
-
newBuilder
-
setType
Sets the device type.- Parameters:
type
- The device type. The possible values are the constants defined asAudioDeviceInfo.AudioDeviceType
-
build
-