BackupKey
public enum BackupKey: String
An enumeration of keys present in a backup.
-
The hill ascents recorded by the user.
See also
BackupKey.AscentsKey
Declaration
Swift
case ascents
-
Whether or not automatic backup is selected:
- if
false
then manual backup is selected; - if
true
then automatic backup is selected.
Automatic backup is triggered by various actions in the app (such as recording a new ascent) and is supported for iCloud but not Dropbox.
See also
BackupKey.icloud
See also
BackupKey.root
Declaration
Swift
case autobackup
- if
-
Whether or not the user has chosen to use the location reported by their iOS device and accepted a disclaimer that this should not be relied on for navigation:
- if
false
then location information is not to be used;if
true
then location information is to be used.See also
See also
Declaration
Swift
case disclaimer
- if
-
The selected unit of measurement for presenting distances:
- if
km
then distances are presented in kilometres; - if
mi
then distances are presented in miles.
Declaration
Swift
case distance
- if
-
The email address used by the app’s CSV export feature.
Declaration
Swift
case email
-
The name of the file in which the backup was originally stored on export.
Declaration
Swift
case filename
-
A number seen to be
0
or1
, purpose unknown. Presumably takes other values or would have a boolean.Declaration
Swift
case filter
-
Part of the map type selection. Indicates whether or not Google maps of some type have been selected in preference to Apple maps.
See also
BackupKey.terrain
See also
BackupKey.type
Declaration
Swift
case google
-
A hash value, presumably unique to an individual backup and perhaps used to verify its integrity when being restored.
Declaration
Swift
case hash
-
The selected unit of measurement for presenting heights:
- if
ft
then heights are presented in feet; - if
m
then heights are presented in metres.
Declaration
Swift
case height
- if
-
Whether iCloud or Dropbox has been selected as the destination for backups.
- if
false
then Dropbox is selected (and backups are made manually);if
true
then iCloud is selected (and backups may be made either automatically or manually).See also
See also
Declaration
Swift
case icloud
- if
-
The latitude component of the location (if any) recorded by the app’s location feature.
See also
BackupKey.disclaimer
Declaration
Swift
case latitude
-
The identifiers of lists tracked by the user, sorted according to the selected sorting specification.
See also
BackupKey.percent
Declaration
Swift
case lists
-
The longitude component of the location (if any) recorded by the app’s location feature.
See also
BackupKey.autobackup
Declaration
Swift
case longitude
-
Indicates whether or not the app’s feature supporting multiple rounds of ascents has been enabled:
- if
false
then multiple rounds are not enabled; - if
true
then multiple rounds are enabled.
Declaration
Swift
case multiple
- if
-
Indicates the ordering of tracked lists on the app’s initial view:
- if not present then lists are ordered manually by the user;
- if present and
false
then lists are sorted by name, in ascending alphabetical order;if present and
true
then lists are sorted by percentage of hills complete, in descending order.See also
Declaration
Swift
case percent
-
A boolean value, purpose unknown.
Declaration
Swift
case purged
-
Purpose unknown, observed to be an array of three numbers (all -1).
Declaration
Swift
case restore
-
Presumably indicated whether backups stored in Dropbox were saved to the root folder or to an app-specific folder. Dropbox API changes made in 2017 have probably rendered this option redundant and support for saving in the root folder was removed in Hill Lists version 5.2.
See also
BackupKey.autobackup
See also
BackupKey.icloud
Declaration
Swift
case root
-
The email address used by the app’s location sharing feature.
Declaration
Swift
case share
-
The phone number used by the app’s location sharing feature.
Declaration
Swift
case sms
-
Indicates how hills are sorted within the view of an individual list’s content:
0
- hills are sorted by section, in ascending order by number;1
- hills are sorted by name, in ascending alphabetical order;2
- hills are sorted by height, in descending order;3
- hills are sorted by distance from the user’s recorded location, in increasing order;4
- hills are sorted by date of ascent, in decreasing chronological order by oldest ascent, with unknown ascent daes sorting last;5
- hills are sorted by number of ascents, in increasing order.
Declaration
Swift
case sort
-
Part of the map type selection. Indicates whether or not (if Google maps are selected) the terrain map type is selected.
See also
BackupKey.google
See also
BackupKey.type
Declaration
Swift
case terrain
-
Declaration
Swift
case type
-
Presumably the version format of the backup.
Declaration
Swift
case version
-
An enumeration of keys present in the value of the
ascents
key in a backup.See also
BackupKey.ascents
Declaration
Swift
public enum AscentsKey: String