Retrieval of Apple Push Notification Configurations

Retrieves Apple Push Notification configurations.

Syntax

List<APNSApplicationSettingsVO> getApplePushNotificationConfigurations(boolean getPendingConfig) throws SUPAdminException;

Returns

If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.

Examples

  • Retrieval: getPendingConfig is true – retrieves Apple Push Notification application settings that are applied to the Unwired Server the next time the Unwired Server starts:
    // List Apple push configuration
    List<APNSAppSettingsVO> list = supServerConf.getApplePushNotificationConfigurations(true);
  • Retrieval: getPendingConfig is false – retrieves current Apple Push Notification application settings:
    // List Apple push configuration
    List<APNSAppSettingsVO> list = supServerConf.getApplePushNotificationConfigurations(false);