39 lines
965 B
Objective-C
Executable File
39 lines
965 B
Objective-C
Executable File
// Copyright 2016 Google Inc.
|
|
|
|
#import <GoogleCast/GCKDefines.h>
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/**
|
|
* A class representing the ad break status.
|
|
*
|
|
* @since 3.3
|
|
*/
|
|
GCK_EXPORT
|
|
@interface GCKAdBreakStatus : NSObject <NSCopying>
|
|
|
|
/** The current time within the current ad break. */
|
|
@property(nonatomic, assign, readonly) NSTimeInterval currentAdBreakTime;
|
|
|
|
/** The current time within the current ad clip break. */
|
|
@property(nonatomic, assign, readonly) NSTimeInterval currentAdBreakClipTime;
|
|
|
|
/**
|
|
* The minimum count in seconds into the clip required to enable skipping.
|
|
*
|
|
* @since 4.4.5
|
|
*/
|
|
@property(nonatomic, assign, readonly) NSTimeInterval whenSkippable;
|
|
|
|
/** The string identifier for the current ad break. */
|
|
@property(nonatomic, strong, readonly) NSString *adBreakID;
|
|
|
|
/** The string identifier for the current ad clip break. */
|
|
@property(nonatomic, strong, readonly) NSString *adBreakClipID;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|