@escolalms/h5p-react
    Preparing search index...

    Type Alias XAPIEvent

    type XAPIEvent = {
        statement: {
            actor: {
                account: { homePage: string; name: string };
                objectType: string;
            };
            context: {
                contextActivities: { category: [{ id: string; objectType: string }] };
            };
            object: {
                definition: {
                    correctResponsesPattern: string[];
                    description: { [lang: string]: string };
                    extensions: { [key: string]: number };
                    interactionType: string;
                    type: string;
                };
                objectType: string;
            };
            result: {
                completion: boolean;
                duration: string;
                response: boolean
                | string;
                score: { max: number; min: number; raw: number; scaled: number };
                success: boolean;
            };
            verb: { display: { [lang: string]: string }; id: string };
        };
    }
    Index

    Properties

    Properties

    statement: {
        actor: {
            account: { homePage: string; name: string };
            objectType: string;
        };
        context: {
            contextActivities: { category: [{ id: string; objectType: string }] };
        };
        object: {
            definition: {
                correctResponsesPattern: string[];
                description: { [lang: string]: string };
                extensions: { [key: string]: number };
                interactionType: string;
                type: string;
            };
            objectType: string;
        };
        result: {
            completion: boolean;
            duration: string;
            response: boolean
            | string;
            score: { max: number; min: number; raw: number; scaled: number };
            success: boolean;
        };
        verb: { display: { [lang: string]: string }; id: string };
    }