Device Type
The health-data source a member's SmartWalking device reports through.
Pass the value that matches the platform you're connecting when registering a device (e.g. APPLE_HEALTH from connectAppleHealthKit, HEALTH_CONNECT from connectGoogleHealthConnect); the SDK records it on the server so steps are attributed to the correct source. Each entry maps to a backend serverName wire string — decode server responses with fromServerName rather than valueOf, since the wire names differ from the enum names.
Entries
Properties
Returns a representation of an immutable list of all enum entries, in the order they're declared.
The identifier the backend uses for this source. Note the names are historical and do not match the enum names — e.g. APPLE_HEALTH serializes as "IOS" and GOOGLE_FIT as "ANDROID".
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.