SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
SFCError |
Answer( Void )
Answers the call if it is in incoming(or waiting) state. Activates the call if it is in hold state.
|
SFCError |
BurstDTMF(
AEETDTMFOnLength duration
, AEETDTMFOffLength pause
, ACharConstPtr digits
)
Sends a sequence of DTMFs.
|
SFCError |
BurstDTMF(
AEETDTMFOnLength duration
, AEETDTMFOffLength pause
, SFXAnsiStringConstRef digits
)
Sends a sequence of DTMFs.
|
SFCError |
End( Void )
Terminates the call in conversation state.
|
SFCError |
GetCallDescriptor(
AEECallDesc* call
)
Returns the call descriptor associated with the object.
|
SFCError |
GetInfo(
AEETCallInfo* info
, UInt32 size
)
Get the call information.
|
AEETCallState |
GetState( Void )
Get the call status.
|
AEETCallType |
GetType( Void )
Gets the call type.
|
SFCError |
Hold( Void )
Puts the call on hold. There can be atmost one call onhold on the device.
|
static SFBCallSmp |
NewInstance(
SFCErrorPtr exception = null
)
Create a new SFBCall instance.
|
static SFBCallSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
)
Create a new SFBCall instance.
|
SFCError |
Redirect(
ACharConstPtr number
)
Redirects an incoming call to the given address.
|
SFCError |
Redirect(
SFXAnsiStringConstRef number
)
Redirects an incoming call to the given address.
|
SFCError |
StartDTMF(
AChar digit
)
Starts playing a DTMF tone to all active calls until a SFBCall::StopDTMF() is invoked.
|
SFCError |
StopDTMF( Void )
Stops if any DTMF is being played on active call.
|
SFCError |
SwitchTo( Void )
Activates this call if on hold or if this is active call and it supports switching (such as sending inband flash message).
|
SFCError |
Transfer(
SFBCallSmpConstRef otherCall
)
Transfers this call to the given call destination.
|
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 Answer(Void);
[ public ] SFCError BurstDTMF( AEETDTMFOnLength duration // duration of DTMF tone on each digit AEETDTMFOffLength pause // pause interval between digits ACharConstPtr digits // digit buffer );
[ public ] SFCError BurstDTMF( AEETDTMFOnLength duration // duration of DTMF tone on each digit AEETDTMFOffLength pause // pause interval between digits SFXAnsiStringConstRef digits // digit buffer );
[ public ] SFCError End(Void);
Performs one of the following operations depending on the state of Call :
[ public ] SFCError GetCallDescriptor( AEECallDesc* call // call descriptor associated with the object );
[ public ] SFCError GetInfo( AEETCallInfo* info // address to which AEETCallInfo data will be written UInt32 size // size of memory in bytes at pInfo );
[ public ] AEETCallState GetState(Void);
[ public ] AEETCallType GetType(Void);
[ public ] SFCError Hold(Void);
At most 1 call can be held.
[ public, static ] SFBCallSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBCallSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError Redirect( ACharConstPtr number // digit buffer );
[ public ] SFCError Redirect( SFXAnsiStringConstRef number // digit buffer );
Return SFERR_NO_ERROR.
If a prior DTMF is already in play it will be stopped.
[ public ] SFCError StopDTMF(Void);
Return SFERR_NO_ERROR.
This affects the DTMFs played with SFBCall::StartDTMF or SFBCall::BurstDTMF.
BREW API ICALL_StopDTMF | SFBCall::StartDTMF | SFBCall::BurstDTMF
[ public ] SFCError SwitchTo(Void);
[ public ] SFCError Transfer( SFBCallSmpConstRef otherCall // the party to transfer );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |