BackupKey
public enum BackupKey: String
An enumeration of keys present in a backup.
-
The hill ascents recorded by the user.
See also
BackupKey.AscentsKeyDeclaration
Swift
case ascents
-
Whether or not automatic backup is selected:
- if
falsethen manual backup is selected; - if
truethen 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.icloudSee also
BackupKey.rootDeclaration
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
falsethen location information is not to be used;if
truethen location information is to be used.See also
See also
Declaration
Swift
case disclaimer - if
-
The selected unit of measurement for presenting distances:
- if
kmthen distances are presented in kilometres; - if
mithen 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
0or1, 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.terrainSee also
BackupKey.typeDeclaration
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
ftthen heights are presented in feet; - if
mthen heights are presented in metres.
Declaration
Swift
case height - if
-
Whether iCloud or Dropbox has been selected as the destination for backups.
- if
falsethen Dropbox is selected (and backups are made manually);if
truethen 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.disclaimerDeclaration
Swift
case latitude
-
The identifiers of lists tracked by the user, sorted according to the selected sorting specification.
See also
BackupKey.percentDeclaration
Swift
case lists
-
The longitude component of the location (if any) recorded by the app’s location feature.
See also
BackupKey.autobackupDeclaration
Swift
case longitude
-
Indicates whether or not the app’s feature supporting multiple rounds of ascents has been enabled:
- if
falsethen multiple rounds are not enabled; - if
truethen 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
falsethen lists are sorted by name, in ascending alphabetical order;if present and
truethen 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.autobackupSee also
BackupKey.icloudDeclaration
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.googleSee also
BackupKey.typeDeclaration
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
ascentskey in a backup.See moreSee also
BackupKey.ascentsDeclaration
Swift
public enum AscentsKey: String
View on GitHub
BackupKey Enum Reference