DownloadHandlerAudioClip Constructor

Declaration

public DownloadHandlerAudioClip(string url, AudioType audioType);

Declaration

public DownloadHandlerAudioClip(Uri uri, AudioType audioType);

Parameters

url The nominal (pre-redirect) URL at which the audio clip is located.
audioType Value to set for AudioClip type.
uri A System.Uri object identifying the audio clip resource.

Description

Constructor, specifies what kind of audio data is going to be downloaded.

The value in audioType will be used to parameterize the AudioClip when importing the downloaded audio data.


Did you find this page useful? Please give it a rating: