GetAudioLanguageCode(ushort)
Returns the language code, if any, for the specified track.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
public string GetAudioLanguageCode(ushort trackIndex)
Parameters
Index of the audio track to query.
Returns
Type | Description |
|---|---|
| string | Language code. |
Remarks
For URL sources, this will only be set once the source preparation is completed. See VideoPlayer.Prepare.