public enum

DeviceParametersProto.ScreenShape

extends java.lang.Enum<DeviceParametersProto.ScreenShape>

 java.lang.Object

↳java.lang.Enum<DeviceParametersProto.ScreenShape>

↳androidx.wear.protolayout.proto.DeviceParametersProto.ScreenShape

Overview

 The shape of a screen.
 
Protobuf enum androidx.wear.protolayout.proto.ScreenShape

Summary

Enum Constants
SCREEN_SHAPE_RECT
 Rectangular screens.
SCREEN_SHAPE_ROUND
 A round screen (typically found on most Wear devices).
SCREEN_SHAPE_UNDEFINED
 Screen shape is undefined.
UNRECOGNIZED
Fields
public static final intSCREEN_SHAPE_RECT_VALUE

 Rectangular screens.

public static final intSCREEN_SHAPE_ROUND_VALUE

 A round screen (typically found on most Wear devices).

public static final intSCREEN_SHAPE_UNDEFINED_VALUE

 Screen shape is undefined.

Methods
public static DeviceParametersProto.ScreenShapeforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()

public static DeviceParametersProto.ScreenShapevalueOf(int value)

public static DeviceParametersProto.ScreenShapevalueOf(java.lang.String name)

public static DeviceParametersProto.ScreenShapevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

SCREEN_SHAPE_UNDEFINED

 Screen shape is undefined.
 
SCREEN_SHAPE_UNDEFINED = 0;

SCREEN_SHAPE_ROUND

 A round screen (typically found on most Wear devices).
 
SCREEN_SHAPE_ROUND = 1;

SCREEN_SHAPE_RECT

 Rectangular screens.
 
SCREEN_SHAPE_RECT = 2;

UNRECOGNIZED

Fields

public static final int SCREEN_SHAPE_UNDEFINED_VALUE

 Screen shape is undefined.
 
SCREEN_SHAPE_UNDEFINED = 0;

public static final int SCREEN_SHAPE_ROUND_VALUE

 A round screen (typically found on most Wear devices).
 
SCREEN_SHAPE_ROUND = 1;

public static final int SCREEN_SHAPE_RECT_VALUE

 Rectangular screens.
 
SCREEN_SHAPE_RECT = 2;

Methods

public static DeviceParametersProto.ScreenShape values()

public static DeviceParametersProto.ScreenShape valueOf(java.lang.String name)

public final int getNumber()

public static DeviceParametersProto.ScreenShape valueOf(int value)

Deprecated: Use DeviceParametersProto.ScreenShape.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static DeviceParametersProto.ScreenShape forNumber(int value)

public static <any> internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()