Domains overview
The SDK is organized into domains on the default export (mobilelocker.crm, mobilelocker.storage, …). Named exports mirror the same objects.
See many of these live in the SDK Demo IVA.
By job to be done
Section titled “By job to be done”| I need to… | Start here |
|---|---|
| Greet the rep / read identity | User (user.get()) |
| Query Salesforce / manage current customers | CRM |
| Walk the address book safely | Contacts (eachPage / getPage) |
| Scan a badge or business card | Scanner, Congresses |
| Persist presentation data | Storage, localforage |
| Call my HTTPS API | HTTP |
| Log analytics events | Analytics |
| Query bundled SQLite | Database |
| Products / forms / labels | Data |
| Open PDFs/videos | UI |
| Share or email | Share |
| Search across entities | Search |
| Gate on app version / OS | Device, Environments |
| Handle failures | Errors |
| Debug / live mode | Log, Network, Session |
Full list and public methods
Section titled “Full list and public methods”| Domain | Public methods / surface |
|---|---|
| Analytics | logEvent |
| Congresses | list, get, getAttendees, getAttendee, getBusinessCards, getBusinessCard |
| Contacts | get, getPage, eachPage |
| CRM | Cursor pages/walks + by-id for accounts/addresses/contacts/leads/users; query; customers; openCustomerPicker; refresh |
| Data | submitForm, products/labels/folders/customers getters |
| Database | list, describe, query |
| Device | get, isAtLeastVersion |
| Errors | Classes + *ErrorCode constants (named exports) |
| HTTP | get, post, put, patch, delete, request |
| localforage | localForage data API |
| Log | setMode, isEnabled, liveMode, practiceMode, getSdkLogs, searchSdkLogs, debug/info/warn/error |
| Network | getStatus |
| Permissions | camera, microphone, photoLibrary, location, bluetooth, biometric |
| Presentation | get, events, library, download, open helpers, openPicker |
| Scanner | scanBusinessCard, scanBadge |
| Search | query |
| Session | getDeviceEvents, hitSessionId |
| Share | presentation, email |
| Storage | get, getAll, getAllAcrossPresentations, getForPresentation, query, search, save, delete |
| UI | openPDF, showToolbar, openVideo |
| User | get |
Also on the default export (not domain modules): environment helpers (isIOS, …), MobileLockerError, and notificationLevels.
Generated signatures for every export live under API reference.