Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.Ext.MobileIntegration.Device Sensors
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Provides methods for interacting with the device's sensors.
Starts accelerometer updates.
Throws:
DeviceException Occurs when the device cannot start the accelerometer. See ErrorCode and Reason.
Starts gyroscope updates.
Throws:
DeviceException Occurs when the device cannot start the gyroscope. See ErrorCode and Reason.
Starts magnetometer updates.
Throws:
DeviceException Occurs when the device cannot start the magnetometer. See ErrorCode and Reason.
Stops accelerometer updates.
Stops gyroscope updates.
Stops magnetometer updates.
Wisej.Web.Ext.MobileIntegration.Device Popups
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Provides methods for displaying popups to the user.
Displays a native alert box with the specified configuration.
Parameter | Type | Description |
---|---|---|
Returns: String. The result of the alert.
Throws:
DeviceException Occurs when the device cannot show the alert. See ErrorCode and Reason.
Displays a native prompt with a set of options for the user to click.
Returns: String. The result of the prompt.
Throws:
DeviceException Occurs when the device cannot show the prompt. See ErrorCode and Reason.
Shows the UIActivityViewController on iOS.
Starts a ColorPicker activity that will fire the
Shows a date picker with the specified configuration.
Returns: Nullable<DateTime>. The result of the picker operation or null if an error occurred.
Throws:
DeviceException Occurs when the device cannot show the picker. See ErrorCode and Reason.
Wisej.Web.Ext.MobileIntegration.DeviceEventArgs
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Provides data to the event.
Initializes a new instance of .
Name | Type | Description |
---|
: Returns the additional data received with the event.
: Returns the current device orientation.
Wisej.Web.Ext.MobileIntegration.Device NFC
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Provides methods for interacting with the device's NFC reader and writer.
Reads messages from NFC devices.
Returns: .
Throws:
Occurs when the device is not able to read the data from the NFC-enabled device. See and .
Writes the specified message to the NFC device.
Throws:
Wisej.Web.Ext.MobileIntegration.Device Camera
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Provides functionality related to the device's camera.
Detects and scans documents using the camera.
Parameter | Type | Description |
---|
Returns: . An array objects containing the documents.
Throws:
Occurs when the device fails to scan documents. See and .
Toggles the device's flashlight.
Throws:
Allows the user to take a picture using the device's camera.
Throws:
Allows the user to take a video using the device's camera.
Throws:
Wisej.Web.Ext.MobileIntegration.DeviceInfo
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represent the information related to the user mobile device.
: The app version of the connected device.
: The type of authentication supported by the device.
: A value indicating whether the application has permission to use the camera.
: An alphanumeric string that uniquely identifies a device for remote notifications.
Wisej.Web.Ext.MobileIntegration.DevicePopupOption
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
: Name of the native component that triggered the event.
: Event type.
Name | Description |
---|
Parameter | Type | Description |
---|
Returns: .
Occurs when the device is not able to write the data to the NFC-enabled device. See and .
Parameter | Type | Description |
---|
Occurs when the device fails to toggle the flashlight. See and .
Parameter | Type | Description |
---|
Returns: . The resulting image
Occurs when the device cannot take a picture. See and .
Returns: . The video's base64 encoded URL
Occurs when the device cannot record a video. See and .
: Unique device ID.
: A Boolean value indicating whether the specified orientation is face up or face down.
: Returns a Boolean value indicating whether the device is in a landscape orientation.
: Returns a Boolean value indicating whether the device is in a portrait orientation.
: A value indicating whether the application has permission to use location services.
: A value indicating whether the application has permission to use the microphone.
: The model of the device.
: The name identifying the device.
: A value indicating whether the application has permission to push notifications.
: The physical orientation of the device.
: A value indicating whether the application has permission to use photos.
: Returns the size of the screens in pixels.
: A value indicating which mode the device is in (Dark mode, light mode, etc.).
: The name of the operating system running on the device.
: The current version of the operating system.
: A string value that contains any data passed on startup.
: An alphanumeric string that uniquely identifies a device to the app’s vendor.
: Option type.
CountDownTimer
A mode that displays hour and minute values, for example [ 1 | 53 ].
Date
A mode that displays the date in months, days of the month, and years.
DateAndTime
A mode that displays the date as unified day of the week, month, and day of the month values, plus hours, minutes, and (optionally) an AM/PM designation.
Time
A mode that displays the date in hours, minutes, and (optionally) an AM/PM designation.
Shows a date picker with the specified configuration.
title
The title of the prompt.
message
Message to display to the user.
options
Options to show to the user. If null, it will display the default OK button.
activityType
content
selectedColor
supportsAlpha
mode
The picker style.
minimumDateTime
The minimum date or time to show on the picker.
maximumDateTime
The maximum date or time to show on the picker.
startDateTime
The starting date or time for the picker.
FaceID
Biometric face recognition.
None
None. The user must use the keyboard.
Passcode
The device is protected by a passcode and not enrolled in any form of biometric authentication.
TouchID
Biometric fingerprint recognition.
UnknownBiometric
The device is enrolled in a biometric form of authentication, but the type is unknown.
The type of authentication supported by the device.
sender |
e |
Fired when the device sends an event back to the application. |
Fired when there's an update from the device's accelerometers. |
Fired when there's an update from the device's magnetometer. |
Fired when the orientation of the device changes. |
Fired when the brightness of the device's screen changes. |
Fired when the device gets attached to a new screen |
Fired when a screen gets removed from the device |
Fired when a screen gets removed from the device |
Fired when there's an update from the device's gyroscope. |
Fired when the device subscribes to remote notifications and receives a remote token |
Fired when the device receives a push notification. |
Fired when the back button is pressed on the device (Android only). |
Fired when the device is shaken. |
Fired when a device permission value changes. |
Fired when the selected color of a ColorPicker window changes. |
message | The message to write to the NFC device. |
on | Specifies whether the flashlight should be on. |
compressionQuality | The quality of the resulting image, expressed as a value from 0.0 to 1.0. |
title
The title of the alert.
message
Message to display to the user.
options
The alert buttons.
args | Event args received from the client. |
compressionQuality | The quality of the resulting images, expressed as a value from 0.0 to 1.0. |
Camera | Requests access to the device's camera. |
Location | Requests access to the device's location. |
Microphone | Requests access to the device's microphone. |
Notifications | Requests permission to send the device notifications. |
Photos | Requests access to the device's photos. |
Requests the specified permission from the device if access hasn't already been granted. |
Dark | the dark interface style. |
Light | The light interface style. |
Unspecified | An unspecified interface style. |
A value indicating which mode the device is in (Dark mode, light mode, etc.). |
FaceDown | The device is held parallel to the ground with the screen facing downwards. |
FaceUp | The device is held parallel to the ground with the screen facing upwards. |
LandscapeLeft | The device is in landscape mode, with the device held upright and the home button on the right side. |
LandscapeRight | The device is in landscape mode, with the device held upright and the home button on the left side. |
Portrait | The device is in portrait mode, with the device held upright and the home button at the bottom. |
PortraitUpSideDown | The device is in portrait mode but upside down, with the device held upright and the home button at the top. |
Unknown | The orientation of the device cannot be determined. |
Returns the current device orientation. |
The physical orientation of the device. |
name |
text |
Wisej.Web.Ext.MobileIntegration.DeviceScreen
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the screen of the mobile device.
Int32: Returns or sets the brightness of the screen as a percentage.
Boolean: Returns or sets whether the idle timer locks the device.
OrientationType: Returns or sets the orientation types allowed for the device.
Size: Returns the size of the screens in pixels.
Wisej.Web.Ext.MobileIntegration.DeviceStatusbar
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the statusbar of the mobile device.
Color: Returns or sets the background color of the statusbar.
StatusBarForeColor: Returns or sets the text color of the statusbar.
Boolean: Returns or sets whether the statusbar is visible on the device.
Starts updating mode. The device will not receive the updates until EndUpdate is called an equal number of times as calls to BeginUpdate.
Ends updating mode and updates the client device.
Wisej.Web.Ext.MobileIntegration.DeviceTabBar
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the native TabBar on the mobile device.
Color: Returns or sets the background color of the TabBar.
Button[]: Returns or sets the collection of TabBar buttons.
Color: Returns or sets the text color of the items in the TabBar.
Color: Returns or sets the text color of the selected item in the TabBar.
Boolean: Returns or sets whether the tabBar is visible on the device.
Updates the tabBar on the device.
SelectedEventHandler Fired when the user changes the selected tab button.
Wisej.Web.Ext.MobileIntegration.DeviceResponse
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents a response from the native device.
Creates a new instance of DeviceResponse.
Creates a new instance of DeviceResponse with the given arguments.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Wisej.Web.Ext.MobileIntegration.DeviceToolbar
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the native toolbar on the mobile device.
Color: Returns or sets the background color of the toolbar.
Button[]: Returns or sets the collection of toolbar buttons.
Color: Returns or sets the text color of the items in the toolbar.
Boolean: Returns or sets whether the toolbar is visible on the device.
ClickEventHandler Fired when the user clicks a toolbar button.
Wisej.Web.Ext.MobileIntegration.DeviceToolbar ClickEventArgs
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the event data sent with the Click event.
Initializes a new instance of ClickEventArgs.
Name | Type | Description |
---|---|---|
Button: Returns the clicked button.
Name | Description |
---|---|
Wisej.Web.Ext.MobileIntegration.DevicePromptOptionType
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Determines the type of the DevicePopupOption.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.Ext.MobileIntegration.DeviceTabBar Button
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents a button in the TabBar.
Image: Returns or sets the icon displayed in the button.
String: Returns or sets the icon displayed in the button.
Boolean: Returns or sets whether the button is selected in the tabbar.
String: Returns or sets the text of the button.
Wisej.Web.Ext.MobileIntegration.DeviceToolbar ClickEventHandler
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the methods that handle the Click event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.Ext.MobileIntegration.DeviceTabBar SelectedEventHandler
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the methods that handle the Selected event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.Ext.MobileIntegration.DeviceTabBar SelectedEventArgs
Wisej.Web.Ext.MobileIntegration.DeviceToolbar Button
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents a button in the .
: Returns or sets the icon displayed in the button.
: Returns or sets the icon displayed in the button.
: Returns or sets the text of the button.
Represents the method that will handle the event.
The instance created for the current session.
A that contains the event data.
Parameter | Type | Description |
---|---|---|
: Returns or sets the type of button to display in the toolbar.
: Returns or sets the width of the button.
Black
Black Statusbar text.
White
White Statusbar text.
Returns or sets the text color of the statusbar.
refresh
All
The device supports all interface orientations.
AllButUpsideDown
The device supports all but the upside-down portrait interface orientation.
LandcapeRight
The device is in landscape mode, with the device held upright and the home button on the left side.
Landscape
The device is in landscape mode.
LandscapeLeft
The device is in landscape mode, with the device held upright and the home button on the right side.
Portrait
The device is in portrait mode, with the device held upright and the home button at the bottom.
PortraitUpsideDown
The device is in portrait mode but upside down, with the device held upright and the home button at the top.
Returns or sets the orientation types allowed for the device.
Cancel
The device shows the option using the native Cancel look.
Default
The device shows the option using the native Default look.
Destructive
The device shows the option using the native Destructive look.
Option type.
sender
e
Fired when the user clicks a toolbar button.
sender
e
Fired when the user changes the selected tab button.
value
The message value.
status
The message status.
Status
Represents the error code, if applicable.
Value
Represents the return value.
button
The selected Button.
Represents the methods that handle the Click event.
button |
Error | A notification feedback type, indicating that a task has failed. |
Success | A notification feedback type, indicating that a task has completed successfully. |
Warning | A notification feedback type, indicating that a task has produced a warning. |
Triggers notification feedback on the device. |
Wisej.Web.Ext.MobileIntegration.Device
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Represents the user's mobile device. The Wisej application interacts with the device through this class.
Boolean: Checks if the UserData dynamic object was created and has any value.
DeviceInfo: Returns the DeviceInfo object containing information related to the user's mobile device.
DeviceScreen: Returns the DeviceScreen object containing the information related to the mobile device's screen.
DeviceStatusbar: Returns the DeviceStatusbar object representing the statusbar on the mobile device.
DeviceTabBar: Returns the DeviceTabBar object representing the tabBar on the mobile device.
DeviceToolbar: Returns the DeviceToolbar object representing the toolbar on the mobile device.
UserDataDictionary<String, Object>: Returns a dynamic object that can be used to store custom data in relation to the device. The data is persistent and can be accessed across different applications.
The data is serialized and deserialized using JSONConvert before and after retrieval from the device.
Boolean: Verifies that the application is running inside the mobile container.
Asks the device to authenticate the user using biometrics if available, or the device's passcode.
Throws:
DeviceException Occurs when the device did not successfully authenticate the user. See ErrorCode and Reason.
Posts a message to the device.
Posts a message to the device and enters the modal state waiting for the response.
Returns: DeviceResponse. The response from the device.
Requests the specified permission from the device if access hasn't already been granted.
Returns: Boolean.
Throws:
DeviceException Occurs when the permission could not be requested. See ErrorCode and Reason.
Specifies the background color of the device frame.
Triggers notification feedback on the device.
DeviceEventHandler Fired when there's an update from the device's accelerometers.
DeviceEventHandler Fired when the back button is pressed on the device (Android only).
EventHandler Fired when the mobile application is sent to the background.
DeviceEventHandler Fired when the brightness of the device's screen changes.
DeviceEventHandler Fired when the device sends an event back to the application.
EventHandler Fired when the mobile application is brought to the foreground.
DeviceEventHandler Fired when there's an update from the device's gyroscope.
DeviceEventHandler Fired when there's an update from the device's magnetometer.
DeviceEventHandler Fired when a screen gets removed from the device
DeviceEventHandler Fired when the orientation of the device changes.
DeviceEventHandler Fired when a device permission value changes.
DeviceEventHandler Fired when the device receives a push notification.
DeviceEventHandler Fired when the device gets attached to a new screen
DeviceEventHandler Fired when a screen gets removed from the device
DeviceEventHandler Fired when the selected color of a ColorPicker window changes.
DeviceEventHandler Fired when the device is shaken.
DeviceEventHandler Fired when the device subscribes to remote notifications and receives a remote token
EventHandler Fired when the mobile application is terminated.
The selected .
Represents the methods that handle the event.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|
message
The reason for authenticating.
command
The command to post to the device, i.e., "action.prompt".
args
The arguments to pass with the command.
command
The command to post to the device, i.e., "action.prompt".
args
The arguments to pass with the command.
permission
The permission to request.
value
type
The type of feedback to post to the device.
Action | The system action button. |
Add | The system plus button containing an icon of a plus sign. |
Bookmarks | The system bookmarks button. |
Camera | The system camera button. |
Cancel | The system Cancel button, localized. |
Compose | The system compose button. |
Default | Default button. Shows either an icon or test. |
Done | The system Done button, localized. |
Edit | The system Edit button, localized. |
FastForward | The system fast forward button. |
FixedSpace | Blank space to add between other items. Only the width property is used when this value is set. |
FlexibleSpace | Blank space to add between other items. The space is distributed equally between the other items. Other item properties are ignored when this value is set. |
Organize | The system organize button. |
Pause | The system pause button. |
Play | The system play button. |
Redo | The system redo button. |
Refresh | The system refresh button. |
Reply | The system reply button. |
Rewind | The system rewind button. |
Save | The system Save button, localized. |
Search | The system search button. |
Stop | The system stop button. |
Trash | The system trash button. |
Undo | The system undo button. |
Returns or sets the type of button to display in the toolbar. |