Aila_ComsTest
Return current RSM reachability.
Signature
- Objective-C
- Swift
void Aila_ComsTest(void (^completion)(BOOL reachable));
func Aila_ComsTest(_ completion: @escaping (Bool) -> Void)
Parameters
completion- Block/closure called with reachability result
Description
Returns a boolean that is true if the SDK was successfully able to communicate with the RSM (Remote Status Monitoring) endpoint.
Usage
- Objective-C
- Swift
Aila_ComsTest(^(BOOL reachable) {
if (reachable) {
NSLog(@"RSM endpoint is reachable");
} else {
NSLog(@"RSM endpoint is not reachable");
}
});
Aila_ComsTest { reachable in
if reachable {
print("RSM endpoint is reachable")
} else {
print("RSM endpoint is not reachable")
}
}
See Also
- AilaRSM - Remote status monitoring configuration