|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jSyncManager.API.Protocol.Util.DLPAppPreference
A class to hold a handheld application preference. This class stores application preference data.
| Field Summary | |
static char |
READ_ACTUAL_SIZE
Used when specifying the number of bytes to return when requesting an app preference, this value will return all the bytes in the application preference. |
static byte |
REQUEST_BACKUP_PREF
A flag to request a backup preference. |
| Constructor Summary | |
DLPAppPreference()
Create a new, empty application preference object. |
|
DLPAppPreference(byte[] data)
Create an application preference object from the provided byte representation. |
|
| Method Summary | |
char |
getActualSize()
Return the actual reported size of the app preference. |
byte[] |
getPreference()
Get the application preference as a byte array. |
char |
getVersion()
Get the version of the app preference. |
void |
setActualSize(char newValue)
Set the actual size of the app preference. |
void |
setPreference(byte[] newValue)
Set the preference data. |
void |
setVersion(char newValue)
Set the version for this application preference. |
java.lang.String |
toString()
Convert the application preference to human-readable text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final char READ_ACTUAL_SIZE
public static final byte REQUEST_BACKUP_PREF
| Constructor Detail |
public DLPAppPreference()
public DLPAppPreference(byte[] data)
throws DLPFunctionCallException
data - the byte representation of an app preference, as read from the handheld.
DLPFunctionCallException - thrown in the event of any errors with the preference data.| Method Detail |
public char getActualSize()
public byte[] getPreference()
public char getVersion()
public void setActualSize(char newValue)
newValue - the actual size of the app preference.public void setPreference(byte[] newValue)
newValue - the new preference data.public void setVersion(char newValue)
newValue - the version for this application preference.public java.lang.String toString()
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||