本文整理匯總了TypeScript中ionic-native.Cordova函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript Cordova函數的具體用法?TypeScript Cordova怎麽用?TypeScript Cordova使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了Cordova函數的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: loginProject
@Cordova({})
static loginProject(susccessCb, errorCb, accountId: string, password: string){
}
示例2: getLocation
@Cordova({})
static getLocation(susccessCb, errorCb){
}
示例3: getPushChannelId
@Cordova({})
static getPushChannelId(callback) {
}
示例4: setCookieSession
@Cordova({})
static setCookieSession(session: string) {
}
示例5: setAccountId
@Cordova({})
static setAccountId(accountId: string, isManager: boolean) {
}
示例6: gotoPage
@Cordova({})
static gotoPage(page: string) {
}
示例7: playVideoUrl
@Cordova({})
static playVideoUrl(url: string, title: string) {
}
示例8: hide
@Cordova({
sync: true
})
static hide(success: () => void, fail: () => void): void {};
示例9: show
@Cordova({
sync: true
})
static show(title: string, message: string, cancelCallback: boolean | ((data: any) => any)): void {};