管理中心
我的

CharacteristicConstant.DistanceValueInterval

java.lang.Object

|---java.lang.Enum

|---|---com.huawei.hihealth.CharacteristicConstant.DistanceValueInterval

收起
自动换行
深色代码主题
复制
  1. public static final class CharacteristicConstant.DistanceValueInterval
  2. extends java.lang.Enum
距离间隔模式候选值

Since:

2021-12-08

Field Summary

展开

Modifier and Type

Field and Description

static CharacteristicConstant.DistanceValueInterval

DISTANCE_SUM_1000 距离间隔1000米

static CharacteristicConstant.DistanceValueInterval

DISTANCE_SUM_2000 距离间隔2000米

static CharacteristicConstant.DistanceValueInterval

DISTANCE_SUM_500 距离间隔500米

static CharacteristicConstant.DistanceValueInterval

DISTANCE_SUM_5000 距离间隔5000米

Method Summary

展开

Modifier and Type

Method and Description

static boolean

containsValue(int value) 是否包含value

int

getValue() 获取枚举值

static CharacteristicConstant.DistanceValueInterval

valueOf(java.lang.String name)

static CharacteristicConstant.DistanceValueInterval[]

values()

展开

Methods inherited from class java.lang.Enum

compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

展开

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Field Detail

DISTANCE_SUM_500

public static final CharacteristicConstant.DistanceValueInterval DISTANCE_SUM_500

距离间隔500米

DISTANCE_SUM_1000

public static final CharacteristicConstant.DistanceValueInterval DISTANCE_SUM_1000

距离间隔1000米

DISTANCE_SUM_2000

public static final CharacteristicConstant.DistanceValueInterval DISTANCE_SUM_2000

距离间隔2000米

DISTANCE_SUM_5000

public static final CharacteristicConstant.DistanceValueInterval DISTANCE_SUM_5000

距离间隔5000米

Method Detail

values

public static CharacteristicConstant.DistanceValueInterval[] values()

valueOf

public static CharacteristicConstant.DistanceValueInterval valueOf(java.lang.String name)

containsValue

public static boolean containsValue(int value)

是否包含value

Parameters:

展开

Parameter Name

Parameter Description

value

数值

Returns:

是否包含

getValue

public int getValue()

获取枚举值

Returns:

枚举值