프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AsyncPostTimerElapsed | void | ||
DetermineVersioning | TCAPIVersion | ||
FlushAsync | void | ||
GetWebHeaders | |||
PostConnectionFailed | void | ||
PostFailed | void | ||
PostSuccess | void | ||
StoreStatements | void |
메소드 | 설명 | |
---|---|---|
DeleteActivityProfile ( string activityId, string profileId ) : void |
Deletes the profile for a given activity
|
|
DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : void |
Deletes the activity state
|
|
DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : void |
Deletes the activity state
|
|
DeleteActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : void |
Deletes an actor profile
|
|
DeleteAllActivityProfile ( string activityId ) : void |
Deletes all of the profiles associated with the activity
|
|
DeleteAllActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : void |
Deletes all the actor profiles for a given actor
|
|
Dispose ( ) : void |
Disposes the resources held by the TCAPI
|
|
Flush ( ) : void |
Synchronously flushes the async queue, emptying the buffer completely. Any failed statements get pushed back into the buffer by default (and then throw their exception).
|
|
GetActivity ( string activityId ) : |
Gets an Activity
|
|
GetActivityProfile ( string activityId, string profileId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile |
Retrieves the ActivityProfile
|
|
GetActivityProfileIds ( string activityId ) : string[] |
Gets all of the profile document keys for an activity
|
|
GetActivityProfileIds ( string activityId, NullableDateTime since ) : string[] |
Gets all of the profile document keys for an activity
|
|
GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState |
Retrieves a specific activity state
|
|
GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState |
Retrieves a specific activity state
|
|
GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[] |
Gets all the activity states for an activity
|
|
GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[] |
Gets all the activity states for an activity
|
|
GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string registrationId, NullableDateTime since ) : string[] |
Gets all the activity states for an activity
|
|
GetActor ( RusticiSoftware.TinCanAPILibrary.Model.Actor partialActor ) : RusticiSoftware.TinCanAPILibrary.Model.Actor |
Retreives a complete actor given a partial actor
|
|
GetActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : |
Retrieves an Actor profile
|
|
GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[] |
Retrieves a list of all actor profile document keys
|
|
GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[] |
Retrieves a list of all actor profile document keys
|
|
GetOAuthAuthorizationUrl ( string redirectUrl ) : string | ||
GetStatement ( string statementId ) : RusticiSoftware.TinCanAPILibrary.Model.Statement |
Retreives a statement with a given ID
|
|
GetStatements ( |
Retreives all statements based matched by the query
|
|
GetStatements ( string moreUrl ) : |
Retreives the statements from a continue URL
|
|
SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile ) : void |
Saves the activity profile
|
|
SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void |
Saves the activity profile
|
|
SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite ) : void |
Saves the activity profile
|
|
SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void |
Saves the activity profile
|
|
SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState ) : void |
Saves the activity state
|
|
SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void |
Saves the activity state
|
|
SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite ) : void |
Saves the activity state
|
|
SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void |
Saves the activity state
|
|
SaveActorProfile ( |
Saves an actor profile
|
|
SaveActorProfile ( |
Saves an actor profile
|
|
StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement ) : void |
Stores a single statement
|
|
StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement, bool synchronous ) : void |
Stores a single statement asynchronously
|
|
StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void |
Stores multiple statements
|
|
StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, bool synchronous ) : void |
Stores multiple statements asynchronously
|
|
TCAPI ( |
Constructs a TCAPI object with no asynchronous support.
|
|
TCAPI ( |
Construct a TCAPI object with asynchronous support with a default post interval of 500ms and a default maxBatchSize of 10.
|
|
TCAPI ( |
Construct a TCAPI object with asynchronous support and a default maxBatchSize of 10.
|
|
TCAPI ( |
Construct a TCAPI object with asynchronous support.
|
|
TCAPI ( |
||
TCAPI ( |
Constructs a TCAPI Object, forcibly setting the version. Forcing the version is not recommended and should only be used if an issue with the LRS |
|
UpdateOAuthTokenCredentials ( string temporaryCredentialsId, string verifierCode ) : RusticiSoftware.TinCanAPILibrary.Model.OAuthAuthentication | ||
VoidStatements ( string statementIdsToVoid ) : void |
Voids a series of statements using the administrator actor
|
|
VoidStatements ( string statementIdsToVoid, bool synchronous ) : void |
Voids a series of statements using the administrator actor
|
메소드 | 설명 | |
---|---|---|
AsyncPostTimerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
DetermineVersioning ( |
This method determines which version of the X-EXPERIENCE-API is being used by requesting a single statement and reading the versioning header. This allows proper serialization when communicating with the server.
|
|
FlushAsync ( ) : void |
Runs multiple HTTPPostRequests serially and asynchronously.
|
|
GetWebHeaders ( |
||
PostConnectionFailed ( |
||
PostFailed ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, |
||
PostSuccess ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void |
This method is fired by the AsyncPostCallback every time FlushAsync succeeds.
|
|
StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, AsyncPostCallback callback ) : void |
Stores statements synchronously, must be called from a separate thread
|
public DeleteActivityProfile ( string activityId, string profileId ) : void | ||
activityId | string | The activity ID |
profileId | string | The profile document key |
리턴 | void |
public DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : void | ||
activityId | string | The activity ID |
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The associated actor |
stateId | string | The state document key |
리턴 | void |
public DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : void | ||
activityId | string | The activity ID |
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The associated actor |
stateId | string | The state document key |
registrationId | string | Optional registration ID |
리턴 | void |
public DeleteActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : void | ||
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor that owns the profile |
profileId | string | The profile document key |
리턴 | void |
public DeleteAllActivityProfile ( string activityId ) : void | ||
activityId | string | The activity ID |
리턴 | void |
public DeleteAllActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : void | ||
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor to delete profiles from |
리턴 | void |
public GetActivity ( string activityId ) : |
||
activityId | string | The activity ID |
리턴 |
public GetActivityProfile ( string activityId, string profileId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile | ||
activityId | string | The activity ID |
profileId | string | The profile document key |
리턴 | RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile |
public GetActivityProfileIds ( string activityId ) : string[] | ||
activityId | string | The activity ID |
리턴 | string[] |
public GetActivityProfileIds ( string activityId, NullableDateTime since ) : string[] | ||
activityId | string | The activity ID |
since | NullableDateTime | Optional start date parameter |
리턴 | string[] |
public GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState | ||
activityId | string | The activity ID |
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor associated with the state |
stateId | string | The state document id |
리턴 | RusticiSoftware.TinCanAPILibrary.Model.ActivityState |
public GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState | ||
activityId | string | The activity ID |
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor associated with the state |
stateId | string | The state document id |
registrationId | string | Optional registration ID |
리턴 | RusticiSoftware.TinCanAPILibrary.Model.ActivityState |
public GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[] | ||
activityId | string | The activity ID |
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor |
리턴 | string[] |
public GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[] | ||
activityId | string | The activity ID |
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor |
since | NullableDateTime | Exclusive start date |
리턴 | string[] |
public GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string registrationId, NullableDateTime since ) : string[] | ||
activityId | string | The activity ID |
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor |
registrationId | string | The registration ID |
since | NullableDateTime | Exclusive start date |
리턴 | string[] |
public GetActor ( RusticiSoftware.TinCanAPILibrary.Model.Actor partialActor ) : RusticiSoftware.TinCanAPILibrary.Model.Actor | ||
partialActor | RusticiSoftware.TinCanAPILibrary.Model.Actor | An actor containing at least one inverse functional property |
리턴 | RusticiSoftware.TinCanAPILibrary.Model.Actor |
public GetActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : |
||
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor that owns the profile |
profileId | string | The profile document key |
리턴 |
public GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[] | ||
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor that owns the document keys |
리턴 | string[] |
public GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[] | ||
actor | RusticiSoftware.TinCanAPILibrary.Model.Actor | The actor that owns the document keys |
since | NullableDateTime | Optional start date |
리턴 | string[] |
public GetOAuthAuthorizationUrl ( string redirectUrl ) : string | ||
redirectUrl | string | |
리턴 | string |
public GetStatement ( string statementId ) : RusticiSoftware.TinCanAPILibrary.Model.Statement | ||
statementId | string | Statement to retreive |
리턴 | RusticiSoftware.TinCanAPILibrary.Model.Statement |
public GetStatements ( |
||
queryObject | Object to create a statement query with | |
리턴 |
public GetStatements ( string moreUrl ) : |
||
moreUrl | string | |
리턴 |
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile ) : void | ||
profile | RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile | The activity profile to save |
리턴 | void |
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void | ||
profile | RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile | The activity profile to save |
previous | RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile | The last representation of the activity profile |
리턴 | void |
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite ) : void | ||
profile | RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile | The activity profile to save |
overwrite | bool | |
리턴 | void |
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void | ||
profile | RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile | The activity profile to save |
overwrite | bool | Optional parameter to force overwrite |
previous | RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile | The last representation of the activity profile |
리턴 | void |
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState ) : void | ||
activityState | RusticiSoftware.TinCanAPILibrary.Model.ActivityState | The activity state to save |
리턴 | void |
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void | ||
activityState | RusticiSoftware.TinCanAPILibrary.Model.ActivityState | The activity state to save |
previousState | RusticiSoftware.TinCanAPILibrary.Model.ActivityState | Optional parameter for the last known state of the activity |
리턴 | void |
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite ) : void | ||
activityState | RusticiSoftware.TinCanAPILibrary.Model.ActivityState | The activity state to save |
overwrite | bool | Optional parameter to force overwrite |
리턴 | void |
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void | ||
activityState | RusticiSoftware.TinCanAPILibrary.Model.ActivityState | The activity state to save |
overwrite | bool | Optional parameter to force overwrite |
previousState | RusticiSoftware.TinCanAPILibrary.Model.ActivityState | Optional parameter for the last known state of the activity |
리턴 | void |
public SaveActorProfile ( |
||
actorProfile | The actor profile instance | |
previousProfile | The last instance of the actor profile | |
리턴 | void |
public SaveActorProfile ( |
||
actorProfile | The actor profile instance | |
previousProfile | The last instance of the actor profile | |
overwrite | bool | Flag to force overwrite of the previous profile |
리턴 | void |
public StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement ) : void | ||
statement | RusticiSoftware.TinCanAPILibrary.Model.Statement | The statement to store |
리턴 | void |
public StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement, bool synchronous ) : void | ||
statement | RusticiSoftware.TinCanAPILibrary.Model.Statement | The statement to store |
synchronous | bool | |
리턴 | void |
public StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void | ||
statements | RusticiSoftware.TinCanAPILibrary.Model.Statement | An array of statements to store |
리턴 | void |
public StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, bool synchronous ) : void | ||
statements | RusticiSoftware.TinCanAPILibrary.Model.Statement | An array of statements to store |
synchronous | bool | When true, stores statements synchronously. When false, adds the statements to the queue. |
리턴 | void |
public TCAPI ( |
||
endpoint | The endpoint for the TCAPI | |
authentification | IAuthenticationConfiguration | The authentification object |
리턴 | System |
public TCAPI ( |
||
endpoint | The LRS endpoint | |
authentification | IAuthenticationConfiguration | Authentification object |
tcapiCallback | ITCAPICallback | Asynchornous callback object |
offlineStorage | IOfflineStorage | Offline Storage object |
리턴 | System |
public TCAPI ( |
||
endpoint | The LRS endpoint | |
authentification | IAuthenticationConfiguration | Authentification object |
tcapiCallback | ITCAPICallback | Asynchornous callback object |
offlineStorage | IOfflineStorage | Offline Storage object |
statementPostInterval | int | Interval for asynchronous operations to take place, in seconds |
리턴 | System |
public TCAPI ( |
||
endpoint | The LRS endpoint | |
authentification | IAuthenticationConfiguration | Authentification object |
tcapiCallback | ITCAPICallback | Asynchornous callback object |
offlineStorage | IOfflineStorage | Offline Storage object |
statementPostInterval | int | Interval for asynchronous operations to take place, in milliseconds |
maxBatchSize | int | |
리턴 | System |
public TCAPI ( |
||
endpoint | ||
authentification | IAuthenticationConfiguration | |
tcapiCallback | ITCAPICallback | |
offlineStorage | IOfflineStorage | |
statementPostInterval | int | |
maxBatchSize | int | |
version | TCAPIVersion | |
리턴 | System |
public TCAPI ( |
||
endpoint | ||
authentification | IAuthenticationConfiguration | |
version | TCAPIVersion | |
리턴 | System |
public UpdateOAuthTokenCredentials ( string temporaryCredentialsId, string verifierCode ) : RusticiSoftware.TinCanAPILibrary.Model.OAuthAuthentication | ||
temporaryCredentialsId | string | |
verifierCode | string | |
리턴 | RusticiSoftware.TinCanAPILibrary.Model.OAuthAuthentication |
public VoidStatements ( string statementIdsToVoid ) : void | ||
statementIdsToVoid | string | A list of statement IDs |
리턴 | void |
public VoidStatements ( string statementIdsToVoid, bool synchronous ) : void | ||
statementIdsToVoid | string | A list of statement IDs |
synchronous | bool | |
리턴 | void |