iOS SDK API Reference

Classes | Typedefs | Enumerations
SKWConnection.h File Reference
#import <Foundation/Foundation.h>
#import "SKWCommon.h"

Go to the source code of this file.

Classes

class  SKWConnection
 Base class of SKWDataConnection and SKWMediaConnection. More...
 

Typedefs

typedef void(^ SKWConnectionGetStatsCallback) (NSArray *__nullable stats)
 Getting statistics Callback signature. More...
 

Enumerations

enum  SKWSerializationEnum { SKW_SERIALIZATION_BINARY = 0, SKW_SERIALIZATION_BINARY_UTF8 = 1, SKW_SERIALIZATION_JSON = 2, SKW_SERIALIZATION_NONE = 3 }
 Serialization type. More...
 

Typedef Documentation

◆ SKWConnectionGetStatsCallback

typedef void(^ SKWConnectionGetStatsCallback) (NSArray *__nullable stats)

Getting statistics Callback signature.

The stats argument is an array(NSArray) of objects based on RTCStats Dictionary. https://www.w3.org/TR/webrtc/#rtcstats-dictionary

See document RTCStatsType enum about type key included in the array. https://www.w3.org/TR/webrtc-stats/#rtcstatstype-str*

See also Stats Dictionary for the statistical data that can be obtained. https://www.w3.org/TR/webrtc-stats/#stats-dictionaries

Enumeration Type Documentation

◆ SKWSerializationEnum

Serialization type.

Enumerator
SKW_SERIALIZATION_BINARY 

Binary.

SKW_SERIALIZATION_BINARY_UTF8 

Binary (UTF-8)

SKW_SERIALIZATION_JSON 

JSON.

SKW_SERIALIZATION_NONE 

NONE.