AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The audio message. There is a 1 MB limit on the audio file input and the only supported format is MP3. To convert your MP3 audio files to an Alexa-friendly,

required codec version (MPEG version 2) and bit rate (48 kbps), you might use converter software. One option for this is a command-line tool, FFmpeg. For more information, see FFmpeg. The following command converts the provided to an MP3 file that is played in the announcement:

ffmpeg -i -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000

Inheritance Hierarchy

System.Object
  Amazon.AlexaForBusiness.Model.Audio

Namespace: Amazon.AlexaForBusiness.Model
Assembly: AWSSDK.AlexaForBusiness.dll
Version: 3.x.y.z

Syntax

C#
public class Audio

The Audio type exposes the following members

Constructors

NameDescription
Public Method Audio()

Properties

NameTypeDescription
Public Property Locale Amazon.AlexaForBusiness.Locale

Gets and sets the property Locale.

The locale of the audio message. Currently, en-US is supported.

Public Property Location System.String

Gets and sets the property Location.

The location of the audio file. Currently, S3 URLs are supported. Only S3 locations comprised of safe characters are valid. For more information, see Safe Characters.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms