Android.Media.MediaPlayer.AudioSessionId Property
Returns the audio session ID.

Syntax

[get: Android.Runtime.Register("getAudioSessionId", "()I", "GetGetAudioSessionIdHandler")]
[set: Android.Runtime.Register("setAudioSessionId", "(I)V", "GetSetAudioSessionId_IHandler")]
public virtual int AudioSessionId { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif it is called in an invalid state
Java.Lang.IllegalArgumentException
Java.Lang.IllegalStateExceptionif it is called in an invalid state
Java.Lang.IllegalArgumentException
Java.Lang.IllegalStateExceptionif it is called in an invalid state
Java.Lang.IllegalArgumentException
Java.Lang.IllegalStateExceptionif it is called in an invalid state
Java.Lang.IllegalArgumentException
Java.Lang.IllegalStateExceptionif it is called in an invalid state
Java.Lang.IllegalArgumentException

Remarks

Get method documentation [Android Documentation]

Returns the audio session ID.

Set method documentation [Android Documentation]

Sets the audio session ID.

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9