mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
chore(release): @nativescript/types@7.2.0
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nativescript/types-android",
|
||||
"version": "7.1.0",
|
||||
"version": "7.2.0",
|
||||
"description": "NativeScript Types for Android.",
|
||||
"homepage": "https://nativescript.org",
|
||||
"repository": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nativescript/types-ios",
|
||||
"version": "7.1.0",
|
||||
"version": "7.2.0",
|
||||
"description": "NativeScript Types for iOS.",
|
||||
"homepage": "https://nativescript.org",
|
||||
"repository": {
|
||||
|
@ -1,4 +1,15 @@
|
||||
|
||||
declare const enum ENActivityFlags {
|
||||
|
||||
Reserved1 = 1,
|
||||
|
||||
Reserved2 = 2,
|
||||
|
||||
PeriodicRun = 4,
|
||||
|
||||
PreAuthorizedKeyReleaseNotificationTapped = 8
|
||||
}
|
||||
|
||||
declare const ENAttenuationMax: number;
|
||||
|
||||
declare const ENAttenuationMin: number;
|
||||
@ -252,6 +263,10 @@ declare class ENManager extends NSObject {
|
||||
|
||||
static new(): ENManager; // inherited from NSObject
|
||||
|
||||
activityHandler: (p1: ENActivityFlags) => void;
|
||||
|
||||
diagnosisKeysAvailableHandler: (p1: NSArray<ENTemporaryExposureKey>) => void;
|
||||
|
||||
dispatchQueue: NSObject;
|
||||
|
||||
readonly exposureNotificationEnabled: boolean;
|
||||
@ -280,6 +295,10 @@ declare class ENManager extends NSObject {
|
||||
|
||||
invalidate(): void;
|
||||
|
||||
preAuthorizeDiagnosisKeysWithCompletionHandler(completionHandler: (p1: NSError) => void): void;
|
||||
|
||||
requestPreAuthorizedDiagnosisKeysWithCompletionHandler(completionHandler: (p1: NSError) => void): void;
|
||||
|
||||
setExposureNotificationEnabledCompletionHandler(enabled: boolean, completionHandler: (p1: NSError) => void): void;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nativescript/types",
|
||||
"version": "7.1.0",
|
||||
"version": "7.2.0",
|
||||
"description": "NativeScript Types for all supported platforms.",
|
||||
"homepage": "https://nativescript.org",
|
||||
"repository": {
|
||||
@ -12,7 +12,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@nativescript/types-ios": "7.1.0",
|
||||
"@nativescript/types-android": "7.1.0"
|
||||
"@nativescript/types-ios": "7.2.0",
|
||||
"@nativescript/types-android": "7.2.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user