openvidu/openvidu-browser/lib/OpenViduInternal/Events/SessionDisconnectedEvent.d.ts

24 lines
827 B
TypeScript
Raw Normal View History

2018-04-26 15:33:47 +02:00
import { Event } from './Event';
import { Session } from '../../OpenVidu/Session';
2018-04-26 15:33:47 +02:00
/**
* Defines event `sessionDisconnected` dispatched by [[Session]]
*/
export declare class SessionDisconnectedEvent extends Event {
/**
* - "disconnect": you have called `Session.disconnect()`
2018-07-11 11:47:53 +02:00
* - "forceDisconnectByUser": you have been evicted from the Session by other user calling `Session.forceDisconnect()`
* - "forceDisconnectByServer": you have been evicted from the Session by the application
* - "sessionClosedByServer": the Session has been closed by the application
* - "networkDisconnect": your network connection has dropped
2018-04-26 15:33:47 +02:00
*/
reason: string;
/**
* @hidden
*/
constructor(target: Session, reason: string);
/**
* @hidden
*/
2018-07-11 11:47:53 +02:00
callDefaultBehavior(): void;
2018-04-26 15:33:47 +02:00
}