Udostępnij za pośrednictwem


TvInteractiveAppService.Session.MediaViewEnabled Property

Definition

Returns true if media view is enabled, false otherwise. -or- Enables or disables the media view.

public virtual bool MediaViewEnabled { [Android.Runtime.Register("isMediaViewEnabled", "()Z", "GetIsMediaViewEnabledHandler", ApiSince=33)] get; [Android.Runtime.Register("setMediaViewEnabled", "(Z)V", "GetSetMediaViewEnabled_ZHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("isMediaViewEnabled", "()Z", "GetIsMediaViewEnabledHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setMediaViewEnabled", "(Z)V", "GetSetMediaViewEnabled_ZHandler", ApiSince=33)>]
member this.MediaViewEnabled : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns true if media view is enabled, false otherwise.

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

Property setter documentation:

Enables or disables the media view.

By default, the media view is disabled. Must be called explicitly after the session is created to enable the media view.

The TV Interactive App service can disable its media view when needed.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.setMediaViewEnabled(boolean).

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