Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class DataUploadContent(val data: ERROR CLASS: Symbol not found for NSData, val contentType: String?) : Uploadable
Link copied to clipboard
Link copied to clipboard
data class StreamUploadContent(val stream: ERROR CLASS: Symbol not found for NSInputStream, val contentType: String?, val contentLength: Int) : Uploadable
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
actual fun createEventListener(pubnub: PubNub, onMessage: (PubNub, ERROR CLASS: Symbol not found for PNMessageResult) -> Unit, onPresence: (PubNub, ERROR CLASS: Symbol not found for PNPresenceEventResult) -> Unit, onSignal: (PubNub, ERROR CLASS: Symbol not found for PNSignalResult) -> Unit, onMessageAction: (PubNub, ERROR CLASS: Symbol not found for PNMessageActionResult) -> Unit, onObjects: (PubNub, PNObjectEventResult) -> Unit, onFile: (PubNub, ERROR CLASS: Symbol not found for PNFileEventResult) -> Unit): EventListener
expect fun createEventListener(pubnub: PubNub, onMessage: (PubNub, PNMessageResult) -> Unit = { _, _ -> }, onPresence: (PubNub, PNPresenceEventResult) -> Unit = { _, _ -> }, onSignal: (PubNub, PNSignalResult) -> Unit = { _, _ -> }, onMessageAction: (PubNub, PNMessageActionResult) -> Unit = { _, _ -> }, onObjects: (PubNub, PNObjectEventResult) -> Unit = { _, _ -> }, onFile: (PubNub, PNFileEventResult) -> Unit = { _, _ -> }): EventListener
actual fun createEventListener(pubnub: PubNub, onMessage: (PubNub, PNMessageResult) -> Unit, onPresence: (PubNub, PNPresenceEventResult) -> Unit, onSignal: (PubNub, PNSignalResult) -> Unit, onMessageAction: (PubNub, PNMessageActionResult) -> Unit, onObjects: (PubNub, PNObjectEventResult) -> Unit, onFile: (PubNub, PNFileEventResult) -> Unit): EventListener
actual fun createEventListener(pubnub: PubNub, onMessage: (PubNub, PNMessageResult) -> Unit, onPresence: (PubNub, PNPresenceEventResult) -> Unit, onSignal: (PubNub, PNSignalResult) -> Unit, onMessageAction: (PubNub, PNMessageActionResult) -> Unit, onObjects: (PubNub, PNObjectEventResult) -> Unit, onFile: (PubNub, PNFileEventResult) -> Unit): EventListener
Link copied to clipboard
Link copied to clipboard
actual fun createStatusListener(pubnub: PubNub, onStatus: (PubNub, ERROR CLASS: Symbol not found for PNStatus) -> Unit): StatusListener
expect fun createStatusListener(pubnub: PubNub, onStatus: (PubNub, PNStatus) -> Unit = { _, _ -> }): StatusListener
actual fun createStatusListener(pubnub: PubNub, onStatus: (PubNub, PNStatus) -> Unit): StatusListener
actual fun createStatusListener(pubnub: PubNub, onStatus: (PubNub, PNStatus) -> Unit): StatusListener
Link copied to clipboard
Link copied to clipboard
fun <T> ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for Result<T>>.onFailureHandler(mapper: (ERROR CLASS: Symbol not found for NSError??) -> Throwable = { error: NSError? ->
if (error is KMPError) {
PubNubException(error.statusCode().toInt(), error.localizedDescription, null)
} else {
PubNubException(errorMessage = error?.localizedDescription)
}
}): (ERROR CLASS: Symbol not found for NSError??) -> Unit
Link copied to clipboard
Link copied to clipboard
fun <T> ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for Result<T>>.onSuccessReturnValue(value: T): () -> Unit