Package android.media 翻译
<!--@page { margin: 0.79in }P { margin-bottom: 0.08in }H1 { margin-bottom: 0.08in }H1.western { font-family: "Times New Roman", serif }H1.cjk { font-family: "DejaVu Sans" }H1.ctl { font-family: "Lohit Hindi" }H2 { margin-bottom: 0.08in }H2.ctl { font-family: "Lohit Hindi" }TD P { margin-bottom: 0in }CODE.cjk { font-family: "DejaVu Sans", monospace }A:link { so-language: zxx }-->
?
工作中使用到所以顺便翻了一下,由于本人水平有限所以以下翻译中不够完善处请包含。
?
欢迎与我联系指正,谢谢。
?
?
package
AudioManager.OnAudioFocusChangeListener
接口定义于当音频在系统中的聚焦被更新则被回调
Interfacedefinition for a callback to be invoked when the audio focus ofthe system is updated.?
AudioRecord.OnRecordPositionUpdateListener
?
接口定义于当一个音频录音已经到达由setNotificationMarkerPosition(int)设置的通知标记或者由setPositionNotificationPeriod(int)设置在记录头部的过程中周期性更新
时则被回调
Interfacedefinition for a callback to be invoked when an AudioRecord hasreached a notification marker setby AudioTrack.OnPlaybackPositionUpdateListener ? 接口定义于当回放一个音频音轨的头部位置已经到达一个通知标记或者 已经增加一个确定周期时被回调。 Interfacedefinition for a callback to be invoked when the playback headposition of an AudioTrack has reached a notification marker orhas increased by a certain period.? JetPlayer.OnJetEventListener ? 当JET引擎发生一个事件时获得这个通知 Handles thenotification when the JET engine generates an event.? MediaPlayer.OnBufferingUpdateListener ? 接口定义于显示一个在网络上的媒体资源流的缓存状态时被回调 Interfacedefinition of a callback to be invoked indicating bufferingstatus of a media resource being streamed over the network.? MediaPlayer.OnCompletionListener ? 接口定义当一个媒体资源的回放已经完成时被回调 Interfacedefinition for a callback to be invoked when playback of a mediasource has completed.? MediaPlayer.OnErrorListener ? 接口定义当在异步操作中有一个错误(其他错误将在方法调用时抛出)时被回调 Interfacedefinition of a callback to be invoked when there has been anerror during an asynchronous operation (other errors will throwexceptions at method call time).? MediaPlayer.OnInfoListener ? 接口定义一些关于媒体或者它的回放的信息且/或警告的通讯时被回调 Interfacedefinition of a callback to be invoked to communicate some infoand/or warning about the media or its playback.? MediaPlayer.OnPreparedListener ? 接口定义当媒体源为回放已准备好时被回调 Interfacedefinition for a callback to be invoked when the media source isready for playback.? MediaPlayer.OnSeekCompleteListener ? 接口定义显示一个操作完成时被回调 Interfacedefinition of a callback to be invoked indicating the completionof a seek operation.? MediaPlayer.OnVideoSizeChangedListener ? 接口定义当视频尺寸是首次知道或者被更新时被回调 Interfacedefinition of a callback to be invoked when the video size is first known or updated ? MediaRecorder.OnErrorListener ? 接口定义当记录时一个错误发生时被回调 Interfacedefinition for a callback to be invoked when an error occurswhile recording.? MediaRecorder.OnInfoListener ? 接口定义当记录时一个错误发生时被回调 Interfacedefinition for a callback to be invoked when an error occurswhile recording.? MediaScannerConnection.MediaScannerConnectionClient ? 一个接口用于通知媒体扫描链接MediaScannerConnection的客户端当到媒体扫描仪MediaScanner服务的连接已经被创立并且当文件的扫描已经完成时。 An interface fornotifying clients of MediaScannerConnection when a connection tothe MediaScanner service has been established and when thescanning of a file has completed.? MediaScannerConnection.OnScanCompletedListener ? 接口通知客户端扫描一个请求的媒体文件的结果 Interface fornotifying clients of the result of scanning a requested mediafile.? SoundPool.OnLoadCompleteListener ? 接口定义当所有声音被装载时被回调 Interfacedefinition for a callback to be invoked when all the sounds areloaded.? AsyncPlayer 播放一系列音频URIs,但在其他线程上做所有困难的工作以便于在预处理或载入是的任何缓慢而使播放线程不至阻塞 Plays a seriesof audio URIs, but does all the hard work on another thread sothat any slowness with preparing or loading doesn't block thecalling thread.? AudioFormat ? 这个AudioFormat类是被有权使用许多音频格式和频道配置常量 The AudioFormatclass is used to access a number of audio format and channelconfiguration constants.? AudioManager ? AudioManager提供进入音量和铃声模式控制 AudioManagerprovides access to volume and ringer mode control.? AudioRecord ? 这个AudioRecord类管理音频资源对于Java应用采用音频输入硬件架构记录的音频 The AudioRecordclass manages the audio resources for Java applications to recordaudio from the audio input hardware of the platform.? AudioTrack ? 这个AudioTrack类管理并通过Java应用程序播放一个单个音频资源 The AudioTrackclass manages and plays a single audio resource for Javaapplications.? CamcorderProfile ? 这个CamcorderProfile类用于取回预定义摄像机描述设置用于摄像机应用 TheCamcorderProfile class is used to retrieve the predefinedcamcorder profile settings for camcorder applications.? CameraProfile ? 这个CameraProfile类用于取回预定义静态图像照片(jpeg)品质等级(0-100)用于低、中、高质量设置在相机应用中 TheCameraProfile class is used to retrieve the pre-defined stillimage capture (jpeg) quality levels (0-100) used for low, medium,and high quality settings in the Camera application.? ExifInterface ? 这是一个读写JPEG文件中Exif标签的类 This is a classfor reading and writing Exif tags in a JPEG file.? FaceDetector ? 标识在位图中人脸图形对象 Identifies thefaces of people in a? FaceDetector.Face ? 在位图中的一个脸包含了所有信息标识 A Face containsall the information identifying the location of a face in abitmap.? JetPlayer ? JetPalyer提供进入JET内容回放和控制 JetPlayerprovides access to JET content playback and control.? MediaMetadataRetriever ? MediaMetadataRetriever类提供一个统一接口用于取回框架和来自一个输入媒体文件的元数据 MediaMetadataRetrieverclass provides a unified interface for retrieving frame and metadata from an input media file.? MediaPlayer ? MediaPlayer类能用于控制回放音频/视频文件和流 MediaPlayerclass can be used to control playback of audio/video files andstreams.? MediaRecorder ? 用于记录音频和视频 Used to recordaudio and video.? MediaRecorder.AudioEncoder ? 定义音频编码 Defines theaudio encoding.? MediaRecorder.AudioSource ? 定义音频源 Defines theaudio source.? MediaRecorder.OutputFormat ? 定义输出格式 Defines theoutput format.? MediaRecorder.VideoEncoder ? 定义视频编码 Defines thevideo encoding.? MediaRecorder.VideoSource ? 定义视频源 Defines thevideo source.? MediaScannerConnection ? MediaScannerConnection提供一个途径为应用程序通过一个新建立或者下载的媒体问题到媒体扫描仪服务 MediaScannerConnectionprovides a way for applications to pass a newly created ordownloaded media file to the media scanner service.? Ringtone ? 铃声提供一个快速方法用于播放铃声,通知,或其他类似的声音类型 Ringtoneprovides a quick method for playing a ringtone, notification, orother similar types of sounds.? RingtoneManager ? RingtoneManager提供有权使用铃声,通知,和其他声音类型 RingtoneManagerprovides access to ringtones, notification, and other types ofsounds.? SoundPool ? 这个SoundPool类管理并为应用程序播放音频资源 The SoundPoolclass manages and plays audio resources for applications.? ThumbnailUtils ? 为媒体提供缩略图生成程序。 Thumbnailgeneration routines for media provider.? ToneGenerator ? 这个类提供方法来播放双音多频声音(ITU-T推荐 Q.23),调监控音(3GPPTS 22.001,CEPT)及专有音(3GPPTS 31.111) This class provides methods to play DTMF tones (ITU-TRecommendation Q.23), call supervisory tones (3GPP TS 22.001,CEPT) and proprietary tones (3GPP TS 31.111).? ?