Class ShadowVibrator.PrimitiveEffect

java.lang.Object
org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
Enclosing class:
ShadowVibrator

public static class ShadowVibrator.PrimitiveEffect extends Object
A data class for exposing VibrationEffect.Composition$PrimitiveEffect, which is a hidden non TestApi class introduced in Android R.
  • Field Details

    • id

      public final int id
    • scale

      public final float scale
    • delay

      public final int delay
  • Constructor Details

    • PrimitiveEffect

      public PrimitiveEffect(int id, float scale, int delay)
  • Method Details