Pebble.Dictation
Voice dictation via the Pebble microphone and phone speech recognition.
Native Pebble C API
- Dictation on developer.repebble.com
Union Types
Error
type Error
= NoMicrophone
| PhoneDisconnected
| Cancelled
| Failed StringDictation session errors.
Status
type Status
= Starting
| Recognizing
| FinishedDictation session lifecycle status.
Commands
start
start : Cmd msgStart a dictation session.
stop
stop : Cmd msgStop an in-progress dictation session.
Subscriptions
onStatus
onStatus : (Status -> msg) -> Sub msgReceive dictation status updates.
onResult
onResult : (Result Error String -> msg) -> Sub msgReceive the transcribed text or an error when the session completes.