Java.Util.Prefs.Preferences.Sync Method
Synchronizes the data of this preference node and its descendants with the back-end preference store.

Syntax

[Android.Runtime.Register("sync", "()V", "GetSyncHandler")]
public abstract void Sync ()

Exceptions

TypeReason
Java.Util.Prefs.BackingStoreExceptionif the backing store is unavailable or causes an operation failure.
Java.Lang.IllegalStateExceptionif this node has been removed.

Remarks

Synchronizes the data of this preference node and its descendants with the back-end preference store. Any changes found in the back-end data should be reflected in this node and its descendants, and at the same time any local changes to this node and descendants should be persisted.

[Android Documentation]

Requirements

Namespace: Java.Util.Prefs
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1