O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

WeaveDeviceManager

public class WeaveDeviceManager extends Object

Resumo da classe aninhada

interface WeaveDeviceManager.CompletionHandler

Resumo do Campo

protegido WeaveDeviceManager.CompletionHandler mCompHandler

Resumo do Construtor Público

Resumo do Método Público

vazio
vazio
beginArmFailSafe ( FailSafeArmMode armMode, int failSafeToken)
int
vazio
beginConnectBle (servidor BluetoothGatt , boolean autoClose)
vazio
beginConnectBle (servidor BluetoothGatt , boolean autoClose, String pairingCode)
vazio
beginConnectBle (servidor BluetoothGatt , boolean autoClose, byte [] accessToken)
vazio
beginConnectDevice (long deviceId, String ipAddr, byte [] accessToken)
vazio
beginConnectDevice (long deviceId, String ipAddr, String pairingCode)
vazio
beginConnectDevice (long deviceId, String ipAddr)
vazio
vazio
vazio
beginDisableNetwork (long networkId)
vazio
vazio
beginEnableConnectionMonitor (int intervalMS, int timeoutMS)
vazio
beginEnableNetwork (long networkId)
vazio
beginGetCameraAuthData (String nonce)
vazio
vazio
vazio
vazio
vazio
vazio
beginJoinExistingFabric (byte [] fabricConfig)
vazio
vazio
beginPairToken (byte [] pairingToken)
vazio
beginPing (int payloadSize)
vazio
vazio
vazio
beginRegisterServicePairAccount (long serviceId, String accountId, byte [] serviceConfig, String pairingToken, String pairingInitData)
vazio
beginRemotePassiveRendezvous (String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)
vazio
beginRemotePassiveRendezvous (byte [] accessToken, String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)
vazio
beginRemotePassiveRendezvous (String pairingCode, String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)
vazio
beginRemoveNetwork (long networkId)
vazio
vazio
beginRendezvousDevice (String pairingCode, IdentifyDeviceCriteria deviceCriteria)
vazio
beginRendezvousDevice (byte [] accessToken, IdentifyDeviceCriteria deviceCriteria)
vazio
vazio
vazio
beginSetRendezvousMode (EnumSet < RendezvousMode > modeSet)
vazio
beginSetRendezvousMode (int modeFlags)
vazio
beginStartSystemTest (long profileId , long testId)
vazio
vazio
vazio
vazio
beginUnregisterService (long serviceId)
vazio
vazio
fechar ()
vazio estático
WeaveDeviceDescriptor
decodeDeviceDescriptor (byte [] encodedDeviceDesc)
Fragmento
longo
BluetoothGatt
BluetoothGattCallback
WeaveDeviceManager.CompletionHandler
boleano
booleano estático
isValidPairingCode (String pairingCode)
vazio
onAddNetworkComplete (long networkId)
vazio
vazio
onCloseBleComplete (int connId)
vazio
vazio
vazio
vazio
onDeviceEnumerationResponse ( WeaveDeviceDescriptor deviceDesc, String deviceAddr)
vazio
vazio
vazio
vazio
vazio
vazio
onError (erro de lançamento)
vazio
onGetCameraAuthDataComplete (String macAddress, String authData)
vazio
onGetFabricConfigComplete (byte [] fabricConfig)
vazio
vazio
vazio
onGetRendezvousModeComplete (EnumSet < RendezvousMode > rendezvousModes)
vazio
vazio
vazio
vazio
vazio
onPairTokenComplete (byte [] pairingTokenBundle)
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
vazio
setAutoReconnect (boolean autoReconnect)
vazio
vazio
setConnectTimeout (int timeoutMS)
vazio estático
setLoggingEnabled (booleano habilitado)
Ativar ou desativar a saída de registro
vazio
setRendezvousAddress (String rendezvousAddr)
vazio
setRendezvousLinkLocal (boolean rendezvousLinkLocal)
vazio
vazio

Resumo do método protegido

vazio

Resumo do método herdado

Campos

protegido WeaveDeviceManager.CompletionHandler mCompHandler

Construtores Públicos

public WeaveDeviceManager ()

