Skip to content

Commit

Permalink
[MobilePlayerViewController] Improve play and pause documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
isair committed Dec 10, 2015
1 parent 1961cd4 commit ae3429c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MobilePlayer/MobilePlayerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,16 @@ public class MobilePlayerViewController: MPMoviePlayerViewController {
}

/// Initiates playback of current content.
///
/// Starting playback causes dismiss to be called on prerollViewController, pauseOverlayViewController
/// and postrollViewController.
public func play() {
moviePlayer.play()
}

/// Pauses playback of current content.
///
/// Pausing playback causes pauseOverlayViewController to be shown.
public func pause() {
moviePlayer.pause()
}
Expand Down

0 comments on commit ae3429c

Please sign in to comment.