MediaCas Constructors
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.
Overloads
MediaCas(Int32) |
Instantiate a CA system of the specified system id. |
MediaCas(Context, Int32, String, Int32) |
Instantiate a CA system of the specified system id. |
MediaCas(Context, Int32, String, Int32, Handler, MediaCas+IEventListener) |
Instantiate a CA system of the specified system id. |
MediaCas(Int32)
Instantiate a CA system of the specified system id.
[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=26)]
public MediaCas (int casSystemId);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=26)>]
new Android.Media.MediaCas : int -> Android.Media.MediaCas
Parameters
- casSystemId
- Int32
The system id of the CA system.
- Attributes
Remarks
Instantiate a CA system of the specified system id.
Java documentation for android.media.MediaCas.MediaCas(int)
.
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
MediaCas(Context, Int32, String, Int32)
Instantiate a CA system of the specified system id.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;ILjava/lang/String;I)V", "", ApiSince=30)]
public MediaCas (Android.Content.Context context, int casSystemId, string? tvInputServiceSessionId, int priorityHint);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;ILjava/lang/String;I)V", "", ApiSince=30)>]
new Android.Media.MediaCas : Android.Content.Context * int * string * int -> Android.Media.MediaCas
Parameters
- context
- Context
the context of the caller.
- casSystemId
- Int32
The system id of the CA system.
- tvInputServiceSessionId
- String
The Id of the session opened in TV Input Service (TIS)
android.media.tv.TvInputService#onCreateSession(String, String)
- priorityHint
- Int32
priority hint from the use case type for new created CAS system.
- Attributes
Remarks
Instantiate a CA system of the specified system id.
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
MediaCas(Context, Int32, String, Int32, Handler, MediaCas+IEventListener)
Instantiate a CA system of the specified system id.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;ILjava/lang/String;ILandroid/os/Handler;Landroid/media/MediaCas$EventListener;)V", "", ApiSince=31)]
public MediaCas (Android.Content.Context context, int casSystemId, string? tvInputServiceSessionId, int priorityHint, Android.OS.Handler? handler, Android.Media.MediaCas.IEventListener? listener);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;ILjava/lang/String;ILandroid/os/Handler;Landroid/media/MediaCas$EventListener;)V", "", ApiSince=31)>]
new Android.Media.MediaCas : Android.Content.Context * int * string * int * Android.OS.Handler * Android.Media.MediaCas.IEventListener -> Android.Media.MediaCas
Parameters
- context
- Context
- casSystemId
- Int32
The system id of the CA system.
- tvInputServiceSessionId
- String
- priorityHint
- Int32
- handler
- Handler
- listener
- MediaCas.IEventListener
- Attributes
Remarks
Java documentation for android.media.MediaCas.MediaCas(int)
.
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.