PlatformInternalException

class PlatformInternalException @JvmOverloads constructor(errorCode: Int?, errorMessage: String, cause: Throwable? = null) : HealthDataException

An exception to indicate that the Samsung Health platform experienced an internal error that cannot be resolved by the app.

This error occurs because of an internal reason of the platform, so the app may ignore it at runtime or notify the user of the malfunction of the platform. Error codes and messages are helpful to the platform developers.

The following error codes are defined and can be helpful to platform developers if the error is reported:

Since

1.0.0

Parameters

errorCode

The code for this error.

errorMessage

The message for this error.

Constructors

Link copied to clipboard
constructor(errorCode: Int?, errorMessage: String, cause: Throwable? = null)

A constructor.

Preferences Submitted

You have successfully updated your cookie preferences.