Class: Toybox.Authentication.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 3.3.0

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var responseCode as Lang.Number

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 3.3.0

Returns:

Instance Method Details

initialize()

Constructor

Since:

API Level 3.3.0


Generated Sep 23, 2024, 3:32:48 PM