ObjectiveC SDK  2.0
Public Member Functions | Properties
CallStatusResponse Class Reference

CallStatusResponse.h. More...

#include <CallStatusResponse.h>

Inheritance diagram for CallStatusResponse:
TelekomServiceResponse

List of all members.

Public Member Functions

CallStatusResponseinitWith:withStateA:withStateB:withConnectionA:withConnectionB:withReasonA:withReasonB:withDescriptionA:withDescriptionB:withBe164:withBindex: (TelekomServiceStatusResponse *newStatus,[withStateA] NSString *stateA,[withStateB] NSString *stateB,[withConnectionA] NSString *connectionA,[withConnectionB] NSString *connectionB,[withReasonA] NSString *reasonA,[withReasonB] NSString *reasonB,[withDescriptionA] NSString *descriptionA,[withDescriptionB] NSString *descriptionB,[withBe164] NSString *be164,[withBindex] NSString *bindex)

Properties

NSString * myStateA
NSString * myStateB
NSString * myConnectionTimeA
NSString * myConnectionTimeB
NSString * myReasonA
NSString * myReasonB
NSString * myDescriptionA
NSString * myDescriptionB
NSString * myBe164
NSString * myBindex

Detailed Description

CallStatusResponse.h.

Receives a new server response and creates a new specifical call status response about the curren call status.


Member Function Documentation

CallStatusResponse * CallStatusResponse::initWith:withStateA:withStateB:withConnectionA:withConnectionB:withReasonA:withReasonB:withDescriptionA:withDescriptionB:withBe164:withBindex: ( TelekomServiceStatusResponse newStatus,
[withStateA] NSString*  stateA,
[withStateB] NSString*  stateB,
[withConnectionA] NSString*  connectionA,
[withConnectionB] NSString*  connectionB,
[withReasonA] NSString*  reasonA,
[withReasonB] NSString*  reasonB,
[withDescriptionA] NSString*  descriptionA,
[withDescriptionB] NSString*  descriptionB,
[withBe164] NSString*  be164,
[withBindex] NSString*  bindex 
) [virtual]

Processes the received answer with given parameters

Parameters:
newStatuscurrent server status response
stateAconnection status of first participant
  • IDLE the call has not been established yet
  • CONNECTING the participant is called
  • RINGING the phone of the participant is ringing
  • CONNECTED the participant is now connected
  • DISCONNECTING the connection end is in progress
  • DISCONNECTED the connection is ended
stateBconnection status of second participant
  • IDLE the call has not been established yet
  • CONNECTING the participant is called
  • RINGING the phone of the participant is ringing
  • CONNECTED the participant is now connected
  • DISCONNECTING the connection end is in progress
  • DISCONNECTED the connection is ended
connectionAcall of first participant in seconds -1 means, call has not been started yet
connectionBcall of second participant in seconds -1 means, call has not been started yet
reasonAreason for connection failure
  • 0 call has not ended yet.
  • 1 participant is busy
  • 2 participant has not accepted the call
  • 3 participant did not pick up the phone
  • 4 participant is not reachable due to provider restrictions
  • 99 internal server error
reasonBreason for connection failure
  • 0 call has not ended yet.
  • 1 participant is busy
  • 2 participant has not accepted the call
  • 3 participant did not pick up the phone
  • 4 participant is not reachable due to provider restrictions
  • 99 internal server error
descriptionAenglish description of reasonA
descriptionBenglish description of reasonB
be164phone number of second participant who was called earlier ("0" for first b-number, "1" for second b-number etc.)
bindexindex of phone number of second participant who was called earlier ("0" for first b-number, "1" for second b-number etc.)
Returns:
callStatusResponse new status object

Property Documentation

NSString* CallStatusResponse::myBe164 [read, write, retain]
NSString* CallStatusResponse::myBindex [read, write, retain]
NSString* CallStatusResponse::myConnectionTimeA [read, write, retain]
NSString* CallStatusResponse::myConnectionTimeB [read, write, retain]
NSString* CallStatusResponse::myDescriptionA [read, write, retain]
NSString* CallStatusResponse::myDescriptionB [read, write, retain]
NSString* CallStatusResponse::myReasonA [read, write, retain]
NSString* CallStatusResponse::myReasonB [read, write, retain]
NSString* CallStatusResponse::myStateA [read, write, retain]
NSString* CallStatusResponse::myStateB [read, write, retain]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Properties