my.deeplink

Get file information.

Sample Code

copy
      my.call('deeplink', {
        uri: 'bepay://bancoestado/deeplink.htm?xxxxxxx',
        success: function(res) {
          my.alert({ title: 'deeplink', content: JSON.stringify(res) });
        },
        fail: function(res) {
          my.alert({ title: 'deeplink fail', content: JSON.stringify(res) });
        },
      });

Parameters

PropertyType

Required

Description

uri

StringYes

scheme uri

successFunctionNoCallback function upon call success.
failFunctionNoCallback function upon call failure.
completeFunctionNoCallback function upon call completion (to be executed upon either call success or failure).

Success Callback Function

The incoming parameter is of the Object type with the following attributes:

PropertyTypeDescription

success

bool

true|false

resultCode

Int

0: success

1002: internal error