public interface

LayoutElementProto.ArcAdapterOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.ArcAdapterOrBuilder

Subclasses:

LayoutElementProto.ArcAdapter, LayoutElementProto.ArcAdapter.Builder

Summary

Methods
public LayoutElementProto.LayoutElementgetContent()

 The element to adapt to an Arc.

public TypesProto.BoolPropgetRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not.

public booleanhasContent()

 The element to adapt to an Arc.

public booleanhasRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not.

Methods

public boolean hasContent()

 The element to adapt to an Arc.
 
.androidx.wear.protolayout.proto.LayoutElement content = 1;

Returns:

Whether the content field is set.

 The element to adapt to an Arc.
 
.androidx.wear.protolayout.proto.LayoutElement content = 1;

Returns:

The content.

public boolean hasRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not. As an example, assume that an Image has been
 added to the arc, and ends up at the 3 o clock position. If rotate_contents
 = true, the image will be placed at the 3 o clock position, and will be
 rotated clockwise through 90 degrees. If rotate_contents = false, the image
 will be placed at the 3 o clock position, but itself will not be rotated.
 If not defined, defaults to false.
 
.androidx.wear.protolayout.proto.BoolProp rotate_contents = 2;

Returns:

Whether the rotateContents field is set.

public TypesProto.BoolProp getRotateContents()

 Whether this adapter's contents should be rotated, according to its
 position in the arc or not. As an example, assume that an Image has been
 added to the arc, and ends up at the 3 o clock position. If rotate_contents
 = true, the image will be placed at the 3 o clock position, and will be
 rotated clockwise through 90 degrees. If rotate_contents = false, the image
 will be placed at the 3 o clock position, but itself will not be rotated.
 If not defined, defaults to false.
 
.androidx.wear.protolayout.proto.BoolProp rotate_contents = 2;

Returns:

The rotateContents.