A mobile scene package. Mobile scene packages allow you to work with 3D scenes on a mobile device. A mobile scene package contains all of the files necessary to work with your scenes and is stored on a device as either:
A single archive file with an .mspk extension
A directory containing an unpacked mobile scene package
A mobile scene package can encapsulate one or more scenes, their layers and data, transportation networks, and a locator. The mobile scene package also contains an Item with metadata about the package (description, thumbnail, etc.). You can use these packages to share scenes across ArcGIS products and to allow your users to work with scenes in the field. Mobile scene packages also allow you to continue working when you have limited or no connectivity.
Starting with ArcGIS Pro 2.3 you can create mobile scene packages for use by this API. Mobile scene packages are supported up to major version 3.
Mobile scene packages can contain links to online services, but be aware that these services will be unavailable if your device is offline. You can choose whether to use:
A tile package (.tpkx) or an online basemap as the GeoModel.basemap
A mobile geodatabase (.geodatabase) or an online feature service as one of the GeoModel.operationalLayers
Local raster data (such as a DTED, GeoTIFF) or online image services as the elevation sources in an ArcGISScene.baseSurface
Online services (such as traffic or weather) can provide excellent contextual information for your users. If the mobile scene package is going to be used in areas of poor connectivity, however, you must ensure that data critical to your workflow is stored locally on the device.
Determine the version of this package using the MobileScenePackage.version property. This API supports mobile scene packages up to and including major version 3. If the package is from an unsupported version it will fail to load.
Discover whether the package has expired using the MobileScenePackage.expiration property
Access the individual scenes and display them in a SceneView
Programmatically add, modify, and remove layers in the scene. Mobile scene packages, however, are read-only and these changes to scenes or layers will not be persisted to the device.
A collection of ArcGISScene from the MobileScenePackage. To use the scenes in a MobileScenePackage, you first need to load the package. The scenes are presented in the same order in which they were packaged with ArcGIS Pro. To display an ArcGISScene set the scene to a SceneView. This will automatically load the scene and all of its content. If you only need to access the scene's content or metadata, then you need to load it by calling GeoModel.load(). If the package is not loaded, an empty collection is returned.