-
public interface IMatterActivator
-
-
Method Summary
Modifier and Type Method Description abstract SetupPayload
parseSetupCode(String setupCodeString)
Parse Matter setup code, support qrcode or manual paring code abstract void
startDiscover(SetupPayload setupPayload, long discoveredTimeout, long spaceId, MatterDiscoveryCallback callback)
start discover Matter device. abstract void
connectDevice(ConnectDeviceBuilder builder)
start connect Matter device. abstract void
commissionDevice(CommissioningParameters commissioningParameters, MatterActivatorCallback listener)
abstract void
cancelActivator()
abstract void
searchMatterDeviceAvailableWiFiList(ConnectResult connectResult, IThingMatterAvailableWiFiListCallback callback)
abstract void
continueCommissioningDevice(long deviceControllerPtr, long devicePtr, boolean ignoreAttestationFailure)
Whether to allow commissioning to continue abstract IMatterSupport
getMatterSupport()
-
-
Method Detail
-
parseSetupCode
abstract SetupPayload parseSetupCode(String setupCodeString)
Parse Matter setup code, support qrcode or manual paring code
- Parameters:
setupCodeString
- setup code content
-
startDiscover
@Deprecated() abstract void startDiscover(SetupPayload setupPayload, long discoveredTimeout, long spaceId, MatterDiscoveryCallback callback)
start discover Matter device.
- Parameters:
setupPayload
- Setup payload.discoveredTimeout
- timeoutcallback
- discovery callback
-
connectDevice
abstract void connectDevice(ConnectDeviceBuilder builder)
start connect Matter device.
- Parameters:
builder
- ConnectDeviceBuilder
-
commissionDevice
abstract void commissionDevice(CommissioningParameters commissioningParameters, MatterActivatorCallback listener)
-
cancelActivator
abstract void cancelActivator()
-
searchMatterDeviceAvailableWiFiList
abstract void searchMatterDeviceAvailableWiFiList(ConnectResult connectResult, IThingMatterAvailableWiFiListCallback callback)
-
continueCommissioningDevice
abstract void continueCommissioningDevice(long deviceControllerPtr, long devicePtr, boolean ignoreAttestationFailure)
Whether to allow commissioning to continue
- Parameters:
deviceControllerPtr
- Matter Controller pointer addressdevicePtr
- current Matter device pointer addressignoreAttestationFailure
- true means to ignore device attestation failure, false means not to ignore
-
getMatterSupport
abstract IMatterSupport getMatterSupport()
-
-
-
-