PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBBTAVRCPTarget
Wrapper Class for the IBTAVRCPTarget interface.
#include <SFBBTAVRCPTarget.h.hpp>
class SFBBTAVRCPTarget : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBBTAVRCPTarget)
        

Inheritance diagram

 Inheritance diagram of SFBBTAVRCPTargetClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
X X O O

Reference

BREW API IBTAVRCPTarget

Member

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.

SFBBTAVRCPTarget::Connect
Connect the AVRCP target to a remote Bluetooth AVRCP controller.
[ public ]
SFCError Connect(
    BDAddress const * address   // the Bluetooth address of the remote controller
);

Reference

BREW API IBTAVRCPTarget_Connect


SFBBTAVRCPTarget::Disable
Disable the AVRCP interface.
[ public ]
SFCError Disable(Void);

Reference

BREW API IBTAVRCPTarget_Disable


SFBBTAVRCPTarget::Disconnect
Disconnect from a remote AVRCP controller.
[ public ]
SFCError Disconnect(
    BDAddress const * address   // the Bluetooth address of the connected remote controller
);

Reference

BREW API IBTAVRCPTarget_Disconnect


SFBBTAVRCPTarget::Enable
Enable the AVRCP interface, and allow for incoming connections.
[ public ]
SFCError Enable(
    BTSecurityLevel security   // service security level for AVRCP
);

Reference

BREW API IBTAVRCPTarget_Enable


SFBBTAVRCPTarget::GetEvent
No reference.
[ public ]
SFCError GetEvent(
    AEEBTAVRCPEventType * event   // 
);

Reference

BREW API IBTAVRCPTarget_GetEvent


SFBBTAVRCPTarget::GetStatus
Get the current status of AVRCP.
[ 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
);

Reference

BREW API IBTAVRCPTarget_GetStatus


SFBBTAVRCPTarget::NewInstance
Create a new SFBBTAVRCPTarget instance.
[ public, static ]
SFBBTAVRCPTargetSmp NewInstance(
    SFCErrorPtr exception = null   // Error
);
[ public, static ]
SFBBTAVRCPTargetSmp NewInstance(
    AEECLSID id                    // Class ID
    SFCErrorPtr exception = null   // Error
);

SFBBTAVRCPTarget::OnEventNotify
Register a signal with the interface to be set when an event occurs.
[ public ]
SFCError OnEventNotify(
    SFBSignalSmpConstRef signal   // signal to be set when the event occurs
);

Reference

BREW API IBTAVRCPTarget_OnEventNotify