AudioFile
public struct AudioFile
Auido File used for play sound in SwiftFortuneWheel
-
Filename
Declaration
Swift
var filename: String?
-
Extension name
Declaration
Swift
var extensionName: String?
-
File’s bundle
Declaration
Swift
var bundle: Bundle?
-
File’s URL
Declaration
Swift
var url: URL?
-
File’s identifier
Declaration
Swift
var identifier: String?
-
Initializes audio file
Declaration
Swift
public init(filename: String, extensionName: String, bundle: Bundle? = nil)
Parameters
filename
Filename
extensionName
Extension name
bundle
Bundle, optional
-
Initializes audio file
Declaration
Swift
public init(url: URL)
Parameters
url
File’s location URL