SophiaFramework UNIVERSE 5.3 |
#include <SFBBTConnection.h.hpp>
class SFBBTConnection : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBBTConnection)
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
SFCError |
GetEvent(
BTConnEventType * event
, BTResult * result
) Retrieve the next event on the connection object.
|
SFCError |
GetStatus(
BTConnStatBitmap * bitmap
, BTConnectionStatus * status
) Retrieve the current connection status.
|
static SFBBTConnectionSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBBTConnection instance.
|
static SFBBTConnectionSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBBTConnection instance.
|
SFCError |
OnEventNotify(
SFBSignalSmpConstRef signal
) Register a signal to be triggered when there is an event that occurred on the IBTConnection object.
|
SFCError |
SetLowPowerConfig(
BTLowPowerMode mode
, UInt16 interval
, UInt16 timeout
) Set the low power mode for the connection.
|
SFCError |
SetMinSecurity(
BTSecurityLevel security
) Set the minimum security level for the connection.
|
SFCError |
SetRole(
Bool master
) Cause a role switch attempt to be made.
|
SFCError |
SetRoleSwitchPolicy(
Bool allow
) Set the role switch policy for the connection.
|
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 GetEvent( BTConnEventType * event // destination for the event code BTResult * result // only valid for event representing failure operation );
[ public ] SFCError GetStatus( BTConnStatBitmap * bitmap // bitmap of fields that are valid BTConnectionStatus * status // destination for current connection status );
[ public, static ] SFBBTConnectionSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBBTConnectionSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError OnEventNotify( SFBSignalSmpConstRef signal // signal to be triggered when an event occurs );
[ public ] SFCError SetLowPowerConfig( BTLowPowerMode mode // low power mode UInt16 interval // maximum number of milliseconds between UInt16 timeout // number of milliseconds of non-activity before lower power mode is entered );
[ public ] SFCError SetMinSecurity( BTSecurityLevel security // minimum security level to apply );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |