eu.easypush.pushlibrary.tasks.RemoveDeviceDebugTask Maven / Gradle / Ivy
package eu.easypush.pushlibrary.tasks;
import android.content.Context;
import android.os.AsyncTask;
import eu.easypush.pushlibrary.requests.EasyPushRequest;
import eu.easypush.pushlibrary.utils.PushUtils;
public class RemoveDeviceDebugTask extends AsyncTask {
private final Context context;
public RemoveDeviceDebugTask(Context _context) {
context = _context;
}
@Override
protected Void doInBackground(Void... params) {
EasyPushRequest.removeDeviceDebug(context,
PushUtils.getProjectToken(context),
PushUtils.getDeviceId(context),
PushUtils.getApplicationName(context));
return null;
}
}