syncProvider

suspend fun syncProvider(): <Error class: unknown class>?

Syncs the external live update provider source if present.

Example usage (kotlin):

val result = portal.syncProvider()

Example usage (java):

// syncProvider() is a Kotlin suspend function and can't be called directly from Java.
// Use syncProviderAsync instead:
portal.syncProviderAsync(new Portal.ProviderSyncCallback() {
@Override
public void onSuccess(ProviderSyncResult result) {
// handle result
}

@Override
public void onFailure(Exception error) {
// handle error
}
});

Return

the result of the synchronization operation, or null when no update is available.

Throws