WallpaperManager.SendWallpaperCommand 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.
Send an arbitrary command to the current active wallpaper.
[Android.Runtime.Register("sendWallpaperCommand", "(Landroid/os/IBinder;Ljava/lang/String;IIILandroid/os/Bundle;)V", "GetSendWallpaperCommand_Landroid_os_IBinder_Ljava_lang_String_IIILandroid_os_Bundle_Handler")]
public virtual void SendWallpaperCommand (Android.OS.IBinder? windowToken, string? action, int x, int y, int z, Android.OS.Bundle? extras);
[<Android.Runtime.Register("sendWallpaperCommand", "(Landroid/os/IBinder;Ljava/lang/String;IIILandroid/os/Bundle;)V", "GetSendWallpaperCommand_Landroid_os_IBinder_Ljava_lang_String_IIILandroid_os_Bundle_Handler")>]
abstract member SendWallpaperCommand : Android.OS.IBinder * string * int * int * int * Android.OS.Bundle -> unit
override this.SendWallpaperCommand : Android.OS.IBinder * string * int * int * int * Android.OS.Bundle -> unit
Parameters
- windowToken
- IBinder
The window who these offsets should be associated
with, as returned by android.view.View#getWindowToken()
View.getWindowToken()
.
- action
- String
Name of the command to perform. This must be a scoped name to avoid collisions, such as "com.mycompany.wallpaper.DOIT".
- x
- Int32
Arbitrary integer argument based on command.
- y
- Int32
Arbitrary integer argument based on command.
- z
- Int32
Arbitrary integer argument based on command.
- extras
- Bundle
Optional additional information for the command, or null.
- Attributes
Remarks
Send an arbitrary command to the current active wallpaper.
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.