Builder
class Builder
kotlin.Any | |
↳ | android.location.GnssAutomaticGainControl.Builder |
Builder for GnssAutomaticGainControl
Summary
Public constructors | |
---|---|
Builder() Constructs a |
|
Constructs a |
Public methods | |
---|---|
GnssAutomaticGainControl |
build() Builds a |
GnssAutomaticGainControl.Builder |
setCarrierFrequencyHz(carrierFrequencyHz: Long) Sets the Carrier frequency in Hz. |
GnssAutomaticGainControl.Builder |
setConstellationType(constellationType: Int) Sets the constellation type. |
GnssAutomaticGainControl.Builder |
setLevelDb(levelDb: Double) Sets the Automatic Gain Control level in dB. |
Public constructors
Builder
Builder(agc: GnssAutomaticGainControl)
Constructs a GnssAutomaticGainControl.Builder
instance by copying a GnssAutomaticGainControl
.
Parameters | |
---|---|
agc |
GnssAutomaticGainControl: This value cannot be null . |
Public methods
build
fun build(): GnssAutomaticGainControl
Builds a GnssAutomaticGainControl
instance as specified by this builder.
Return | |
---|---|
GnssAutomaticGainControl |
This value cannot be null . |
setCarrierFrequencyHz
fun setCarrierFrequencyHz(carrierFrequencyHz: Long): GnssAutomaticGainControl.Builder
Sets the Carrier frequency in Hz.
Parameters | |
---|---|
carrierFrequencyHz |
Long: Value is 0 or greater |
Return | |
---|---|
GnssAutomaticGainControl.Builder |
This value cannot be null . |
setConstellationType
fun setConstellationType(constellationType: Int): GnssAutomaticGainControl.Builder
Sets the constellation type.
Return | |
---|---|
GnssAutomaticGainControl.Builder |
This value cannot be null . |
setLevelDb
fun setLevelDb(levelDb: Double): GnssAutomaticGainControl.Builder
Sets the Automatic Gain Control level in dB.
Parameters | |
---|---|
levelDb |
Double: Value is between -10000 and 10000 inclusive |
Return | |
---|---|
GnssAutomaticGainControl.Builder |
This value cannot be null . |