CombinedVibration.ParallelCombination.AddVibrator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add or replace a one shot vibration effect to be performed by the specified vibrator.
[Android.Runtime.Register("addVibrator", "(ILandroid/os/VibrationEffect;)Landroid/os/CombinedVibration$ParallelCombination;", "", ApiSince=31)]
public Android.OS.CombinedVibration.ParallelCombination AddVibrator(int vibratorId, Android.OS.VibrationEffect effect);
[<Android.Runtime.Register("addVibrator", "(ILandroid/os/VibrationEffect;)Landroid/os/CombinedVibration$ParallelCombination;", "", ApiSince=31)>]
member this.AddVibrator : int * Android.OS.VibrationEffect -> Android.OS.CombinedVibration.ParallelCombination
Parameters
- vibratorId
- Int32
The id of the vibrator that should perform this effect.
- effect
- VibrationEffect
The effect this vibrator should play. This value cannot be null.
Returns
The ParallelCombination object to enable adding multiple effects in one chain. This value cannot be null.
- Attributes
Remarks
Add or replace a one shot vibration effect to be performed by the specified vibrator.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.