TvInteractiveAppService.OnBind(Intent) Method
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.
Returns the communication interface for this interactive app service.
[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=33)]
public override sealed Android.OS.IBinder? OnBind(Android.Content.Intent intent);
[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=33)>]
override this.OnBind : Android.Content.Intent -> Android.OS.IBinder
Parameters
- intent
- Intent
The intent used to bind to this interactive app service.
Returns
The binder that exposes the interactive app service to the system.
- Attributes
Remarks
The framework implementation creates and returns the service binder. It does not test the intent action before returning it.
Calls to the returned binder can arrive on threads other than the main thread.
Based on the Android 16 service implementation.