HeartRateSetSportMode Method
Sets the sport mode.
Namespace: SmallEarthTech.AntPlus.DeviceProfilesAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
public Task<MessagingReturnCode> SetSportMode(
SportMode sportMode,
SubSportMode subSportMode = SubSportMode.None
)
Public Function SetSportMode (
sportMode As SportMode,
Optional subSportMode As SubSportMode = SubSportMode.None
) As Task(Of MessagingReturnCode)
public:
Task<MessagingReturnCode>^ SetSportMode(
SportMode sportMode,
SubSportMode subSportMode = SubSportMode::None
)
member SetSportMode :
sportMode : SportMode *
?subSportMode : SubSportMode
(* Defaults:
let _subSportMode = defaultArg subSportMode SubSportMode.None
*)
-> Task<MessagingReturnCode>
- sportMode SportMode
- The sport mode.
- subSportMode SubSportMode (Optional)
- The sub sport mode.
TaskMessagingReturnCodeStatus of the request.