Class: StatusMessage

StatusMessage

new StatusMessage(status, description) → {Object}

This class represents a status that will be passed into callback functions.

Parameters:
Name Type Description
status String

The value maybe WCAP.STATUS_INFO or WCAP.STATUS_ERROR.

description Object

Description of status.

Returns:

Public API's to get status message.

Type
Object

Methods

<static> getDescription() → {Object}

Get the description of the status.

Returns:

description of the status

Type
Object

<static> getStatus() → {String}

Get the status

Returns:

status of message

Type
String
The specifications, terminology, content and general parlance contained herein are proprietary to WORLDPAC and its affiliates, and are copyrighted. Trademarks include, but are not limited to, the words DIAL, WCAP, and WORLDPAC DIAL.
WORLDPAC Copyright © 2014