Methods Summary |
---|
public byte[] | getPermissions()Gets list of permissions for this suite.
return permissions;
|
public byte | getPushInterruptSetting()Gets push setting for interrupting other MIDlets.
return pushInterruptSetting;
|
public int | getPushOptions()Gets push options for the suite from persistent store.
return pushOptions;
|
public int | getSuiteId()Gets the unique ID of the suite.
return suiteId;
|
public boolean | isEnabled()Determine if the a MIDlet from this suite can be run. Note that
disable suites can still have their settings changed and their
install info displayed.
return enabled;
|
native void | load()Gets the suite settings suite from persistent store.
|
void | save()Saves the suite settings to persistent store. Except the enabled
state.
try {
save0(suiteId, pushInterruptSetting, pushOptions, permissions);
} catch (IOException ioe) {
if (Logging.REPORT_LEVEL <= Logging.WARNING) {
Logging.report(Logging.WARNING, LogChannels.LC_AMS,
"SuiteSettings.save0() threw IOException");
}
}
|
private native void | save0(int suiteId, byte pushInterruptSetting, int pushOptions, byte[] permissions)Saves the suite settings to persistent store.
|
public void | setPermissions(byte[] newPermissions)Sets new permissions for the suite.
permissions = newPermissions;
|
public void | setPushInterruptSetting(byte newSetting)Sets new PushInterruptSetting for the suite.
pushInterruptSetting = newSetting;
|
public void | setPushOptions(int newOption)Sets new PushOptions for the suite.
pushOptions = newOption;
|