TestMain

公共类 TestMain 扩展了对象
,实现了 WeaveDeviceManager.CompletionHandler

嵌套类摘要

TestMain.TestFailedException  

公共构造函数摘要

公共方法摘要

静态无效
main(String[] args)
void
onAddNetworkComplete(long networkId)
void
void
void
void
void
void
onDeviceEnumerationResponse(WeaveDeviceDescriptor deviceDesc, String deviceAddr)
void
void
void
void
void
void
onError(抛出错误)
void
onGetCameraAuthDataComplete(字符串 macAddress、String authData)
void
onGetFabricConfigComplete(byte[] fabricConfig)
void
void
void
onGetRendezvousModeComplete(EnumSet<RendezvousMode> rendezvousModes)
void
void
void
void
void
onPairTokenComplete(byte[] PairTokenBundle)
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
printWeaveDeviceDescriptor deviceDesc、字符串前缀)
void
printNetworkInfo[] 网络、字符串缩进)

继承的方法摘要

公共构造函数

public TestMain ()

公共方法

public static void main (String[] args)

参数
args

public void onAddNetworkComplete (long networkId)

参数
网络 ID

public void onArmFailSafeComplete ()

public void onCloseBleComplete ()

public void onConnectBleComplete ()

public void onConnectDeviceComplete ()

public void onCreateFabricComplete ()

public void onDeviceEnumerationResponse (WeaveDeviceDescriptor deviceDesc, String deviceAddr)

参数
设备说明
设备地址

public void onDisableConnectionMonitorComplete ()

public void onDisableNetworkComplete ()

public void onDisarmFailSafeComplete ()

public void onEnableConnectionMonitorComplete ()

public void onEnableNetworkComplete ()

public void onError (抛出 ERR)

参数
错误

public void onGetCameraAuthDataComplete (String macAddress, String authData)

参数
MAC 地址
身份验证数据

public void onGetFabricConfigComplete (byte[] fabricConfig)

参数
fabricConfig

public void onGetLastNetworkProvisioningResultComplete ()

public void onGetNetworksComplete NetworkInfo[] 网络)

参数
网络

public void onGetRendezvousModeComplete (EnumSet<RendezvousMode> rendezvousModes)

参数
rendezvousMode

public void onRecognizeDeviceComplete (WeaveDeviceDescriptor deviceDesc)

参数
设备说明

public void onJoinExistingFabricComplete ()

public void onStayFabricComplete ()

public void onNotifyWeaveConnectionClosed ()

public void onPairTokenComplete (byte[] matchingTokenBundle)

参数
PairTokenBundle

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[] 网络)

参数
网络

public void onSetRendezvousModeComplete ()

public void onStartSystemTestComplete ()

public void onStopSystemTestComplete ()

public void onTestNetworkConnectivityComplete ()

public void onUnpairTokenComplete ()

public void onUnregisterServiceComplete ()

public void onUpdateNetworkComplete ()

public void print (WeaveDeviceDescriptor deviceDesc, String prefix)

参数
设备说明
prefix

public void print NetworkInfo[] 网络,字符串缩进)

参数
网络
缩进