Sdílet prostřednictvím


WallpaperInfo.SettingsActivity Property

Definition

Return the class name of an activity that provides a settings UI for the wallpaper.

public string? SettingsActivity { [Android.Runtime.Register("getSettingsActivity", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getSettingsActivity", "()Ljava/lang/String;", "")>]
member this.SettingsActivity : string

Property Value

Attributes

Remarks

Return the class name of an activity that provides a settings UI for the wallpaper. You can launch this activity be starting it with an android.content.Intent whose action is MAIN and with an explicit android.content.ComponentName composed of #getPackageName and the class name returned here.

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

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

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