Enode — API Reference
    Preparing search index...

    The host's live content for Settings (the tracking app's device rows, the per-device distance override, …). The Settings screen provides it around its whole view stack, so the home and the pushed "This device" subpage follow later prop changes of the host instead of keeping the values they were pushed with.

    type SettingsHostValue = {
        devicePages?: {
            deviceVideos?: ReactNode;
            displaySound?: ReactNode;
            legal?: ReactNode;
            notificationsDevice?: ReactNode;
            sensors?: ReactNode;
            thisDeviceName?: ReactNode;
            thisDeviceSchedule?: ReactNode;
            thisDeviceStations?: ReactNode;
        };
        distanceOverride?: { cm: number; onReset: () => void }
        | null;
        layout?: "screen" | "tabs";
        platform?: SettingsPlatform;
    }
    Index

    Properties

    devicePages?: {
        deviceVideos?: ReactNode;
        displaySound?: ReactNode;
        legal?: ReactNode;
        notificationsDevice?: ReactNode;
        sensors?: ReactNode;
        thisDeviceName?: ReactNode;
        thisDeviceSchedule?: ReactNode;
        thisDeviceStations?: ReactNode;
    }

    Host slots of the device-only content (see SettingsDevicePages).

    Type Declaration

    • OptionaldeviceVideos?: ReactNode
    • OptionaldisplaySound?: ReactNode
    • Optionallegal?: ReactNode
    • OptionalnotificationsDevice?: ReactNode
    • Optionalsensors?: ReactNode

      17.11.26: sensors live under Account › Devices › Sensors.

    • OptionalthisDeviceName?: ReactNode
    • OptionalthisDeviceSchedule?: ReactNode
    • OptionalthisDeviceStations?: ReactNode
    distanceOverride?: { cm: number; onReset: () => void } | null

    Per-device sensor distance override shown on Training, or null.

    layout?: "screen" | "tabs"

    How the host lays the sections out: "screen" (default) all sections in one view; "tabs" one tab per section (Settings in both apps). Decides how sections point at each other ("further down" vs. "in the … tab").

    platform?: SettingsPlatform

    Which host renders Settings.