WSCCallPackage Class Reference

Inherits from WSCPackage : NSObject
Declared in WSCCallPackage.h

Overview

Package handler that enables call applications. An object of the WSCCallPackage class can be created by applications to manage WSCCall objects. The object also dispatches received messages to corresponding Call objects.

  observerDelegate

WSCCallPackage delegate for callbacks.

@property (nonatomic, weak) id<WSCCallPackageObserverDelegate> observerDelegate

Discussion

WSCCallPackage delegate for callbacks.

Declared In

WSCCallPackage.h

– init

Returns an initialized WSCCallPackage object.

- (instancetype)init

Discussion

Returns an initialized WSCCallPackage object.

Declared In

WSCCallPackage.h

– initWithPackageType:

Returns an initialized WSCCallPackage object with package type.

- (instancetype)initWithPackageType:(NSString *)packageType

Parameters

packageType

Package type

Discussion

Returns an initialized WSCCallPackage object with package type.

Declared In

WSCCallPackage.h

– createCall:

Creates a new call.

- (WSCCall *)createCall:(NSString *)target

Parameters

target

Callee target for call

Discussion

Creates a new call.

Declared In

WSCCallPackage.h

– createInnerCall:callee:subSessionId:

This is internal method, will be used in Cloud sdk, the new call will not put into subsession map.

- (WSCCall *)createInnerCall:(NSString *)caller callee:(NSString *)callee subSessionId:(NSString *)subSessionId

Parameters

caller

Caller initiator for call

callee

Callee target for call

subSessionId

subsession Id

Discussion

This is internal method, will be used in Cloud sdk, the new call will not put into subsession map.

Declared In

WSCCallPackage.h