WSCPayload Class Reference

Inherits from NSObject
Declared in WSCPayload.h

Overview

Payload.

– init:

Constructor.

- (instancetype)init:(WSCFrame *)parent

Parameters

parent

Parent

Discussion

Constructor.

Declared In

WSCPayload.h

– getSdp

Gets the SDP.

- (NSString *)getSdp

Discussion

Gets the SDP.

@return

Declared In

WSCPayload.h

– setSdp:

Sets the SDP

- (void)setSdp:(NSString *)sdp

Parameters

sdp

SDP

Discussion

Sets the SDP

Declared In

WSCPayload.h

– getCandidates

Gets the candidates.

- (NSString *)getCandidates

Return Value

Candidates

Discussion

Gets the candidates.

Declared In

WSCPayload.h

– setCandidates:

Sets the candidates.

- (void)setCandidates:(NSString *)candidates

Parameters

candidates

Candidates

Discussion

Sets the candidates.

Declared In

WSCPayload.h

– getDeviceToken

Gets the device token.

- (NSString *)getDeviceToken

Return Value

Device token

Discussion

Gets the device token.

Declared In

WSCPayload.h

– setDeviceToken:

Sets the device token.

- (void)setDeviceToken:(NSString *)token

Parameters

token

Device token

Discussion

Sets the device token.

Declared In

WSCPayload.h

– setCapability:

Sets the client capabilities.

- (void)setCapability:(WSCClientCapability *)capability

Parameters

capability

Client capabilities

Discussion

Sets the client capabilities.

Declared In

WSCPayload.h

– getContent

Gets the payload content.

- (NSString *)getContent

Return Value

Payload content

Discussion

Gets the payload content.

Declared In

WSCPayload.h

– setContent:

Sets the payload content.

- (void)setContent:(NSString *)content

Parameters

content

Payload content

Discussion

Sets the payload content.

Declared In

WSCPayload.h

– getIceServers

Gets the list of ICE servers.

- (NSArray *)getIceServers

Return Value

List of ICE servers

Discussion

Gets the list of ICE servers.

Declared In

WSCPayload.h