WatchFacePushManager.IsActiveException

public static class WatchFacePushManager.IsActiveException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.google.wear.services.watchfaces.watchfacepush.WatchFacePushManager.IsActiveException


Exception representing an error of the WatchFacePushManager.isWatchFaceActive method.

Summary

Fields

public static final int IS_ACTIVE_FORBIDDEN_ERROR

The caller is not allowed to query the given watch face.

public static final int IS_ACTIVE_UNKNOWN_ERROR

Unknown error while querying information about a watch face

Public constructors

IsActiveException(int errorCode)
IsActiveException(Throwable cause)

Public methods

int getErrorCode()

Inherited methods

Fields

IS_ACTIVE_FORBIDDEN_ERROR

Added in API level 36
public static final int IS_ACTIVE_FORBIDDEN_ERROR

The caller is not allowed to query the given watch face.

IS_ACTIVE_UNKNOWN_ERROR

Added in API level 36
public static final int IS_ACTIVE_UNKNOWN_ERROR

Unknown error while querying information about a watch face

Public constructors

IsActiveException

Added in API level 36
public IsActiveException (int errorCode)

Parameters
errorCode int: Value is one of the following:

IsActiveException

Added in API level 36
public IsActiveException (Throwable cause)

Parameters
cause Throwable

Public methods

getErrorCode

Added in API level 36
public int getErrorCode ()

Returns
int Value is one of the following: