Lingua

AdvertiseSettings.Builder.SetTimeout(Int32) Method

Definition

Limit advertising to a given amount of time.

[Android.Runtime.Register("setTimeout", "(I)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")]
public Android.Bluetooth.LE.AdvertiseSettings.Builder? SetTimeout(int timeoutMillis);
[<Android.Runtime.Register("setTimeout", "(I)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")>]
member this.SetTimeout : int -> Android.Bluetooth.LE.AdvertiseSettings.Builder

Parameters

timeoutMillis
Int32

Advertising time limit. May not exceed 180000 milliseconds. A value of 0 will disable the time limit.

Returns

Attributes

Remarks

Limit advertising to a given amount of time.

Android reference for android.bluetooth.le.AdvertiseSettings.Builder.setTimeout.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to