Hiyve Components - v1.0.0
    Preparing search index...

    Interface UseActivityTrackerOptions

    Options for the useActivityTracker hook.

    Configures per-user activity tracking with session timing. The hook manages session start/stop, duration tracking, and notes.

    interface UseActivityTrackerOptions {
        onSessionUpdate?: (session: ActivitySession) => void;
        userId: string;
    }
    Index

    Properties

    onSessionUpdate?: (session: ActivitySession) => void

    Callback when a session is updated

    userId: string

    User ID for the tracked user