WatchFacePushManager.SetWatchFaceAsActiveException


public final class WatchFacePushManager.SetWatchFaceAsActiveException extends Exception

An exception that can be thrown by setWatchFaceAsActive

Summary

Public constructors

Public methods

final int
String

The specific subtype of error occurred.

Public constructors

SetWatchFaceAsActiveException

Added in 1.3.0-alpha07
public SetWatchFaceAsActiveException(int errorCode)

SetWatchFaceAsActiveException

public SetWatchFaceAsActiveException( rootCause)

Public methods

getErrorCode

Added in 1.3.0-alpha07
public final int getErrorCode()

getMessage

public String getMessage()

The specific subtype of error occurred. See ErrorCode for the possible values.