VibrationEffectInflater.Inflate(Int32) 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.
Inflates a VibrationEffect from an Android XML resource containing a
vibration pattern (e.
[Android.Runtime.Register("inflate", "(I)Landroid/os/VibrationEffect;", "", ApiSince=37)]
public Android.OS.VibrationEffect Inflate(int resId);
[<Android.Runtime.Register("inflate", "(I)Landroid/os/VibrationEffect;", "", ApiSince=37)>]
member this.Inflate : int -> Android.OS.VibrationEffect
Parameters
- resId
- Int32
The resource ID containing the vibration XML pattern.
Returns
Parsed VibrationEffect.
- Attributes
Remarks
Inflates a VibrationEffect from an Android XML resource containing a vibration pattern (e.g., stored inside res/xml/).
For dynamic vibration patterns, see VibrationEffect.parseFromXml.
Android reference for android.view.VibrationEffectInflater.inflate.
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.