WmaImporter.Import Method (Microsoft.Xna.Framework.Content.Pipeline)
Called by the XNA Framework when importing a .wma file to be used as a game asset. This is the method called by the XNA Framework when an asset is to be imported into an object that can be recognized by the Content Pipeline.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public AudioContent Import( string filename, ContentImporterContext context )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- filename
-
Type: System.String
Name of a game asset file.
- context
-
Type: Microsoft.Xna.Framework.Content.Pipeline.ContentImporterContext
Contains information for importing a game asset, such as a logger interface.
Return Value
Type: Microsoft.Xna.Framework.Content.Pipeline.Audio.AudioContentResulting game asset.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop