LovenseError Class Reference

Inherits from NSObject
Declared in Lovense-Swift.h

Overview

Errors

1 : “Bluetooth is off”
2 : “Bluetooth not authorized”
3 : “Bluetooth errors”
11 : “Toy not connected!”
21 : “Incorrect toy ID!”
22 : “the parameter must be between 0 and 20!”
24 : “the parameter must be between 0 and 100!”
23 : “Toy not saved!”
25 : “Invalid command!”
26 : “Commands sent too fast!”
99 : “Invalid token!”

  code

Error code

@property (nonatomic, readonly) NSInteger code

Discussion

Error code

Declared In

Lovense-Swift.h

  message

Error description

@property (nonatomic, readonly, copy) NSString *message

Discussion

Error description

Declared In

Lovense-Swift.h