Dela via


ChatSyncManager Class

Definition

Manages the syncing of chat messages.

public ref class ChatSyncManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ChatSyncManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ChatSyncManager
Public NotInheritable Class ChatSyncManager
Inheritance
Object Platform::Object IInspectable ChatSyncManager
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
chat chatSystem smsSend

Remarks

This class is retrieved by calling RequestSyncManagerAsync.

Properties

Configuration

The configuration properties of the sync manager.

Methods

AssociateAccountAsync(WebAccount)

Sets the WebAccount, which will be used by the sync manager to sync messages.

IsAccountAssociated(WebAccount)

Checks if a specific WebAccount is the account used by the sync manager to sync messages.

SetConfigurationAsync(ChatSyncConfiguration)

Sets the configuration properties of the sync manager.

StartSync()

Starts a new sync operation without waiting for the sync to finish.

UnassociateAccountAsync()

Clears the account information and stops the sync manager from syncing messages. This will trigger a message deletion operation.

Applies to