UserDataFeedSyncScope Class
- java.
lang. Object - NativeBase
- com.
microsoft. connecteddevices. userdata. UserDataFeedSyncScope
- com.
public class UserDataFeedSyncScope
This class represents the scope for synchronizing user-specific data with the Connected Devices Platform backend when the app uses certain functionality, such as useractivities. An instance can be retrieved statically from the class for the specific functionality (e.g. **UserActivityChannel**), and it is used for configuration of **UserDataFeed** behavior for synchronizing data.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getNotificationType()
Set type of change notifications for **UserDataFeed** sync scope |
String |
getPlatform()
Set the platform to restrict incoming activities to apps which support the platform. |
List<String> |
getSyncScopeFlags()
Set any optional flags for filtering incoming activities. |
void |
setNotificationType(@Nullable String notificationType)
Set type of change notifications for **UserDataFeed** sync scope. |
void |
setPlatform(@Nullable String platform)
Set the platform to restrict incoming activities to apps which support the platform. Note, it is only useful for applications which can subscribe to a user's entire data feed, not just for the current app. |
void |
setSyncScopeFlags(@Nullable Collection<String> syncScopeFlags)
Set any optional flags for filtering incoming activities. |
Method Details
getNotificationType
public String getNotificationType()
Set type of change notifications for **UserDataFeed** sync scope
Returns:
getPlatform
public String getPlatform()
Set the platform to restrict incoming activities to apps which support the platform.
Returns:
getSyncScopeFlags
public List
Set any optional flags for filtering incoming activities.
Returns:
setNotificationType
public void setNotificationType(@Nullable String notificationType)
Set type of change notifications for **UserDataFeed** sync scope.
Parameters:
setPlatform
public void setPlatform(@Nullable String platform)
Set the platform to restrict incoming activities to apps which support the platform. Note, it is only useful for applications which can subscribe to a user's entire data feed, not just for the current app.
Parameters:
setSyncScopeFlags
public void setSyncScopeFlags(@Nullable Collection
Set any optional flags for filtering incoming activities.
Parameters: