語言

MediaFormat.GetFeatureEnabled(String) 方法

定義

回傳功能是否要啟用(true)或停用(false)。

[Android.Runtime.Register("getFeatureEnabled", "(Ljava/lang/String;)Z", "")]
public bool GetFeatureEnabled(string feature);
[<Android.Runtime.Register("getFeatureEnabled", "(Ljava/lang/String;)Z", "")>]
member this.GetFeatureEnabled : string -> bool

參數

feature
String

一個特徵的名稱 MediaCodecInfo.CodecCapabilities 。

傳回

屬性

例外狀況

如果該功能既未設定為啟用也未被關閉。

備註

回傳功能是否要啟用(true)或停用(false)。

的 android.media.MediaFormat.getFeatureEnabled(java.lang.String)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於