PpgType
overview package class tree deprecated index com samsung android service health tracking data enum ppgtype java lang object java lang enum<ppgtype> com samsung android service health tracking data ppgtype all implemented interfaces serializable, comparable<ppgtype> public enum ppgtype extends enum<ppgtype> ppgtype defines photoplethysmogram ppg types a wear os application using samsung health sensor sdk can set a ppg green, infrared ir , and red data combination to track with ppg_on_demand and ppg_continuous if only green is set in a set<ppgtype> param of healthtrackingservice gethealthtracker , ppg_on_demand and ppg_continuous will give only ppg green data if you set green, ir, and red in the healthtrackingservice gethealthtracker api call, ppg_on_demand and ppg_continuous will give all ppg green, ir, red data setting only the required ppgtype can reduce the battery consumption on the galaxy watch since 1 3 0 see also healthtrackingservice gethealthtracker healthtrackertype, ppgtypeset enum constant summary enum constants enum constant and description green an enum value for the ppg green type ir an enum value for the ppg infrared ir type red an enum value for the ppg red type method summary all methods static methods concrete methods modifier and type method and description static ppgtype valueof string name returns the enum constant of this type with the specified name static ppgtype[] values returns an array containing the constants of this enum type, in the order they are declared enum constant detail green public static final ppgtype green an enum value for the ppg green type since 1 3 0 red public static final ppgtype red an enum value for the ppg red type since 1 3 0 ir public static final ppgtype ir an enum value for the ppg infrared ir type since 1 3 0 method detail values public static ppgtype[] values returns an array containing the constants of this enum type, in the order they are declared this method may be used to iterate over the constants as follows for ppgtype c ppgtype values system out println c ; returns an array containing the constants of this enum type, in the order they are declared valueof public static ppgtype valueof string name 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 parameters name - the name of the enum constant to be returned returns the enum constant with the specified name throws illegalargumentexception - if this enum type has no constant with the specified name nullpointerexception - if the argument is null