SignalThresholdInfo.Builder.SetThresholds(Int32[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定對應訊號測量類型的訊號強度閾值。
[Android.Runtime.Register("setThresholds", "([I)Landroid/telephony/SignalThresholdInfo$Builder;", "", ApiSince=31)]
public Android.Telephony.SignalThresholdInfo.Builder SetThresholds(int[] thresholds);
[<Android.Runtime.Register("setThresholds", "([I)Landroid/telephony/SignalThresholdInfo$Builder;", "", ApiSince=31)>]
member this.SetThresholds : int[] -> Android.Telephony.SignalThresholdInfo.Builder
參數
- thresholds
- Int32[]
整數陣列作為訊號閾值。 這個值不可能為零值。
傳回
建造者協助連結。 這個值不可能為零值。
- 屬性
備註
設定對應訊號測量類型的訊號強度閾值。 距離與單位必須參考特定的 SignalMeasurementType。 從 SignalThresholdInfo.getMinimumNumberOfThresholdsAllowed() 回傳的數字之間的閾值長度應該是 SignalThresholdInfo.getMaximumNumberOfThresholdsAllowed()。 IllegalArgumentException 則會拋出相反的訊息。
Android 參考資料。android.telephony.SignalThresholdInfo.Builder.setThresholds
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。