RemoteController 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
| Name | Description |
|---|---|
| RemoteController(Context, RemoteController+IOnClientUpdateListener) |
Obsolete.
Class constructor. |
| RemoteController(Context, RemoteController+IOnClientUpdateListener, Looper) |
Obsolete.
Class constructor. |
RemoteController(Context, RemoteController+IOnClientUpdateListener)
Caution
deprecated
Class constructor.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/media/RemoteController$OnClientUpdateListener;)V", "")]
[System.Obsolete("deprecated")]
public RemoteController(Android.Content.Context? context, Android.Media.RemoteController.IOnClientUpdateListener? updateListener);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/media/RemoteController$OnClientUpdateListener;)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Media.RemoteController : Android.Content.Context * Android.Media.RemoteController.IOnClientUpdateListener -> Android.Media.RemoteController
Parameters
- context
- Context
the Context, must be non-null.
- updateListener
- RemoteController.IOnClientUpdateListener
the listener to be called whenever new client information is available, must be non-null.
- Attributes
Exceptions
Remarks
Class constructor.
Android reference for android.media.RemoteController.RemoteController.
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
RemoteController(Context, RemoteController+IOnClientUpdateListener, Looper)
Caution
deprecated
Class constructor.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/media/RemoteController$OnClientUpdateListener;Landroid/os/Looper;)V", "")]
[System.Obsolete("deprecated")]
public RemoteController(Android.Content.Context? context, Android.Media.RemoteController.IOnClientUpdateListener? updateListener, Android.OS.Looper? looper);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/media/RemoteController$OnClientUpdateListener;Landroid/os/Looper;)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Media.RemoteController : Android.Content.Context * Android.Media.RemoteController.IOnClientUpdateListener * Android.OS.Looper -> Android.Media.RemoteController
Parameters
- context
- Context
the Context, must be non-null.
- updateListener
- RemoteController.IOnClientUpdateListener
the listener to be called whenever new client information is available, must be non-null.
- looper
- Looper
the Looper on which to run the event loop, or null to use the current thread's looper.
- Attributes
Exceptions
Remarks
Class constructor.
Android reference for android.media.RemoteController.RemoteController.
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.