public static class RadioManager.AmBandConfig.Builder extends Object
RadioManager.AmBandConfig
objects.Constructor and Description |
---|
Builder(RadioManager.AmBandConfig config)
Constructs a new Builder from a given
RadioManager.AmBandConfig |
Builder(RadioManager.AmBandDescriptor descriptor)
Constructs a new Builder with the defaults from an
RadioManager.AmBandDescriptor . |
Modifier and Type | Method and Description |
---|---|
RadioManager.AmBandConfig |
build()
Combines all of the parameters that have been set and return a new
RadioManager.AmBandConfig object. |
RadioManager.AmBandConfig.Builder |
setStereo(boolean state)
Set stereo enable state
|
public Builder(RadioManager.AmBandDescriptor descriptor)
RadioManager.AmBandDescriptor
.descriptor
- the FmBandDescriptor defaults are read from .public Builder(RadioManager.AmBandConfig config)
RadioManager.AmBandConfig
config
- the FmBandConfig object whose data will be reused in the new Builder.public RadioManager.AmBandConfig build()
RadioManager.AmBandConfig
object.RadioManager.AmBandConfig
objectpublic RadioManager.AmBandConfig.Builder setStereo(boolean state)
state
- The new enable state.