Using Opt In/Out in Android (Since SDK V2.0)

We have added the option to let you use these methods within your app's setting screen, so the user can switch on/off the inbox (if applicable to you application) and the option of receiving Push Notifications.

Each Method is called through "Appoxee.methodName()".

Code Sample
new AsyncTask<Void, Void, Void>() {
					@Override
					protected Void doInBackground(Void... params) {
						// TODO Auto-generated method stub
							Appoxee.OptOut("pushToken", true);
			
						return null;
					}
				}.execute();

 

//Opt in/Out (Push,Inbox). Return TRUE on success

//Value field can be : "pushToken", "inbox", "vibrate"

public static boolean OptOut(String value,boolean toggleValue)


//Get Push Enabled Flag (Opted In/Out)

public static boolean getPushEnableValue()

 

//Is Inbox Feature enabled

public static boolean getInboxEnableValue()


//Is Feedback Feature enabled

public static boolean getFeedbackEnableValue()