public final class

LayoutElementProto.ArcAdapter.Builder

extends <any>

implements LayoutElementProto.ArcAdapterOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.ArcAdapter.Builder

Overview

 A container that allows a standard LayoutElement to be added to an Arc.
 
Protobuf type androidx.wear.protolayout.proto.ArcAdapter

Summary

Methods
public LayoutElementProto.ArcAdapter.BuilderclearContent()

 The element to adapt to an Arc.

public LayoutElementProto.ArcAdapter.BuilderclearRotateContents()

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

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.

public LayoutElementProto.ArcAdapter.BuildermergeContent(LayoutElementProto.LayoutElement value)

 The element to adapt to an Arc.

public LayoutElementProto.ArcAdapter.BuildermergeRotateContents(TypesProto.BoolProp value)

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

public LayoutElementProto.ArcAdapter.BuildersetContent(LayoutElementProto.LayoutElement.Builder builderForValue)

 The element to adapt to an Arc.

public LayoutElementProto.ArcAdapter.BuildersetContent(LayoutElementProto.LayoutElement value)

 The element to adapt to an Arc.

public LayoutElementProto.ArcAdapter.BuildersetRotateContents(TypesProto.BoolProp.Builder builderForValue)

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

public LayoutElementProto.ArcAdapter.BuildersetRotateContents(TypesProto.BoolProp value)

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasContent()

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

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

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

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

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

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

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;

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;

 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;

public LayoutElementProto.ArcAdapter.Builder setRotateContents(TypesProto.BoolProp.Builder builderForValue)

 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;

 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;

public LayoutElementProto.ArcAdapter.Builder clearRotateContents()

 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;