openWallpaperPreview

Opens the wallpaper preview screen, if possible.

Return

true on success, false on error.

Parameters

context

fun openWallpaperPreview(context: Context, componentName: ComponentName?): Boolean

Opens the wallpaper preview screen, if possible.

Return

true on success, false on error.

Parameters

context
componentName

The live wallpaper service component name.