VibrationAttributes.Builder 类

定义

对象的 VibrationAttributes Builder 类。

[Android.Runtime.Register("android/os/VibrationAttributes$Builder", ApiSince=30, DoNotGenerateAcw=true)]
public sealed class VibrationAttributes.Builder : Java.Lang.Object
[<Android.Runtime.Register("android/os/VibrationAttributes$Builder", ApiSince=30, DoNotGenerateAcw=true)>]
type VibrationAttributes.Builder = class
    inherit Object
继承
VibrationAttributes.Builder
属性

注解

对象的 VibrationAttributes Builder 类。 默认情况下,所有信息都设置为 UNKNOWN。

android.os.VibrationAttributes.BuilderJava 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

构造函数

VibrationAttributes.Builder()

使用默认值构造新的生成器。

VibrationAttributes.Builder(AudioAttributes)

从 AudioAttributes 构造新的生成器。

VibrationAttributes.Builder(VibrationAttributes)

根据给定的 VibrationAttributes 构造新的生成器。

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

对象的 VibrationAttributes Builder 类。

(继承自 Object)
JniPeerMembers

对象的 VibrationAttributes Builder 类。

PeerReference

对象的 VibrationAttributes Builder 类。

(继承自 Object)
ThresholdClass

此 API 支持 Mono for Android 基础结构,不应直接从代码使用。

(继承自 Object)
ThresholdType

此 API 支持 Mono for Android 基础结构,不应直接从代码使用。

(继承自 Object)

方法

Build()

合并已设置的所有属性,并返回一个新 VibrationAttributes 对象。

Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose()

对象的 VibrationAttributes Builder 类。

(继承自 Object)
Dispose(Boolean)

对象的 VibrationAttributes Builder 类。

(继承自 Object)
Equals(Object)

指示其他某个对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

当垃圾回收确定不再引用对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
SetFlags(Int32, Int32)

对象的 VibrationAttributes Builder 类。

SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
SetUsage(Int32)

对象的 VibrationAttributes Builder 类。

ToArray<T>()

对象的 VibrationAttributes Builder 类。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()

对象的 VibrationAttributes Builder 类。

(继承自 Object)
Wait()

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>。<>

(继承自 Object)
Wait(Int64)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)
Wait(Int64, Int32)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

对象的 VibrationAttributes Builder 类。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

对象的 VibrationAttributes Builder 类。

(继承自 Object)
IJavaPeerable.Finalized()

对象的 VibrationAttributes Builder 类。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

对象的 VibrationAttributes Builder 类。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

对象的 VibrationAttributes Builder 类。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

对象的 VibrationAttributes Builder 类。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

对象的 VibrationAttributes Builder 类。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

对象的 VibrationAttributes Builder 类。

GetJniTypeName(IJavaPeerable)

对象的 VibrationAttributes Builder 类。

适用于