Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 854 Bytes

gattsession_maintainconnection.md

File metadata and controls

26 lines (18 loc) · 854 Bytes
-api-id -api-type
P:Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession.MaintainConnection
winrt property

Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession.MaintainConnection

-description

Gets or sets a Boolean value that indicates whether the connection should be maintained.

-property-value

true if the connection should be maintained, otherwise false. false by default.

-remarks

If GattSession.MaintainConnection is set to true, then the system waits indefinitely for a connection, and it will connect when the device is available. There's nothing for your application to wait on, since GattSession.MaintainConnection is a property.

-see-also

-examples

-capabilities

bluetooth