com.pubnub.api.PubnubSyncInterfacePam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubnub-android-debug Show documentation
Show all versions of pubnub-android-debug Show documentation
PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter second!
package com.pubnub.api;
import org.json.JSONObject;
interface PubnubSyncInterfacePam {
/**
*
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAudit();
/**
*
* @param channel
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAudit(String channel);
/**
*
* @param channel
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAudit(String channel, String auth_key);
/**
*
* @param group
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAuditChannelGroup(String group);
/**
*
* @param group
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamAuditChannelGroup(String group, String auth_key);
/**
*
* @param channel
* @param read
* @param write
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, boolean read, boolean write);
/**
*
* @param channel
* @param read
* @param write
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, boolean read, boolean write, int ttl);
/**
*
* @param channel
* @param auth_key
* @param read
* @param write
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, String auth_key, boolean read, boolean write);
/**
*
* @param channel
* @param auth_key
* @param read
* @param write
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrant(String channel, String auth_key, boolean read, boolean write, int ttl);
/**
*
* @param group
* @param read
* @param management
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, boolean read, boolean management);
/**
*
* @param group
* @param read
* @param management
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, boolean read, boolean management, int ttl);
/**
*
* @param group
* @param auth_key
* @param read
* @param management
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, String auth_key, boolean read, boolean management);
/**
*
* @param group
* @param auth_key
* @param read
* @param management
* @param ttl
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamGrantChannelGroup(String group, String auth_key, boolean read, boolean management, int ttl);
/**
*
* @param channel
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevoke(String channel);
/**
*
* @param channel
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevoke(String channel, String auth_key);
/**
*
* @param group
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevokeChannelGroup(String group);
/**
*
* @param group
* @param auth_key
* @return Response of method call. Can also be an error response.
*/
public JSONObject pamRevokeChannelGroup(String group, String auth_key);
}