public enum

DeviceParametersProto.DevicePlatform

extends java.lang.Enum<DeviceParametersProto.DevicePlatform>

 java.lang.Object

↳java.lang.Enum<DeviceParametersProto.DevicePlatform>

↳androidx.wear.protolayout.proto.DeviceParametersProto.DevicePlatform

Overview

 The platform of the device requesting a layout.
 
Protobuf enum androidx.wear.protolayout.proto.DevicePlatform

Summary

Enum Constants
DEVICE_PLATFORM_UNDEFINED
 Device platform is undefined.
DEVICE_PLATFORM_WEAR_OS
 Device is a Wear OS device.
UNRECOGNIZED
Fields
public static final intDEVICE_PLATFORM_UNDEFINED_VALUE

 Device platform is undefined.

public static final intDEVICE_PLATFORM_WEAR_OS_VALUE

 Device is a Wear OS device.

Methods
public static DeviceParametersProto.DevicePlatformforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

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

public static DeviceParametersProto.DevicePlatformvalueOf(int value)

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

public static DeviceParametersProto.DevicePlatformvalues()

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

DEVICE_PLATFORM_UNDEFINED

 Device platform is undefined.
 
DEVICE_PLATFORM_UNDEFINED = 0;

DEVICE_PLATFORM_WEAR_OS

 Device is a Wear OS device.
 
DEVICE_PLATFORM_WEAR_OS = 1;

UNRECOGNIZED

Fields

public static final int DEVICE_PLATFORM_UNDEFINED_VALUE

 Device platform is undefined.
 
DEVICE_PLATFORM_UNDEFINED = 0;

public static final int DEVICE_PLATFORM_WEAR_OS_VALUE

 Device is a Wear OS device.
 
DEVICE_PLATFORM_WEAR_OS = 1;

Methods

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

public final int getNumber()

public static DeviceParametersProto.DevicePlatform valueOf(int value)

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

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static DeviceParametersProto.DevicePlatform forNumber(int value)

public static <any> internalGetValueMap()

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