Class: Toybox.Communications.OAuthMessage

Overview

An OAuthMessage received by the callback registered in registerForOAuthMessages().

Unlike the data in the Message parent class, data in an OAuthMessage should always be a Dictionary.

Since:

API Level 1.3.0

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var responseCode as Number or Null

An HTTP response code (positive value) or BLE error code (negative value).

Note:

The value in this field is unreliable and should not be referenced. It is generally safer to examine the message payload to check the status of the response.

Since:

API Level 1.3.0

Returns:

Instance Method Details

initialize()

Constructor

Since:

API Level 1.3.0


Generated Apr 22, 2021 10:10:32 AM