Methods
get$
- get$(address): Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>> Returns Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>>
subscribeToPresence$
- subscribeToPresence$(address): Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>> Returns Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>>
subscribeToPresences$
- subscribeToPresences$(addresses): Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>[]> Returns Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>[]>
unsubscribeFromPresence$
- unsubscribeFromPresence$(address): Observable<void>
Returns Observable<void>
update$
- update$(address, presence): Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>> Returns Observable<Readonly<{
activity?: PresenceActivity;
address: string;
avatar?: string;
avatarUrl?: string;
displayName?: string;
domain: string;
id: string;
mood?: PresenceMood;
note?: string;
online?: boolean;
role?: "user" | "anonymous";
username: string;
}>>
Get the presence associated with given address