Click or drag to resize

MobileMapPackageIsDirectReadSupportedAsync Method

Checks if the mobile map package can be read directly without requiring to be unpacked.

Namespace:  Esri.ArcGISRuntime.Mapping
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public static Task<bool> IsDirectReadSupportedAsync(
	string mobileMapPackageFilePath
)

Parameters

mobileMapPackageFilePath
Type: SystemString
the path to a mobile map package file (.mmpk)

Return Value

Type: TaskBoolean
A Task representing the asynchronous operation.
Exceptions
ExceptionCondition
ExpiredExceptionPackage was authored to prevent expired access.
Remarks

Prior to version 100.7 some data formats could only be accessed if they were present on disk, for example, RasterLayer. In these situations, this method would return false and you would need to unpack the package to access the data.

From version 100.7 and onwards this limitation has been removed allowing the data to be read directly from the mobile map package. This method always returns a result of true.

See Also