Note

You are not reading the most recent version of this documentation.

Preferences

class Cocotec.CocoPlatform.Coco.Preferences

User-specific preferences.

Public Functions

Preferences (APIClient client)
Cocotec.CocoPlatform.OrganisationRemotePolicy OrganisationRemotePolicy ()
Cocotec.CocoPlatform.RemotePolicy RemotePolicy ()
void SetRemotePolicy (Cocotec.CocoPlatform.RemotePolicy remotePolicy)
string OrganisationRemoteServerUrl ()
string RemoteServerUrl ()
void SetRemoteServerUrl (string url)
void ResetToDefaults ()

Resets the options to their default values. This does not save the options.

string Save ()

Saves the current preferences, returning an error as a string if they cannot be.