This software is the proprietary copyright of TomTom NV and its subsidiaries and may be used for internal evaluation purposes or commercial use strictly subject to separate license agreement between you and TomTom NV. If you are the licensee, you are only permitted to use this software in accordance with the terms of your license agreement. If you are not the licensee, you are not authorized to use this software in any manner and should immediately return or destroy it.
@IviExperimental public final class NavAppResourceExtractor {
ctor public NavAppResourceExtractor(optional kotlinx.coroutines.CoroutineScope extractionCoroutineScope);
method @MainThread public void extract(android.content.Context applicationContext, optional kotlin.jvm.functions.Function0<kotlin.Unit> beforeExtractingAction);
field public static final int RETRY_ATTEMPT_COUNT = 3; // 0x3
package com.tomtom.ivi.platform.navappcomponents.api.common.util.resources {
public final class InputStreamKtxKt {
method public boolean isSessionExistsAndIsUnfinished(com.tomtom.ivi.platform.updater.api.common.serviceutil.PackageInstallerHelper.SessionData sessionData);
method public boolean isSessionExistingAndUnfinished(com.tomtom.ivi.platform.updater.api.common.serviceutil.PackageInstallerHelper.SessionData sessionData);
method public suspend Object? checkForUpdates(kotlin.coroutines.Continuation<? super kotlin.Unit>);
@IviExperimental public abstract class ApkComponentUpdateHandler extends com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler<com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData> {
ctor public ApkComponentUpdateHandler(com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.Config config, com.tomtom.ivi.platform.updater.api.common.serviceutil.RepositoryAccessor repositoryAccessor);
method protected final com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler.ActiveUpdate<com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData> createActiveUpdate(com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler.UpdateData<com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData> updateData);
method protected suspend Object? createDownloadRequest(com.tomtom.ivi.platform.updater.api.common.serviceutil.ArtifactUpdateInfo artifactUpdateInfo, kotlin.coroutines.Continuation<? super android.app.DownloadManager.Request>);
method protected final com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler.UpdateData<com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData> createPendingUpdateData(com.tomtom.ivi.platform.updater.api.common.serviceutil.ArtifactUpdateInfo artifactUpdateInfo, optional java.time.Duration? estimatedDownloadTime, optional java.time.Duration? estimatedInstallTime, optional java.time.Duration? estimatedOutOfOrderTime);
method public final suspend Object? detectUpdate(kotlin.coroutines.Continuation<? super kotlin.Unit>);
method protected abstract suspend Object? detectUpdateInner(kotlin.coroutines.Continuation<? super com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler.UpdateData<com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData>>);
method protected String? getInstalledVersion();
method protected final com.tomtom.ivi.platform.updater.api.common.serviceutil.RepositoryAccessor getRepositoryAccessor();
method protected final suspend Object? persistState(com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler.State<com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData> state, kotlin.coroutines.Continuation<? super kotlin.Unit>);
method protected final suspend Object? restoreAndInit(kotlin.coroutines.Continuation<? super kotlin.Unit>);
property protected final com.tomtom.ivi.platform.updater.api.common.serviceutil.RepositoryAccessor repositoryAccessor;
field public static final com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.Companion Companion;
field @VisibleForTesting public static final String LAST_UPDATE_DATA_SHARED_PREFERENCE_KEY = "last-update-data";
field @VisibleForTesting public static final String STATE_SHARED_PREFERENCE_KEY = "state";
@kotlinx.serialization.Serializable public static final class ApkComponentUpdateHandler.ApkUpdateData {
ctor public ApkComponentUpdateHandler.ApkUpdateData(com.tomtom.ivi.platform.updater.api.common.serviceutil.ArtifactUpdateInfo artifactUpdateInfo);
method public com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData copy-kLLJF8s(com.tomtom.ivi.platform.updater.api.common.serviceutil.ArtifactUpdateInfo artifactUpdateInfo, com.tomtom.ivi.platform.updater.api.common.serviceutil.DownloadHelper.DownloadId? downloadId, com.tomtom.ivi.platform.updater.api.common.serviceutil.PackageInstallerHelper.SessionData? installSessionData);
public static final class ApkComponentUpdateHandler.Companion {
public static final class ApkComponentUpdateHandler.Config {
ctor public ApkComponentUpdateHandler.Config(String componentId, com.tomtom.tools.android.api.resourceresolution.string.StringResolver componentDisplayName, com.tomtom.ivi.platform.updater.api.common.updater.UpdatePolicy defaultUpdatePolicy, String packageName, optional com.tomtom.ivi.platform.updater.api.common.serviceutil.DetectUpdateTriggerWorkConfig detectUpdateTriggerWorkConfig);
method public String component2();
method public com.tomtom.ivi.platform.updater.api.common.serviceutil.DetectUpdateTriggerWorkConfig component3();
method public com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.Config copy(com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler.Config base, String packageName, com.tomtom.ivi.platform.updater.api.common.serviceutil.DetectUpdateTriggerWorkConfig detectUpdateTriggerWorkConfig);
method public com.tomtom.ivi.platform.updater.api.common.serviceutil.DetectUpdateTriggerWorkConfig getDetectUpdateTriggerWorkConfig();
method public String getPackageName();
property public final com.tomtom.ivi.platform.updater.api.common.serviceutil.DetectUpdateTriggerWorkConfig detectUpdateTriggerWorkConfig;
property public final String packageName;
method public suspend Object? checkForUpdates(kotlin.coroutines.Continuation<? super kotlin.Unit>);
method public kotlinx.coroutines.flow.Flow<java.lang.Boolean> isReady();
property public kotlinx.coroutines.flow.Flow<java.lang.Boolean> isReady;
@IviExperimental public final class SimpleApkUpdateHandler extends com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler {
ctor public SimpleApkUpdateHandler(com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SimpleApkUpdateHandler.Config config, com.tomtom.ivi.platform.updater.api.common.serviceutil.RepositoryAccessor repositoryAccessor, optional kotlin.jvm.functions.Function1<? super com.tomtom.ivi.platform.updater.api.common.serviceutil.ArtifactUpdateInfo,java.time.Duration> calculateEstimatedDownloadTime, optional kotlin.jvm.functions.Function1<? super com.tomtom.ivi.platform.updater.api.common.serviceutil.ArtifactUpdateInfo,java.time.Duration> calculateEstimatedInstallTime, optional kotlin.jvm.functions.Function1<? super com.tomtom.ivi.platform.updater.api.common.serviceutil.ArtifactUpdateInfo,java.time.Duration> calculateEstimatedOutOfOrderTime);
method protected suspend Object? detectUpdateInner(kotlin.coroutines.Continuation<? super com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SingleComponentUpdateHandler.UpdateData<com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.ApkUpdateData>>);
public static final class SimpleApkUpdateHandler.Config {
ctor public SimpleApkUpdateHandler.Config(String componentId, com.tomtom.tools.android.api.resourceresolution.string.StringResolver componentDisplayName, com.tomtom.ivi.platform.updater.api.common.updater.UpdatePolicy updatePolicy, String packageName, optional com.tomtom.ivi.platform.updater.api.common.serviceutil.DetectUpdateTriggerWorkConfig detectUpdateTriggerWorkConfig);
method public com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.SimpleApkUpdateHandler.Config copy(com.tomtom.ivi.platform.updater.api.service.handlerbasedupdater.handlers.ApkComponentUpdateHandler.Config base);
method @com.tomtom.ivi.platform.framework.api.ipc.iviserviceannotations.IviServiceFun public suspend Object? checkForUpdates(kotlin.coroutines.Continuation<? super kotlin.Unit>);
method @com.tomtom.ivi.platform.framework.api.ipc.iviserviceannotations.IviServiceFun public suspend Object? checkForUpdates(kotlin.coroutines.Continuation<? super kotlin.Unit>);