ChatSyncManager ChatSyncManager ChatSyncManager ChatSyncManager ChatSyncManager Class

Definition

Manages the syncing of chat messages.

public : sealed class ChatSyncManager
struct winrt::Windows::ApplicationModel::Chat::ChatSyncManager
public sealed class ChatSyncManager
Public NotInheritable Class ChatSyncManager
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

Remarks

This class is retrieved by calling RequestSyncManagerAsync.

Properties

Configuration Configuration Configuration Configuration Configuration

The configuration properties of the sync manager.

Methods

AssociateAccountAsync(WebAccount) AssociateAccountAsync(WebAccount) AssociateAccountAsync(WebAccount) AssociateAccountAsync(WebAccount) AssociateAccountAsync(WebAccount)

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

IsAccountAssociated(WebAccount) IsAccountAssociated(WebAccount) IsAccountAssociated(WebAccount) IsAccountAssociated(WebAccount) IsAccountAssociated(WebAccount)

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

SetConfigurationAsync(ChatSyncConfiguration) SetConfigurationAsync(ChatSyncConfiguration) SetConfigurationAsync(ChatSyncConfiguration) SetConfigurationAsync(ChatSyncConfiguration) SetConfigurationAsync(ChatSyncConfiguration)

Sets the configuration properties of the sync manager.

StartSync() StartSync() StartSync() StartSync() StartSync()

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

UnassociateAccountAsync() UnassociateAccountAsync() UnassociateAccountAsync() UnassociateAccountAsync() UnassociateAccountAsync()

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