-
- All Implemented Interfaces:
-
com.polidea.rxandroidble3.RxBlePhy
public final class RxBlePhyImpl implements RxBlePhy
-
-
Field Summary
Fields Modifier and Type Field Description public final static RxBlePhyImplPHY_1Mpublic final static RxBlePhyImplPHY_2Mpublic final static RxBlePhyImplPHY_CODEDfinal intmaskfinal intvalue
-
Method Summary
Modifier and Type Method Description intgetMask()Corresponds to e.g. intgetValue()Corresponds to e.g. StringtoString()booleanequals(Object o)inthashCode()static intenumSetToValuesMask(@Nullable() Set<RxBlePhyImpl> set)Function used to convert the specified enum set to the equivalent values mask. static PhyPairtoPhyPair(int txPhy, int rxPhy)static Set<RxBlePhyImpl>fromInterface(Set<RxBlePhy> phys)-
-
Method Detail
-
getMask
int getMask()
Corresponds to e.g. PHY_LE_CODED_MASK
-
getValue
int getValue()
Corresponds to e.g. PHY_LE_CODED
-
hashCode
int hashCode()
-
enumSetToValuesMask
static int enumSetToValuesMask(@Nullable() Set<RxBlePhyImpl> set)
Function used to convert the specified enum set to the equivalent values mask.
- Parameters:
set- The enum set to compute the values mask for.
-
fromInterface
static Set<RxBlePhyImpl> fromInterface(Set<RxBlePhy> phys)
-
-
-
-