Android Guides | Samples

Android.Media.MediaRouter.VolumeCallback Class

Interface for receiving events about volume changes.

See Also: MediaRouter+VolumeCallback

Syntax

[Android.Runtime.Register("android/media/MediaRouter$VolumeCallback", DoNotGenerateAcw=true)]
public abstract class MediaRouter.VolumeCallback : Object

Remarks

Interface for receiving events about volume changes. All methods of this interface will be called from the application's main thread.

A VolumeCallback will only receive events relevant to routes that the callback was registered for.

See Also

[Android Documentation]

Requirements

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

The members of Android.Media.MediaRouter.VolumeCallback are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
OnVolumeSetRequest(MediaRouter+RouteInfo, Int32)
Called when the volume for the route should be set to the given value
abstract
OnVolumeUpdateRequest(MediaRouter+RouteInfo, Int32)
Called when the volume for the route should be increased or decreased.