Package apple.carplay.protocol
Interface CPBarButtonProviding
-
- All Known Implementing Classes:
CPContactTemplate,CPGridTemplate,CPListTemplate,CPMapTemplate
public interface CPBarButtonProviding
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CPBarButtonbackButton()NSArray<? extends CPBarButton>leadingNavigationBarButtons()An array of bar buttons to be displayed on the leading side of the navigation bar.voidsetBackButton(CPBarButton value)voidsetLeadingNavigationBarButtons(NSArray<? extends CPBarButton> value)An array of bar buttons to be displayed on the leading side of the navigation bar.voidsetTrailingNavigationBarButtons(NSArray<? extends CPBarButton> value)An array of bar buttons to be displayed on the trailing side of the navigation bar.NSArray<? extends CPBarButton>trailingNavigationBarButtons()An array of bar buttons to be displayed on the trailing side of the navigation bar.
-
-
-
Method Detail
-
backButton
CPBarButton backButton()
-
leadingNavigationBarButtons
NSArray<? extends CPBarButton> leadingNavigationBarButtons()
An array of bar buttons to be displayed on the leading side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the leading space. Setting more than 2 buttons to this property will only display the first 2 buttons.
-
setBackButton
void setBackButton(CPBarButton value)
-
setLeadingNavigationBarButtons
void setLeadingNavigationBarButtons(NSArray<? extends CPBarButton> value)
An array of bar buttons to be displayed on the leading side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the leading space. Setting more than 2 buttons to this property will only display the first 2 buttons.
-
setTrailingNavigationBarButtons
void setTrailingNavigationBarButtons(NSArray<? extends CPBarButton> value)
An array of bar buttons to be displayed on the trailing side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the trailing space. Setting more than 2 buttons to this property will only display the first 2 buttons.
-
trailingNavigationBarButtons
NSArray<? extends CPBarButton> trailingNavigationBarButtons()
An array of bar buttons to be displayed on the trailing side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the trailing space. Setting more than 2 buttons to this property will only display the first 2 buttons.
-
-