HeartRateSetSportMode Method
Sets the sport mode.
Namespace: SmallEarthTech.AntPlus.DeviceProfilesAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
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.