TvInteractiveAppServiceInfo.SupportedTypes Property

Definition

Gets supported interactive app types.

public int SupportedTypes { [Android.Runtime.Register("getSupportedTypes", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getSupportedTypes", "()I", "", ApiSince=33)>]
member this.SupportedTypes : int

Property Value

An int bit map representing supported types.

Attributes

Remarks

Gets supported interactive app types.

The supported interactive app types is in a bit map format. For example:

<code>
              int types = tvInteractiveAppInfo.getSupportedTypes();
              if (types & TvInteractiveAppInfo.INTERACTIVE_APP_TYPE_HBBTV != 0) {
                // HbbTV type is supported. Do something...
              }
              if (types & TvInteractiveAppInfo.INTERACTIVE_APP_TYPE_ATSC == 0) {
                // ATSC type is not supported. Do something...
              }
</code>

Java documentation for android.media.tv.interactive.TvInteractiveAppServiceInfo.getSupportedTypes().

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