Métodos Públicos

beginAddNetwork public void ( NetworkInfo NETINFO)

Parâmetros
netInfo

public void beginArmFailSafe ( FailSafeArmMode armMode, int failSafeToken)

Parâmetros
armMode
failSafeToken

public int beginArmFailSafe ( FailSafeArmMode armMode)

Parâmetros
armMode

public void beginConnectBle (servidor BluetoothGatt , boolean autoClose)

Parâmetros
servidor
autoClose

public void beginConnectBle (servidor BluetoothGatt , boolean autoClose, String pairingCode)

Parâmetros
servidor
autoClose
pairingCode

public void beginConnectBle (servidor BluetoothGatt , boolean autoClose, byte [] accessToken)

Parâmetros
servidor
autoClose
accessToken

public void beginConnectDevice (long deviceId, String ipAddr, byte [] accessToken)

Parâmetros
Identificador do dispositivo
ipAddr
accessToken

public void beginConnectDevice (long deviceId, String ipAddr, String pairingCode)

Parâmetros
Identificador do dispositivo
ipAddr
pairingCode

public void beginConnectDevice (long deviceId, String ipAddr)

Parâmetros
Identificador do dispositivo
ipAddr

public void beginCreateFabric ()

public void beginDisableConnectionMonitor ()

public void beginDisableNetwork (long networkId)

Parâmetros
ID de rede

public void beginDisarmFailSafe ()

public void beginEnableConnectionMonitor (int intervalMS, int timeoutMS)

Parâmetros
intervalMS
timeoutMS

public void beginEnableNetwork (long networkId)

Parâmetros
ID de rede

public void beginGetCameraAuthData (String nonce)

Parâmetros
nonce

public void beginGetFabricConfig ()

public void beginGetLastNetworkProvisioningResult ()

public void beginGetNetworks ( GetNetworkFlags getFlags)

Parâmetros
getFlags

public void beginGetRendezvousMode ()

public void beginIdentifyDevice ()

public void beginJoinExistingFabric (byte [] fabricConfig)

Parâmetros
fabricConfig

public void beginLeaveFabric ()

public void beginPairToken (byte [] pairingToken)

Parâmetros
pairingToken

public void beginPing (int payloadSize)

Parâmetros
payloadSize

public void beginPing ()

public void beginReconnectDevice ()

public void beginRegisterServicePairAccount (long serviceId, String accountId, byte [] serviceConfig, String pairingToken, String pairingInitData)

Parâmetros
serviceId
accountId
serviceConfig
pairingToken
pairingInitData

public void beginRemotePassiveRendezvous (String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)

Parâmetros
rendezvousAddress
rendezvousTimeoutSec
inactivityTimeoutSec

public void beginRemotePassiveRendezvous (byte [] accessToken, String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)

Parâmetros
accessToken
rendezvousAddress
rendezvousTimeoutSec
inactivityTimeoutSec

public void beginRemotePassiveRendezvous (String pairingCode, String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)

Parâmetros
pairingCode
rendezvousAddress
rendezvousTimeoutSec
inactivityTimeoutSec

public void beginRemoveNetwork (long networkId)

Parâmetros
ID de rede

public void beginRendezvousDevice ( IdentifyDeviceCriteria deviceCriteria)

Parâmetros
deviceCriteria

public void beginRendezvousDevice (String pairingCode, IdentifyDeviceCriteria deviceCriteria)

Parâmetros
pairingCode
deviceCriteria

public void beginRendezvousDevice (byte [] accessToken, IdentifyDeviceCriteria deviceCriteria)

Parâmetros
accessToken
deviceCriteria

public void beginResetConfig ( ResetFlags resetFlags)

Parâmetros
resetFlags

public void beginScanNetworks ( NetworkType netType)

Parâmetros
netType

public void beginSetRendezvousMode (EnumSet < RendezvousMode > modeSet)

Parâmetros
modeSet

public void beginSetRendezvousMode (int modeFlags)

Parâmetros
modeFlags

public void beginStartSystemTest (long profileId, long testId)

Parâmetros
profileId
testId

public void beginStopSystemTest ()

public void beginTestNetworkConnectivity (long networkId)

