DFUInfo
public abstract class DFUInfo extends Object
Constructors
Name | Description |
---|---|
public DFUInfo()
|
Methods
version
public abstract Revision version()
ReturnValue
Name | Description |
---|---|
Revision
|
dfuStatus
public abstract UpgradeStatus dfuStatus()
ReturnValue
Name | Description |
---|---|
UpgradeStatus
|
vendorId
public abstract String vendorId()
ReturnValue
Name | Description |
---|---|
String
|
productId
public abstract String productId()
ReturnValue
Name | Description |
---|---|
String
|
moduleId
public abstract String moduleId()
ReturnValue
Name | Description |
---|---|
String
|
downloadFilePath
public abstract String downloadFilePath()
ReturnValue
Name | Description |
---|---|
String
|
create
public static DFUInfo create(String version, String dfuStatus, URI downloadUrl, String vendorId, String productId, String moduleId)
Parameters
Name | Description |
---|---|
String version
|
|
String dfuStatus
|
|
URI downloadUrl
|
|
String vendorId
|
|
String productId
|
|
String moduleId
|
ReturnValue
Name | Description |
---|---|
DFUInfo
|
create
public static DFUInfo create(String version, String dfuStatus, URI downloadUrl, String vendorId, String productId, String moduleId, String downloadFilePath)
Parameters
Name | Description |
---|---|
String version
|
|
String dfuStatus
|
|
URI downloadUrl
|
|
String vendorId
|
|
String productId
|
|
String moduleId
|
|
String downloadFilePath
|
ReturnValue
Name | Description |
---|---|
DFUInfo
|
create
public static DFUInfo create(RemoteDfuInfo remoteDfuInfo)
Create DFUInfo from remote responseRemoteDfuInfo.
Parameters
Name | Description |
---|---|
RemoteDfuInfo remoteDfuInfo
|
RemoteDfuInfo |
ReturnValue
Name | Description |
---|---|
DFUInfo
|
|
isApplicableTo
public boolean isApplicableTo(String vendorId, String productId)
Returns true if vid/pid matches.
Parameters
Name | Description |
---|---|
String vendorId
|
|
String productId
|
ReturnValue
Name | Description |
---|---|
boolean
|
typeAdapter
public static
Parameters
Name | Description |
---|---|
Gson gson
|
ReturnValue
Name | Description |
---|---|
|
Represents Image information.