A C D E F G H I L O R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- Abort - com.eidu.integration.RunLearningUnitResult.ResultType
- additionalData - Variable in class com.eidu.integration.RunLearningUnitResult
-
Optional. An arbitrary string that the learning app would like to associate with the usage data that the EIDU app reports.
C
- challenge - Variable in class com.eidu.integration.ResultItem
-
Optional. A description of the challenge, e.g.
- com.eidu.integration - package com.eidu.integration
- correctResponse - Variable in class com.eidu.integration.ResultItem
-
Optional. The correct response to the challenge, e.g.
D
- durationInMs - Variable in class com.eidu.integration.ResultItem
-
Optional. The time it took the learner to give a response after being presented with the challenge.
E
- equals(Object) - Method in class com.eidu.integration.ResultItem
- equals(Object) - Method in class com.eidu.integration.RunLearningUnitRequest
- equals(Object) - Method in class com.eidu.integration.RunLearningUnitResult
- Error - com.eidu.integration.RunLearningUnitResult.ResultType
- errorDetails - Variable in class com.eidu.integration.RunLearningUnitResult
-
Optional. If
RunLearningUnitResult.resultType
isError
, this should contain any available diagnostic information, e.g.
F
- foregroundDurationInMs - Variable in class com.eidu.integration.RunLearningUnitResult
-
The amount of time that the user spent with the learning unit at the end of the run.
- fromIntent(Intent) - Static method in class com.eidu.integration.RunLearningUnitRequest
-
Creates a new RunLearningUnitRequest instance from the provided intent.
- fromIntent(Intent) - Static method in class com.eidu.integration.RunLearningUnitResult
-
Parses an
Intent
into a new RunLearningUnitResult instance. - fromJson(JSONObject) - Static method in class com.eidu.integration.ResultItem
G
- getAssetAsStream(Context, String) - Method in class com.eidu.integration.RunLearningUnitRequest
-
Retrieves the contents of an asset as an
InputStream
. - getAssetAsUri(String) - Method in class com.eidu.integration.RunLearningUnitRequest
-
Retrieves a content
Uri
for an asset, which can be used, for example, withMediaPlayer
. - givenResponse - Variable in class com.eidu.integration.ResultItem
-
Optional. The response given by the learner, e.g.
H
- hashCode() - Method in class com.eidu.integration.ResultItem
- hashCode() - Method in class com.eidu.integration.RunLearningUnitRequest
- hashCode() - Method in class com.eidu.integration.RunLearningUnitResult
I
- id - Variable in class com.eidu.integration.ResultItem
-
Optional. Identifies the item within the learning unit being played.
- inactivityTimeoutInMs - Variable in class com.eidu.integration.RunLearningUnitRequest
-
Optional. The time of user inactivity after which the learning app must end the run with
TimeoutInactivity
. - items - Variable in class com.eidu.integration.RunLearningUnitResult
-
Optional. A list of items describing the user interactions during a learning unit run in detail.
L
- learnerId - Variable in class com.eidu.integration.RunLearningUnitRequest
-
The obfuscated ID of the learner who is playing the learning unit.
- learningUnitId - Variable in class com.eidu.integration.RunLearningUnitRequest
-
An ID, defined by the learning app, that uniquely identifies the learning unit to run.
- learningUnitRunId - Variable in class com.eidu.integration.RunLearningUnitRequest
-
A unique identifier of each learning unit run, which may be used for reporting purposes.
O
- of(String, String, String, String, String, Long, Long, Uri) - Static method in class com.eidu.integration.RunLearningUnitRequest
-
Creates a new RunLearningUnitRequest instance.
- ofAbort(Float, long, String, List<ResultItem>) - Static method in class com.eidu.integration.RunLearningUnitResult
-
Creates an instance with
Abort
. - ofError(Float, long, String, String, List<ResultItem>) - Static method in class com.eidu.integration.RunLearningUnitResult
-
Creates an instance with
Error
. - ofSuccess(Float, long, String, List<ResultItem>) - Static method in class com.eidu.integration.RunLearningUnitResult
-
Creates an instance with
Success
. - ofTimeoutInactivity(Float, long, String, List<ResultItem>) - Static method in class com.eidu.integration.RunLearningUnitResult
-
Creates an instance with
TimeoutInactivity
. - ofTimeUp(Float, long, String, List<ResultItem>) - Static method in class com.eidu.integration.RunLearningUnitResult
-
Creates an instance with
TimeUp
.
R
- remainingForegroundTimeInMs - Variable in class com.eidu.integration.RunLearningUnitRequest
-
Optional. The maximum amount of time that this run may take.
- ResultItem - Class in com.eidu.integration
-
In order to provide more detail about learning unit runs - which enables better analytics and personalisation - learning app developers are strongly encouraged to provide a list of
ResultItem
instances to describe each significant user interaction during a learning unit run. - ResultItem(String, String, String, String, Float, Long, Long) - Constructor for class com.eidu.integration.ResultItem
-
Creates a new ResultItem instance.
- resultType - Variable in class com.eidu.integration.RunLearningUnitResult
-
The reason why this run ended.
- RunLearningUnitRequest - Class in com.eidu.integration
-
A RunLearningUnitRequest is what the EIDU app uses to launch a learning unit from integrated learning apps.
- RunLearningUnitResult - Class in com.eidu.integration
-
This class represents the result of a learning unit run and should be used to deliver the result to the EIDU app.
- RunLearningUnitResult.ResultType - Enum in com.eidu.integration
-
An enum describing the reason why a learning unit run has ended.
S
- schoolId - Variable in class com.eidu.integration.RunLearningUnitRequest
-
The obfuscated ID of the school at which the learning unit is being played.
- score - Variable in class com.eidu.integration.ResultItem
-
Optional. A score between 0.0f and 1.0f that describes how the learner did in the challenge.
- score - Variable in class com.eidu.integration.RunLearningUnitResult
-
Optional. A score between 0.0f and 1.0f that describes how the learner did up to the point in time when the unit ended.
- stage - Variable in class com.eidu.integration.RunLearningUnitRequest
-
Identifies the stage of the EIDU app, e.g.
- Success - com.eidu.integration.RunLearningUnitResult.ResultType
T
- TimeoutInactivity - com.eidu.integration.RunLearningUnitResult.ResultType
- timeToFirstActionInMs - Variable in class com.eidu.integration.ResultItem
-
Optional. The time it took until the learner began responding to the challenge after being presented with it.
- TimeUp - com.eidu.integration.RunLearningUnitResult.ResultType
- toIntent() - Method in class com.eidu.integration.RunLearningUnitResult
-
Converts this instance of RunLearningUnitResult to an
Intent
which may then be passed toActivity.setResult(int, Intent)
in order to inform the EIDU app of the result of a learning unit run. - toIntent(String, String) - Method in class com.eidu.integration.RunLearningUnitRequest
-
Creates an explicit intent usable to launch a learning app.
- toJson() - Method in class com.eidu.integration.ResultItem
V
- valueOf(String) - Static method in enum com.eidu.integration.RunLearningUnitResult.ResultType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.eidu.integration.RunLearningUnitResult.ResultType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class com.eidu.integration.RunLearningUnitRequest
- version - Variable in class com.eidu.integration.RunLearningUnitResult
All Classes All Packages