public interface

ModifiersProto.ClickableOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.ClickableOrBuilder

Subclasses:

ModifiersProto.Clickable, ModifiersProto.Clickable.Builder

Summary

Methods
public java.lang.StringgetId()

 The ID associated with this action.

public com.google.protobuf.ByteStringgetIdBytes()

 The ID associated with this action.

public DimensionProto.DpPropgetMinimumClickableHeight()

 The minimum height of the clickable area.

public DimensionProto.DpPropgetMinimumClickableWidth()

 The minimum width of the clickable area.

public ActionProto.ActiongetOnClick()

 The action to perform when the element this modifier is attached to is
 clicked.

public ModifiersProto.Clickable.OptionalVisualFeedbackEnabledCasegetOptionalVisualFeedbackEnabledCase()

public booleangetVisualFeedbackEnabled()

 Whether the click visual feedback (such as a ripple) should be enabled.

public booleanhasMinimumClickableHeight()

 The minimum height of the clickable area.

public booleanhasMinimumClickableWidth()

 The minimum width of the clickable area.

public booleanhasOnClick()

 The action to perform when the element this modifier is attached to is
 clicked.

public booleanhasVisualFeedbackEnabled()

 Whether the click visual feedback (such as a ripple) should be enabled.

Methods

public java.lang.String getId()

 The ID associated with this action.
 
string id = 1;

Returns:

The id.

public com.google.protobuf.ByteString getIdBytes()

 The ID associated with this action.
 
string id = 1;

Returns:

The bytes for id.

public boolean hasOnClick()

 The action to perform when the element this modifier is attached to is
 clicked.
 
.androidx.wear.protolayout.proto.Action on_click = 2;

Returns:

Whether the onClick field is set.

public ActionProto.Action getOnClick()

 The action to perform when the element this modifier is attached to is
 clicked.
 
.androidx.wear.protolayout.proto.Action on_click = 2;

Returns:

The onClick.

public boolean hasMinimumClickableWidth()

 The minimum width of the clickable area.

 The default value is 48dp, following the Material design accessibility
 guideline. Note that this value does not affect the layout, so the minimum
 clickable width is not guaranteed unless there is enough space around the
 element within its parent bounds.
 
.androidx.wear.protolayout.proto.DpProp minimum_clickable_width = 3;

Returns:

Whether the minimumClickableWidth field is set.

public DimensionProto.DpProp getMinimumClickableWidth()

 The minimum width of the clickable area.

 The default value is 48dp, following the Material design accessibility
 guideline. Note that this value does not affect the layout, so the minimum
 clickable width is not guaranteed unless there is enough space around the
 element within its parent bounds.
 
.androidx.wear.protolayout.proto.DpProp minimum_clickable_width = 3;

Returns:

The minimumClickableWidth.

public boolean hasMinimumClickableHeight()

 The minimum height of the clickable area.

 The default value is 48dp, following the Material design accessibility
 guideline. Note that this value does not affect the layout, so the minimum
 clickable height is not guaranteed unless there is enough space around the
 element within its parent bounds.
 
.androidx.wear.protolayout.proto.DpProp minimum_clickable_height = 4;

Returns:

Whether the minimumClickableHeight field is set.

public DimensionProto.DpProp getMinimumClickableHeight()

 The minimum height of the clickable area.

 The default value is 48dp, following the Material design accessibility
 guideline. Note that this value does not affect the layout, so the minimum
 clickable height is not guaranteed unless there is enough space around the
 element within its parent bounds.
 
.androidx.wear.protolayout.proto.DpProp minimum_clickable_height = 4;

Returns:

The minimumClickableHeight.

public boolean hasVisualFeedbackEnabled()

 Whether the click visual feedback (such as a ripple) should be enabled.
 Defaults to true.
 
bool visual_feedback_enabled = 5;

Returns:

Whether the visualFeedbackEnabled field is set.

public boolean getVisualFeedbackEnabled()

 Whether the click visual feedback (such as a ripple) should be enabled.
 Defaults to true.
 
bool visual_feedback_enabled = 5;

Returns:

The visualFeedbackEnabled.

public ModifiersProto.Clickable.OptionalVisualFeedbackEnabledCase getOptionalVisualFeedbackEnabledCase()