DeviceManager

Detect, filter, and get info for connected devices.

Methods

  • @classmethod

    @abc.abstractmethod

    filter_kwargs(cls, kwargs : typing.Dict[str, str]) -> typing.Dict[str, str]

    Parameters

    • Name
      cls
      Type
      Default
      Description

    • Name
      kwargs
      Type
      typing.Dict[str, str]
      Default
      Description

    Response

    Type
    typing.Dict[str, str]
    Description

  • @classmethod

    @abc.abstractmethod

    get_all(cls) -> list[DeviceInfo]

    Parameters

    • Name
      cls
      Type
      Default
      Description

    Response

    Type
    list[DeviceInfo]
    Description

  • @classmethod

    @abc.abstractmethod

    check_device_match(
      cls,
      **kwargs
    ) -> bool

    Parameters

    • Name
      cls
      Type
      Default
      Description

    • Name
      device_info
      Type
      DeviceInfo
      Default
      Description

    • Name
      **kwargs
      Type
      Default
      = {}
      Description

    Response

    Type
    bool
    Description

  • @classmethod

    @abc.abstractmethod

    filter(cls, **kwargs) -> list[DeviceInfo]

    Parameters

    • Name
      cls
      Type
      Default
      Description

    • Name
      **kwargs
      Type
      Default
      = {}
      Description

    Response

    Type
    list[DeviceInfo]
    Description

Copyright © 2024