user958880
user958880

Reputation: 497

Monotouch can't find AudioFileOpenURL

I'm developing in monotouch and I found a code written in objectiveC that uses a class called AudioFileOpenURL. I can't seem to find this class in mono touch.

Thanks!

Upvotes: 0

Views: 92

Answers (1)

Krumelur
Krumelur

Reputation: 33058

It's in the MonoTouch.AudioToolbox.AudioFile namespace.

MonoTouch.AudioToolbox.AudioFile.Open(...);

or

using MonoTouch.AudioToolbox;
AudioFile.Open(...);

You can easily find these things out by typing AudioFile and then press SHIFT+ALT+F10 in Visual Studio or ALT+RETURN in Xamarin Studio to trigger Intellisense and let it add the missing using statement.

Upvotes: 2

Related Questions