2024-06-07 11:41:02 +08:00

26 lines
686 B
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// BaiduMobAdNativeVideoBaseView.h
// BaiduMobAdNativeSDKSample
//
// Created by lishan04 on 15/11/16.
// Copyright © 2015年 lishan04. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BaiduMobAdCommonConfig.h"
//自定义视频播放器需要实现的接口
@interface BaiduMobAdNativeVideoBaseView : UIView
- (BOOL)isPlaying;
- (void)play;
- (void)pause;
- (void)stop;
- (BOOL)render;
- (BOOL)handleScrollStop;
#warning 重要一定要向BaiduMobAdNativeAdObject发送视频状态事件和当前视频播放的位置只有在第一次播放才需要发送
- (void)sendVideoEvent:(BaiduAdNativeVideoEvent)event currentTime:(NSTimeInterval) currentTime;
@end