Click or drag to resize

MobileMapPackageIsDirectReadSupportedAsync Method

Note: This API is now obsolete.

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.11.0
[ObsoleteAttribute("This method is no longer required as the result is always true. It can be removed from calling code including any subsequent use of MobileMapPackage.UnpackAsync.")]
public static Task<bool> IsDirectReadSupportedAsync(
	string mobileMapPackageFilePath


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

Return Value

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

Prior to ArcGIS Runtime version 100.7, some data formats (such as RasterLayer) could only be accessed if they were unpacked from the mobile map package file (.mmpk). In these situations, this method would return false and you would need to call UnpackAsync(String, String) to unpack the mmpk.

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.

Since this method is no longer required it can be removed from calling code including any subsequent use of UnpackAsync(String, String).

See Also