UNPKG

agora-react-native-rtm

Version:

React Native around the Agora RTM SDKs for Android and iOS agora

13 lines 1.15 kB
import { GetOnlineUsersResponse, GetStateResponse, GetUserChannelsResponse, RTMPresence, RemoveStateOptions, RemoveStateResponse, SetStateResponse, WhereNowResponse, WhoNowResponse } from '../api/RTMPresence'; import { PresenceOptions, RtmChannelType, StateItem } from '../legacy/AgoraRtmBase'; export declare class RtmPresenceInternal extends RTMPresence { private _rtmPresenceImpl; whoNow(channelName: string, channelType: RtmChannelType, options?: PresenceOptions): Promise<WhoNowResponse>; getOnlineUsers(channelName: string, channelType: RtmChannelType, options?: PresenceOptions): Promise<GetOnlineUsersResponse>; whereNow(userId: string): Promise<WhereNowResponse>; getUserChannels(userId: string): Promise<GetUserChannelsResponse>; setState(channelName: string, channelType: RtmChannelType, state: StateItem): Promise<SetStateResponse>; getState(userId: string, channelName: string, channelType: RtmChannelType): Promise<GetStateResponse>; removeState(channelName: string, channelType: RtmChannelType, options?: RemoveStateOptions): Promise<RemoveStateResponse>; } //# sourceMappingURL=RtmPresenceInternal.d.ts.map