Преглед на файлове

VLCMediaPlayer: clarify documentation for the position setter/getter

Felix Paul Kühne преди 12 години
родител
ревизия
7131675912
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      Headers/Public/VLCMediaPlayer.h

+ 5 - 1
Headers/Public/VLCMediaPlayer.h

@@ -354,9 +354,13 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
 
 /**
  * Returns the receiver's position in the reading.
- * \return A number between 0 and 1. indicating the position
+ * \return movie position as percentage between 0.0 and 1.0.
  */
 - (float)position;
+/**
+ * Set movie position. This has no effect if playback is not enabled.
+ * \param movie position as percentage between 0.0 and 1.0.
+ */
 - (void)setPosition:(float)newPosition;
 
 - (BOOL)isSeekable;