Activity.VolumeControlStream Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the suggested audio stream whose volume should be changed by the hardware volume controls. -or- Suggests an audio stream whose volume should be changed by the hardware volume controls.
public Android.Media.Stream VolumeControlStream { [Android.Runtime.Register("getVolumeControlStream", "()I", "")] get; [Android.Runtime.Register("setVolumeControlStream", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getVolumeControlStream", "()I", "")>]
[<set: Android.Runtime.Register("setVolumeControlStream", "(I)V", "")>]
member this.VolumeControlStream : Android.Media.Stream with get, set
Property Value
The suggested audio stream type whose volume should be changed by the hardware volume controls.
- Attributes
Remarks
Gets the suggested audio stream whose volume should be changed by the hardware volume controls.
The suggested stream is tied to this activity's window. Hardware volume controls do not always change its volume; for example, they may change the call volume instead. To restore the default, set this property to UseDefaultStreamType cast to Stream.
Android reference for android.app.Activity.getVolumeControlStream.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.