WatchFacePushManager.RemoveException

public static class WatchFacePushManager.RemoveException
extends RuntimeException

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


Exception representing an error of the WatchFacePushManager.removeWatchFace method.

Summary

Fields

public static final int REMOVE_INVALID_SLOT_ID_ERROR

The watch face slot ID is invalid.

public static final int REMOVE_UNKNOWN_ERROR

Unknown error while removing a watch face.

Public constructors

RemoveException(int errorCode)
RemoveException(Throwable cause)

Public methods

int getErrorCode()

Inherited methods

Fields

REMOVE_INVALID_SLOT_ID_ERROR

Added in API level 36
public static final int REMOVE_INVALID_SLOT_ID_ERROR

The watch face slot ID is invalid.

REMOVE_UNKNOWN_ERROR

Added in API level 36
public static final int REMOVE_UNKNOWN_ERROR

Unknown error while removing a watch face.

Public constructors

RemoveException

Added in API level 36
public RemoveException (int errorCode)

Parameters
errorCode int: Value is one of the following:

RemoveException

Added in API level 36
public RemoveException (Throwable cause)

Parameters
cause Throwable

Public methods

getErrorCode

Added in API level 36
public int getErrorCode ()

Returns
int Value is one of the following: