TestMain

公開類別 TestMain 擴充物件
會導入 WeaveDeviceManager.CompleteHandler

巢狀類別摘要

類別 TestMain.TestFailedException  

公用建構函式摘要

公用方法摘要

靜態 void
main(String[] args)
void
onAddNetworkComplete(詳細聯播網 ID)
void
void
void
void
void
void
onDeviceEnumerationResponse(WeaveDeviceDescriptor deviceDesc, String deviceAddr)
void
void
void
void
void
void
on onError (可切換錯誤)
void
on onCameraAuthDataComplete(字串 macAddress、字串 authData)
void
onGetFabricConfigComplete(位元組 [] 確保設定)
void
void
void
onGetRendezvousModeComplete(EnumSet<RendezvousMode> rendezvousModes)
void
void
void
void
void
on onTokenTokenComplete(位元組 [] 配對權杖組合)
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
列印(WeaveDeviceDescriptor deviceDesc、字串前置字元)
void
print(NetworkInfo[] 網路,字串縮排)

繼承方法摘要

公用建構函式

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)

參數
裝置 D
裝置新增

public void onDisableConnectionMonitorComplete ()

public void onDisableNetworkComplete ()

public void onDisarmFailSafeComplete ()

public void onEnableConnectionMonitorComplete ()

public void onEnableNetworkComplete ()

public void onError (Throwable err)

參數
Err

public void onGetCameraAuthDataComplete (String macAddress, String authData)

參數
MAC 位址
驗證資料

public void onGetFabricConfigComplete (bytes[] PaintConfig)

參數
MaterialConfig

public void onGetLastNetworkProvisioningResultComplete ()

public void onGetNetworksComplete (NetworkInfo[] 網路)

參數
networks

public void onGetRendezvousModeComplete (EnumSet<RendezvousMode> rendezvousModes)

參數
RendezvousModes

public void onIdentifiDeviceComplete (WeaveDeviceDescriptor deviceDesc)

參數
裝置 D

public void onjoinexistingFabricComplete ()

public void onleaveFabricComplete ()

public void onNotifyWeaveConnectionClosed ()

public void onPairTokenComplete (bytes[] 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[] 個網路)

參數
networks

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, 字串前置字元)

參數
裝置 D
prefix

public void print (NetworkInfo[] 網路,字串縮排)

參數
networks
縮排