Added in API level 36

ListWatchFaceSlotsResponse

public class ListWatchFaceSlotsResponse
extends Object

java.lang.Object
   ↳ com.google.wear.services.watchfaces.watchfacepush.ListWatchFaceSlotsResponse


Represents the response of the WatchFacePushManager.listWatchFaceSlots method.

This class contains a list of installed watch face slots and the number of available slots. When the available slot count is 0, no more WatchFacePushManager.addWatchFace calls are allowed.

Summary

Public methods

boolean equals(Object o)

int getAvailableSlotCount()

The number of available watch face slots.

List<WatchFaceSlot> getInstalledWatchFaceSlots()

The list of installed watch face slots.

int hashCode()

Inherited methods

Public methods

equals

Added in API level 36
public boolean equals (Object o)

Parameters
o Object

Returns
boolean

getAvailableSlotCount

Added in API level 36
public int getAvailableSlotCount ()

The number of available watch face slots. If this is 0, no calls to WatchFacePushManager.addWatchFace are allowed.

Returns
int

getInstalledWatchFaceSlots

Added in API level 36
public List<WatchFaceSlot> getInstalledWatchFaceSlots ()

The list of installed watch face slots.

Returns
List<WatchFaceSlot>

hashCode

Added in API level 36
public int hashCode ()

Returns
int