Platforms to show: All Mac Windows Linux Cross-Platform
Back to MLMediaLibraryMBS class.
MLMediaLibraryMBS.Available as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on Mac OS 10.7 or newer in 64-bit app.
MLMediaLibraryMBS.MLMediaLoadAppFoldersKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Specifies one or more relative paths inside the caller’s app bundle in which to search for media files. The value for this key is an array of strings (relative paths inside the caller’s app bundle).
MLMediaLibraryMBS.MLMediaLoadAppleLoops as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Identifies the folder containing audio loops from Apple.
MLMediaLibraryMBS.MLMediaLoadExcludeSourcesKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Defines which media sources to exclude when loading. This option is processed after MLMediaLoadIncludeSourcesKey. The value for this key is an array of strings (media source identifiers). For a list of valid media source identifiers, see Media Source Identifiers.
MLMediaLibraryMBS.MLMediaLoadFoldersKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Specifies the well-known folders that should be searched for media files. If this key is not present, none of the well-known folders will be provided. The value for this key is an array of strings (identifiers that correspond to well-known folder locations). For a list of well-known folder identifiers, see MLMediaLoadMoviesFolder and MLMediaLoadAppleLoops.
MLMediaLibraryMBS.MLMediaLoadIncludeSourcesKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Defines which media sources to include when loading. If not present, load all available media sources. This option is processed after MLMediaLoadSourceTypesKey. If MLMediaLoadIncludeSourcesKey is present but MLMediaLoadSourceTypesKey is not, then only those sources specified here will be loaded. This is useful for loading a single media source. When both keys are present, this is useful for adding one or more media sources that normally would not appear for the requested library type. The value for this key is an array of strings (media source identifiers). For a list of valid media source identifiers, see Media Source Identifiers.
Some examples using this method:
MLMediaLibraryMBS.MLMediaLoadMoviesFolder as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Identifies the user’s Movies folder.
MLMediaLibraryMBS.MLMediaLoadSourceTypesKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MediaLibrary | MBS Mac64bit Plugin | 18.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Defines which sources to load based on library type. If not present, this will load all sources. The value for this key is a media source type.
The items on this page are in the following plugins: MBS Mac64bit Plugin.