Table of Contents

Class SoundControllerImpl

Namespace
IO.Scanbot.Sdk.Util.Snap
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/util/snap/SoundControllerImpl", DoNotGenerateAcw = true)]
public sealed class SoundControllerImpl : Object, ILifecycleObserver, ISoundController, IJavaObject, IJavaPeerable, IDisposable
Inheritance
SoundControllerImpl
Implements
ILifecycleObserver
Inherited Members

Constructors

SoundControllerImpl(Context)

[Register(".ctor", "(Landroid/content/Context;)V", "")]
public SoundControllerImpl(Context context)

Parameters

context Context

SoundControllerImpl(Context, Uri)

[Register(".ctor", "(Landroid/content/Context;Landroid/net/Uri;)V", "")]
public SoundControllerImpl(Context context, Uri bleepUri)

Parameters

context Context
bleepUri Uri

SoundControllerImpl(Context, Integer, Uri)

[Register(".ctor", "(Landroid/content/Context;Ljava/lang/Integer;Landroid/net/Uri;)V", "")]
public SoundControllerImpl(Context context, Integer bleepResId, Uri bleepUri)

Parameters

context Context
bleepResId Integer
bleepUri Uri

SoundControllerImpl(Context, int)

[Register(".ctor", "(Landroid/content/Context;I)V", "")]
public SoundControllerImpl(Context context, int bleepResId)

Parameters

context Context
bleepResId int

Fields

VibrationDurationMs

[Register("vibrationDurationMs")]
public const long VibrationDurationMs = 100

Field Value

long

Properties

A

[Register("a")]
public Context A { get; set; }

Property Value

Context

F

[Register("f")]
public bool F { get; set; }

Property Value

bool

G

[Register("g")]
public MediaPlayer G { get; set; }

Property Value

MediaPlayer

H

[Register("h")]
public Vibrator H { get; set; }

Property Value

Vibrator

I

[Register("i")]
public Object I { get; set; }

Property Value

Object

bleepEnabled

[Register("d")]
public bool bleepEnabled { get; set; }

Property Value

bool

bleepResId

[Register("b")]
public Integer bleepResId { get; set; }

Property Value

Integer

bleepUri

[Register("c")]
public Uri bleepUri { get; set; }

Property Value

Uri

vibrationEnabled

[Register("e")]
public bool vibrationEnabled { get; set; }

Property Value

bool

Methods

PlayBleepSound(IContinuation)

[Register("playBleepSound", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "")]
public Object PlayBleepSound(IContinuation _completion)

Parameters

_completion IContinuation

Returns

Object

Release()

[Register("release", "()V", "")]
public void Release()

SetBleepEnabled(bool)

public void SetBleepEnabled(bool enable)

Parameters

enable bool

SetBleepResId(int)

public void SetBleepResId(int resId)

Parameters

resId int

SetBleepUri(Uri)

public void SetBleepUri(Uri uri)

Parameters

uri Uri

SetUp()

[Register("setUp", "()V", "")]
public void SetUp()

SetVibrationEnabled(bool)

public void SetVibrationEnabled(bool enable)

Parameters

enable bool