message

open fun message(pubnub: PubNub, result: PNMessageResult)

Receive messages at subscribed channels.

Parameters

pubnub

The client instance which has this listener attached.

result

Wrapper around the actual message content.

See also