TileRegionApplyUpdateOptions

@MapboxExperimental
class TileRegionApplyUpdateOptions

Describes the tile region load option values.

Functions

Link copied to clipboard
Controls which networks may be used to fix update application issues.
Link copied to clipboard
Can be used with priorityRadiusCallback to receive a notification once the data covering the given radius around the startLocation has been applied.
Link copied to clipboard
Callback that is invoked when the data covering the given priorityRadius around the startLocation has been applied.
Link copied to clipboard
open fun getStartLocation(): Point
Starts applying the tile region update at the given location and then proceeds to tiles that are further away from it.
Link copied to clipboard
@MapboxExperimental
open fun make(): TileRegionApplyUpdateOptions
Creates a TileRegionApplyUpdateOptions instance with default options.
Link copied to clipboard
open fun setNetworkRestriction(@NonNull networkRestriction: NetworkRestriction)
Controls which networks may be used to fix update application issues.
Link copied to clipboard
open fun setPriorityRadius(@Nullable priorityRadius: Integer)
Can be used with priorityRadiusCallback to receive a notification once the data covering the given radius around the startLocation has been applied.
Link copied to clipboard
open fun setPriorityRadiusCallback(@Nullable priorityRadiusCallback: TileRegionCallback)
Callback that is invoked when the data covering the given priorityRadius around the startLocation has been applied.
Link copied to clipboard
open fun setStartLocation(@Nullable startLocation: Point)
Starts applying the tile region update at the given location and then proceeds to tiles that are further away from it.