EnableLongSession
Maintains the user's session alive by calling the reconnect method upon detecting the expiration of the user's session.
Method Parameters
Parameter | Description |
---|---|
enabled | True if long-sesson should be enabled |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
_bc.EnableLongSession(true);
_bc->enableLongSession(true);
BCCompletionBlock successBlock; // define callback
BCErrorCompletionBlock failureBlock; // define callback
[_bc enableLongSession:true
completionBlock:successBlock
errorCompletionBlock:failureBlock
cbObject:nil];
_bc.enableLongSession(true);
_bc.enableLongSession(true);
_bc.enableLongSession(true);
// N/A
// N/A
JSON Response
// N/A