• VoiceGuidance
  • class Esri::ArcGISRuntime::VoiceGuidance

    Direction guidance text reformatted for speech. More...

    Header: #include <VoiceGuidance.h>
    Since: Esri::ArcGISRuntime 100.6
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~VoiceGuidance() override
    QString text() const
    Esri::ArcGISRuntime::VoiceGuidanceType type() const

    Detailed Description

    An app may present voice guidance at certain locations along a route. Voice guidance includes text that may be passed to a text-to-speech engine to inform an app user of upcoming maneuvers or arrival events.

    Relevant samples:

    Member Function Documentation

    [override virtual noexcept] VoiceGuidance::~VoiceGuidance()

    Destructor.

    QString VoiceGuidance::text() const

    Returns voice guidance.

    String representation of voice guidance text instruction. This text can be passed to a text to speech engine.

    Esri::ArcGISRuntime::VoiceGuidanceType VoiceGuidance::type() const

    Returns voice guidance notification type.

    See also VoiceGuidanceType.