SophiaFramework UNIVERSE 5.3 |
#include <SFBBTAVRCPTarget.h.hpp>
class SFBBTAVRCPTarget : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBBTAVRCPTarget)
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
SFCError |
Connect(
BDAddress const * address
) Connect the AVRCP target to a remote Bluetooth AVRCP controller.
|
SFCError |
Disable( Void ) Disable the AVRCP interface.
|
SFCError |
Disconnect(
BDAddress const * address
) Disconnect from a remote AVRCP controller.
|
SFCError |
Enable(
BTSecurityLevel security
) Enable the AVRCP interface, and allow for incoming connections.
|
SFCError |
GetEvent(
AEEBTAVRCPEventType * event
) No reference.
|
SFCError |
GetStatus(
BTSecurityLevel * security
, BoolPtr enabled
, BDAddress * devices
, SInt32 length
, SInt32Ptr lenreq
) Get the current status of AVRCP.
|
static SFBBTAVRCPTargetSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBBTAVRCPTarget instance.
|
static SFBBTAVRCPTargetSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBBTAVRCPTarget instance.
|
SFCError |
OnEventNotify(
SFBSignalSmpConstRef signal
) Register a signal with the interface to be set when an event occurs.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError Connect( BDAddress const * address // the Bluetooth address of the remote controller );
[ public ] SFCError Disable(Void);
[ public ] SFCError Disconnect( BDAddress const * address // the Bluetooth address of the connected remote controller );
[ public ] SFCError Enable( BTSecurityLevel security // service security level for AVRCP );
[ public ] SFCError GetEvent( AEEBTAVRCPEventType * event // );
[ public ] SFCError GetStatus( BTSecurityLevel * security // the security setting if AVRCP is enabled BoolPtr enabled // true if AVRCP is enabled BDAddress * devices // array of addresses of connected devices SInt32 length // elements in the array provided by the application SInt32Ptr lenreq // number of the elements required in the array to return all values );
[ public, static ] SFBBTAVRCPTargetSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBBTAVRCPTargetSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError OnEventNotify( SFBSignalSmpConstRef signal // signal to be set when the event occurs );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |