共用方式為


WallpaperService.OnBind(Intent) Method

Definition

Implement to return the implementation of the internal accessibility service interface.

[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "")]
public override sealed Android.OS.IBinder? OnBind (Android.Content.Intent? intent);
[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "")>]
override this.OnBind : Android.Content.Intent -> Android.OS.IBinder

Parameters

intent
Intent

The Intent that was used to bind to this service, as given to M:Android.Content.Context.BindService(Android.Content.Intent,Android.Content.IServiceConnection,Android.Content.IServiceConnection). Note that any extras that were included with the Intent at that point will not be seen here.

Returns

Attributes

Remarks

Implement to return the implementation of the internal accessibility service interface. Subclasses should not override.

Java documentation for android.service.wallpaper.WallpaperService.onBind(android.content.Intent).

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