| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
9年前发布

Mac 多媒体快捷键:BeardedSpice

Bearded Spice 允许你使用 Mac 键盘上的多媒体快捷键控制基于 Web 的多媒体播放器(比如 SoundCloud,油Tube 等等)和一些原生应用。

BeardedSpice 特性:智能模式,自动更新,快捷键等等。

Mac 多媒体快捷键:BeardedSpice

Mac 多媒体快捷键:BeardedSpice

多媒体策略:

@interface MediaStrategy : NSObject  /**  Returns name of that media stratery.   */  -(NSString *) displayName; // Required override in subclass.  /**  Checks tab that it is accepted this strategy.  */  -(BOOL) accepts:(TabAdapter *)tab; // Required override in subclass.  /**  Checks tab that it is in the playback state.  */  - (BOOL)isPlaying:(TabAdapter *)tab;  /**  Returns track information object from tab.  */  - (Track *)trackInfo:(TabAdapter *)tab;  /**  Returns javascript code of the play/pause toggle.  */  -(NSString *) toggle; // Required override in subclass.  /**  Returns javascript code of the previous track action.  */  -(NSString *) previous;  /**  Returns javascript code of the next track action.  */  -(NSString *) next;  /**  Returns javascript code of the pausing action.  Used mainly for pausing before switching active tabs.  */  -(NSString *) pause; // Required override in subclass.  /**  Returns javascript code of the "favorite" toggle.  */  -(NSString *) favorite;  /**  Helper method for obtaining album artwork from url string  */  - (NSImage *)imageByUrlString:(NSString *)urlString;  @end

项目主页:http://www.open-open.com/lib/view/home/1442543872883

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1442543872883.html
Objective-C开发 BeardedSpice