iOS SDK API Reference

Classes | Typedefs | Enumerations
SKWDataConnection.h File Reference
#import "SKWConnection.h"

Go to the source code of this file.

Classes

class  SKWDataConnection
 Alternative class as DataConnection. More...
 

Typedefs

typedef void(^ SKWDataConnectionEventCallback) (NSObject *__nullable arg)
 Data connection event callback signature.
 

Enumerations

enum  SKWDataConnectionEventEnum { SKW_DATACONNECTION_EVENT_OPEN, SKW_DATACONNECTION_EVENT_DATA, SKW_DATACONNECTION_EVENT_CLOSE, SKW_DATACONNECTION_EVENT_ERROR }
 Data connection event type. More...
 

Enumeration Type Documentation

◆ SKWDataConnectionEventEnum

Data connection event type.

Enumerator
SKW_DATACONNECTION_EVENT_OPEN 

Emitted when the connection is established and ready-to-use.

SKW_DATACONNECTION_EVENT_DATA 

Emitted when data is received from the remote peer.

SKW_DATACONNECTION_EVENT_CLOSE 

Emitted when either you or the remote peer closes the data connection.

SKW_DATACONNECTION_EVENT_ERROR 

Errors on the data conenction are almost always fatal and will destroy the data connection.