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
-
- 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, 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
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)
[Register("setBleepEnabled", "(Z)V", "")]
public void SetBleepEnabled(bool enable)
Parameters
enable
bool
SetBleepResId(int)
[Register("setBleepResId", "(I)V", "")]
public void SetBleepResId(int resId)
Parameters
resId
int
SetBleepUri(Uri)
[Register("setBleepUri", "(Landroid/net/Uri;)V", "")]
public void SetBleepUri(Uri uri)
Parameters
uri
Uri
SetUp()
[Register("setUp", "()V", "")]
public void SetUp()
SetVibrationEnabled(bool)
[Register("setVibrationEnabled", "(Z)V", "")]
public void SetVibrationEnabled(bool enable)
Parameters
enable
bool