CPAlertActionStyle Enum

Definition

Enumerates the styles for a T:CarPlay.CPAlert object's action button.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CPAlertActionStyle
type CPAlertActionStyle = 
Inheritance
CPAlertActionStyle
Attributes

Fields

Cancel 1

The style used when providing a cancel action for the alert.

Default 0

The default style.

Destructive 2

The style used when the action is destructive, such as deleting data.

Applies to