iphone-common-codes-ccteam源代码 CCPlayer.h

//
// CCPlayer.h
// CCFC
//
// Created by xichen on 11-12-16.
// Copyright 2011年 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>
#import <MediaPlayer/MediaPlayer.h>


@interface CCPlayer : NSObject
{

}


// 调用系统播放器播放资源界面
+ (MPMediaPickerController *)showIpodPlayResourceView:(id)delegate
mediaType:(MPMediaType)mediaType
prompt:(NSString *)prompt
isAllowMultiSelected:(BOOL)isAllowMultiSelected
animated:(BOOL)animated;


// 调用系统ipod视频播放接口 not known
+ (MPMoviePlayerViewController *)showMovieView:(id)delegate
urlStr:(NSString *)urlStr
style:(MPMovieControlStyle)style
animated:(BOOL)animated;




@end

 

可能有更新:

 googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCPlayer.h

 github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCPlayer.h

 

你可能感兴趣的:(iPhone)