allowPushNotifications

public final static Unit allowPushNotifications(Context context, Boolean allowPush)

Method that will notify the server not to send push messages to this device.

Parameters

context

The context of calling application.

allowPush

A boolean that will tell the server to send push messages or not. Defaults to true.