TestMain

public class TestMain extends Object
implements WeaveDeviceManager.CompletionHandler

Nested Class Summary

class TestMain.TestFailedException  

Public Constructor Summary

Public Method Summary

static void
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(Throwable err)
void
onGetCameraAuthDataComplete(String macAddress, String authData)
void
onGetFabricConfigComplete(byte[] fabricConfig)
void
void
void
onGetRendezvousModeComplete(EnumSet<RendezvousMode> rendezvousModes)
void
void
void
void
void
onPairTokenComplete(byte[] pairingTokenBundle)
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
print(WeaveDeviceDescriptor deviceDesc, String prefix)
void
print(NetworkInfo[] networks, String indent)

Inherited Method Summary

Public Constructors

public TestMain ()

Public Methods

public static void main (String[] args)

Parameters
args

public void onAddNetworkComplete (long networkId)

Parameters
networkId

public void onArmFailSafeComplete ()

public void onCloseBleComplete ()

public void onConnectBleComplete ()

public void onConnectDeviceComplete ()

public void onCreateFabricComplete ()

public void onDeviceEnumerationResponse (WeaveDeviceDescriptor deviceDesc, String deviceAddr)

Parameters
deviceDesc
deviceAddr

public void onDisableConnectionMonitorComplete ()

public void onDisableNetworkComplete ()

public void onDisarmFailSafeComplete ()

public void onEnableConnectionMonitorComplete ()

public void onEnableNetworkComplete ()

public void onError (Throwable err)

Parameters
err

public void onGetCameraAuthDataComplete (String macAddress, String authData)

Parameters
macAddress
authData

public void onGetFabricConfigComplete (byte[] fabricConfig)

Parameters
fabricConfig

public void onGetLastNetworkProvisioningResultComplete ()

public void onGetNetworksComplete (NetworkInfo[] networks)

Parameters
networks

public void onGetRendezvousModeComplete (EnumSet<RendezvousMode> rendezvousModes)

Parameters
rendezvousModes

public void onIdentifyDeviceComplete (WeaveDeviceDescriptor deviceDesc)

Parameters
deviceDesc

public void onJoinExistingFabricComplete ()

public void onLeaveFabricComplete ()

public void onNotifyWeaveConnectionClosed ()

public void onPairTokenComplete (byte[] pairingTokenBundle)

Parameters
pairingTokenBundle

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)

Parameters
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, String prefix)

Parameters
deviceDesc
prefix

public void print (NetworkInfo[] networks, String indent)

Parameters
networks
indent