SMCallState Class Reference

Inherits from NSObject
Declared in SMCallState.h

  type

Enum type of CallState

@property (nonatomic, readonly) SMCallStates type

Availability

3.0.5

Declared In

SMCallState.h

  reason

Reason of state transition

@property (strong, nonatomic, readonly) NSString *reason

Availability

3.0.5

Declared In

SMCallState.h

  statusCode

HTTP status code

@property (nonatomic, readonly) NSInteger statusCode

Availability

3.0.5

Declared In

SMCallState.h

– initWithType:

Creates an CallState oject with specified type

- (id)initWithType:(SMCallStates)type

Parameters

type

of CallState

Return Value

SMCallState object

Availability

3.0.5

Discussion

Creates an CallState oject with specified type

Declared In

SMCallState.h

– initWithType:andReason:

Creates an CallState oject with specified type and reson

- (id)initWithType:(SMCallStates)type andReason:(NSString *)reason

Parameters

type

of CallState

reason

of CallState transition

Return Value

SMCallState object

Availability

3.0.5

Discussion

Creates an CallState oject with specified type and reson

Declared In

SMCallState.h

– initWithType:andReason:andStatusCode:

Creates an CallState oject with specified type and reson and http code

- (id)initWithType:(SMCallStates)type andReason:(NSString *)reason andStatusCode:(NSInteger)statusCode

Parameters

type

of CallState

reason

of CallState transition

statusCode

HTTP code comes from SPiDR for state transition

Return Value

SMCallState object

Availability

3.0.5

Discussion

Creates an CallState oject with specified type and reson and http code

Declared In

SMCallState.h