Description

This is a utility function that is useful for creating random, unique channel IDs or subscriber IDs. See more details about setting UUIDs.

Code Example

PUBNUB.uuid(function(uuid){
    log(uuid);
});

RESTful Example

NOTE : This class method is only available when using the platform-specific client libraries – it does not have any correlation to a server-side RESTful API call.