commonMain.com.pubnub.api.v2.PNConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING")
package com.pubnub.api.v2
import com.pubnub.api.UserId
import com.pubnub.api.enums.PNLogVerbosity
expect interface PNConfiguration {
val userId: UserId
val subscribeKey: String
val publishKey: String
val secretKey: String
val authKey: String
val logVerbosity: PNLogVerbosity
}
expect fun createPNConfiguration(
userId: UserId,
subscribeKey: String,
publishKey: String,
secretKey: String? = null,
authKey: String? = null,
logVerbosity: PNLogVerbosity = PNLogVerbosity.NONE,
): PNConfiguration