Class HearingAid

Synopsis

#include <bta/include/bta_hearing_aid_api.h>

class HearingAid

Description

No description yet.

Methods

~HearingAid
AddFromStorage
AddToWhiteList
CleanUp
Connect
DebugDump
Disconnect
Get
GetDeviceCount
Initialize
IsHearingAidRunning
SetVolume

Source

Lines 209-229 in bta/include/bta_hearing_aid_api.h.

class HearingAid {
 public:
  virtual ~HearingAid() = default;

  static void Initialize(bluetooth::hearing_aid::HearingAidCallbacks* callbacks,
                         base::Closure initCb);
  static void CleanUp();
  static bool IsHearingAidRunning();
  static HearingAid* Get();
  static void DebugDump(int fd);

  static void AddFromStorage(const HearingDevice& dev_info,
                             uint16_t is_white_listed);

  static int GetDeviceCount();

  virtual void Connect(const RawAddress& address) = 0;
  virtual void Disconnect(const RawAddress& address) = 0;
  virtual void AddToWhiteList(const RawAddress& address) = 0;
  virtual void SetVolume(int8_t volume) = 0;
};





Add Discussion as Guest

Log in to DocsForge