-api-id | -api-type |
---|---|
P:Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession.MaintainConnection |
winrt property |
Gets or sets a Boolean value that indicates whether the connection should be maintained.
true
if the connection should be maintained, otherwise false
. false
by default.
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.
bluetooth