public enum

ModifiersProto.SlideParentSnapOption

extends java.lang.Enum<ModifiersProto.SlideParentSnapOption>

 java.lang.Object

↳java.lang.Enum<ModifiersProto.SlideParentSnapOption>

↳androidx.wear.protolayout.proto.ModifiersProto.SlideParentSnapOption

Overview

 The snap options to use when sliding using parent boundaries.
 
Protobuf enum androidx.wear.protolayout.proto.SlideParentSnapOption

Summary

Enum Constants
SLIDE_PARENT_SNAP_TO_INSIDE
 The option that snaps insides of the element and its parent at start/end.
SLIDE_PARENT_SNAP_TO_OUTSIDE
 The option that snaps outsides of the element and its parent at start/end.
SLIDE_PARENT_SNAP_UNDEFINED
 The undefined snapping option.
UNRECOGNIZED
Fields
public static final intSLIDE_PARENT_SNAP_TO_INSIDE_VALUE

 The option that snaps insides of the element and its parent at start/end.

public static final intSLIDE_PARENT_SNAP_TO_OUTSIDE_VALUE

 The option that snaps outsides of the element and its parent at start/end.

public static final intSLIDE_PARENT_SNAP_UNDEFINED_VALUE

 The undefined snapping option.

Methods
public static ModifiersProto.SlideParentSnapOptionforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

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

public static ModifiersProto.SlideParentSnapOptionvalueOf(int value)

public static ModifiersProto.SlideParentSnapOptionvalueOf(java.lang.String name)

public static ModifiersProto.SlideParentSnapOptionvalues()

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

SLIDE_PARENT_SNAP_UNDEFINED

 The undefined snapping option.
 
SLIDE_PARENT_SNAP_UNDEFINED = 0;

SLIDE_PARENT_SNAP_TO_INSIDE

 The option that snaps insides of the element and its parent at start/end.
 
SLIDE_PARENT_SNAP_TO_INSIDE = 1;

SLIDE_PARENT_SNAP_TO_OUTSIDE

 The option that snaps outsides of the element and its parent at start/end.
 
SLIDE_PARENT_SNAP_TO_OUTSIDE = 2;

UNRECOGNIZED

Fields

public static final int SLIDE_PARENT_SNAP_UNDEFINED_VALUE

 The undefined snapping option.
 
SLIDE_PARENT_SNAP_UNDEFINED = 0;

public static final int SLIDE_PARENT_SNAP_TO_INSIDE_VALUE

 The option that snaps insides of the element and its parent at start/end.
 
SLIDE_PARENT_SNAP_TO_INSIDE = 1;

public static final int SLIDE_PARENT_SNAP_TO_OUTSIDE_VALUE

 The option that snaps outsides of the element and its parent at start/end.
 
SLIDE_PARENT_SNAP_TO_OUTSIDE = 2;

Methods

public static ModifiersProto.SlideParentSnapOption valueOf(java.lang.String name)

public final int getNumber()

public static ModifiersProto.SlideParentSnapOption valueOf(int value)

Deprecated: Use ModifiersProto.SlideParentSnapOption.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static ModifiersProto.SlideParentSnapOption forNumber(int value)

public static <any> internalGetValueMap()

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