No Description

AgoraView.native.d.ts 1.2KB

12345678910111213141516171819202122232425262728293031
  1. import React from 'react';
  2. import { AgoraViewProps } from "./types";
  3. /**
  4. * AgoraView is the render layer for rendering video stream
  5. *
  6. * This class is used to rendering native sdk stream
  7. * @props {@link AgoraViewProps}
  8. *
  9. * @descrption AgoraViewProps has four properties.
  10. * @property mode: {@link AgoraViewMode}, this property will setup video render mode. You could see more [details](https://docs.agora.io/en/Interactive%20Broadcast/API%20Reference/java/classio_1_1agora_1_1rtc_1_1_rtc_engine.html#ac08882c4d0ec47b329900df169493673)
  11. * @property showLocalVideo: boolean, this property will render local video, NOTICE: IF YOU SET showLocalVideo YOU CANNOT SET remoteUid
  12. * @property remoteUid: number, this property will render video with remote uid, NOTICE: IF YOU SET remoteUid YOU CANNOT SET showLocalVideo
  13. * @property zOrderMediaOverlay: boolean, this property will working for android side and it likes zIndex behaviour on web side.
  14. *
  15. * @noInheritDoc
  16. */
  17. export default class AgoraView extends React.Component<AgoraViewProps, {}, {}> {
  18. /**
  19. * render
  20. *
  21. * It would render view for VideoStream
  22. */
  23. render(): JSX.Element;
  24. /**
  25. * getHTMLProps
  26. *
  27. * get agora view props
  28. */
  29. private getHTMLProps;
  30. }