Map Doc  1.0
iOS-引擎SDK-开放平台
MBNaviSpeaker.h
浏览该文件的文档.
1 //
2 // MBNaviSpeaker.h
3 // iNaviCore
4 //
5 // Created by fanwei on 4/11/13.
6 // Copyright (c) 2013 Mapbar. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 #import "MBNaviBaseTypes.h"
12 
16 @interface MBNaviSpeaker : NSObject
20 + (void)forcePlay;
21 
25 + (void)forceStop;
26 
34 + (void)enqueueWith:(NSString *)str;
35 
41 + (BOOL)isPlaying;
47 + (void)setVolume:(float)volume;
53 + (float)getVolume;
59 + (int)getInterval __attribute__((deprecated("已废弃此方法")));
60 
68 + (int)getLimit:(MBSegmentPriority)level __attribute__((deprecated("已废弃此方法")));
69 
75 + (void)setInterval:(int)interval __attribute__((deprecated("已废弃此方法")));
76 
83 + (void)setLimit:(MBSegmentPriority)level limit:(int)limit __attribute__((deprecated("已废弃此方法")));
84 
88 + (void)resignFirstAudioSession __attribute__((deprecated("已废弃此方法")));
89 
97 + (void)enableBackgroundPlay:(BOOL)enable __attribute__((deprecated("已废弃此方法")));
98 @end
MBSegmentPriority
道路等级,数值越小等级越高。
Definition: MBNaviBaseTypes.h:75
Definition: MBNaviSpeaker.h:16
(deprecated("已废弃此方法" __attribute__()