-
- All Implemented Interfaces:
-
android.os.Parcelable,no.nordicsemi.android.ble.callback.PhyCallback
public class PhyResult implements PhyCallback, Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description private inttxPhyprivate intrxPhypublic final static Parcelable.Creator<PhyResult>CREATOR
-
Constructor Summary
Constructors Constructor Description PhyResult()
-
Method Summary
Modifier and Type Method Description intgetTxPhy()intgetRxPhy()voidonPhyChanged(@NonNull() BluetoothDevice device, int txPhy, int rxPhy)Method called when the PHY value has changed or was read. BluetoothDevicegetBluetoothDevice()voidwriteToParcel(Parcel dest, int flags)intdescribeContents()-
Methods inherited from class no.nordicsemi.android.ble.callback.PhyCallback
onPhyChanged -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTxPhy
int getTxPhy()
-
getRxPhy
int getRxPhy()
-
onPhyChanged
void onPhyChanged(@NonNull() BluetoothDevice device, int txPhy, int rxPhy)
Method called when the PHY value has changed or was read.
- Parameters:
device- the target device.txPhy- the transmitter PHY in use.rxPhy- the receiver PHY in use.
-
getBluetoothDevice
@Nullable() BluetoothDevice getBluetoothDevice()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
-
-
-