Class DeviceInfo
-
- All Implemented Interfaces:
-
java.io.Serializable
public class DeviceInfo implements Serializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDeviceInfo.Type
-
Field Summary
Fields Modifier and Type Field Description public TaskmTaskpublic KaijuInputConfigmKaijuInputConfigpublic GeneratedTxConfigmGeneratedTxConfigpublic TpmsInfomTpmsInfopublic RemoteInfomRemoteInfopublic static Comparator<DeviceInfo>TaskIdComparator
-
Constructor Summary
Constructors Constructor Description DeviceInfo()DeviceInfo(DeviceInfo deviceInfo)
-
Method Summary
Modifier and Type Method Description StringgetCreatedAt()StringgetCapturedAt()TaskgetTask()voidsetTask(@NonNull() Task task)KaijuInputConfiggetKaijuInputConfig()GeneratedTxConfiggetGeneratedTxConfig()TpmsInfogetTpmsInfo()RemoteInfogetRemoteInfo()booleanisRemoteType()booleanisTpmsType()booleanisUnknownType()booleanisRollingCodeGenSupport()Indicates if that remote support rolling code generation. RollingCodefindRollingCode(int syncCounter, int buttonId)Search a rolling code with the following parameters. DeviceTypegetType()StringgetCustomName()voidsetModifiedAt(@NonNull() String modifiedAt)StringgetModifiedAt()Return empty string for the worst case. StringgetBrand()StringgetModel()StringgetFullName()Return full name of the device brand/model, brand or empty string. intgetCostUnlock()StringgetComment()booleanisLocked()StringtoString()-
-
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()
-
-
-
-