ErrorDialog is a SceneGraph Group component that presents a centred modal card with an error icon, a title, a configurable message, and two action buttons: Reintentar (Retry) and Volver (Back). It captures all remote control input while visible.
When it appears
ErrorDialog is shown by the parent screen in response to:
- Playback error — the video player reports a fatal stream error.
- Auth failure — credentials are rejected (HTTP 401/403/404) or the session is invalidated.
- Network issue — connectivity is lost during an active session (distinct from the initial offline state handled by
OfflineDialog).
Interface fields
Body text displayed below the title label (
lblMessage). Set this to a human-readable description of the failure before making the dialog visible.Set to
true when the viewer selects Reintentar (OK key on the focused Retry button). The parent screen observes this field to re-attempt playback or re-authentication.Set to
true when the viewer selects Volver (OK key on the focused Back button, or the remote Back key). The parent screen observes this field to navigate away.User actions
| Action | Remote key | Result |
|---|---|---|
| Select Retry | OK (Retry focused) | retryRequested = true |
| Select Back | OK (Back focused) | backRequested = true |
| Press Back | back | backRequested = true |
| Navigate buttons | left / right | Toggles focus between Retry and Back |
focusIndex = ED_BTN_RETRY = 0). The focused button is highlighted with colour 0x4477DDFF; the unfocused button uses 0x333344FF.