|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectADTS.ADTSWrapper
public class ADTSWrapper
Class that wraps Intel's SDK code to be accessible in the Java platform
Currently supports Windows O.S. only
Field Summary | |
---|---|
static int |
BKNO_AUTHORIZATION_EXPIRED
The application GUID has reached the expiration date |
static int |
BKNO_AUTHORIZED
Indicates that the GUID is authorized |
static int |
BKNO_ERR_DATA_TOO_BIG
|
static int |
BKNO_FAILURE
Express a general error of the library |
static int |
BKNO_INCOMPATIBLE_VERSION
The version of the Client Agent is uncompatible |
static int |
BKNO_INVALID_GUID
Indicates that the GUID for baKno validation is invalid |
static int |
BKNO_NO_APP_BEGIN_EVENT
The BeginEvent fucntion has not been called |
static int |
BKNO_NOT_AUTHORIZED
Indicates that the GUID is invalid |
static int |
BKNO_NOT_AVAILABLE
Indicates the Client Agent is not available |
static int |
BKNO_NOT_INITIALIZED
The Client Agent has not been initialized |
static int |
BKNO_SUCCESS
The process completed successfully |
static int |
BKNO_TIME_OUT
The connection with the Client Agent has timed out |
Constructor Summary | |
---|---|
ADTSWrapper()
|
Method Summary | |
---|---|
int |
BeginEvent()
Fucntion that begins the recording of the user time |
int |
CheckAuthorization()
Function that checks the application's current authorization status |
int |
Connect(java.lang.String param1,
java.lang.String param2,
java.lang.String param3,
java.lang.String param4,
java.lang.String baKnoID)
Funtion that connects the application to Intel's App Store The four parameters form the complete GUID provided by Intel when an application is submitted. |
void |
Disconnect()
Fucntion that disconnects the application |
int |
EndEvent()
Fucntion that ends the recording of the user time |
int |
Upgrade(java.lang.String param1,
java.lang.String param2,
java.lang.String param3,
java.lang.String param4)
Fucntion that upgrades the application |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BKNO_INVALID_GUID
public static final int BKNO_FAILURE
public static final int BKNO_SUCCESS
public static final int BKNO_NOT_INITIALIZED
public static final int BKNO_NOT_AVAILABLE
public static final int BKNO_INCOMPATIBLE_VERSION
public static final int BKNO_ERR_DATA_TOO_BIG
public static final int BKNO_AUTHORIZED
public static final int BKNO_NOT_AUTHORIZED
public static final int BKNO_AUTHORIZATION_EXPIRED
public static final int BKNO_NO_APP_BEGIN_EVENT
public static final int BKNO_TIME_OUT
Constructor Detail |
---|
public ADTSWrapper()
Method Detail |
---|
public int Connect(java.lang.String param1, java.lang.String param2, java.lang.String param3, java.lang.String param4, java.lang.String baKnoID)
Funtion that connects the application to Intel's App Store
The four parameters form the complete GUID provided by Intel when an application is submitted. They must be provided in Hexadecimal value of size 8 exactly (i.e.:0x12345678).
For example, if Intel's GUID is 12341234-2345-3456-4567-567890123456
. Then the parameters are 0x12341234, 0x23453456, 0x45675678
and 0x90123456
For development purposes, the four parameters in Debug mode are
0x11111111
baKnoID
is a GUID provided by baKno to customers and a
debug ID is also provided: 11111111-1111-1111-1111-111111111111
param1
- param2
- param3
- param4
- baKnoID
-
public int CheckAuthorization()
public int BeginEvent()
public int EndEvent()
public void Disconnect()
public int Upgrade(java.lang.String param1, java.lang.String param2, java.lang.String param3, java.lang.String param4)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |