En Google, luchamos por la equidad racial de la comunidad negra. Más información

NLWeaveDeviceManager

Resumen

Herencia

Hereda de: NSObject

Propiedades

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

Funciones publicas

Close:failure: (WDMCompletionBlock completionHandler, WDMFailureBlock failureHandler)
virtual void
Cierre todas las conexiones con gracia.
GetDeviceAddress: (NSMutableString *strAddr)
virtual WEAVE_ERROR
GetDeviceId: (uint64_t *deviceId)
virtual WEAVE_ERROR
GetDeviceMgrPtr: (long long *deviceMgrPtr)
virtual WEAVE_ERROR
NS_UNAVAILABLE ()
virtual instancetype
Desactive el inicializador predeterminado heredado de NSObject.
Shutdown: (WDMCompletionBlock completionHandler)
virtual void
Afortunadamente, libere todos los recursos y destruya todas las referencias.
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

Propiedades

BleConnectionPreparationCompleteHandler

PreparationCompleteHandler BleConnectionPreparationCompleteHandler

blePeriférico

CBPeripheral * blePeripheral

nombre

NSString * name

dueño

id owner

resultCallbackQueue

dispatch_queue_t resultCallbackQueue

Funciones publicas

Cerrar: falla:

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

Cierre todas las conexiones con gracia.

El administrador de dispositivos estaría listo para otra conexión después de la finalización.

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()

Desactive el inicializador predeterminado heredado de NSObject.

Cerrar:

virtual void Shutdown:(
  WDMCompletionBlock completionHandler
)

Libere con fuerza todos los recursos y destruya todas las referencias.

No hay forma de reactivar este administrador de dispositivos después de esta llamada.

addNetwork: finalización: falla:

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

Armfailsafe: FAILSAFETEN: Finalización: Fallo:

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

connectBle: finalización: falla:

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

connectBleWithDeviceAccessToken: accessToken: finalización: falla:

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

connectBleWithPairingCode: pairingCode: finalización: falla:

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

connectDevice: deviceAddress: finalización: falla:

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

createFabric: falla:

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

disableConnectionMonitor: falla:

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

disableNetwork: finalización: falla:

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

desarmFailSafe: falla:

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

enableConnectionMonitor: tiempo de espera: finalización: falla:

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

enableNetwork: finalización: falla:

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

getCameraAuthData: finalización: falla:

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

getFabricConfig: error:

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

getLastNetworkProvisioningResult: error:

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

getNetworks: finalización: falla:

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

getRendezvousMode: failure:

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

getWirelessRegulatoryConfig: error:

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

identifyDevice: failure:

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: finalización: falla:

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

LeaveFabric: falla:

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

pairToken: finalización: falla:

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

passiveRendezvousWithCompletion: failure:

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

passiveRendezvousWithDeviceAccessToken: finalización: falla:

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

passiveRendezvousWithDevicePairingCode: finalización: falla:

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

ping: falla:

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

reconnectDevice: falla:

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

registerServicePairAccount: finalización: falla:

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

remotePassiveRendezvousWithDevicePairingCode: IPAddress: rendezvousTimeout: inactivityTimeout: finalización: falla:

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

removeNetwork: finalización: falla:

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

rendezvousWithDeviceAccessToken :identifyDeviceCriteria: finalización: falla:

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

rendezvousWithDevicePairingCode: finalización: falla:

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

rendezvousWithDevicePairingCode :identifyDeviceCriteria: finalización: falla:

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

resetConfig: finalización: falla:

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

scanNetworks: finalización: falla:

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: finalización: falla:

l10n-placeholder = 52

setWirelessRegulatoryConfig: finalización: falla:

l10n-placeholder = 53

startDeviceEnumerationWithIdentifyDeviceCriteria: finalización: falla:

l10n-placeholder = 54

startSystemTest: testId: finalización: falla:

l10n-placeholder = 55

statusReportToString: statusCode:

l10n-placeholder = 56

stopDeviceEnumeration

l10n-placeholder = 57

testNetworkConnectivity: finalización: falla:

l10n-placeholder = 58

toErrorString:

l10n-placeholder = 59

unregisterService: finalización: falla:

l10n-placeholder = 60

updateNetwork: finalización: falla:

l10n-placeholder = 61

updateService: finalización: falla:

l10n-placeholder = 62