Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  

ContinuityCamera.CanImport

Checks whether we can import.

Component Version macOS Windows Linux Server iOS SDK
ContinuityCamera 13.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ContinuityCamera.CanImport"; Type )   More

Parameters

Parameter Description Example
Type Pass 0 for Photo (default) or 1 for document.
Pass 2 for drawing sketch.
0

Result

Returns 1, 0 or error.

Description

Checks whether we can import.
This is a preflight operation for ContinuityCamera.Import to know upfront whether to show a button in the GUI.
May report 0 if run in data viewer, with debugger or if a modal dialog is open.

Examples

Check whether we can import picture:

Set Variable [ $r ; Value: MBS( "ContinuityCamera.CanImport"; 0 ) ]
If [ $r = 1 ]
    Show Custom Dialog [ "iPhone import possible." ]
Else
    Show Custom Dialog [ "iPhone import not possible." ]
End If

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 26th January 2023, last changed 26th January 2023


Container.WriteFile - ContinuityCamera.Clear

💬 Ask a question or report a problem


Start Chat