//
//  ABottomBarView.h
//  AMapNavIOSSDK
//
//  Created by admin on 2026/3/25.
//

#import <UIKit/UIKit.h>
#import "AMapNavSDKHeader.h"

NS_ASSUME_NONNULL_BEGIN

@class ABottomBarView;

@protocol ABottomBarViewDelegate <NSObject>
/// 点击「规划路线」按钮
- (void)bottomBarViewDidTapCalRoute:(ABottomBarView *)barView;
/// 输入框开始编辑（外部弹起搜索页）
- (void)bottomBarViewDidTapSearchField:(ABottomBarView *)barView;
@end

/// 底部搜索+规划路线栏
@interface ABottomBarView : UIView

@property (nonatomic, weak) id<ABottomBarViewDelegate> delegate;

/// 目的地文本（外部赋值后自动更新输入框）
@property (nonatomic, copy, nullable) NSString *destinationText;

@end

NS_ASSUME_NONNULL_END
