Added in API level 19
CarrierFrequencyRange
class CarrierFrequencyRange
| kotlin.Any | |
| ↳ | android.hardware.ConsumerIrManager.CarrierFrequencyRange |
Represents a range of carrier frequencies (inclusive) on which the infrared transmitter can transmit
Summary
| Public constructors | |
|---|---|
CarrierFrequencyRange(min: Int, max: Int)Create a segment of a carrier frequency range. |
|
| Public methods | |
|---|---|
| Int |
Get the maximum (inclusive) frequency in this range segment. |
| Int |
Get the minimum (inclusive) frequency in this range segment. |
Public constructors
CarrierFrequencyRange
Added in API level 19
CarrierFrequencyRange(
min: Int,
max: Int)
Create a segment of a carrier frequency range.
| Parameters | |
|---|---|
min |
Int: The minimum transmittable frequency in this range segment. |
max |
Int: The maximum transmittable frequency in this range segment. |
Public methods
getMaxFrequency
Added in API level 19
fun getMaxFrequency(): Int
Get the maximum (inclusive) frequency in this range segment.
getMinFrequency
Added in API level 19
fun getMinFrequency(): Int
Get the minimum (inclusive) frequency in this range segment.