GoIndoorBuilder Protocol Reference

Conforms to NSObject
Declared in OYMGoIndoor.h

Overview

GoIndoorBuilder protocol for OYMGoIndoor.

– setURL: required method

Sets the Goindoor backend URL.

- (void)setURL:(NSString *)_url

Declared In

OYMGoIndoor.h

– setUser: required method

Sets the profile to be used. Default is user.

- (void)setUser:(NSString *)_user

Declared In

OYMGoIndoor.h

– setAccount: required method

Sets the account.

- (void)setAccount:(NSString *)_account

Declared In

OYMGoIndoor.h

– setPassword: required method

Sets the password.

- (void)setPassword:(NSString *)_password

Declared In

OYMGoIndoor.h

– setConnectCallBack: required method

Sets the callback to handle the connection process.

- (void)setConnectCallBack:(void ( ^ ) ( BOOL succeed , NSString *message ))_connectCallback

Declared In

OYMGoIndoor.h

– setLocationType: required method

Sets the positioning type. Default is #kOYMGoIndoorLocationTypeAverage.

- (void)setLocationType:(OYMGoIndoorLocationType)_type

Declared In

OYMGoIndoor.h

– setLocationUpdate: required method

Sets the update rate in msec. Default is #kOYMGoIndoorDefaultLocationRefresh.

- (void)setLocationUpdate:(long)_refresh

Declared In

OYMGoIndoor.h

– setDebug: required method

Sets the debug mode. Default is false.

- (void)setDebug:(BOOL)_debug

Declared In

OYMGoIndoor.h

– setUpdatePolicy: required method

Sets the update policy. Default is #(kOYMGoIndoorUpdateWifi | kOYMGoIndoorUpdateMobile).

- (void)setUpdatePolicy:(OYMGoIndoorUpdate)policy

Declared In

OYMGoIndoor.h

– setDatabaseUpdate: required method

Sets the database update rate in msec. Default is #kOYMGoIndoorDefaultUpdateTime.

- (void)setDatabaseUpdate:(long)refresh

Declared In

OYMGoIndoor.h

– setCBCentralManagerOptions: required method

Sets the CoreBluetooth Central Manager Options.

- (void)setCBCentralManagerOptions:(NSDictionary<NSString*,id> *)options

Declared In

OYMGoIndoor.h

– build required method

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