Google is committed to advancing racial equity for Black communities. See how.

WeaveDeviceManager

la classe pubblica WeaveDeviceManager estende Object

Riepilogo delle classi annidate

interfaccia WeaveDeviceManager.CompletionHandler

Riepilogo del campo

protetto WeaveDeviceManager.CompletionHandler mCompHandler

Riepilogo del costruttore pubblico

Riepilogo del metodo pubblico

vuoto
vuoto
beginArmFailSafe ( FailSafeArmMode armMode, int failSafeToken)
int
vuoto
beginConnectBle (server BluetoothGatt , boolean autoClose)
vuoto
beginConnectBle (server BluetoothGatt , boolean autoClose, String pairingCode)
vuoto
beginConnectBle (server BluetoothGatt , booleano autoClose, byte [] accessToken)
vuoto
beginConnectDevice (long deviceId, String ipAddr, byte [] accessToken)
vuoto
beginConnectDevice (long deviceId, String ipAddr, String pairingCode)
vuoto
beginConnectDevice (long deviceId, String ipAddr)
vuoto
vuoto
vuoto
beginDisableNetwork (long networkId)
vuoto
vuoto
beginEnableConnectionMonitor (int intervalMS, int timeoutMS)
vuoto
beginEnableNetwork (long networkId)
vuoto
beginGetCameraAuthData (String nonce)
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
beginJoinExistingFabric (byte [] fabricConfig)
vuoto
vuoto
beginPairToken (byte [] pairingToken)
vuoto
beginPing (int payloadSize)
vuoto
vuoto
vuoto
beginRegisterServicePairAccount (long serviceId, String accountId, byte [] serviceConfig, String pairingToken, String pairingInitData)
vuoto
beginRemotePassiveRendezvous (String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)
vuoto
beginRemotePassiveRendezvous (byte [] accessToken, String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)
vuoto
beginRemotePassiveRendezvous (String pairingCode, String rendezvousAddress, int rendezvousTimeoutSec, int inactivityTimeoutSec)
vuoto
beginRemoveNetwork (long networkId)
vuoto
vuoto
beginRendezvousDevice (String pairingCode, IdentifyDeviceCriteria deviceCriteria)
vuoto
beginRendezvousDevice (byte [] accessToken, IdentifyDeviceCriteria deviceCriteria)
vuoto
vuoto
vuoto
beginSetRendezvousMode (EnumSet < RendezvousMode > modeSet)
vuoto
beginSetRendezvousMode (int modeFlags)
vuoto
beginStartSystemTest (long profileId, long testId)
vuoto
vuoto
vuoto
vuoto
beginUnregisterService (long serviceId)
vuoto
vuoto
vuoto statico
WeaveDeviceDescriptor
decodeDeviceDescriptor (byte [] encodedDeviceDesc)
Corda
lungo
BluetoothGatt
BluetoothGattCallback
WeaveDeviceManager.CompletionHandler
booleano
booleano statico
isValidPairingCode (String pairingCode)
vuoto
vuoto
vuoto
onCloseBleComplete (int connId)
vuoto
vuoto
vuoto
vuoto
onDeviceEnumerationResponse ( WeaveDeviceDescriptor deviceDesc, String deviceAddr)
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
onError (Throwable err)
vuoto
onGetCameraAuthDataComplete (String macAddress, String authData)
vuoto
onGetFabricConfigComplete (byte [] fabricConfig)
vuoto
vuoto
vuoto
onGetRendezvousModeComplete (EnumSet < RendezvousMode > rendezvousModes)
vuoto
vuoto
vuoto
vuoto
vuoto
onPairTokenComplete (byte [] pairingTokenBundle)
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
vuoto
setAutoReconnect (boolean autoReconnect)
vuoto
vuoto
setConnectTimeout (int timeoutMS)
vuoto statico
setLoggingEnabled (booleano abilitato)
Abilita o disabilita l'output di registrazione
vuoto
setRendezvousAddress (String rendezvousAddr)
vuoto
setRendezvousLinkLocal (booleano rendezvousLinkLocal)
vuoto
vuoto

Riepilogo del metodo protetto

vuoto

Riepilogo del metodo ereditato

Campi

Costruttori pubblici

public WeaveDeviceManager ()

Metodi pubblici

public void beginAddNetwork ( NetworkInfo netInfo)

Parametri
netInfo

public void beginArmFailSafe ( FailSafeArmMode armMode, int failSafeToken)

Parametri
armMode
failSafeToken

public int beginArmFailSafe ( FailSafeArmMode armMode)

Parametri
armMode

public void beginConnectBle ( BluetoothGatt server, boolean autoClose)

Parametri
server
autoClose

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

Parametri
server
autoClose
pairingCode

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

Parametri
server
autoClose
token di accesso

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

Parametri
ID del dispositivo
ipAddr
token di accesso

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

Parametri
ID del dispositivo
ipAddr
pairingCode

public void beginConnectDevice (long deviceId, String ipAddr)

Parametri
ID del dispositivo
ipAddr

public void beginCreateFabric ()

public void beginDisableConnectionMonitor ()

public void beginDisableNetwork (long networkId)

Parametri
networkId

public void beginDisarmFailSafe ()

public void beginEnableConnectionMonitor (int intervalMS, int timeoutMS)

Parametri
intervalloMS
timeoutMS

public void beginEnableNetwork (long networkId)

Parametri
networkId

public void beginGetCameraAuthData (String nonce)

Parametri
nonce

public void beginGetFabricConfig ()

public void beginGetLastNetworkProvisioningResult ()

public void beginGetNetworks ( GetNetworkFlags getFlags)

Parametri
getFlags

public void beginGetRendezvousMode ()

public void beginIdentifyDevice ()

public void beginJoinExistingFabric (byte [] fabricConfig)

Parametri
fabricConfig

public void beginLeaveFabric ()

public void beginPairToken (byte [] pairingToken)

Parametri
pairingToken

public void beginPing (int payloadSize)

Parametri
payloadSize

public void beginPing ()

public void beginReconnectDevice ()

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

Parametri
serviceId
Account ID
serviceConfig
pairingToken
pairingInitData

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

Parametri
rendezvousAddress
rendezvousTimeoutSec
inactivityTimeoutSec

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

Parametri
token di accesso
rendezvousAddress
rendezvousTimeoutSec
inactivityTimeoutSec

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

Parametri
pairingCode
rendezvousAddress
rendezvousTimeoutSec
inactivityTimeoutSec

public void beginRemoveNetwork (long networkId)

Parametri
networkId

public void beginRendezvousDevice ( IdentifyDeviceCriteria deviceCriteria)

Parametri
deviceCriteria

public void beginRendezvousDevice (String pairingCode, IdentifyDeviceCriteria deviceCriteria)

Parametri
pairingCode
deviceCriteria

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

Parametri
token di accesso
deviceCriteria

public void beginResetConfig ( ResetFlags resetFlags)

Parametri
resetFlags

public void beginScanNetworks ( NetworkType netType)

Parametri
netType

public void beginSetRendezvousMode (EnumSet < RendezvousMode > modeSet)

Parametri
modeSet

public void beginSetRendezvousMode (int modeFlags)

Parametri
modeFlags

public void beginStartSystemTest (long profileId, long testId)

Parametri
profileId
testId

public void beginStopSystemTest ()

public void beginTestNetworkConnectivity (long networkId)

Parametri
networkId

public void beginUnpairToken ()

public void beginUnregisterService (long serviceId)

Parametri
serviceId

public void beginUpdateNetwork ( NetworkInfo netInfo)

Parametri
netInfo

public void close ()

public static void closeEndpoints ()

public WeaveDeviceDescriptor decodeDeviceDescriptor (byte [] encodedDeviceDesc)

Parametri
encodedDeviceDesc

public String deviceAddress ()

ID dispositivo lungo pubblico ()

public BluetoothGatt getBluetoothGatt ()

public BluetoothGattCallback getCallback ()

public WeaveDeviceManager.CompletionHandler getCompletionHandler ()

public boolean isConnected ()

public static boolean isValidPairingCode (String pairingCode)

Parametri
pairingCode

public void onAddNetworkComplete (long networkId)

Parametri
networkId

public void onArmFailSafeComplete ()

public void onCloseBleComplete (int connId)

Parametri
connId

public void onConnectBleComplete ()

public void onConnectDeviceComplete ()

public void onCreateFabricComplete ()

public void onDeviceEnumerationResponse ( WeaveDeviceDescriptor deviceDesc, String deviceAddr)

Parametri
deviceDesc
deviceAddr

public void onDisableConnectionMonitorComplete ()

public void onDisableNetworkComplete ()

public void onDisarmFailSafeComplete ()

public void onEnableConnectionMonitorComplete ()

public void onEnableNetworkComplete ()

public void onError (Throwable err)

Parametri
err

public void onGetCameraAuthDataComplete (String macAddress, String authData)

Parametri
indirizzo MAC
authData

public void onGetFabricConfigComplete (byte [] fabricConfig)

Parametri
fabricConfig

public void onGetLastNetworkProvisioningResultComplete ()

public void onGetNetworksComplete ( NetworkInfo [] reti)

Parametri
reti

public void onGetRendezvousModeComplete (EnumSet < RendezvousMode > rendezvousModes)

Parametri
rendezvousModes

public void onIdentifyDeviceComplete ( WeaveDeviceDescriptor deviceDesc)

Parametri
deviceDesc

public void onJoinExistingFabricComplete ()

public void onLeaveFabricComplete ()

public void onNotifyWeaveConnectionClosed (int connId)

Parametri
connId

public void onPairTokenComplete (byte [] pairingTokenBundle)

Parametri
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 [] reti)

Parametri
reti

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)

Parametri
riconnessione automatica

public void setCompletionHandler ( WeaveDeviceManager.CompletionHandler compHandler)

Parametri
compHandler

public void setConnectTimeout (int timeoutMS)

Parametri
timeoutMS

public static void setLoggingEnabled (booleano abilitato)

Abilita o disabilita l'output di registrazione

Parametri
abilitato true se i log devono essere stampati; false per nessun output

public void setRendezvousAddress (String rendezvousAddr)

Parametri
rendezvousAddr

public void setRendezvousLinkLocal (boolean rendezvousLinkLocal)

Parametri
rendezvousLinkLocal

public void startDeviceEnumeration ( IdentifyDeviceCriteria deviceCriteria)

Parametri
deviceCriteria

public void stopDeviceEnumeration ()

Metodi protetti

protetto void finalize ()

Lancia
Lanciabile