语言

VibrationEffectInflater.From(Context) 方法

定义

VibrationEffectInflater获取与给定上下文关联的内容。

[Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/VibrationEffectInflater;", "", ApiSince=37)]
public static Android.Views.VibrationEffectInflater From(Android.Content.Context context);
[<Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/VibrationEffectInflater;", "", ApiSince=37)>]
static member From : Android.Content.Context -> Android.Views.VibrationEffectInflater

参数

context
Context

用于访问资源的上下文。

返回

VibrationEffectInflater 实例。

特性

注解

获取与给定上下文关联的 VibrationEffectInflater。

Android 参考。android.view.VibrationEffectInflater.from

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于