BlackBerry Dynamics for Xamarin Forms  7.0.0.22
Runtime library for Xamarin Forms applications
BBDXamarinForms.iOS.Interfaces.IBBDXamariniOS Interface Reference

Interface containing additional methods and properties for iOS for IBBDXamarin. More...

Public Member Functions

bool SetUIAutoRotationForPortrait (bool portrait, bool portraitUpsideDown, bool landscapeRight, bool landscapeLeft)
 
void ConfigureUIWithLogo (string imagePath, string bundlePath=null, Color?color=null)
 

Properties

IBBDState State [get]
 Observable representation of authorization state and user interface state. More...
 
IBBDApplicationStateiOS ApplicationStateiOS [get]
 Access this property to check the state of the BlackBerry Dynamics Runtime. More...
 
string BBDAppConfigKeyPreventCustomKeyboards [get]
 Constant key value for custom keyboard prevention policy indicator. More...
 
string BBDAppConfigKeyPreventScreenRecording [get]
 Constant key value for Screen Recording policy indicator. More...
 

Detailed Description

Interface containing additional methods and properties for iOS for IBBDXamarin.

Member Function Documentation

void BBDXamarinForms.iOS.Interfaces.IBBDXamariniOS.ConfigureUIWithLogo ( string  imagePath,
string  bundlePath = null,
Color?  color = null 
)

Call this function to configure the visual appearance of screens in the BlackBerry Dynamics user interface (BBD UI).

The following aspects of the BBD UI's appearance can be configured:

  • Logo image.
  • Brand color, used for the key line and interactive elements.

This function can be called prior to authorize, in order to configure the BBD UI as displayed during authorization processing.

Parameters
imagePathstring containing the path of the image to show as the logo. The image must be in PNG format. The maximum supported image size is 528 by 140 pixels.If the specified image is larger than the maximum, the image will be adjusted using UIViewContentModeScaleAspectFit mode.
bundlePathpath to NSBundle for the resource bundle that contains the replacement logo image, or null to specify mainBundle.
colorColor for the brand color, or null to select the default.
bool BBDXamarinForms.iOS.Interfaces.IBBDXamariniOS.SetUIAutoRotationForPortrait ( bool  portrait,
bool  portraitUpsideDown,
bool  landscapeRight,
bool  landscapeLeft 
)

Call this function to set the supported presentation orientations for screens in the BlackBerry Dynamics user interface (BBD UI). The BBD UI should be set to support the same orientations as the application's own user interface, if these are different to the BBD UI default, see below.

(The BBD UI consists of a small number of screens, including the Enterprise activation screen and the Password entry screen, see under Authorize, above. Some of these screens will generally appear before the application's own user interface has been opened.)

The iOS operating system recognizes four device orientations. Each of these orientations may be set as supported or unsupported for BBD UI interface presentation. The BBD UI will auto-rotate so as to be visually the "right way up" when the device is placed in a supported presentation orientation. When the device is placed in an unsupported orientation, the BBD UI does not auto-rotate.

Returns
true if supported presentation orientations were set as specified. false if supported presentation orientations were not set.Note that this will be returned if all parameters were false, which would specify no supported presentation orientations.
Parameters
portraitSets support for UIInterfaceOrientationPortrait presentation orientation. true for supported, false for unsupported.
portraitUpsideDownSets support for UIInterfaceOrientationPortraitUpsideDown presentation orientation.
landscapeRightSets support for UIInterfaceOrientationLandscapeRight presentation orientation.
landscapeLeftSets support for UIInterfaceOrientationLandscapeLeft presentation orientation.

Property Documentation

IBBDApplicationStateiOS BBDXamarinForms.iOS.Interfaces.IBBDXamariniOS.ApplicationStateiOS
get

Access this property to check the state of the BlackBerry Dynamics Runtime.

Returns
string BBDXamarinForms.iOS.Interfaces.IBBDXamariniOS.BBDAppConfigKeyPreventCustomKeyboards
get

Constant key value for custom keyboard prevention policy indicator.

string BBDXamarinForms.iOS.Interfaces.IBBDXamariniOS.BBDAppConfigKeyPreventScreenRecording
get

Constant key value for Screen Recording policy indicator.

IBBDState BBDXamarinForms.iOS.Interfaces.IBBDXamariniOS.State
get

Observable representation of authorization state and user interface state.

Deprecated:
This property is deprecated and will be removed in a future release. Use ApplicationState and ApplicationStateiOS instead.

IBBDState instance representing the current state.