Language

ShortcutSurface Enum

Definition

Identifies shortcut surfaces for surface-exclusion settings.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ShortcutSurface
[<System.Flags>]
type ShortcutSurface = 
Inheritance
ShortcutSurface
Attributes

Fields

Name Value Description
Default 0

Selects no shortcut-surface exclusion bits.

Launcher 1

Indicates system surfaces managed by a launcher app. e.g. Long-Press Menu.

Android reference for android.content.pm.ShortcutInfo.SURFACE_LAUNCHER.

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.

Remarks

The launcher bit selects the launcher surface. The managed default value is zero and adds no surface-exclusion bits.

Applies to