AVPlayer.h翻译
2016-11-13 02:17
162 查看
/*
File: AVPlayer.h
Framework: AVFoundation
Copyright 2010-2016 Apple Inc. All rights reserved.
*/
/*!
@class
AVPlayer
@abstract 摘要
AVPlayer offers a playback interface for single-item playback that's sufficient for
the implementation of playback controllers and playback user interfaces.
AVPlayer 为单项播放提供了一个播放接口,这个接口足够用来实现播放控制器和用户播放接口。
@discussion 详述
AVPlayer works equally well with local and remote media files, providing clients with appropriate
information about readiness to play or about the need to await additional data before continuing.
不论是本地媒体文件还是远程媒体文件,AVPlayer
都能良好运行,AVPlayer为客户提供准确恰当的信息,这些信息是关于“准备去播放”,或者是关于“等待加载额外的数据才能继续”。
Visual content of items played by an instance of AVPlayer can be displayed in a CoreAnimation layer
of class AVPlayerLayer.
由AVPlayer类实例播放的项目的可视化内容可以被展示在一个属于AVPlayerLayer类的“CoreAnimation
layer”。
To allow clients to add and remove their objects as key-value observers safely, AVPlayer serializes notifications of
changes that occur dynamically during playback on a dispatch queue. By default, this queue is the main queue. See dispatch_get_main_queue().
为了允许客户端安全地以KVO的方式添加和移除它们的对象,AVPlayer把在播放过程中动态地发生的改变的“通知”序列化在一个调度队列中。默认,这个队列是主队列。
To ensure safe access to AVPlayer's nonatomic properties while dynamic changes in playback state may be reported, clients must
serialize their access with the receiver's notification queue. In the common case, such serialization is naturally achieved
by invoking AVPlayer's various methods on the main thread or queue.
为了确保在播放状态动态改变发出通知时,对AVPlayer的非原子属性可以安全访问,客户端必须用”接受者的通知队列“序列化对非原子属性的访问。在通常情况下,这种串行化是通过在主线程或队列上调用AVPlayer的各种方法而自然实现的。
*/
File: AVPlayer.h
Framework: AVFoundation
Copyright 2010-2016 Apple Inc. All rights reserved.
*/
/*!
@class
AVPlayer
@abstract 摘要
AVPlayer offers a playback interface for single-item playback that's sufficient for
the implementation of playback controllers and playback user interfaces.
AVPlayer 为单项播放提供了一个播放接口,这个接口足够用来实现播放控制器和用户播放接口。
@discussion 详述
AVPlayer works equally well with local and remote media files, providing clients with appropriate
information about readiness to play or about the need to await additional data before continuing.
不论是本地媒体文件还是远程媒体文件,AVPlayer
都能良好运行,AVPlayer为客户提供准确恰当的信息,这些信息是关于“准备去播放”,或者是关于“等待加载额外的数据才能继续”。
Visual content of items played by an instance of AVPlayer can be displayed in a CoreAnimation layer
of class AVPlayerLayer.
由AVPlayer类实例播放的项目的可视化内容可以被展示在一个属于AVPlayerLayer类的“CoreAnimation
layer”。
To allow clients to add and remove their objects as key-value observers safely, AVPlayer serializes notifications of
changes that occur dynamically during playback on a dispatch queue. By default, this queue is the main queue. See dispatch_get_main_queue().
为了允许客户端安全地以KVO的方式添加和移除它们的对象,AVPlayer把在播放过程中动态地发生的改变的“通知”序列化在一个调度队列中。默认,这个队列是主队列。
To ensure safe access to AVPlayer's nonatomic properties while dynamic changes in playback state may be reported, clients must
serialize their access with the receiver's notification queue. In the common case, such serialization is naturally achieved
by invoking AVPlayer's various methods on the main thread or queue.
为了确保在播放状态动态改变发出通知时,对AVPlayer的非原子属性可以安全访问,客户端必须用”接受者的通知队列“序列化对非原子属性的访问。在通常情况下,这种串行化是通过在主线程或队列上调用AVPlayer的各种方法而自然实现的。
*/
相关文章推荐
- 翻译:AVPlayerItemOutput
- 翻译:AVPlayerItemVideoOutput
- 24小时学会SAP 中文版--自己翻译的--第一小时 SAP NetWeaver and ECC介绍
- EFI资料翻译-EFI概述 2
- Servlet3.1规范翻译——词汇表
- Unity3D Shader官方教程翻译(十九)----Shader语法,编写表面着色器
- 【OSGI】4.实战OSGI-翻译助手项目02
- Appium 新手学 appium-Appium for Windows 说明 (中文翻译)
- 流量是网站的命根系列 如何提升网站流量?翻译一篇国外站长的心得文章(转载自:张宏彪 网站)
- Paxos Made Simple【翻译】
- django系列1 - User Authentication(翻译+整理)
- tolua++参考手册(翻译一)tolua++使用
- 对JasonEvans发表的内存分配器jemalloc论文翻译
- human-interface-guidelines_IOS人机交互指南_官方文档翻译_1.1概况_主题
- wxwidgets和其他GUI类库比较 (转)(翻译中)
- 【翻译】最新版CodeSmith3.2(.net2.0)教程之七:CodeSmith与Visual Studio的结合
- Unity3D Shader官方教程翻译(十一)----Shader语法:Pass的Blending(混合)
- 《How Tomcat Works》翻译(3)之Context容器
- EvenBus3.0中文翻译(三)Delivery Threads (ThreadMode)
- sklearn API 文档 - 0.18 中文翻译