jsdw_ios/Pods/AMapNavi-NO-IDFA/AMapNaviKit.framework/Headers/AMapNaviHUDView.h

60 lines
1.9 KiB
Objective-C

//
// AMapNaviHUDView.h
// AMapNaviKit
//
// Created by AutoNavi on 15/12/28.
// Copyright © 2016年 Amap. All rights reserved.
//
#import "AMapNaviCommonObj.h"
#import "AMapNaviDriveDataRepresentable.h"
#import "AMapNaviWalkDataRepresentable.h"
NS_ASSUME_NONNULL_BEGIN
@protocol AMapNaviHUDViewDelegate;
///HUD导航界面.该类实现AMapNaviDriveDataRepresentable和AMapNaviWalkDataRepresentable协议,可以展示驾车HUD和步行HUD导航过程.
///HUD navigation interface. This class implements the AMapNaviDriveDataRepresentable and AMapNaviWalkDataRepresentable protocols, and can display the driving HUD and walking HUD navigation process
@interface AMapNaviHUDView : UIView<AMapNaviDriveDataRepresentable, AMapNaviWalkDataRepresentable>
#pragma mark - Delegate
///实现了 AMapNaviHUDViewDelegate 协议的类指针
///Implements the class pointer of the AMapNaviHUDViewDelegate protocol
@property (nonatomic, weak) id<AMapNaviHUDViewDelegate> delegate;
#pragma mark - Options
///是否采用横屏布局,默认NO
///Whether to use landscape layout, default is NO.
@property (nonatomic, assign) BOOL isLandscape;
///是否以镜像的方式显示,默认YES
///Whether to display in mirror mode, default is YES
@property (nonatomic, assign) BOOL isMirror;
///是否显示剩余距离,默认YES
///Whether to display remaining distance, default is YES
@property (nonatomic, assign) BOOL showRemainDistance;
///是否显示剩余时间,默认YES
///Whether to display remaining time, default is YES
@property (nonatomic, assign) BOOL showRemainTime;
@end
@protocol AMapNaviHUDViewDelegate <NSObject>
/**
* @brief HUD导航界面返回按钮点击时的回调函数
* Callback function when the back button is clicked on the HUD navigation interface
* @param hudView HUD导航界面
* HUD navigation interface
*/
- (void)hudViewCloseButtonClicked:(AMapNaviHUDView *)hudView;
@end
NS_ASSUME_NONNULL_END