Table of Contents

Class MediaSession2.SessionCallback

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

Constructors

SessionCallback()

public SessionCallback()

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

CreatePoolableInstance()

HPA initializer for SessionCallback()

public static MediaSession2.SessionCallback CreatePoolableInstance()

Returns

MediaSession2.SessionCallback

OnCommandResult(MediaSession2, ControllerInfo, object, Session2Command, Result)

public void OnCommandResult(MediaSession2 arg0, MediaSession2.ControllerInfo arg1, object arg2, Session2Command arg3, Session2Command.Result arg4)

Parameters

arg0 MediaSession2

MediaSession2

arg1 MediaSession2.ControllerInfo

MediaSession2.ControllerInfo

arg2 object

object

arg3 Session2Command

Session2Command

arg4 Session2Command.Result

Session2Command.Result

OnConnect(MediaSession2, ControllerInfo)

public Session2CommandGroup OnConnect(MediaSession2 arg0, MediaSession2.ControllerInfo arg1)

Parameters

arg0 MediaSession2

MediaSession2

arg1 MediaSession2.ControllerInfo

MediaSession2.ControllerInfo

Returns

Session2CommandGroup

Session2CommandGroup

OnDisconnected(MediaSession2, ControllerInfo)

public void OnDisconnected(MediaSession2 arg0, MediaSession2.ControllerInfo arg1)

Parameters

arg0 MediaSession2

MediaSession2

arg1 MediaSession2.ControllerInfo

MediaSession2.ControllerInfo

OnPostConnect(MediaSession2, ControllerInfo)

public void OnPostConnect(MediaSession2 arg0, MediaSession2.ControllerInfo arg1)

Parameters

arg0 MediaSession2

MediaSession2

arg1 MediaSession2.ControllerInfo

MediaSession2.ControllerInfo

OnSessionCommand(MediaSession2, ControllerInfo, Session2Command, Bundle)

public Session2Command.Result OnSessionCommand(MediaSession2 arg0, MediaSession2.ControllerInfo arg1, Session2Command arg2, Bundle arg3)

Parameters

arg0 MediaSession2

MediaSession2

arg1 MediaSession2.ControllerInfo

MediaSession2.ControllerInfo

arg2 Session2Command

Session2Command

arg3 Bundle

Bundle

Returns

Session2Command.Result

Session2Command.Result