Update VibrationEffect.Composition.compose documentation
Update wording around the compose() method to refer to composition elements, not only primitives. Change-Id: Idf5a339a5fb0ffd510e7fda0e3784916c8505eae Bug: 245491186 Test: N/A
This commit is contained in:
@@ -1077,13 +1077,13 @@ public abstract class VibrationEffect implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compose all of the added primitives together into a single {@link VibrationEffect}.
|
* Compose all of the added elements together into a single {@link VibrationEffect}.
|
||||||
*
|
*
|
||||||
* <p>The {@link Composition} object is still valid after this call, so you can continue
|
* <p>The {@link Composition} object is still valid after this call, so you can continue
|
||||||
* adding more primitives to it and generating more {@link VibrationEffect}s by calling this
|
* adding more elements to it and generating more {@link VibrationEffect}s by calling this
|
||||||
* method again.
|
* method again.
|
||||||
*
|
*
|
||||||
* @return The {@link VibrationEffect} resulting from the composition of the primitives.
|
* @return The {@link VibrationEffect} resulting from the composition of the elements.
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public VibrationEffect compose() {
|
public VibrationEffect compose() {
|
||||||
|
|||||||
Reference in New Issue
Block a user