Click or drag to resize
SynchronizationSynchronizePinnedResourcesAsync Method
Synchronizes all pinned resources with their mobile backends. For collections all pages will be downloaded.

Namespace: Oracle.Cloud.Mobile.Synchronization
Assembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public Task SynchronizePinnedResourcesAsync(
	Func<MobileResource, Task<IEnumerable<KeyValuePair<MobileResource, PinPriority>>>> callback = null
)

Parameters

callback (Optional)
Type: SystemFuncMobileResource, TaskIEnumerableKeyValuePairMobileResource, PinPriority
Optional delegate that will be invoked for every synchronized resource that can return additional resources to pin. This allows callers to navigate an object graph and pin additional anciliary resources. Callers do not need to pin these themselves and do not need to unpin them. The next time SynchronizePinnedResourcesAsync is called all anciliary resources no longer required will be unpinned automatically.

Return Value

Type: Task
An awaitable object.
See Also