OTConnection Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | OTConnection.h |
Overview
Represents a connection to an OpenTok session. The OTSession class includes a connection property, which is an OTConnection object. Also, The OTStream class includes a connection property, which is an OTConnection object.
Getting information about the connection
connectionId
The unique connection ID for this OTConnection object.
@property (readonly) NSString *connectionIdDeclared In
OTConnection.h
creationTime
The time at which the Connection was created on the OpenTok server.
@property (readonly) NSDate *creationTimeDeclared In
OTConnection.h
data
A string containing metadata describing the connection. You can add this connection data when you create a token.
@property (readonly) NSString *dataDeclared In
OTConnection.h