Android.Media.Session.MediaSession.Active Property
Get the current active state of this session.

Syntax

[get: Android.Runtime.Register("isActive", "()Z", "GetIsActiveHandler")]
[set: Android.Runtime.Register("setActive", "(Z)V", "GetSetActive_ZHandler")]
public bool Active { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Get the current active state of this session.

Set method documentation [Android Documentation]

Set if this session is currently active and ready to receive commands. If set to false your session's controller may not be discoverable. You must set the session to active before it can start receiving media button events or transport commands.

Requirements

Namespace: Android.Media.Session
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0