createMetaData

fun BaseChannel.createMetaData(metaDataMap: Map<String, String>, handler: ResultHandler<Map<String, String>>?)

Creates meta data. This can be used to customize the channel.

Since

4.15.0

Parameters

metaDataMap

The meta data map to create

handler

The handler for the result


suspend fun BaseChannel.createMetaData(metaDataMap: Map<String, String>): Map<String, String>

Deprecated

As of 4.17.0, replaced with awaitCreateMetaData(metaDataMap).

Replace with

awaitCreateMetaData(metaDataMap)

Create meta data

Return

The created meta data map

Since

4.15.0

Parameters

metaDataMap

The meta data map to create