public class RegisterTokenRequestExecutor extends RequestExecutor<java.lang.Void>
| Constructor and Description | 
|---|
| RegisterTokenRequestExecutor(NotificationsService notificationsService,
                            java.lang.String token) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Void | execute()Executes created request synchronously. | 
| void | execute(CloudCallback<java.lang.Void> callback)Executes created request asynchronously and invokes callback with the result. | 
| RegisterTokenRequestExecutor | forSandbox(boolean sandbox) | 
| RegisterTokenRequestExecutor | withContext(android.content.Context context) | 
public RegisterTokenRequestExecutor(NotificationsService notificationsService, java.lang.String token)
public RegisterTokenRequestExecutor withContext(android.content.Context context)
public RegisterTokenRequestExecutor forSandbox(boolean sandbox)
public java.lang.Void execute()
                       throws java.io.IOException,
                              KontaktCloudException
RequestExecutorexecute in class RequestExecutor<java.lang.Void>java.io.IOException - exceptionKontaktCloudException - exceptionpublic void execute(CloudCallback<java.lang.Void> callback)
RequestExecutorexecute in class RequestExecutor<java.lang.Void>callback - the callback object.