Properties
Readonly
$addr
$addr: number
Readonly
allUsers
Readonly
config
Readonly
currentUser
Readonly
subscribersCount
subscribersCount: number
Readonly
syncManager
Methods
$resetSharedPtr
- $resetSharedPtr(): void
Returns void
callFunction
- callFunction(user, name, args, service_name): Promise<Readonly<EJson>>
Parameters
name: string
service_name: undefined | string
deleteUser
- deleteUser(user): Promise<void>
Returns Promise<void>
getBaseUrl
- getBaseUrl(): string
Returns string
linkUser
- linkUser(user, credentials): Promise<SyncUser>
Returns Promise<SyncUser>
logInWithCredentials
- logInWithCredentials(credentials): Promise<SyncUser>
Returns Promise<SyncUser>
logOut
- logOut(): Promise<void>
Returns Promise<void>
logOutUser
- logOutUser(user): Promise<void>
Returns Promise<void>
makeStreamingRequest
- makeStreamingRequest(user, name, args, service_name): Request
Parameters
name: string
service_name: undefined | string
pushNotificationClient
- pushNotificationClient(service_name): PushClient
refreshCustomData
- refreshCustomData(user): Promise<void>
Returns Promise<void>
removeUser
- removeUser(user): Promise<void>
Returns Promise<void>
subscribe
- subscribe(observer): AppSubscriptionToken
switchUser
- switchUser(user): void
Returns void
unsubscribe
- unsubscribe(token): void
Returns void
updateBaseUrl
- updateBaseUrl(base_url): Promise<void>
Parameters
base_url: undefined | string
Returns Promise<void>
usernamePasswordProviderClient
Static
clearCachedApps
- clearCachedApps(): void
Returns void
Static
closeAllSyncSessions
- closeAllSyncSessions(): void
Returns void
Static
getApp
- getApp(mode, config, sync_client_config): App
Returns App
Static
getCachedApp
- getCachedApp(app_id): App
Returns App
Deprecated
Add
DOLLAR_addr
to your opt-in list (underclasses/App/methods/
) to use this.