Skip to content

Commit 0e5a0ca

Browse files
author
Devendra
committed
documentation changes
1 parent c3bc01c commit 0e5a0ca

3 files changed

Lines changed: 431 additions & 79 deletions

File tree

‎java/srcPubnubApi/com/pubnub/api/PubnubAsyncInterface.java‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,17 @@ interface PubnubAsyncInterface {
569569
*/
570570
public void setHeartbeat(int heartbeat, Callback callback);
571571

572+
/**
573+
*
574+
* @param heartbeatInterval
575+
*/
572576
public void setHeartbeatInterval(int heartbeatInterval);
573577

578+
/**
579+
*
580+
* @param heartbeatInterval
581+
* @param callback
582+
*/
574583
public void setHeartbeatInterval(int heartbeatInterval, Callback callback);
575584

576585
/**
@@ -582,6 +591,10 @@ interface PubnubAsyncInterface {
582591
*/
583592
public void setMaxRetries(int maxRetries);
584593

594+
/**
595+
*
596+
* @param pnexpires
597+
*/
585598
public void setPnExpires(int pnexpires);
586599

587600
/**
@@ -609,6 +622,13 @@ interface PubnubAsyncInterface {
609622
*/
610623
public void setRetryInterval(int retryInterval);
611624

625+
/**
626+
*
627+
* @param channel
628+
* @param uuid
629+
* @param state
630+
* @param callback
631+
*/
612632
public void setState(String channel, String uuid, JSONObject state, Callback callback);
613633

614634
/**

‎java/srcPubnubApi/com/pubnub/api/PubnubAsyncInterfacePush.java‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,35 @@
44
* Created by work1 on 06/08/15.
55
*/
66
interface PubnubAsyncInterfacePush {
7-
7+
/**
8+
*
9+
* @param channel
10+
* @param gcmRegistrationId
11+
* @param callback
12+
*/
813
void enablePushNotificationsOnChannel(String channel, String gcmRegistrationId, Callback callback);
914

15+
/**
16+
*
17+
* @param channels
18+
* @param gcmRegistrationId
19+
* @param callback
20+
*/
1021
void enablePushNotificationsOnChannels(String[] channels, String gcmRegistrationId, Callback callback);
1122

23+
/**
24+
*
25+
* @param channel
26+
* @param gcmRegistrationId
27+
* @param callback
28+
*/
1229
void disablePushNotificationsOnChannel(String channel, String gcmRegistrationId, Callback callback);
1330

31+
/**
32+
*
33+
* @param channels
34+
* @param gcmRegistrationId
35+
* @param callback
36+
*/
1437
void disablePushNotificationsOnChannels(String[] channels, String gcmRegistrationId, Callback callback);
1538
}

0 commit comments

Comments
 (0)