Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Hide presentation #16

Open
victorshx opened this issue Nov 17, 2021 · 7 comments
Open

Feature - Hide presentation #16

victorshx opened this issue Nov 17, 2021 · 7 comments

Comments

@victorshx
Copy link

Thanks for developing this package, but it lacks a hide presentation function. May I know if this feature is planned?

@VNAPNIC
Copy link
Owner

VNAPNIC commented Nov 17, 2021

u can push code off-screen JSON to Secondary Display
in here u visible.
the widget Secondary Display

@victorshx
Copy link
Author

victorshx commented Nov 23, 2021

u can push code off-screen JSON to Secondary Display in here u visible. the widget Secondary Display

@VNAPNIC How can I do this? The showSecondaryDisplay function only accepts a displayId, and routerName parameter.

@VNAPNIC
Copy link
Owner

VNAPNIC commented Nov 23, 2021

Transmit the data from the main display to the secondary display by displayManager.transferDataToPresentation (" test transfer data ")

@victorshx
Copy link
Author

Transmit the data from the main display to the secondary display by displayManager.transferDataToPresentation (" test transfer data ")

The transfer data function works perfectly, but how can I close the presentation screen and make it mirror the primary display instead.

@VNAPNIC
Copy link
Owner

VNAPNIC commented Nov 23, 2021

Create a common widget for 2 screens.
Use transferDataToPresentation to transfer data or events to the second monitor.

@bhavin-j-crest
Copy link

@VNAPNIC How to dismiss presentation and resume mirroring?

@schigabiga
Copy link

I added a solution to dismiss presentation from secondary display.
It works in Android for now. Pull Request #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants