-
public class ScanDeviceBean
Scanned surrounding Bluetooth device models
-
-
Field Summary
Fields Modifier and Type Field Description String
id
String
name
String
providerName
String
data
String
configType
String
productId
String
uuid
String
mac
String
address
int
deviceType
boolean
isbind
int
flag
private Array<byte>
raw
private boolean
isShare
private boolean
isRoam
private Array<byte>
pidRaw
int
rssi
-
Method Summary
Modifier and Type Method Description String
getId()
get device id. void
setId(String parmId)
No need to call String
getName()
get device bluetooth name, maybe empty void
setName(String name)
No need to call String
getProviderName()
provider name. void
setProviderName(String name)
No need to call String
getData()
Bluetooth broadcast raw data void
setData(String d)
No need to call String
getConfigType()
get config type. void
setConfigType(String type)
No need to call String
getProductId()
device 's productId void
setProductId(String productId)
No need to call String
getUuid()
get device's uuid void
setUuid(String uuid)
No need to call String
getMac()
device's address void
setMac(String mac)
No need to call String
getAddress()
void
setAddress(String address)
int
getDeviceType()
void
setDeviceType(int deviceType)
boolean
getIsbind()
get bind status void
setIsbind(boolean isbind)
No need to call int
getFlag()
device flag. void
setFlag(int flag)
No need to call Array<byte>
getRaw()
void
setRaw(Array<byte> raw)
boolean
isShare()
boolean
isRoam()
Array<byte>
getPidRaw()
void
setPidRaw(Array<byte> pidRaw)
int
getRssi()
void
setRssi(int rssi)
void
setRoam(boolean roam)
void
setShare(boolean isShare)
String
toString()
boolean
capabilityEnable(int capability)
see SupportType -
-
Method Detail
-
getId
String getId()
get device id.
-
setId
void setId(String parmId)
No need to call
-
getName
String getName()
get device bluetooth name, maybe empty
-
setName
void setName(String name)
No need to call
-
getProviderName
@Deprecated() String getProviderName()
provider name. @see getConfigType
-
setProviderName
void setProviderName(String name)
No need to call
-
getData
String getData()
Bluetooth broadcast raw data
-
setData
void setData(String d)
No need to call
-
getConfigType
String getConfigType()
get config type.
CONFIG_TYPE_SINGLE or CONFIG_TYPE_WIFICONFIG_TYPE_TOGETHER or CONFIG_TYPE_SIG_TOGETHER
-
setConfigType
void setConfigType(String type)
No need to call
-
getProductId
String getProductId()
device 's productId
-
setProductId
void setProductId(String productId)
No need to call
-
getUuid
String getUuid()
get device's uuid
-
setUuid
void setUuid(String uuid)
No need to call
-
getMac
String getMac()
device's address
-
setMac
void setMac(String mac)
No need to call
-
getAddress
String getAddress()
-
setAddress
void setAddress(String address)
-
getDeviceType
int getDeviceType()
-
setDeviceType
void setDeviceType(int deviceType)
-
getIsbind
boolean getIsbind()
get bind status
-
setIsbind
void setIsbind(boolean isbind)
No need to call
-
getFlag
int getFlag()
device flag.The low first bit is marked as whether to support 5G wifi
-
setFlag
void setFlag(int flag)
No need to call
-
getRaw
Array<byte> getRaw()
-
setRaw
void setRaw(Array<byte> raw)
-
isShare
boolean isShare()
-
isRoam
boolean isRoam()
-
getPidRaw
Array<byte> getPidRaw()
-
setPidRaw
void setPidRaw(Array<byte> pidRaw)
-
getRssi
int getRssi()
-
setRssi
void setRssi(int rssi)
-
setRoam
void setRoam(boolean roam)
-
setShare
void setShare(boolean isShare)
-
toString
String toString()
-
capabilityEnable
boolean capabilityEnable(int capability)
see SupportType
-
-
-
-