PNDataSyncGetChannelsResult

data class PNDataSyncGetChannelsResult(val status: Int, val data: List<PNDataSyncChannel>, val next: PNDataSyncPage)

Result of pubnub.dataSync.getChannels.

DataSync list endpoints are cursor-based.

Constructors

Link copied to clipboard
constructor(status: Int, data: List<PNDataSyncChannel>, next: PNDataSyncPage)

Properties

Link copied to clipboard

The channels on this page.

Link copied to clipboard

Cursor-based pagination metadata. Always present (an empty page when the server sends no meta); read PNDataSyncPage.hasNext to detect the last page, never next == null.

Link copied to clipboard
val status: Int

HTTP status code of the response.