Düzenle

Aracılığıyla paylaş


CPMapTemplateDelegate_Extensions.ShouldShowNotificationForManeuver Method

Definition

Method that is called to determine whether a navigation maneuver notification should be shown when the app is running in the background.

public static bool ShouldShowNotificationForManeuver (this CarPlay.ICPMapTemplateDelegate This, CarPlay.CPMapTemplate mapTemplate, CarPlay.CPManeuver maneuver);
static member ShouldShowNotificationForManeuver : CarPlay.ICPMapTemplateDelegate * CarPlay.CPMapTemplate * CarPlay.CPManeuver -> bool

Parameters

This
ICPMapTemplateDelegate

The instance on which this method operates.

mapTemplate
CPMapTemplate

The template for the map to query.

maneuver
CPManeuver

The maneuver about which to query.

Returns

true if the notification should be shown. Otherwise, false.

Applies to