Språk

SystemDataSyncFlags Enum

Definition

Identifies the types of system data that an association can synchronize.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum SystemDataSyncFlags
[<System.Flags>]
type SystemDataSyncFlags = 
Inheritance
SystemDataSyncFlags
Attributes

Fields

Name Value Description
None 0

No system data sync types.

CallMetadata 1

Used by enableSystemDataSyncForTypes(int, int). Sync call metadata like muting, ending and silencing a call. Enabled by default.

Android reference for android.companion.CompanionDeviceManager.FLAG_CALL_METADATA.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

TaskContinuity 2

Used by enableSystemDataSyncForTypes(int, int)}. Synchronize task continuity data like open tasks, and enable this transport for Handoff. Disabled by default.

Android reference for android.companion.CompanionDeviceManager.FLAG_TASK_CONTINUITY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UniversalModes 4

Used by enableSystemDataSyncForTypes(int, int)}. Synchronize user settings like contextual modes across devices. Disabled by default.

Android reference for android.companion.CompanionDeviceManager.FLAG_UNIVERSAL_MODES.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AirplaneMode 16

Used by enableSystemDataSyncForTypes(int, int)}. Synchronize airplane mode state across devices. Disabled by default.

Android reference for android.companion.CompanionDeviceManager.FLAG_AIRPLANE_MODE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The values are bit flags that correspond to the FLAG_* constants in Android's CompanionDeviceManager. Use EnableSystemDataSyncForTypes(Int32, SystemDataSyncFlags) and DisableSystemDataSyncForTypes(Int32, SystemDataSyncFlags) to change them. Call metadata sync is enabled by default. The other types are disabled by default. See the flag definitions.

Applies to