O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.
Esta página foi traduzida pela API Cloud Translation.
Switch to English

NLWeaveDeviceManager

Resumo

Herança

Herda de: NSObject

Propriedades

BleConnectionPreparationCompleteHandler
PreparationCompleteHandler
blePeripheral
CBPeripheral *
name
NSString *
owner
id
resultCallbackQueue
dispatch_queue_t

Funções públicas

Close:failure: (WDMCompletionBlock completionHandler, WDMFailureBlock failureHandler)
virtual void
Feche todas as conexões graciosamente.
GetDeviceAddress: (NSMutableString *strAddr)
virtual WEAVE_ERROR
GetDeviceId: (uint64_t *deviceId)
virtual WEAVE_ERROR
GetDeviceMgrPtr: (long long *deviceMgrPtr)
virtual WEAVE_ERROR
NS_UNAVAILABLE ()
virtual instancetype
Desative o inicializador padrão herdado de NSObject.
Shutdown: (WDMCompletionBlock completionHandler)
virtual void
Liberte forçosamente todos os recursos e destrua todas as referências.
addNetwork:completion:failure: ( NLNetworkInfo *nlNetworkInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
armFailSafe:failSafeToken:completion:failure: (uint8_t armMode, uint32_t failSafeToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
connectBle:completion:failure: (CBPeripheral *peripheral, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
connectBleWithDeviceAccessToken:accessToken:completion:failure: (CBPeripheral *peripheral, NSString *accessToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
connectBleWithPairingCode:pairingCode:completion:failure: (CBPeripheral *peripheral, NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
connectDevice:deviceAddress:completion:failure: (uint64_t deviceId, NSString *deviceAddress, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
createFabric:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
disableConnectionMonitor:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
disableNetwork:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
disarmFailSafe:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
enableConnectionMonitor:timeout:completion:failure: (NSInteger intervalMs, NSInteger timeoutMs, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
enableNetwork:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
getCameraAuthData:completion:failure: (NSString *nonce, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
getFabricConfig:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
getLastNetworkProvisioningResult:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
getNetworks:completion:failure: (uint8_t flags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
getRendezvousMode:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
getWirelessRegulatoryConfig:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
identifyDevice:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
init:weaveWorkQueue:appCallbackQueue:exchangeMgr:securityMgr: (NSString *name, dispatch_queue_t weaveWorkQueue, dispatch_queue_t appCallbackQueue, nl::Weave::WeaveExchangeManager *exchangeMgr, nl::Weave::WeaveSecurityManager *NS_DESIGNATED_INITIALIZER)
virtual instancetype
isConnected ()
virtual BOOL
isValidPairingCode: (NSString *pairingCode)
virtual BOOL
joinExistingFabric:completion:failure: (NSData *fabricConfig, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
leaveFabric:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
pairToken:completion:failure: (NSData *pairingToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
passiveRendezvousWithCompletion:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
passiveRendezvousWithDeviceAccessToken:completion:failure: (NSString *accessToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
passiveRendezvousWithDevicePairingCode:completion:failure: (NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
ping:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
reconnectDevice:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
registerServicePairAccount:completion:failure: ( NLServiceInfo *nlServiceInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
remotePassiveRendezvousWithDevicePairingCode:IPAddress:rendezvousTimeout:inactivityTimeout:completion:failure: (NSString *pairingCode, NSString *IPAddress, uint16_t rendezvousTimeoutSec, uint16_t inactivityTimeoutSec, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
removeNetwork:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
rendezvousWithDeviceAccessToken:identifyDeviceCriteria:completion:failure: (NSString *accessToken, NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
rendezvousWithDevicePairingCode:completion:failure: (NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
rendezvousWithDevicePairingCode:identifyDeviceCriteria:completion:failure: (NSString *pairingCode, NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
resetConfig:completion:failure: (uint16_t resetFlags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
scanNetworks:completion:failure: (NLNetworkType networkType, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
setAutoReconnect: (BOOL autoReconnect)
virtual WEAVE_ERROR
setRendezvousAddress: (NSString *aRendezvousAddress)
virtual NSInteger
setRendezvousMode:completion:failure: (uint16_t rendezvousFlags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
setWirelessRegulatoryConfig:completion:failure: ( NLWirelessRegConfig *nlWirelessRegConfig, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
startDeviceEnumerationWithIdentifyDeviceCriteria:completion:failure: ( NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
startSystemTest:testId:completion:failure: (uint32_t profileId, uint32_t testId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
statusReportToString:statusCode: (NSUInteger profileId, NSInteger statusCode)
virtual NSString *
stopDeviceEnumeration ()
virtual void
testNetworkConnectivity:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
toErrorString: ( WEAVE_ERROR err)
virtual NSString *
unregisterService:completion:failure: (uint64_t serviceId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
updateNetwork:completion:failure: ( NLNetworkInfo *netInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void
updateService:completion:failure: ( NLServiceInfo *nlServiceInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock)
virtual void

Propriedades

BleConnectionPreparationCompleteHandler

PreparationCompleteHandler BleConnectionPreparationCompleteHandler

blePeripheral

CBPeripheral * blePeripheral

nome

NSString * name

proprietário

id owner

resultCallbackQueue

dispatch_queue_t resultCallbackQueue

Funções públicas

Fechar: falha:

virtual void Close:failure:(
  WDMCompletionBlock completionHandler,
  WDMFailureBlock failureHandler
)

Feche todas as conexões graciosamente.

O gerenciador de dispositivos estaria pronto para outra conexão após a conclusão.

GetDeviceAddress:

virtual WEAVE_ERROR GetDeviceAddress:(
  NSMutableString *strAddr
)

GetDeviceId:

virtual WEAVE_ERROR GetDeviceId:(
  uint64_t *deviceId
)

GetDeviceMgrPtr:

virtual WEAVE_ERROR GetDeviceMgrPtr:(
  long long *deviceMgrPtr
)

NS_UNAVAILABLE

virtual instancetype NS_UNAVAILABLE()

Desative o inicializador padrão herdado de NSObject.

Desligar:

virtual void Shutdown:(
  WDMCompletionBlock completionHandler
)

Liberte forçosamente todos os recursos e destrua todas as referências.

Não há como reviver este gerenciador de dispositivos após esta chamada.

addNetwork: conclusão: falha:

virtual void addNetwork:completion:failure:(
  NLNetworkInfo *nlNetworkInfo,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

armFailSafe: failSafeToken: conclusão: falha:

virtual void armFailSafe:failSafeToken:completion:failure:(
  uint8_t armMode,
  uint32_t failSafeToken,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

connectBle: conclusão: falha:

virtual void connectBle:completion:failure:(
  CBPeripheral *peripheral,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

connectBleWithDeviceAccessToken: accessToken: conclusão: falha:

virtual void connectBleWithDeviceAccessToken:accessToken:completion:failure:(
  CBPeripheral *peripheral,
  NSString *accessToken,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

connectBleWithPairingCode: pairingCode: conclusão: falha:

virtual void connectBleWithPairingCode:pairingCode:completion:failure:(
  CBPeripheral *peripheral,
  NSString *pairingCode,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

connectDevice: deviceAddress: conclusão: falha:

virtual void connectDevice:deviceAddress:completion:failure:(
  uint64_t deviceId,
  NSString *deviceAddress,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

createFabric: failure:

virtual void createFabric:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

disableConnectionMonitor: falha:

virtual void disableConnectionMonitor:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

disableNetwork: conclusão: falha:

virtual void disableNetwork:completion:failure:(
  NLNetworkID networkId,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

disarmFailSafe: falha:

virtual void disarmFailSafe:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

enableConnectionMonitor: tempo limite: conclusão: falha:

virtual void enableConnectionMonitor:timeout:completion:failure:(
  NSInteger intervalMs,
  NSInteger timeoutMs,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

enableNetwork: conclusão: falha:

virtual void enableNetwork:completion:failure:(
  NLNetworkID networkId,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

getCameraAuthData: conclusão: falha:

virtual void getCameraAuthData:completion:failure:(
  NSString *nonce,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

getFabricConfig: falha:

virtual void getFabricConfig:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

getLastNetworkProvisioningResult: falha:

virtual void getLastNetworkProvisioningResult:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

getNetworks: conclusão: falha:

virtual void getNetworks:completion:failure:(
  uint8_t flags,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

getRendezvousMode: falha:

virtual void getRendezvousMode:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

getWirelessRegulatoryConfig: falha:

virtual void getWirelessRegulatoryConfig:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

Identificar Dispositivo: falha:

virtual void identifyDevice:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

init: weaveWorkQueue: appCallbackQueue: exchangeMgr: securityMgr:

virtual instancetype init:weaveWorkQueue:appCallbackQueue:exchangeMgr:securityMgr:(
  NSString *name,
  dispatch_queue_t weaveWorkQueue,
  dispatch_queue_t appCallbackQueue,
  nl::Weave::WeaveExchangeManager *exchangeMgr,
  nl::Weave::WeaveSecurityManager *NS_DESIGNATED_INITIALIZER
)

está conectado

virtual BOOL isConnected()

isValidPairingCode:

virtual BOOL isValidPairingCode:(
  NSString *pairingCode
)

joinExistingFabric: conclusão: falha:

virtual void joinExistingFabric:completion:failure:(
  NSData *fabricConfig,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

leaveFabric: falha:

virtual void leaveFabric:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

pairToken: conclusão: falha:

virtual void pairToken:completion:failure:(
  NSData *pairingToken,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

passiveRendezvousWithCompletion: failure:

virtual void passiveRendezvousWithCompletion:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

passiveRendezvousWithDeviceAccessToken: conclusão: falha:

virtual void passiveRendezvousWithDeviceAccessToken:completion:failure:(
  NSString *accessToken,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

passiveRendezvousWithDevicePairingCode: conclusão: falha:

virtual void passiveRendezvousWithDevicePairingCode:completion:failure:(
  NSString *pairingCode,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

ping: falha:

virtual void ping:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

reconnectDevice: falha:

virtual void reconnectDevice:failure:(
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

registerServicePairAccount: conclusão: falha:

virtual void registerServicePairAccount:completion:failure:(
  NLServiceInfo *nlServiceInfo,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

remotePassiveRendezvousWithDevicePairingCode: IPAddress: rendezvousTimeout: inactivityTimeout: conclusão: falha:

virtual void remotePassiveRendezvousWithDevicePairingCode:IPAddress:rendezvousTimeout:inactivityTimeout:completion:failure:(
  NSString *pairingCode,
  NSString *IPAddress,
  uint16_t rendezvousTimeoutSec,
  uint16_t inactivityTimeoutSec,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

removeNetwork: conclusão: falha:

virtual void removeNetwork:completion:failure:(
  NLNetworkID networkId,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

rendezvousWithDeviceAccessToken: identifiqueDeviceCriteria: conclusão: falha:

virtual void rendezvousWithDeviceAccessToken:identifyDeviceCriteria:completion:failure:(
  NSString *accessToken,
  NLIdentifyDeviceCriteria *identifyDeviceCriteria,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

rendezvousWithDevicePairingCode: conclusão: falha:

virtual void rendezvousWithDevicePairingCode:completion:failure:(
  NSString *pairingCode,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

rendezvousWithDevicePairingCode: identifiqueDeviceCriteria: conclusão: falha:

virtual void rendezvousWithDevicePairingCode:identifyDeviceCriteria:completion:failure:(
  NSString *pairingCode,
  NLIdentifyDeviceCriteria *identifyDeviceCriteria,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

resetConfig: conclusão: falha:

virtual void resetConfig:completion:failure:(
  uint16_t resetFlags,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

scanNetworks: conclusão: falha:

virtual void scanNetworks:completion:failure:(
  NLNetworkType networkType,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

setAutoReconnect:

virtual WEAVE_ERROR setAutoReconnect:(
  BOOL autoReconnect
)

setRendezvousAddress:

virtual NSInteger setRendezvousAddress:(
  NSString *aRendezvousAddress
)

setRendezvousMode: conclusão: falha:

virtual void setRendezvousMode:completion:failure:(
  uint16_t rendezvousFlags,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

setWirelessRegulatoryConfig: conclusão: falha:

virtual void setWirelessRegulatoryConfig:completion:failure:(
  NLWirelessRegConfig *nlWirelessRegConfig,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

startDeviceEnumerationWithIdentifyDeviceCriteria: conclusão: falha:

virtual void startDeviceEnumerationWithIdentifyDeviceCriteria:completion:failure:(
  NLIdentifyDeviceCriteria *identifyDeviceCriteria,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

startSystemTest: testId: conclusão: falha:

virtual void startSystemTest:testId:completion:failure:(
  uint32_t profileId,
  uint32_t testId,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

statusReportToString: statusCode:

virtual NSString * statusReportToString:statusCode:(
  NSUInteger profileId,
  NSInteger statusCode
)

stopDeviceEnumeration

virtual void stopDeviceEnumeration()

testNetworkConnectivity: conclusão: falha:

virtual void testNetworkConnectivity:completion:failure:(
  NLNetworkID networkId,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

toErrorString:

virtual NSString * toErrorString:(
  WEAVE_ERROR err
)

unregisterService: conclusão: falha:

virtual void unregisterService:completion:failure:(
  uint64_t serviceId,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

updateNetwork: conclusão: falha:

virtual void updateNetwork:completion:failure:(
  NLNetworkInfo *netInfo,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)

updateService: conclusão: falha:

virtual void updateService:completion:failure:(
  NLServiceInfo *nlServiceInfo,
  WDMCompletionBlock completionBlock,
  WDMFailureBlock failureBlock
)