WallpaperInfo.SettingsSliceUri Property

Definition

Returns an URI that provides a settings Slice for this wallpaper.

public Android.Net.Uri? SettingsSliceUri { [Android.Runtime.Register("getSettingsSliceUri", "()Landroid/net/Uri;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getSettingsSliceUri", "()Landroid/net/Uri;", "", ApiSince=29)>]
member this.SettingsSliceUri : Android.Net.Uri

Property Value

Uri

The URI.

Attributes

Remarks

Returns an URI that provides a settings Slice for this wallpaper. The wallpaper should implement a SliceProvider associated with this URI. The system will display the Slice in the customization section while previewing the live wallpaper. Because this URI is accessible to other apps, it is recommended to protect it with the android.permission.BIND_WALLPAPER permission.

null will be returned if there is no settings Slice URI associated with the wallpaper.

Java documentation for android.app.WallpaperInfo.getSettingsSliceUri().

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