<commit_before>//
//  Created by <NAME> on 25.02.15.
//  Copyright (c) 2015 RTS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

#import <RTSMediaPlayer/RTSMediaPlayerControllerDataSource.h>

/**
 *  ---------------
 *  @name Constants
 *  ---------------
 */

/**
 *  @enum RTSMediaPlaybackState
 *
 *  Enumeration of the possible playback states.
 */
typedef NS_ENUM(NSInteger, RTSMediaPlaybackState) {
	/**
	 *  Before playing when loading datasource or buffering media
	 */
	RTSMediaPlaybackStatePendingPlay,
	
	/**
	 *  Media is playing
	 */
	RTSMediaPlaybackStatePlaying,
	
	/**
	 *  Media is paused
	 */
	RTSMediaPlaybackStatePaused,
	
	/**
	 *  Ends either when the media's end is reached, if an error occurs or if the user dismiss it's enclosing view controller
	 */
	RTSMediaPlaybackStateEnded
};

/**
 *  @enum RTSMediaFinishReason
 *
 *  Enumeration of the possible finished reasons used by `RTSMediaPlayerPlaybackDidFinishNotification`.
 */
typedef NS_ENUM(NSInteger, RTSMediaFinishReason) {
	/**
	 *  Ended because playerreached the end of the stream
	 */
	RTSMediaFinishReasonPlaybackEnded,
	
	/**
	 *  Ended due to an error
	 */
	RTSMediaFinishReasonPlaybackError,
	
	/**
	 *  Ended without error and also without reaching the end of the stream
	 */
	RTSMediaFinishReasonUserExited
};

/**
 *  -------------------<commit_msg>Update documentation<commit_after>//
//  Created by <NAME> on 25.02.15.
//  Copyright (c) 2015 RTS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

#import <RTSMediaPlayer/RTSMediaPlayerControllerDataSource.h>

/**
 *  ---------------
 *  @name Constants
 *  ---------------
 */

/**
 *  @enum RTSMediaPlaybackState
 *
 *  Enumeration of the possible playback states.
 */
typedef NS_ENUM(NSInteger, RTSMediaPlaybackState) {
	/**
	 *  Before playing when loading datasource or buffering media
	 */
	RTSMediaPlaybackStatePendingPlay,
	
	/**
	 *  Media is playing
	 */
	RTSMediaPlaybackStatePlaying,
	
	/**
	 *  Media is paused
	 */
	RTSMediaPlaybackStatePaused,
	
	/**
	 *  Ends either when the media's end is reached, if an error occurs or if the user dismiss it's enclosing view controller
	 */
	RTSMediaPlaybackStateEnded
};

/**
 *  @enum RTSMediaFinishReason
 *
 *  Enumeration of the possible finished reasons used by `RTSMediaPlayerPlaybackDidFinishNotification`.
 */
typedef NS_ENUM(NSInteger, RTSMediaFinishReason) {
	/**
	 *  Ended because player reached the end of the media
	 */
	RTSMediaFinishReasonPlaybackEnded,
	
	/**
	 *  Ended due to an error
	 */
	RTSMediaFinishReasonPlaybackError,
	
	/**
	 *  Ended without error and also without reaching the end of the stream
	 */
	RTSMediaFinishReasonUserExited
};

/**
 *  -------------------
{'fraction_non_alphanumeric': 0.1307331166486096, 'fraction_numerical': 0.007222824124232575, 'mean_word_length': 3.067547723935389, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4613826', 'n_tokens_mistral': 945, 'n_tokens_neox': 848, 'n_words': 228}