Language

AdvertisingSetParameters.Builder.SetInterval(Int32) メソッド

定義

広告の間隔を設定します。

[Android.Runtime.Register("setInterval", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder? SetInterval(int interval);
[<Android.Runtime.Register("setInterval", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)>]
member this.SetInterval : int -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder

パラメーター

interval
Int32

Bluetooth LE Advertising 間隔 (0.625 ミリ秒単位)。 有効な範囲は、160 (100 ミリ秒) から16777215 (10,485.759375 秒) です。 推奨される値は、AdvertisingSetParameters.INTERVAL_LOW、AdvertisingSetParameters.INTERVAL_MEDIUM、またはAdvertisingSetParameters.INTERVAL_HIGHです。

戻り値

属性

注釈

広告の間隔を設定します。

android.bluetooth.le.AdvertisingSetParameters.Builder.setIntervalの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象