Describing Sailfish Framework Methods

Main methods used in the Sailfish framework.

Authentication Methods

Authenticate the user by login and password

User authentication with password change

Methods for Working with Certificates and Digital Signature

Get certificates list

Sign cell

Server Accessibility Check Method

Mobile platform server accessibility check

Framework Setup Methods

Set server URL

Get server URL

Set API version

Set application name

Methods of Working with Database

Connect to database

Change database encryption key

Execute request in opened database

Get resource tables list

Delete saved resource data

Disconnect database

Resource Request Methods

Get all resources list

Synchronous request to get resource data with scalar parameters

Asynchronous request to get resource data with scalar parameters

Synchronous request to get resource data with table parameters

Asynchronous request to get resource data with table parameters

Synchronous request to get resource data with table or scalar parameters

Asynchronous request to get resource data with table or scalar parameters

Resuming Resource Downloading

Set path to download resumption file (setFilePath)

Enable and disable resuming resource downloading (useDownload)

Methods of Working with Environments and Projects

Set environment name

Set project name

Set device identifier

Get environment name

Get project name

Get device identifier

Methods of Working with Files

Load file to server

Get file

Get information about file at server

Get directory contents

Delete file at server

Method for Working with Transactions

Get data about completed transaction

Get completed transactions list with table resource

Delete transaction at server

To initialize and set up the Sailfish framework, see the Initializing and Setting Up Sailfish Framework section.

See also:

Sailfish Framework | Initializing and Setting Up Sailfish Framework | Auxiliary Classes