Switchbot_MotionSensor management class Switchbot_MotionSensorを管理するクラス

Hierarchy

Constructors

Properties

_peripheral: BleRemotePeripheral

Internally Used function for connection required devices

ondisconnect?: ((reason) => void)

Type declaration

    • (reason): void
    • Parameters

      • reason: any

      Returns void

Methods

  • Verify that the received peripheral is from the Switchbot_MotionSensor

    受け取ったPeripheralがSwitchbot_MotionSensorのものかどうかを確認する

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the Switchbot_MotionSensor

    Switchbot_MotionSensorかどうか

Generated using TypeDoc