UNPKG

agora-react-native-rtm

Version:

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

12 lines 1.1 kB
import { AcquireLockOptions, AcquireLockResponse, GetLockResponse, RTMLock, ReleaseLockResponse, RemoveLockResponse, RevokeLockResponse, SetLockOptions, SetLockResponse } from '../api/RTMLock'; import { RtmChannelType } from '../legacy/AgoraRtmBase'; export declare class RtmLockInternal extends RTMLock { private _rtmLockImpl; setLock(channelName: string, channelType: RtmChannelType, lockName: string, options?: SetLockOptions): Promise<SetLockResponse>; removeLock(channelName: string, channelType: RtmChannelType, lockName: string): Promise<RemoveLockResponse>; acquireLock(channelName: string, channelType: RtmChannelType, lockName: string, options?: AcquireLockOptions): Promise<AcquireLockResponse>; releaseLock(channelName: string, channelType: RtmChannelType, lockName: string): Promise<ReleaseLockResponse>; revokeLock(channelName: string, channelType: RtmChannelType, lockName: string, owner: string): Promise<RevokeLockResponse>; getLock(channelName: string, channelType: RtmChannelType): Promise<GetLockResponse>; } //# sourceMappingURL=RtmLockInternal.d.ts.map