Sin descripción

AgoraView.native.d.ts 1.2KB

123456789101112131415161718192021222324252627282930
  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. *
  8. * @props {@link AgoraViewProps}
  9. *
  10. * @descrption AgoraViewProps has four properties.
  11. * @property number: mode, this property will setup video render mode. there is two avaliable mode {hidden: 1, fit: 2}, 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](#here)
  12. * @property boolean: showLocalVideo, this property will render local video, NOTICE: IF YOU SET showLocalVideo YOU CANNOT SET remoteUid
  13. * @property number: remoteUid, this property will render video with remote uid, NOTICE: IF YOU SET remoteUid YOU CANNOT SET showLocalVideo
  14. * @property boolean: zOrderMediaOverlay, this property will working for android side and it likes zIndex behaviour on web side.
  15. */
  16. export default class AgoraView extends React.Component<AgoraViewProps> {
  17. /**
  18. * render
  19. *
  20. * It would render view for VideoStream
  21. */
  22. render(): JSX.Element;
  23. /**
  24. * getHTMLProps
  25. *
  26. * get agora view props
  27. */
  28. private getHTMLProps;
  29. }