Freigeben über


TvInteractiveAppService.Session.OnStreamVolume(Single) Method

Definition

Receives current stream volume.

[Android.Runtime.Register("onStreamVolume", "(F)V", "GetOnStreamVolume_FHandler", ApiSince=33)]
public virtual void OnStreamVolume (float volume);
[<Android.Runtime.Register("onStreamVolume", "(F)V", "GetOnStreamVolume_FHandler", ApiSince=33)>]
abstract member OnStreamVolume : single -> unit
override this.OnStreamVolume : single -> unit

Parameters

volume
Single

a volume value between 0.0f and 1.0f, inclusive.

Attributes

Remarks

Receives current stream volume.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.onStreamVolume(float).

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.

Applies to