UserDataFeedSyncScope 類別
- java.
lang. Object - NativeBase
- com.
microsoft. connecteddevices. userdata. UserDataFeedSyncScope
- com.
public class UserDataFeedSyncScope
這個類別代表當應用程式使用特定功能,例如 useractivities 時,與連線裝置平臺後端同步處理使用者特定資料的範圍。 實例可以從 類別以靜態方式擷取特定功能 (,例如 **UserActivityChannel**) ,並用於設定同步處理資料的 **UserDataFeed** 行為。
方法摘要
修飾詞與類型 | 方法與描述 |
---|---|
String |
getNotificationType()
設定 **UserDataFeed** 同步處理範圍的變更通知類型 |
String |
getPlatform()
設定平臺,將傳入活動限制為支援平臺的應用程式。 |
List<String> |
getSyncScopeFlags()
設定篩選傳入活動的任何選擇性旗標。 |
void |
setNotificationType(@Nullable String notificationType)
設定 **UserDataFeed** 同步範圍的變更通知類型。 |
void |
setPlatform(@Nullable String platform)
設定平臺,將傳入活動限制為支援平臺的應用程式。 請注意,它只適用于可訂閱使用者整個資料摘要的應用程式,而不只是針對目前的應用程式。 |
void |
setSyncScopeFlags(@Nullable Collection<String> syncScopeFlags)
設定篩選傳入活動的任何選擇性旗標。 |
方法詳細資料
getNotificationType
public String getNotificationType()
設定 **UserDataFeed** 同步處理範圍的變更通知類型
Returns:
getPlatform
public String getPlatform()
設定平臺,將傳入活動限制為支援平臺的應用程式。
Returns:
getSyncScopeFlags
public List
設定篩選傳入活動的任何選擇性旗標。
Returns:
setNotificationType
public void setNotificationType(@Nullable String notificationType)
設定 **UserDataFeed** 同步範圍的變更通知類型。
Parameters:
setPlatform
public void setPlatform(@Nullable String platform)
設定平臺,將傳入活動限制為支援平臺的應用程式。 請注意,它只適用于可訂閱使用者整個資料摘要的應用程式,而不只是針對目前的應用程式。
Parameters:
setSyncScopeFlags
public void setSyncScopeFlags(@Nullable Collection
設定篩選傳入活動的任何選擇性旗標。
Parameters: