HealthKit data types to authorize. Used to create the editor UI.
|
|
string | saveData = null |
| | serializable representation of the data types to read/write.
|
| |
|
string | healthShareUsageDescription = "We require access to health data for testing." |
| | Text to present to the user when iOS requests access to read health data.
|
| |
|
string | healthUpdateUsageDescription = "We update health data for testing." |
| | Text to present to the user when iOS requests access to write health data.
|
| |
|
string | clinicalUsageDescription = "We only request clinical data that we need." |
| | Text to present to the user when iOS requests access to write clinical health data.
|
| |
|
Dictionary< string, HKNameValuePair > | data |
| | dictionary of identifier/read+write values
|
| |
|
|
string | Save () |
| | Save the authorization preferences.
|
| |
| void | Load (TextAsset saveAsset) |
| | Load the authorization preferences from a supplied file.
|
| |
|
void | Load () |
| | Load the authorization preferences.
|
| |
|
string | Transmit () |
| | Create a comma-separated list of HealthKit datatypes to authorize.
|
| |
|
bool | AskForSharePermission () |
| | Returns true if there are data types we want to read, and need to request permission to read health data. Always required.
|
| |
|
bool | AskForUpdatePermission () |
| | Returns true if there are data types we want to write, and need to request permission to write health data.
|
| |
|
bool | AskForClinicalPermission () |
| | Returns true if there are clinical data types we want to read, and need to request permission to read health data.
|
| |
|
| static string | GetIdentifier< T > (T type) |
| | Convenience method to get a HKDataType as a string value.
|
| |
◆ GetIdentifier< T >()
| static string BeliefEngine.HealthKit.HealthKitDataTypes.GetIdentifier< T > |
( |
T | type | ) |
|
|
inlinestatic |
◆ Load()
| void BeliefEngine.HealthKit.HealthKitDataTypes.Load |
( |
TextAsset | saveAsset | ) |
|
|
inline |
- Parameters
-
| saveAsset | the save data asset |