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

    Interface UseSentimentDataReturn

    Return type for useSentimentData hook

    interface UseSentimentDataReturn {
        currentMoods: Map<string, SentimentMoodState>;
        getAllHistoricalData: (timeWindow: number) => Map<string, MoodDataPoint[]>;
        getBufferStats: () => {
            bufferAge: number;
            memoryUsage: number;
            totalSamples: number;
        };
        hasData: boolean;
        roomMetrics: RoomMetrics;
    }
    Index

    Properties

    currentMoods: Map<string, SentimentMoodState>

    Current mood states by user ID

    getAllHistoricalData: (timeWindow: number) => Map<string, MoodDataPoint[]>

    Get historical data for all participants

    getBufferStats: () => {
        bufferAge: number;
        memoryUsage: number;
        totalSamples: number;
    }

    Get buffer statistics

    hasData: boolean

    Whether data is available

    roomMetrics: RoomMetrics

    Room-level metrics