OYMGoIndoorBuilder Class Reference
Inherits from | NSObject |
---|---|
Conforms to | GoIndoorBuilder |
Declared in | OYMGoIndoor.m |
– setUser:
Sets the profile to be used. Default is user.
- (void)setUser:(NSString *)_user
Declared In
OYMGoIndoor.h
– setPassword:
Sets the password.
- (void)setPassword:(NSString *)_password
Declared In
OYMGoIndoor.h
– setConnectCallBack:
Sets the callback to handle the connection process.
- (void)setConnectCallBack:(void ( ^ ) ( BOOL , NSString *))_connectCallback
Declared In
OYMGoIndoor.h
– setLocationType:
Sets the positioning type. Default is #kOYMGoIndoorLocationTypeAverage.
- (void)setLocationType:(OYMGoIndoorLocationType)_type
Declared In
OYMGoIndoor.h
– setLocationUpdate:
Sets the update rate in msec. Default is #kOYMGoIndoorDefaultLocationRefresh.
- (void)setLocationUpdate:(long)_refresh
Declared In
OYMGoIndoor.h
– setDebug:
Sets the debug mode. Default is false.
- (void)setDebug:(BOOL)_debug
Declared In
OYMGoIndoor.h
– setUpdatePolicy:
Sets the update policy. Default is #(kOYMGoIndoorUpdateWifi | kOYMGoIndoorUpdateMobile).
- (void)setUpdatePolicy:(OYMGoIndoorUpdate)policy
Declared In
OYMGoIndoor.h
– setDatabaseUpdate:
Sets the database update rate in msec. Default is #kOYMGoIndoorDefaultUpdateTime.
- (void)setDatabaseUpdate:(long)refresh
Declared In
OYMGoIndoor.h
– setCBCentralManagerOptions:
Sets the CoreBluetooth Central Manager Options.
- (void)setCBCentralManagerOptions:(NSDictionary<NSString*,id> *)options
Declared In
OYMGoIndoor.h
– build
Creates a OYMGoIndoor with the arguments supplied to this builder. It will attempt to connect to the database and the outcome will be shown in the provided connect callback
- (OYMGoIndoor *)build
Return Value
A OYMGoIndoor object
Declared In
OYMGoIndoor.h