Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 Block
firstline
languagejava
firstline1
titleCode SampeSample
1linenumberstrue
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" or , "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()

...