Table of Contents

Class Context

Namespace
Xapi
Assembly
Xapi.Core.dll

Contextual information that gives a Statement more meaning.

public sealed record Context : IEquatable<Context>
Inheritance
Context
Implements
Inherited Members

Remarks

IEEE 9274.1.1, 4.2.2.5 "Context Table".

Properties

ContextActivities

Related Activities.

public ContextActivities? ContextActivities { get; init; }

Property Value

ContextActivities

ContextAgents

Agents related to the Statement (xAPI 2.0 only).

public XapiList<ContextAgent> ContextAgents { get; init; }

Property Value

XapiList<ContextAgent>

ContextGroups

Groups related to the Statement (xAPI 2.0 only).

public XapiList<ContextGroup> ContextGroups { get; init; }

Property Value

XapiList<ContextGroup>

Extensions

Extensions.

public Extensions? Extensions { get; init; }

Property Value

Extensions

Instructor

The instructor. Deprecated in xAPI 2.0 in favour of ContextAgents.

public Actor? Instructor { get; init; }

Property Value

Actor

Language

The RFC 5646 code of the language the experience happened in.

public string? Language { get; init; }

Property Value

string

Platform

The platform used. Only allowed when the Statement's object is an Activity.

public string? Platform { get; init; }

Property Value

string

Registration

The registration (attempt or enrollment) the Statement belongs to.

public Guid? Registration { get; init; }

Property Value

Guid?

Revision

The revision of the learning Activity. Only allowed when the Statement's object is an Activity.

public string? Revision { get; init; }

Property Value

string

Statement

Another Statement that gives context to this one.

public StatementRef? Statement { get; init; }

Property Value

StatementRef

Team

The team. Deprecated in xAPI 2.0 in favour of ContextGroups.

public Group? Team { get; init; }

Property Value

Group