Parâmetros
ID de rede

public void beginUnpairToken ()

public void beginUnregisterService (long serviceId)

Parâmetros
serviceId

beginUpdateNetwork public void ( NetworkInfo NETINFO)

Parâmetros
netInfo

public void close ()

public static void closeEndpoints ()

public WeaveDeviceDescriptor decodeDeviceDescriptor (byte [] encodedDeviceDesc)

Parâmetros
encodedDeviceDesc

public String deviceAddress ()

public long deviceId ()

public BluetoothGatt getBluetoothGatt ()

public BluetoothGattCallback getCallback ()

public WeaveDeviceManager.CompletionHandler getCompletionHandler ()

public boolean isConnected ()

public static boolean isValidPairingCode (String pairingCode)

Parâmetros
pairingCode

public void onAddNetworkComplete (long networkId)

Parâmetros
ID de rede

public void onArmFailSafeComplete ()

public void onCloseBleComplete (int connId)

Parâmetros
connId

public void onConnectBleComplete ()

public void onConnectDeviceComplete ()

public void onCreateFabricComplete ()

public void onDeviceEnumerationResponse ( WeaveDeviceDescriptor deviceDesc, String deviceAddr)

Parâmetros
deviceDesc
deviceAddr

public void onDisableConnectionMonitorComplete ()

public void onDisableNetworkComplete ()

public void onDisarmFailSafeComplete ()

public void onEnableConnectionMonitorComplete ()

public void onEnableNetworkComplete ()

public void onError (Throwable err)

Parâmetros
errar

public void onGetCameraAuthDataComplete (String macAddress, String authData)

Parâmetros
endereço MAC
authData

public void onGetFabricConfigComplete (byte [] fabricConfig)

Parâmetros
fabricConfig

public void onGetLastNetworkProvisioningResultComplete ()

public void onGetNetworksComplete ( NetworkInfo [] redes)

Parâmetros
redes

public void onGetRendezvousModeComplete (EnumSet < RendezvousMode > rendezvousModes)

Parâmetros
rendezvousModes

public void onIdentifyDeviceComplete ( WeaveDeviceDescriptor deviceDesc)

Parâmetros
deviceDesc

public void onJoinExistingFabricComplete ()

public void onLeaveFabricComplete ()

public void onNotifyWeaveConnectionClosed (int connId)

Parâmetros
connId

public void onPairTokenComplete (byte [] pairingTokenBundle)

Parâmetros
pairingTokenBundle

public void onPingComplete ()

public void onReconnectDeviceComplete ()

public void onRegisterServicePairAccountComplete ()

public void onRemotePassiveRendezvousComplete ()

public void onRemoveNetworkComplete ()

public void onRendezvousDeviceComplete ()

public void onResetConfigComplete ()

public void onScanNetworksComplete ( NetworkInfo [] networks)

Parâmetros
redes

public void onSetRendezvousModeComplete ()

public void onStartSystemTestComplete ()

public void onStopSystemTestComplete ()

public void onTestNetworkConnectivityComplete ()

public void onUnpairTokenComplete ()

public void onUnregisterServiceComplete ()

public void onUpdateNetworkComplete ()

public void setAutoReconnect (boolean autoReconnect)

Parâmetros
reconexão automática

public void setCompletionHandler ( WeaveDeviceManager.CompletionHandler compHandler)

Parâmetros
compHandler

public void setConnectTimeout (int timeoutMS)

Parâmetros
timeoutMS

public static void setLoggingEnabled (booleano habilitado)

Habilitar ou desabilitar a saída de registro

Parâmetros
ativado true se os logs devem ser impressos; falso para nenhuma saída

public void setRendezvousAddress (String rendezvousAddr)

Parâmetros
rendezvousAddr

public void setRendezvousLinkLocal (boolean rendezvousLinkLocal)

Parâmetros
rendezvousLinkLocal

public void startDeviceEnumeration ( IdentifyDeviceCriteria deviceCriteria)

Parâmetros
deviceCriteria

public void stopDeviceEnumeration ()

Métodos Protegidos

protegido void finalize ()

Lança
Lançável