UserDataFeedNotificationTypes Class

  • java.lang.Object
    • SDKLoader
      • com.microsoft.connecteddevices.userdata.UserDataFeedNotificationTypes

public class UserDataFeedNotificationTypes

Provide notification types valid for UserDataFeedSyncScope.setNotificationType

Method Summary

Modifier and Type Method and Description
native String noNotification()

Prevent any notifications for new user data, only receive new data when UserDataFeed.startSync is called, or when interacting with the server in other ways

native String notificationOnly()

Demote all push notifications to a notification only telling the system to sync to receive the data, even if the data could be contained in the push notification

native String notificationWithPayload()

No restrictions to incoming push notifications, other than domain/server restrictions

Method Details

noNotification

public static native String noNotification()

Prevent any notifications for new user data, only receive new data when UserDataFeed.startSync is called, or when interacting with the server in other ways

Returns:

type value

notificationOnly

public static native String notificationOnly()

Demote all push notifications to a notification only telling the system to sync to receive the data, even if the data could be contained in the push notification

Returns:

type value

notificationWithPayload

public static native String notificationWithPayload()

No restrictions to incoming push notifications, other than domain/server restrictions

Returns:

type value

Applies to