com.pubnub.api.PubnubAsyncInterfacePam 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;
/**
* Created by work1 on 06/08/15.
*/
interface PubnubAsyncInterfacePam {
/**
* PAM Audit
*
* @param callback
*/
public void pamAudit(Callback callback);
/**
* PAM audit by channel
*
* @param channel
* @param callback
*/
public void pamAudit(String channel, Callback callback);
/**
* PAM audit by channel and auth key
*
* @param channel
* @param auth_key
* @param callback
*/
public void pamAudit(String channel, String auth_key, Callback callback);
/**
*
* @param group
* @param callback
*/
public void pamAuditChannelGroup(String group, Callback callback);
/**
*
* @param group
* @param auth_key
* @param callback
*/
public void pamAuditChannelGroup(String group, String auth_key, Callback callback);
/**
*
* @param channel
* @param read
* @param write
* @param callback
*/
public void pamGrant(String channel, boolean read, boolean write, Callback callback);
/**
*
* @param channel
* @param read
* @param write
* @param ttl
* @param callback
*/
public void pamGrant(String channel, boolean read, boolean write, int ttl, Callback callback);
/**
*
* @param channel
* @param auth_key
* @param read
* @param write
* @param callback
*/
public void pamGrant(String channel, String auth_key, boolean read, boolean write, Callback callback);
/**
*
* @param channel
* @param auth_key
* @param read
* @param write
* @param ttl
* @param callback
*/
public void pamGrant(String channel, String auth_key, boolean read, boolean write, int ttl, Callback callback);
/**
*
* @param group
* @param read
* @param management
* @param callback
*/
public void pamGrantChannelGroup(String group, boolean read, boolean management, Callback callback);
/**
*
* @param group
* @param read
* @param management
* @param ttl
* @param callback
*/
public void pamGrantChannelGroup(String group, boolean read, boolean management, int ttl, Callback callback);
/**
*
* @param group
* @param auth_key
* @param read
* @param management
* @param callback
*/
public void pamGrantChannelGroup(String group, String auth_key, boolean read, boolean management, Callback callback);
/**
*
* @param group
* @param auth_key
* @param read
* @param management
* @param ttl
* @param callback
*/
public void pamGrantChannelGroup(String group, String auth_key, boolean read, boolean management, int ttl,
Callback callback);
/**
* PAM revoke by channel
*
* @param channel
* @param callback
*/
public void pamRevoke(String channel, Callback callback);
/**
* PAM revoke by channel and auth key
*
* @param channel
* @param auth_key
* @param callback
*/
public void pamRevoke(String channel, String auth_key, Callback callback);
/**
*
* @param group
* @param callback
*/
public void pamRevokeChannelGroup(String group, Callback callback);
/**
*
* @param group
* @param auth_key
* @param callback
*/
public void pamRevokeChannelGroup(String group, String auth_key, Callback callback);
}