Screenshot¶
Non-Visible componentCategory | Requires | Version |
---|---|---|
Utilities | API 21, Android 5.0 Lollipop | 2 |
Overview¶
A non-visible component that takes a screenshot of the content currently visible on the device''s screen.
Events¶
Got Screenshot¶
Event to detect that a screenshot was made by the user. Returns the image path to the taken screenshot.
Params | |
---|---|
image | Text |
Methods¶
Take Screenshot¶
Take a screenshot of the current visible screen.
Properties¶
Allow Screenshots¶
Boolean Default: True Write - Designer Blocks
This feature allows users of your app to make or ban screenshots of their app. If disabled and a person tries to make a screenshot, they will receive then a default system message that this is not possible.
Are Permissions Granted¶
Boolean Read - Blocks
Returns true if the write and read permission is granted, else false.
Dim Amount¶
Number Default: 0.5 Read Write - Designer Blocks
Set the amount of dim behind the preview window if ShowPreview(...) is enabled. Use '0.0' for no dim and '1.0' for full dim.
File Name¶
Text Default: Screenshot.png Read Write - Designer Blocks
This will be the name for the taken screenshot image file.
is Read Permission Granted¶
Boolean Read - Blocks
Returns true if the read permission is granted, else false.
is Write Permission Granted¶
Boolean Read - Blocks
Returns true if the write permission is granted, else false.
Notification Share Title¶
Text Default: Share Read Write - Designer Blocks
This will set the notification share button text if the option "Show Notification" is enabled.
Notification Title¶
Text Default: Screenshot.. Read Write - Designer Blocks
This will set the notification title if the option "Show Notification" is enabled.
Show Notification¶
Boolean Default: False Read Write - Designer Blocks
If enabled you will see a notification in the statusbar after the screenshot is taken.
Show Notification Share Button¶
Boolean Default: True Read Write - Designer Blocks
If enabled you will see a notification with a share button after the screenshot is taken.
Show Preview¶
Boolean Default: True Read Write - Designer Blocks
If enabled you will see a short preview animation after the screenshot is taken.
Use Large Notification¶
Boolean Default: False Read Write - Designer Blocks
This will display the notification in a big style.