Oracle Database Mobile Server .Net Sync API  12.1.0.0.0
Mobile Sync Client .NET API specification
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Static Public Member Functions | Public Attributes | List of all members
Oracle.OpenSync.SyncAgent.BGAgentStatus Class Reference

Static Public Member Functions

static string GetStatusName (BGStatusCode statusCode)
 

Public Attributes

readonly BGStatusCode StatusCode
 
readonly string AppName
 
readonly int ProcessId
 
readonly string ClientId
 
readonly string NetworkName
 
readonly int NetworkSpeed
 
readonly int BatteryPower
 

Detailed Description

Represents current status of sync agent.

See Also
BGSession.GetAgentStatus()

Member Function Documentation

static string Oracle.OpenSync.SyncAgent.BGAgentStatus.GetStatusName ( BGStatusCode  statusCode)
static

Get language-specific name of a given status code

Parameters
statusCodestatus code
Returns
the name such as "Stopped", "Running", etc. transated depending on the device language settings

Member Data Documentation

readonly string Oracle.OpenSync.SyncAgent.BGAgentStatus.AppName

Application or process name within which sync agent is running. It is usually "syncagent" unless sync agent was started with BGSession.StartInternal() in which case it runs within application process

readonly int Oracle.OpenSync.SyncAgent.BGAgentStatus.BatteryPower

Remaining battery life in %, if relevant.

readonly string Oracle.OpenSync.SyncAgent.BGAgentStatus.ClientId

Sync user name for whom sync agent is running.

readonly string Oracle.OpenSync.SyncAgent.BGAgentStatus.NetworkName

Name of the network currently used for sync, evaluated by sync agent.

readonly int Oracle.OpenSync.SyncAgent.BGAgentStatus.NetworkSpeed

Network bandwidth, in bits per second.

readonly int Oracle.OpenSync.SyncAgent.BGAgentStatus.ProcessId

Process id of a process within which sync agent is running.

See Also
AppName
readonly BGStatusCode Oracle.OpenSync.SyncAgent.BGAgentStatus.StatusCode

Sync Agent status code