高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
Instance Methods | List of all members
<AMapNaviRideViewDelegate> Protocol Reference

`#include <AMapNaviRideView.h>`

Inheritance diagram for <AMapNaviRideViewDelegate>:

## Instance Methods
(void) | - rideViewCloseButtonClicked:
| 导航界面关闭按钮点击时的回调函数 Callback function when the close button is clicked on the navigation interface
(void) | - rideViewMoreButtonClicked:
| 导航界面更多按钮点击时的回调函数 Callback function when the more button is clicked on the navigation interface
(void) | - rideViewTrunIndicatorViewTapped:
| 导航界面转向指示View点击时的回调函数 Callback function when the turn indicator View is clicked in the navigation interface
(void) | - rideView:didChangeShowMode:
| 导航界面显示模式改变后的回调函数 Callback function after the display mode of the navigation interface changes
(void) | - rideView:didChangeTrackingMode:
| 导航界面跟随模式改变后的回调函数. since 7.4.0 Callback function after the follow mode of the navigation interface changes
(void) | - rideView:didChangeOrientation:
| 导航界面横竖屏切换后的回调函数. since 7.4.0 Callback function after switching between landscape and portrait modes in the navigation interface
(void) | - rideView:didChangeDayNightType:
| 导航界面白天黑夜模式切换后的回调函数. since 8.0.0 Callback function after switching between day and night modes in the navigation interface
(UIEdgeInsets) | - rideViewEdgePadding:
| 在showUIElements为NO时，骑行导航界面需要实时的取得可视区域，比如切换成全览时、横竖屏切换时. 注意：此回调只在showUIElements为NO时，才会调用且比较频繁，在获取EdgePadding时请勿进行大量的计算. since 8.0.0 When showUIElements is NO, the cycling navigation interface needs to obtain the visible area in real time, such as when switching to overview mode or during portrait-landscape screen rotation. Note: This callback is only called and relatively frequent when showUIElements is NO, please avoid heavy calculations when obtaining EdgePadding.
(void) | - rideView:asyncScreenShot:state:

## Method Documentation

## ◆ rideView:asyncScreenShot:state:

- (void) rideView: |  | (AMapNaviRideView *) | rideView
asyncScreenShot: |  | (UIImage *) | image
state: |  | (NSInteger) | state
| optional

异步截图代理回调 Asynchronous screenshot agent callback

- Parameters:
  - rideView: 自定义View Custom View
  - image: 返回截屏的图片 Return the screenshot image
  - state: 0载入不完整，1完整 0 incomplete loading, 1 complete

## ◆ rideView:didChangeDayNightType:

- (void) rideView: |  | (AMapNaviRideView *) | rideView
didChangeDayNightType: |  | (BOOL) | showStandardNightType
| optional

导航界面白天黑夜模式切换后的回调函数. since 8.0.0 Callback function after switching between day and night modes in the navigation interface

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface
  showStandardNightType | 是否为黑夜模式 Is it in night mode

## ◆ rideView:didChangeOrientation:

- (void) rideView: |  | (AMapNaviRideView *) | rideView
didChangeOrientation: |  | (BOOL) | isLandscape
| optional

导航界面横竖屏切换后的回调函数. since 7.4.0 Callback function after switching between landscape and portrait modes in the navigation interface

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface
  isLandscape | 是否是横屏 Is it in landscape mode

## ◆ rideView:didChangeShowMode:

- (void) rideView: |  | (AMapNaviRideView *) | rideView
didChangeShowMode: |  | (AMapNaviRideViewShowMode) | showMode
| optional

导航界面显示模式改变后的回调函数 Callback function after the display mode of the navigation interface changes

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface
  showMode | 显示模式 Display mode

## ◆ rideView:didChangeTrackingMode:

- (void) rideView: |  | (AMapNaviRideView *) | rideView
didChangeTrackingMode: |  | (AMapNaviViewTrackingMode) | trackMode
| optional

导航界面跟随模式改变后的回调函数. since 7.4.0 Callback function after the follow mode of the navigation interface changes

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface
  trackMode | 跟随模式 Follow mode

## ◆ rideViewCloseButtonClicked:

- (void) rideViewCloseButtonClicked: |  | (AMapNaviRideView *) | rideView |
| optional

导航界面关闭按钮点击时的回调函数 Callback function when the close button is clicked on the navigation interface

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface

## ◆ rideViewEdgePadding:

- (UIEdgeInsets) rideViewEdgePadding: |  | (AMapNaviRideView *) | rideView |
| optional

在showUIElements为NO时，骑行导航界面需要实时的取得可视区域，比如切换成全览时、横竖屏切换时. 注意：此回调只在showUIElements为NO时，才会调用且比较频繁，在获取EdgePadding时请勿进行大量的计算. since 8.0.0 When showUIElements is NO, the cycling navigation interface needs to obtain the visible area in real time, such as when switching to overview mode or during portrait-landscape screen rotation. Note: This callback is only called and relatively frequent when showUIElements is NO, please avoid heavy calculations when obtaining EdgePadding.

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface

Returns
  如(100, 50, 80, 60)表示的是：rideView.bounds 上边留出100px，左边留出50px，底部留出80px，右边留出60px后的区域为可视区域，一般EdgePadding的值由用户的界面布局决定. For example, (100, 50, 80, 60) means: the area left after leaving 100px at the top, 50px at the left, 80px at the bottom, and 60px at the right of rideView.bounds is the visible area. The value of EdgePadding is generally determined by the user's interface layout.

## ◆ rideViewMoreButtonClicked:

- (void) rideViewMoreButtonClicked: |  | (AMapNaviRideView *) | rideView |
| optional

导航界面更多按钮点击时的回调函数 Callback function when the more button is clicked on the navigation interface

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface

## ◆ rideViewTrunIndicatorViewTapped:

- (void) rideViewTrunIndicatorViewTapped: |  | (AMapNaviRideView *) | rideView |
| optional

导航界面转向指示View点击时的回调函数 Callback function when the turn indicator View is clicked in the navigation interface

Parameters

  rideView | 骑行导航界面 Cycling Navigation Interface

The documentation for this protocol was generated from the following file:

- AMapNaviRideView.h

© 2017 高德信息技术有限公司 版权所有，保留所有权利。