Table of Contents

Class Ringtone

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

Constructors

Ringtone(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 Ringtone(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

Methods

GetAudioAttributes()

public AudioAttributes GetAudioAttributes()

Returns

AudioAttributes

AudioAttributes

GetStreamType()

[Obsolete("Deprecated in JVM")]
public int GetStreamType()

Returns

int

int

GetTitle(Context)

public String GetTitle(Context arg0)

Parameters

arg0 Context

Context

Returns

String

String

GetVolume()

public float GetVolume()

Returns

float

float

IsHapticGeneratorEnabled()

public bool IsHapticGeneratorEnabled()

Returns

bool

bool

IsLooping()

public bool IsLooping()

Returns

bool

bool

IsPlaying()

public bool IsPlaying()

Returns

bool

bool

Play()

public void Play()

SetAudioAttributes(AudioAttributes)

public void SetAudioAttributes(AudioAttributes arg0)

Parameters

arg0 AudioAttributes

AudioAttributes

Exceptions

IllegalArgumentException

SetHapticGeneratorEnabled(bool)

public bool SetHapticGeneratorEnabled(bool arg0)

Parameters

arg0 bool

bool

Returns

bool

bool

SetLooping(bool)

public void SetLooping(bool arg0)

Parameters

arg0 bool

bool

SetStreamType(int)

[Obsolete("Deprecated in JVM")]
public void SetStreamType(int arg0)

Parameters

arg0 int

int

SetVolume(float)

public void SetVolume(float arg0)

Parameters

arg0 float

float

Stop()

public void Stop()