Udostępnij za pośrednictwem


WallpaperInfo.ShouldUseDefaultUnfoldTransition Method

Definition

Returns whether this wallpaper should receive default zooming updates when the device changes its state (e.

[Android.Runtime.Register("shouldUseDefaultUnfoldTransition", "()Z", "", ApiSince=32)]
public bool ShouldUseDefaultUnfoldTransition ();
[<Android.Runtime.Register("shouldUseDefaultUnfoldTransition", "()Z", "", ApiSince=32)>]
member this.ShouldUseDefaultUnfoldTransition : unit -> bool

Returns

true if wallpaper should receive default device state change transition updates

Attributes

Remarks

Returns whether this wallpaper should receive default zooming updates when the device changes its state (e.g. when folding or unfolding a foldable device). If set to false the wallpaper will not receive zoom events when changing the device state, so it can implement its own transition instead.

This corresponds to the value android.R.styleable#Wallpaper_shouldUseDefaultUnfoldTransition in the XML description of the wallpaper.

The default value is true.

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

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