Öffentliche Klasse TestMain erweitert Objekt
implementiert WeaveDeviceManager.CompleteHandler.
implementiert WeaveDeviceManager.CompleteHandler.
Nested Class Summary
Klasse | TestMain.TestFailedException |
Public Constructor Summary
TestMain()
|
Public Method Summary
Statisches Leer |
Haupt(String[] args)
|
void |
onAddNetworkComplete (long networkId)
|
void | |
void | |
void | |
void | |
void | |
void |
OnDeviceEnumerationResponse(WeaveDeviceDescriptor
deviceDesc, String deviceAddr)
|
void | |
void | |
void | |
void | |
void | |
void |
onError (Throwable-Fehler)
|
void |
onGetCameraAuthDataComplete(String-MAC-Adresse, String-AuthData)
|
void |
onGetFabricConfigComplete(Byte[] FabricConfig)
|
void | |
void |
onGetNetworksComplete(NetworkInfo[]-Netzwerke)
|
void |
onGetRendezvousModeComplete(EnumSet<RendezvousMode> rendezvousModes)
|
void |
onIdentifiDeviceComplete(WeaveDeviceDescriptor
deviceDesc)
|
void | |
void | |
void | |
void |
onPairTokenComplete(Byte[] PairingTokenBundle) verwenden
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
ScanScansComplete(NetworkInfo[]
Netzwerke)
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
Print(WeaveDeviceDescriptor
deviceDesc, String-Präfix)
|
void |
Print(NetworkInfo[]
Netzwerke, String-Einzug)
|
Inherited Method Summary
Public Constructors
öffentlich TestMain ()
Public Methods
public static void main (String[] arg)
Parameter
args |
---|
public void onAddNetworkComplete (long networkId)
Parameter
Netzwerk-ID |
---|
public voidonArmFailSafeComplete()
public void onCloseBleComplete ().
public void onConnectBleComplete ().
public void onConnectDeviceComplete ()
public void onCreateFabricComplete ()
public void onDeviceEnumerationResponse (WeaveDeviceDescriptor deviceDesc, String deviceAddr)
Parameter
Gerät Desc | |
---|---|
Geräte-Addr |
public void onDisableConnectionMonitorComplete ().
public void onDisableNetworkComplete ().
public void onDisarmFailSafeComplete ()
public void onEnableConnectionMonitorComplete ().
public void onEnableNetworkComplete ()
public void onError (Throwable-err)
Parameter
Falsch |
---|
public void onGetCameraAuthDataComplete (String macAddress, String authData)
Parameter
MAC-Adresse | |
---|---|
AuthData |
public void onGetFabricConfigComplete (Byte[] FabricConfig)
Parameter
Stoffkonfiguration |
---|
public void onGetLastNetworkProvisioningResultComplete ().
public void onGetNetworksComplete (NetworkInfo[] Networks)
Parameter
Netzwerke |
---|
public void onGetRendezvousModeComplete (EnumSet<RendezvousMode> rendezvousModes).
Parameter
RendezvousModes |
---|
public void onIdentifiDeviceComplete (WeaveDeviceDescriptor deviceDesc)
Parameter
Gerät Desc |
---|
public void onjoinVorhandeneFabricComplete ()
public void onLeftFabricComplete ()
public void onNotifyWeaveConnectionClosed ()
public void onPairTokenComplete (Byte[] PairingTokenBundle)
Parameter
Kopplungstoken |
---|
public void onPingComplete ()
public void onReconnectDeviceComplete ().
public void onRegisterServicePairAccountComplete ().
öffentlich void onRemotePassiveRendezvousComplete ()
public void onRemoveNetworkComplete ().
public void onRendezvousDeviceComplete ().
public void onResetConfigComplete ().
public void onScanNetworksComplete (NetworkInfo[] Networks)
Parameter
Netzwerke |
---|
public void onSetRendezvousModeComplete ()
public voidonStartSystemTestComplete()
public void onStopSystemTestComplete ().
public void onTestNetworkConnectivityComplete ().
public void onUnpairTokenComplete ()
public void onUnregisterServiceComplete ().
public void onUpdateNetworkComplete ().
public void print (WeaveDeviceDescriptor deviceDesc, String-Präfix)
Parameter
Gerät Desc | |
---|---|
prefix |
public void print (NetworkInfo[] network, string snippet)
Parameter
Netzwerke | |
---|---|
Einzug |