All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.easypush.pushlibrary.tasks.AddDeviceDebugTask 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 AddDeviceDebugTask extends AsyncTask {

	private final Context context;

	public AddDeviceDebugTask(Context _context) {
		context = _context;
	}

	@Override
	protected Void doInBackground(Void... params) {
		EasyPushRequest.addDeviceDebug(context,
				PushUtils.getProjectToken(context),
				PushUtils.getDeviceId(context),
				PushUtils.getApplicationName(context));
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy