# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Ctors | Methods | Inherited Methods

# SignalThresholdInfo.Builder

`public static final class SignalThresholdInfo.Builder`
`extends Object` ``

java.lang.Object
↳ | android.telephony.SignalThresholdInfo.Builder

Builder class to create `SignalThresholdInfo` objects.

## Summary

### Public constructors
`Builder()`

### Public methods
`SignalThresholdInfo` | `build()` Build `SignalThresholdInfo` object.
`SignalThresholdInfo.Builder` | `setRadioAccessNetworkType(int ran)` Set the radio access network type for the builder instance.
`SignalThresholdInfo.Builder` | `setSignalMeasurementType(int signalMeasurementType)` Set the signal measurement type for the builder instance.
`SignalThresholdInfo.Builder` | `setThresholds(int[] thresholds)` Set the signal strength thresholds of the corresponding signal measurement type.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Public constructors

### Builder

    public Builder ()

## Public methods

### build

    public SignalThresholdInfo build ()

Build `SignalThresholdInfo` object.

Returns
`SignalThresholdInfo` | the SignalThresholdInfo object build out This value cannot be `null`.

Throws
`IllegalArgumentException` | if the signal measurement type is invalid, any value in the thresholds is out of range, or the RAN is not allowed to set with the signal measurement type

### setRadioAccessNetworkType

    public SignalThresholdInfo.Builder setRadioAccessNetworkType (int ran)

Set the radio access network type for the builder instance.

Parameters
`ran` | `int`: The radio access network type Value is `AccessNetworkConstants.AccessNetworkType.UNKNOWN`, `AccessNetworkConstants.AccessNetworkType.GERAN`, `AccessNetworkConstants.AccessNetworkType.UTRAN`, `AccessNetworkConstants.AccessNetworkType.EUTRAN`, `AccessNetworkConstants.AccessNetworkType.CDMA2000`, `AccessNetworkConstants.AccessNetworkType.IWLAN`, or `AccessNetworkConstants.AccessNetworkType.NGRAN`

Returns
`SignalThresholdInfo.Builder` | the builder to facilitate the chaining This value cannot be `null`.

### setSignalMeasurementType

    public SignalThresholdInfo.Builder setSignalMeasurementType (int signalMeasurementType)

Set the signal measurement type for the builder instance.

Parameters
`signalMeasurementType` | `int`: The signal measurement type Value is `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_UNKNOWN`, `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSSI`, `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSCP`, `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSRP`, `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSRQ`, `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSSNR`, `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_SSRSRP`, `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_SSRSRQ`, or `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_SSSINR`

Returns
`SignalThresholdInfo.Builder` | the builder to facilitate the chaining This value cannot be `null`.

### setThresholds

    public SignalThresholdInfo.Builder setThresholds (int[] thresholds)

Set the signal strength thresholds of the corresponding signal measurement type. The range and unit must reference specific SignalMeasurementType. The length of the thresholds should between the numbers return from `SignalThresholdInfo.getMinimumNumberOfThresholdsAllowed()` and `SignalThresholdInfo.getMaximumNumberOfThresholdsAllowed()`. An IllegalArgumentException will throw otherwise.

Parameters
`thresholds` | `int`: array of integer as the signal threshold values This value cannot be `null`.

Returns
`SignalThresholdInfo.Builder` | the builder to facilitate the chaining This value cannot be `null`.

See also:

- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSSI`
- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSCP`
- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSRP`
- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSRQ`
- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSSNR`
- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_SSRSRP`
- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_SSRSRQ`
- `SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_SSSINR`
- `for more details on signal strength thresholds`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*