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
ContextAgents
Agents related to the Statement (xAPI 2.0 only).
public XapiList<ContextAgent> ContextAgents { get; init; }
Property Value
ContextGroups
Groups related to the Statement (xAPI 2.0 only).
public XapiList<ContextGroup> ContextGroups { get; init; }
Property Value
Extensions
Extensions.
public Extensions? Extensions { get; init; }
Property Value
Instructor
The instructor. Deprecated in xAPI 2.0 in favour of ContextAgents.
public Actor? Instructor { get; init; }
Property Value
Language
The RFC 5646 code of the language the experience happened in.
public string? Language { get; init; }
Property Value
Platform
The platform used. Only allowed when the Statement's object is an Activity.
public string? Platform { get; init; }
Property Value
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
Statement
Another Statement that gives context to this one.
public StatementRef? Statement { get; init; }
Property Value
Team
The team. Deprecated in xAPI 2.0 in favour of ContextGroups.
public Group? Team { get; init; }