Sequenceablepublic final class LteSignalInformation extends SignalInformation implements Sequenceable
SignalInformation and provides methods for applications to obtain
LTE signal information.Sequenceable.Producer<T>| 限定符 | 构造器 | 说明 |
|---|---|---|
protected |
LteSignalInformation() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
equals(Object other) |
Checks whether the values of each member in the two objects are the same.
|
int |
getSignalLevel() |
Obtains the number of signal bars of the LTE network.
|
int |
hashCode() |
Obtains the object's hash code, which is used as an index value to search for objects in
Hashtable
and HashMap. |
boolean |
marshalling(Parcel dest) |
Packs all the members in the class into a parcel object.
|
String |
toString() |
Composes all the members and their values in the class into a character string in sequence.
|
boolean |
unmarshalling(Parcel in) |
Unpacks all the members of the class from a parcel object.
|
hasFileDescriptorgetNetworkTypepublic int getSignalLevel()
The number of signal bars ranges from 0 to 4 or from 0 to 5. A larger value indicates better signal quality. The maximum value (4 or 5 bars) is determined by the lower-layer configuration.
getSignalLevel 在类中 SignalInformationpublic int hashCode()
Hashtable
and HashMap.hashCode 在类中 SignalInformationObject.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)public boolean equals(Object other)
equals 在类中 SignalInformationother - The other LteSignalInformation instance.true if the values of each member in the two objects are the same;
returns false otherwise.Object.hashCode(),
HashMappublic String toString()
public boolean marshalling(Parcel dest)
marshalling 在接口中 Sequenceablemarshalling 在类中 SignalInformationdest - Indicates the target parcel into which the members are packed.true if the packing is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
unmarshalling 在接口中 Sequenceableunmarshalling 在类中 SignalInformationin - Indicates the parcel object to be unpacked.true if the unpacking is successful; returns false otherwise.