BlackBerry Dynamics for Xamarin Forms  7.0.0.22
Runtime library for Xamarin Forms applications
BBDXamarinForms.Droid.Interfaces.AppKinetics.IBBDServiceHelper Interface Reference

This interface provides a helper programming interface that sends an Android Intent as an AppKinetics service request.This is an optional part of the service consumer side of AppKinetics. More...

Public Member Functions

bool CanBBDConsume ()
 Checks whether an Intent can be sent as a service request. More...
 
bool BBDConsume ()
 Send an Intent as a service request. Only call this method if the CanBBDConsume method returned true for the Intent. More...
 

Detailed Description

This interface provides a helper programming interface that sends an Android Intent as an AppKinetics service request.This is an optional part of the service consumer side of AppKinetics.

Intent is created based of CreateBBDServiceHelper method parameters of IBBDServiceHelperFactory object.

An Intent can be sent by this helper only if the following conditions are met:

  • The Intent represents an action for which there is a corresponding BlackBerry Dynamics Application-Based Service.
  • A BlackBerry Dynamics application that is a registered provider of the service is available on the device.

If either of these conditions is not met then it won't be possible to send the Intent as an AppKinetics service request.

Member Function Documentation

bool BBDXamarinForms.Droid.Interfaces.AppKinetics.IBBDServiceHelper.BBDConsume ( )

Send an Intent as a service request. Only call this method if the CanBBDConsume method returned true for the Intent.

Returns
true, if the Intent will be sent as a service request, false if the Intent can't be sent as a service request and the application must take some other action.
bool BBDXamarinForms.Droid.Interfaces.AppKinetics.IBBDServiceHelper.CanBBDConsume ( )

Checks whether an Intent can be sent as a service request.

Returns
true, if the Intent can be sent as a service request, false otherwise.