Language

WallpaperDescription.Builder.SetId(String) Method

Definition

Set the id for this wallpaper.

[Android.Runtime.Register("setId", "(Ljava/lang/String;)Landroid/app/wallpaper/WallpaperDescription$Builder;", "", ApiSince=36)]
public Android.App.Wallpaper.WallpaperDescription.Builder SetId(string? id);
[<Android.Runtime.Register("setId", "(Ljava/lang/String;)Landroid/app/wallpaper/WallpaperDescription$Builder;", "", ApiSince=36)>]
member this.SetId : string -> Android.App.Wallpaper.WallpaperDescription.Builder

Parameters

id
String

the id, or null for none

Returns

Attributes

Remarks

Set the id for this wallpaper.

IDs are used to distinguish among different instances of wallpapers rendered by the same component, and should be unique among all wallpapers for that component.

Android reference for android.app.wallpaper.WallpaperDescription.Builder.setId.

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