Class: CShareResult

codemelted.CShareResult(ex)

The result of the codemelted_runtime.share function call.

Constructor

new CShareResult(ex)

Constructor for the class.
Parameters:
Name Type Description
ex any The exception if one occurred or undefined if the share was successful.
Source:

Members

(static, readonly) abort :number

The user canceled the share operation or there are no share targets available.
Type:
  • number
Source:

(static, readonly) dataIssue :number

There was a problem starting the share target or transmitting the data. The specified share data cannot be validated.
Type:
  • number
Source:

(static, readonly) invalidState :number

The document is not fully active, or other sharing operations are in progress.
Type:
  • number
Source:

(static, readonly) notAllowed :number

The user canceled the share operation or there are no share targets available.
Type:
  • number
Source:

(static, readonly) success :number

The share was successful.
Type:
  • number
Source:

(static, readonly) unknown :number

Unknown error encountered.
Type:
  • number
Source:

(readonly) message :string

Provides the message associated with any status code that is not 0.
Type:
  • string
Source:

(readonly) status :number

Provides the status of the transaction. The codes are constants on this object.
Type:
  • number
Source: