Difference between revisions of "VideoStream:getFilename"

m (Function exists, but not documented. Please update it to reflect current usage.)
m (Undo revision 25371 by Andlac028 (talk))
 
Line 1: Line 1:
 
{{newin|[[0.10.0]]|100|type=function}}
 
{{newin|[[0.10.0]]|100|type=function}}
Gets whatever the video stream is playing.
+
Gets filename of video stream.
  
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
playing = VideoStream:isPlaying( )
+
filename = VideoStream:getFilename( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|boolean|playing|Whatever video stream is playing.}}
+
{{param|string|filename|The filename of video stream}}
  
 
== See Also ==
 
== See Also ==
 
* [[parent::VideoStream]]
 
* [[parent::VideoStream]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets whatever the video stream is playing.}}
+
{{#set:Description=Gets filename of video stream.}}
  
 
== Other Languages ==
 
== Other Languages ==
{{i18n|VideoStream:isPlaying}}
+
{{i18n|VideoStream:getFilename}}

Latest revision as of 10:28, 22 May 2020

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

Gets filename of video stream.

Function

Synopsis

filename = VideoStream:getFilename( )

Arguments

None.

Returns

string filename
The filename of video stream

See Also


Other Languages