Windows SDK API Reference
Loading...
Searching...
No Matches
IRingSpeakerInfo Class Referenceabstract

Ring speaker device information interface. More...

#include <setting_service_interface.h>

Public Member Functions

virtual const wchar_t * GetDeviceId ()=0
 Get the ring speaker device ID. More...
 
virtual const wchar_t * GetDeviceName ()=0
 Get the ring speaker device name. More...
 
virtual bool IsSelectedDevice ()=0
 Determine if the current device is selected to use. More...
 
virtual ~IRingSpeakerInfo ()
 

Detailed Description

Ring speaker device information interface.

Definition at line 79 of file setting_service_interface.h.

Constructor & Destructor Documentation

◆ ~IRingSpeakerInfo()

virtual IRingSpeakerInfo::~IRingSpeakerInfo ( )
inlinevirtual

Definition at line 96 of file setting_service_interface.h.

96{};

Member Function Documentation

◆ GetDeviceId()

virtual const wchar_t * IRingSpeakerInfo::GetDeviceId ( )
pure virtual

Get the ring speaker device ID.

Returns
If the function succeeds, the return value is the ring speaker device ID. Otherwise failed, returns NULL.

◆ GetDeviceName()

virtual const wchar_t * IRingSpeakerInfo::GetDeviceName ( )
pure virtual

Get the ring speaker device name.

Returns
If the function succeeds, the return value is ring speaker device name. Otherwise failed, returns NULL.

◆ IsSelectedDevice()

virtual bool IRingSpeakerInfo::IsSelectedDevice ( )
pure virtual

Determine if the current device is selected to use.

Returns
TRUE indicates that the current device is selected.