KNConnectionStateDelegate
INFO
This English reference is based on Directions SDK 1.12.8-hotfix02. For the latest version, see the Korean reference.
Called when the connection information is updated.
Properties
| Name | Description | Type |
|---|---|---|
delegate | Delegate that represents the connection state | var delegate: KNConnectionStateDelegate? |
Methods
connectionWithType
Delivered at the moment the connection is established.
kotlin
abstract fun connectionWithType( connection: KNConnection,
type: KNConnectionType,
transId: String ): UnitParameters
| Name | Description |
|---|---|
connection | Connection |
type | Connection type |
transId | trandID |
disConnectedWithType
Delivered at the moment the connection is released.
kotlin
abstract fun disConnectedWithType( connection: KNConnection,
type: KNConnectionType,
transId: String ): UnitParameters
| Name | Description |
|---|---|
connection | Connection |
type | Connection type |
transId | trandID |