Added in API level 1
public interface

IOtaManager

com.ardic.android.managers.ota.IOtaManager

Class Overview

Provides set of API for OTA (Over The Air Update).

Summary

Public Methods
abstract String getOtaPostBuildFingerprint(String strOtaPath)
Returns Ota post Build finger print
abstract String getOtaPreDevice(String strOtaPath)
Returns Ota pre device (target device name)
abstract void installOtaPackage(String path)
Installs the Ota package to the device.
abstract boolean isVersionCompatible(String strOtaPath)
Checks Ota version compatibility with the current device OS version
abstract boolean verifyOtaPackage(String path)
Verifies The Ota package signature and hash

Public Methods

public abstract String getOtaPostBuildFingerprint (String strOtaPath)

Added in API level 1

Returns Ota post Build finger print

Parameters
strOtaPath String: path of Ota package
Returns
String
Throws
AfexException

public abstract String getOtaPreDevice (String strOtaPath)

Added in API level 1

Returns Ota pre device (target device name)

Parameters
strOtaPath String: path of Ota package
Returns
String
Throws
AfexException

public abstract void installOtaPackage (String path)

Added in API level 1

Installs the Ota package to the device.

Parameters
path String: of Ota package
Throws
AfexException

public abstract boolean isVersionCompatible (String strOtaPath)

Added in API level 1

Checks Ota version compatibility with the current device OS version

Parameters
strOtaPath String: path of Ota package
Returns
boolean true if version is compatible with current version.
Throws
AfexException

public abstract boolean verifyOtaPackage (String path)

Added in API level 1

Verifies The Ota package signature and hash

Parameters
path String: of Ota package
Returns
boolean true if the Ota package verified
Throws
AfexException