Contents

maximumActionButtonCount

The maximum number of action buttons that can be displayed in the CPVoiceControlTemplate.

Declaration

class var maximumActionButtonCount: Int { get }

Return Value

The maximum number of action buttons supported by this template.

Discussion

This class property defines the upper limit for action buttons to ensure proper layout and usability within the CarPlay interface constraints. Any buttons beyond this limit in the actionButtons array will be ignored.