Refactor API functions to improve parameter aliasing and enhance documentation clarity
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
|
||||
---@param codecID 1836070006
|
||||
---@param 1635148593
|
||||
---@param 1768124260
|
||||
---@param 1835692129
|
||||
---@param 1836070006
|
||||
---@return boolean isSupported
|
||||
---@alias codecID
|
||||
---| 1635148593 - H.264 - supported natively by Apple devices like the iPod, iPhone and AppleTV; best ratio quality/size but slowest to compress
|
||||
---| 1768124260 - Apple Intermediate Codec - fastest to compress, but exclusive to Mac OS X
|
||||
---| 1835692129 - Motion JPEG - faster to compress than H.264 but it will generate a bigger file
|
||||
---| 1836070006 - MPEG-4 - supported by many digital cameras and iMovie
|
||||
|
||||
---@param codecID codecID
|
||||
---@return boolean isSupported
|
||||
---Returns whether a video codec is supported on the current system
|
||||
function MovieRecording_IsCodecSupported(codecID, 1635148593, 1768124260, 1835692129, 1836070006) end
|
||||
function MovieRecording_IsCodecSupported(codecID) end
|
||||
|
||||
Reference in New Issue
Block a user