KNConnectionStateDelegate
INFO
This English reference is based on Directions SDK with UI 1.12.8-hotfix02 (as of 2026-07-24). 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 | Transaction ID |
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 | Transaction ID |