Class DeviceInfo
-
- All Implemented Interfaces:
-
java.io.Serializable
public class DeviceInfo implements Serializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
DeviceInfo.Type
-
Field Summary
Fields Modifier and Type Field Description public Task
mTask
public KaijuInputConfig
mKaijuInputConfig
public GeneratedTxConfig
mGeneratedTxConfig
public TpmsInfo
mTpmsInfo
public RemoteInfo
mRemoteInfo
public static Comparator<DeviceInfo>
TaskIdComparator
-
Constructor Summary
Constructors Constructor Description DeviceInfo()
DeviceInfo(DeviceInfo deviceInfo)
-
Method Summary
Modifier and Type Method Description String
getCreatedAt()
String
getCapturedAt()
Task
getTask()
void
setTask(@NonNull() Task task)
KaijuInputConfig
getKaijuInputConfig()
GeneratedTxConfig
getGeneratedTxConfig()
TpmsInfo
getTpmsInfo()
RemoteInfo
getRemoteInfo()
boolean
isRemoteType()
boolean
isTpmsType()
boolean
isUnknownType()
boolean
isRollingCodeGenSupport()
Indicates if that remote support rolling code generation. RollingCode
findRollingCode(int syncCounter, int buttonId)
Search a rolling code with the following parameters. DeviceType
getType()
String
getCustomName()
void
setModifiedAt(@NonNull() String modifiedAt)
String
getModifiedAt()
Return empty string for the worst case. String
getBrand()
String
getModel()
String
getFullName()
Return full name of the device brand/model, brand or empty string. int
getCostUnlock()
String
getComment()
boolean
isLocked()
String
toString()
-
-
Constructor Detail
-
DeviceInfo
DeviceInfo()
-
DeviceInfo
DeviceInfo(DeviceInfo deviceInfo)
-
-
Method Detail
-
getCreatedAt
@NonNull() String getCreatedAt()
-
getCapturedAt
@NonNull() String getCapturedAt()
-
getKaijuInputConfig
@Nullable() KaijuInputConfig getKaijuInputConfig()
-
getGeneratedTxConfig
@Nullable() GeneratedTxConfig getGeneratedTxConfig()
-
getTpmsInfo
@Nullable() TpmsInfo getTpmsInfo()
-
getRemoteInfo
@Nullable() RemoteInfo getRemoteInfo()
-
isRemoteType
boolean isRemoteType()
-
isTpmsType
boolean isTpmsType()
-
isUnknownType
boolean isUnknownType()
-
isRollingCodeGenSupport
boolean isRollingCodeGenSupport()
Indicates if that remote support rolling code generation.
-
findRollingCode
@Nullable() RollingCode findRollingCode(int syncCounter, int buttonId)
Search a rolling code with the following parameters.
-
getType
DeviceType getType()
-
getCustomName
@NonNull() String getCustomName()
-
setModifiedAt
void setModifiedAt(@NonNull() String modifiedAt)
-
getModifiedAt
@NonNull() String getModifiedAt()
Return empty string for the worst case.
-
getFullName
@NonNull() String getFullName()
Return full name of the device brand/model, brand or empty string.
-
getCostUnlock
int getCostUnlock()
-
getComment
@NonNull() String getComment()
-
isLocked
boolean isLocked()
-
-
-
-