Table of Contents

Class Vibrator

Namespace
Android.Os
Assembly
MASES.Netdroid.dll
public class Vibrator : JVMBridgeBase<Vibrator>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
Vibrator
Implements
Extension Methods

Constructors

Vibrator(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Vibrator(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

VIBRATION_EFFECT_SUPPORT_NO

public static int VIBRATION_EFFECT_SUPPORT_NO { get; set; }

Property Value

int

VIBRATION_EFFECT_SUPPORT_UNKNOWN

public static int VIBRATION_EFFECT_SUPPORT_UNKNOWN { get; set; }

Property Value

int

VIBRATION_EFFECT_SUPPORT_YES

public static int VIBRATION_EFFECT_SUPPORT_YES { get; set; }

Property Value

int

Methods

AreAllEffectsSupported(params int[])

public int AreAllEffectsSupported(params int[] arg0)

Parameters

arg0 int[]

int

Returns

int

int

AreAllPrimitivesSupported(params int[])

public bool AreAllPrimitivesSupported(params int[] arg0)

Parameters

arg0 int[]

int

Returns

bool

bool

AreEffectsSupported(params int[])

public int[] AreEffectsSupported(params int[] arg0)

Parameters

arg0 int[]

int

Returns

int[]

int

AreEnvelopeEffectsSupported()

public bool AreEnvelopeEffectsSupported()

Returns

bool

bool

ArePrimitivesSupported(params int[])

public bool[] ArePrimitivesSupported(params int[] arg0)

Parameters

arg0 int[]

int

Returns

bool[]

bool

Cancel()

public void Cancel()

GetEnvelopeEffectInfo()

public VibratorEnvelopeEffectInfo GetEnvelopeEffectInfo()

Returns

VibratorEnvelopeEffectInfo

VibratorEnvelopeEffectInfo

GetFrequencyProfile()

public VibratorFrequencyProfile GetFrequencyProfile()

Returns

VibratorFrequencyProfile

VibratorFrequencyProfile

GetId()

public int GetId()

Returns

int

int

GetPrimitiveDurations(params int[])

public int[] GetPrimitiveDurations(params int[] arg0)

Parameters

arg0 int[]

int

Returns

int[]

int

GetQFactor()

public float GetQFactor()

Returns

float

float

GetResonantFrequency()

public float GetResonantFrequency()

Returns

float

float

HasAmplitudeControl()

public bool HasAmplitudeControl()

Returns

bool

bool

HasVibrator()

public bool HasVibrator()

Returns

bool

bool

Vibrate(VibrationEffect)

public void Vibrate(VibrationEffect arg0)

Parameters

arg0 VibrationEffect

VibrationEffect

Vibrate(VibrationEffect, AudioAttributes)

[Obsolete("Deprecated in JVM")]
public void Vibrate(VibrationEffect arg0, AudioAttributes arg1)

Parameters

arg0 VibrationEffect

VibrationEffect

arg1 AudioAttributes

AudioAttributes

Vibrate(VibrationEffect, VibrationAttributes)

public void Vibrate(VibrationEffect arg0, VibrationAttributes arg1)

Parameters

arg0 VibrationEffect

VibrationEffect

arg1 VibrationAttributes

VibrationAttributes

Vibrate(long)

[Obsolete("Deprecated in JVM")]
public void Vibrate(long arg0)

Parameters

arg0 long

long

Vibrate(long, AudioAttributes)

[Obsolete("Deprecated in JVM")]
public void Vibrate(long arg0, AudioAttributes arg1)

Parameters

arg0 long

long

arg1 AudioAttributes

AudioAttributes

Vibrate(long[], int)

[Obsolete("Deprecated in JVM")]
public void Vibrate(long[] arg0, int arg1)

Parameters

arg0 long[]

long

arg1 int

int

Vibrate(long[], int, AudioAttributes)

[Obsolete("Deprecated in JVM")]
public void Vibrate(long[] arg0, int arg1, AudioAttributes arg2)

Parameters

arg0 long[]

long

arg1 int

int

arg2 AudioAttributes

AudioAttributes