Class Microphone
Assembly: UnityEngine.dll
Syntax
public sealed class Microphone
Properties
devices
Declaration
public static string[] devices { get; }
Property Value
Methods
End(String)
Declaration
public static void End(string deviceName)
Parameters
Type |
Name |
Description |
String |
deviceName |
|
GetDeviceCaps(String, out Int32, out Int32)
Declaration
public static void GetDeviceCaps(string deviceName, out int minFreq, out int maxFreq)
Parameters
GetPosition(String)
Declaration
public static int GetPosition(string deviceName)
Parameters
Type |
Name |
Description |
String |
deviceName |
|
Returns
IsRecording(String)
Declaration
public static bool IsRecording(string deviceName)
Parameters
Type |
Name |
Description |
String |
deviceName |
|
Returns
Start(String, Boolean, Int32, Int32)
Declaration
public static AudioClip Start(string deviceName, bool loop, int lengthSec, int frequency)
Parameters
Returns
Extension Methods