diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 36ce66984..9eb257025 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -154,12 +154,6 @@ updates: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/linting_tool/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "experimental/material_3_demo/" schedule: diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index f9e74bf01..56916113a 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -26,8 +26,8 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 with: distribution: 'zulu' java-version: '17' @@ -42,8 +42,8 @@ jobs: # runs-on: ubuntu-latest # if: github.repository == 'flutter/samples' # steps: - # - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - # - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 + # - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + # - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # with: # distribution: 'zulu' # java-version: '17' @@ -58,8 +58,8 @@ jobs: runs-on: macos-latest if: github.repository == 'flutter/samples' steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 with: distribution: 'zulu' java-version: '17' diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f737649a5..5682a6487 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 with: submodules: true fetch-depth: 0 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c10b7f936..648ad8863 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,8 +27,8 @@ jobs: flutter_version: [stable, beta, master] os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 with: distribution: 'zulu' java-version: '17' @@ -41,7 +41,7 @@ jobs: name: web/samples_index config check runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 - uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 - run: | dart pub get @@ -52,8 +52,8 @@ jobs: # runs-on: ubuntu-latest # if: github.repository == 'flutter/samples' # steps: - # - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - # - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 + # - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + # - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # with: # distribution: 'zulu' # java-version: '17' @@ -66,8 +66,8 @@ jobs: runs-on: macos-latest if: github.repository == 'flutter/samples' steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 with: distribution: 'zulu' java-version: '17' diff --git a/.github/workflows/verify-web-demos.yml b/.github/workflows/verify-web-demos.yml index 9d41973ed..3c50495b3 100644 --- a/.github/workflows/verify-web-demos.yml +++ b/.github/workflows/verify-web-demos.yml @@ -21,7 +21,7 @@ jobs: # - beta steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 with: submodules: true fetch-depth: 0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7fbeae80b..1a3d0b818 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -126,7 +126,7 @@ reviewer. All files in the project must start with the following header. ``` -// Copyright 2023 The Flutter team. All rights reserved. +// Copyright 2024 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. ``` diff --git a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml b/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml index 7ea5799bb..4547346db 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/add_to_app/books/flutter_module_books/pubspec.yaml b/add_to_app/books/flutter_module_books/pubspec.yaml index 89f7d1118..0f2acfab0 100644 --- a/add_to_app/books/flutter_module_books/pubspec.yaml +++ b/add_to_app/books/flutter_module_books/pubspec.yaml @@ -6,7 +6,7 @@ description: A Flutter module using the Pigeon package to demonstrate version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/add_to_app/fullscreen/flutter_module/pubspec.yaml b/add_to_app/fullscreen/flutter_module/pubspec.yaml index d37fb91b0..9faf4fe6d 100644 --- a/add_to_app/fullscreen/flutter_module/pubspec.yaml +++ b/add_to_app/fullscreen/flutter_module/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml index 1024680a4..87545fac5 100644 --- a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml +++ b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml @@ -4,7 +4,7 @@ description: A module that is embedded in the multiple_flutters_ios and multiple version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml index 7ea5799bb..4547346db 100644 --- a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml index d37fb91b0..9faf4fe6d 100644 --- a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml +++ b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/ai_recipe_generation/pubspec.yaml b/ai_recipe_generation/pubspec.yaml index 6247772ec..c4d1cc4e0 100644 --- a/ai_recipe_generation/pubspec.yaml +++ b/ai_recipe_generation/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: async: ^2.11.0 diff --git a/analysis_defaults/lib/flutter.yaml b/analysis_defaults/lib/flutter.yaml index 303fb82d0..869a3ffb1 100644 --- a/analysis_defaults/lib/flutter.yaml +++ b/analysis_defaults/lib/flutter.yaml @@ -12,8 +12,6 @@ linter: cancel_subscriptions: true close_sinks: true directives_ordering: true - package_api_docs: true - package_prefixed_library_names: true test_types_in_equals: true throw_in_finally: true unawaited_futures: true diff --git a/analysis_defaults/pubspec.yaml b/analysis_defaults/pubspec.yaml index 2db9b63a4..0ff95ea2e 100644 --- a/analysis_defaults/pubspec.yaml +++ b/analysis_defaults/pubspec.yaml @@ -3,9 +3,9 @@ description: Analysis defaults for flutter/samples publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 # NOTE: Code is not allowed in this package. Do not add more dependencies. # The `flutter_lints` dependency is required for `lib/flutter.yaml`. dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 diff --git a/android_splash_screen/pubspec.yaml b/android_splash_screen/pubspec.yaml index 25488196c..9acb8373a 100644 --- a/android_splash_screen/pubspec.yaml +++ b/android_splash_screen/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/animations/pubspec.yaml b/animations/pubspec.yaml index 7bfef93a6..a86283df2 100644 --- a/animations/pubspec.yaml +++ b/animations/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/asset_transformation/grayscale_transformer/pubspec.yaml b/asset_transformation/grayscale_transformer/pubspec.yaml index 9d1ca48fc..5f2d4a6b7 100644 --- a/asset_transformation/grayscale_transformer/pubspec.yaml +++ b/asset_transformation/grayscale_transformer/pubspec.yaml @@ -3,12 +3,12 @@ description: A sample command-line application. version: 1.0.0 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: args: ^2.4.2 image: ^4.1.7 dev_dependencies: - lints: ^4.0.0 + lints: ^5.0.0 test: ^1.24.0 diff --git a/asset_transformation/pubspec.yaml b/asset_transformation/pubspec.yaml index eca8f5b15..31e92e910 100644 --- a/asset_transformation/pubspec.yaml +++ b/asset_transformation/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: @@ -14,7 +14,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 vector_graphics_compiler: ^1.1.11+1 grayscale_transformer: path: ./grayscale_transformer diff --git a/background_isolate_channels/pubspec.yaml b/background_isolate_channels/pubspec.yaml index d05d5aa23..24e78dd9f 100644 --- a/background_isolate_channels/pubspec.yaml +++ b/background_isolate_channels/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: cupertino_icons: ^1.0.2 diff --git a/code_sharing/client/pubspec.yaml b/code_sharing/client/pubspec.yaml index d6142211b..f8a7897fb 100644 --- a/code_sharing/client/pubspec.yaml +++ b/code_sharing/client/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: cupertino_icons: ^1.0.2 @@ -15,7 +15,7 @@ dependencies: path: ../shared dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter_test: sdk: flutter diff --git a/code_sharing/server/pubspec.yaml b/code_sharing/server/pubspec.yaml index 9cd3eaa54..dada36669 100644 --- a/code_sharing/server/pubspec.yaml +++ b/code_sharing/server/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 publish_to: "none" environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: args: ^2.0.0 @@ -15,5 +15,5 @@ dependencies: dev_dependencies: http: ^1.0.0 - lints: ^4.0.0 + lints: ^5.0.0 test: ^1.15.0 diff --git a/code_sharing/shared/lib/shared.dart b/code_sharing/shared/lib/shared.dart index f8d3c81d0..781b37dbd 100644 --- a/code_sharing/shared/lib/shared.dart +++ b/code_sharing/shared/lib/shared.dart @@ -1,4 +1,4 @@ /// Common data models required by our client and server. -library shared; +library; export 'src/models.dart'; diff --git a/code_sharing/shared/pubspec.yaml b/code_sharing/shared/pubspec.yaml index 5db4e6ee4..61647f190 100644 --- a/code_sharing/shared/pubspec.yaml +++ b/code_sharing/shared/pubspec.yaml @@ -3,7 +3,7 @@ description: Common data models required by our client and server version: 1.0.0 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: freezed_annotation: ^2.1.0 @@ -13,5 +13,5 @@ dev_dependencies: build_runner: ^2.2.1 freezed: ^2.1.1 json_serializable: ^6.4.0 - lints: ">=2.0.0 <5.0.0" + lints: ^5.0.0 test: ^1.16.0 diff --git a/compass_app/README.md b/compass_app/README.md new file mode 100644 index 000000000..05ed7670a --- /dev/null +++ b/compass_app/README.md @@ -0,0 +1,59 @@ +# compass_app + +The Compass sample application is an app that helps users build and book +itineraries for trips. It’s a robust sample application with many features, routes, and screens. The app communicates +with an HTTP server, has development and production environments, brand-specific styling, and high test coverage. In +these ways and more, it simulates a real-world, feature rich Flutter application. + +The code in this application is used for explaining architecture in a Flutter application. + +![compass app splash screen](./docs/Global%20—%20Splash.png) +![compass app activities screen](./docs/Legacy%20—%20Activities.png) +![compass app home screen](./docs/Legacy%20—%20Home.png) +![compass app booking screen](./docs/Legacy%20—%20Book.png) + +The Compass app was originally [designed and built by the Firebase GenKit team](https://developers.googleblog.com/en/how-firebase-genkit-helped-add-ai-to-our-compass-app/). + +## Running the app + +This app contains multiple environments. + +* Development environment - This environment uses data from a JSON file, which is stored in the `assets` directory, and simulates developing locally. + +```bash +$ cd app +$ flutter run --target lib/main_development.dart +``` + +* Staging environment - This environment uses an HTTP server to get data, simulating a real app experience. This is a "dummy" server, that has endpoints that simply return fake data. The server can be found in the `compass_app/server` directory. You need to run the server locally before running the Flutter application. + +```bash +$ cd server +$ dart run +# => Server listening on port 8080 + +$ cd ../compass_app/app +$ flutter run --target lib/main_staging.dart +``` + +## Integration Tests + +Integration tests must be run from the `app` directory. + +**Integration tests with local data** + +```bash +cd app +$ flutter test integration_test/app_local_data_test.dart +``` + +**Integration tests with background server and remote data** + +```bash +cd app +$ flutter test integration_test/app_server_data_test.dart +``` + +Running the tests together with `flutter test integration_test` will fail. +See: https://github.com/flutter/flutter/issues/101031 + diff --git a/experimental/linting_tool/.gitignore b/compass_app/app/.gitignore similarity index 92% rename from experimental/linting_tool/.gitignore rename to compass_app/app/.gitignore index a1345d017..285c53d1a 100644 --- a/experimental/linting_tool/.gitignore +++ b/compass_app/app/.gitignore @@ -8,6 +8,7 @@ .buildlog/ .history .svn/ +migrate_working_dir/ # IntelliJ related *.iml @@ -26,13 +27,10 @@ .dart_tool/ .flutter-plugins .flutter-plugins-dependencies -.packages .pub-cache/ .pub/ /build/ -# Web related - # Symbolication related app.*.symbols @@ -43,3 +41,6 @@ app.*.map.json /android/app/debug /android/app/profile /android/app/release + +# Coverage test report +coverage/ diff --git a/compass_app/app/.metadata b/compass_app/app/.metadata new file mode 100644 index 000000000..925b67f88 --- /dev/null +++ b/compass_app/app/.metadata @@ -0,0 +1,45 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "ee624bc4fd41413cbb89099b0701a42287643d9a" + channel: "beta" + +project_type: app + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + base_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + - platform: android + create_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + base_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + - platform: ios + create_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + base_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + - platform: linux + create_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + base_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + - platform: macos + create_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + base_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + - platform: web + create_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + base_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + - platform: windows + create_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + base_revision: ee624bc4fd41413cbb89099b0701a42287643d9a + + # User provided section + + # List of Local paths (relative to this file) that should be + # ignored by the migrate tool. + # + # Files that are not part of the templates will be ignored by default. + unmanaged_files: + - 'lib/main.dart' + - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/compass_app/app/analysis_options.yaml b/compass_app/app/analysis_options.yaml new file mode 100644 index 000000000..59af2e887 --- /dev/null +++ b/compass_app/app/analysis_options.yaml @@ -0,0 +1,5 @@ +include: package:flutter_lints/flutter.yaml + +linter: + rules: + - prefer_relative_imports diff --git a/compass_app/app/android/.gitignore b/compass_app/app/android/.gitignore new file mode 100644 index 000000000..55afd919c --- /dev/null +++ b/compass_app/app/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/to/reference-keystore +key.properties +**/*.keystore +**/*.jks diff --git a/compass_app/app/android/app/build.gradle b/compass_app/app/android/app/build.gradle new file mode 100644 index 000000000..fb8c978b6 --- /dev/null +++ b/compass_app/app/android/app/build.gradle @@ -0,0 +1,44 @@ +plugins { + id "com.android.application" + id "kotlin-android" + // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. + id "dev.flutter.flutter-gradle-plugin" +} + +android { + namespace = "com.example.compass_app" + compileSdk = flutter.compileSdkVersion + ndkVersion = flutter.ndkVersion + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = JavaVersion.VERSION_1_8 + } + + defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId = "com.example.compass_app" + // You can update the following values to match your application needs. + // For more information, see: https://flutter.dev/to/review-gradle-config. + minSdk = flutter.minSdkVersion + targetSdk = flutter.targetSdkVersion + versionCode = flutter.versionCode + versionName = flutter.versionName + } + + buildTypes { + release { + // TODO: Add your own signing config for the release build. + // Signing with the debug keys for now, so `flutter run --release` works. + signingConfig = signingConfigs.debug + } + } +} + +flutter { + source = "../.." +} diff --git a/compass_app/app/android/app/src/debug/AndroidManifest.xml b/compass_app/app/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 000000000..399f6981d --- /dev/null +++ b/compass_app/app/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/compass_app/app/android/app/src/main/AndroidManifest.xml b/compass_app/app/android/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..7d5151bd8 --- /dev/null +++ b/compass_app/app/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/compass_app/app/android/app/src/main/kotlin/com/example/compass_app/MainActivity.kt b/compass_app/app/android/app/src/main/kotlin/com/example/compass_app/MainActivity.kt new file mode 100644 index 000000000..aab96a478 --- /dev/null +++ b/compass_app/app/android/app/src/main/kotlin/com/example/compass_app/MainActivity.kt @@ -0,0 +1,5 @@ +package com.example.compass_app + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() diff --git a/compass_app/app/android/app/src/main/res/drawable-v21/launch_background.xml b/compass_app/app/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 000000000..f74085f3f --- /dev/null +++ b/compass_app/app/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/compass_app/app/android/app/src/main/res/drawable/launch_background.xml b/compass_app/app/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 000000000..304732f88 --- /dev/null +++ b/compass_app/app/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/compass_app/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/compass_app/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..db77bb4b7 Binary files /dev/null and b/compass_app/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/compass_app/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/compass_app/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..17987b79b Binary files /dev/null and b/compass_app/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/compass_app/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/compass_app/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..09d439148 Binary files /dev/null and b/compass_app/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/compass_app/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/compass_app/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..d5f1c8d34 Binary files /dev/null and b/compass_app/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/compass_app/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/compass_app/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..4d6372eeb Binary files /dev/null and b/compass_app/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/compass_app/app/android/app/src/main/res/values-night/styles.xml b/compass_app/app/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 000000000..4732e853e --- /dev/null +++ b/compass_app/app/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/compass_app/app/android/app/src/main/res/values/styles.xml b/compass_app/app/android/app/src/main/res/values/styles.xml new file mode 100644 index 000000000..ce8badf37 --- /dev/null +++ b/compass_app/app/android/app/src/main/res/values/styles.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/compass_app/app/android/app/src/profile/AndroidManifest.xml b/compass_app/app/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 000000000..399f6981d --- /dev/null +++ b/compass_app/app/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/compass_app/app/android/build.gradle b/compass_app/app/android/build.gradle new file mode 100644 index 000000000..d2ffbffa4 --- /dev/null +++ b/compass_app/app/android/build.gradle @@ -0,0 +1,18 @@ +allprojects { + repositories { + google() + mavenCentral() + } +} + +rootProject.buildDir = "../build" +subprojects { + project.buildDir = "${rootProject.buildDir}/${project.name}" +} +subprojects { + project.evaluationDependsOn(":app") +} + +tasks.register("clean", Delete) { + delete rootProject.buildDir +} diff --git a/compass_app/app/android/gradle.properties b/compass_app/app/android/gradle.properties new file mode 100644 index 000000000..259717082 --- /dev/null +++ b/compass_app/app/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError +android.useAndroidX=true +android.enableJetifier=true diff --git a/compass_app/app/android/gradle/wrapper/gradle-wrapper.properties b/compass_app/app/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 000000000..5e6b54271 --- /dev/null +++ b/compass_app/app/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip diff --git a/compass_app/app/android/settings.gradle b/compass_app/app/android/settings.gradle new file mode 100644 index 000000000..b9e43bd37 --- /dev/null +++ b/compass_app/app/android/settings.gradle @@ -0,0 +1,25 @@ +pluginManagement { + def flutterSdkPath = { + def properties = new Properties() + file("local.properties").withInputStream { properties.load(it) } + def flutterSdkPath = properties.getProperty("flutter.sdk") + assert flutterSdkPath != null, "flutter.sdk not set in local.properties" + return flutterSdkPath + }() + + includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") + + repositories { + google() + mavenCentral() + gradlePluginPortal() + } +} + +plugins { + id "dev.flutter.flutter-plugin-loader" version "1.0.0" + id "com.android.application" version "8.1.0" apply false + id "org.jetbrains.kotlin.android" version "1.8.22" apply false +} + +include ":app" diff --git a/compass_app/app/assets/activities.json b/compass_app/app/assets/activities.json new file mode 100644 index 000000000..136e04876 --- /dev/null +++ b/compass_app/app/assets/activities.json @@ -0,0 +1,32678 @@ +[ + { + "name": "Glacier Trekking and Ice Climbing", + "description": "Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.", + "locationName": "Matanuska Glacier or Mendenhall Glacier", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "alaska", + "ref": "glacier-trekking-and-ice-climbing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg" + }, + { + "name": "Wildlife Viewing Cruise", + "description": "Set sail on a scenic cruise through Alaska's pristine waters and witness the abundance of wildlife in their natural habitat. Keep an eye out for majestic whales, playful sea otters, and soaring bald eagles.", + "locationName": "Kenai Fjords National Park or Glacier Bay National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "wildlife-viewing-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_wildlife-viewing-cruise.jpg" + }, + { + "name": "Dog Sledding Experience", + "description": "Immerse yourself in Alaska's rich sled dog culture with an exhilarating dog sledding tour. Feel the rush as a team of huskies pulls you across the snowy landscape, offering a unique and unforgettable way to explore the Alaskan wilderness.", + "locationName": "Various locations throughout Alaska", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "alaska", + "ref": "dog-sledding-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_dog-sledding-experience.jpg" + }, + { + "name": "Hiking in Denali National Park", + "description": "Lace up your hiking boots and embark on a scenic trek through Denali National Park, home to North America's highest peak. Explore diverse trails, surrounded by breathtaking mountain vistas, glaciers, and abundant wildlife.", + "locationName": "Denali National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "alaska", + "ref": "hiking-in-denali-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_hiking-in-denali-national-park.jpg" + }, + { + "name": "Visit the Alaska Native Heritage Center", + "description": "Immerse yourself in the rich culture and traditions of Alaska's indigenous people at the Alaska Native Heritage Center. Explore exhibits, watch traditional dances, and learn about the history and way of life of Alaska's native communities.", + "locationName": "Anchorage", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "alaska", + "ref": "visit-the-alaska-native-heritage-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_visit-the-alaska-native-heritage-center.jpg" + }, + { + "name": "Northern Lights Viewing", + "description": "Witness the mesmerizing spectacle of the Aurora Borealis dancing across the night sky. Venture outside Fairbanks or Anchorage during the winter months for the best views, and be captivated by the vibrant hues of green, purple, and pink.", + "locationName": "Fairbanks or Anchorage", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "northern-lights-viewing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_northern-lights-viewing.jpg" + }, + { + "name": "Kenai Fjords National Park Cruise", + "description": "Embark on a scenic cruise through the stunning Kenai Fjords National Park. Marvel at towering glaciers, rugged coastlines, and abundant marine life, including whales, seals, and puffins.", + "locationName": "Kenai Fjords National Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "alaska", + "ref": "kenai-fjords-national-park-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_kenai-fjords-national-park-cruise.jpg" + }, + { + "name": "Flightseeing over Denali", + "description": "Soar above North America's highest peak, Denali, on a breathtaking flightseeing tour. Enjoy panoramic views of the snow-capped mountains, glaciers, and vast wilderness below, offering a unique perspective of the Alaskan landscape.", + "locationName": "Denali National Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "alaska", + "ref": "flightseeing-over-denali", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_flightseeing-over-denali.jpg" + }, + { + "name": "Gold Panning in Fairbanks", + "description": "Step back in time and experience the thrill of the Alaskan Gold Rush. Visit a gold panning site in Fairbanks and try your luck at finding precious nuggets, learning about the region's rich mining history.", + "locationName": "Fairbanks", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "alaska", + "ref": "gold-panning-in-fairbanks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_gold-panning-in-fairbanks.jpg" + }, + { + "name": "Fishing for Salmon", + "description": "Cast your line into Alaska's pristine rivers and lakes for an unforgettable fishing experience. Whether you're a seasoned angler or a beginner, enjoy the thrill of catching wild salmon amidst the stunning natural beauty.", + "locationName": "Kenai River, Russian River, or Kasilof River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "fishing-for-salmon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_fishing-for-salmon.jpg" + }, + { + "name": "Kayaking in the Kenai Fjords National Park", + "description": "Paddle through the pristine waters of Kenai Fjords National Park, surrounded by towering glaciers, dramatic cliffs, and abundant marine life. Witness harbor seals basking on icebergs, sea otters playing in kelp forests, and perhaps even catch a glimpse of whales breaching the surface. This unforgettable kayaking experience offers a unique perspective on Alaska's stunning coastal landscapes.", + "locationName": "Kenai Fjords National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "kayaking-in-the-kenai-fjords-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_kayaking-in-the-kenai-fjords-national-park.jpg" + }, + { + "name": "Visit the Alaska SeaLife Center", + "description": "Discover the wonders of Alaska's marine ecosystem at the Alaska SeaLife Center, a renowned research and rehabilitation facility. Get up close to fascinating creatures like puffins, octopus, sea lions, and harbor seals. Learn about ongoing conservation efforts and gain a deeper appreciation for the delicate balance of life in Alaska's oceans.", + "locationName": "Seward", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "alaska", + "ref": "visit-the-alaska-sealife-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_visit-the-alaska-sealife-center.jpg" + }, + { + "name": "Ride the White Pass & Yukon Route Railway", + "description": "Embark on a nostalgic journey aboard the historic White Pass & Yukon Route Railway, a narrow-gauge railroad that winds through breathtaking mountain scenery. Travel along the same tracks used during the Klondike Gold Rush and marvel at the engineering feats that made this railway possible. Enjoy panoramic views of glaciers, waterfalls, and historic mining towns.", + "locationName": "Skagway", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "ride-the-white-pass-yukon-route-railway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_ride-the-white-pass-yukon-route-railway.jpg" + }, + { + "name": "Explore the Mendenhall Glacier", + "description": "Witness the awe-inspiring beauty of the Mendenhall Glacier, a massive ice formation just outside of Juneau. Hike to the glacier's edge, explore ice caves, or take a thrilling helicopter tour for a bird's-eye view. Learn about the glacier's formation, its impact on the surrounding ecosystem, and the effects of climate change.", + "locationName": "Juneau", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "explore-the-mendenhall-glacier", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_explore-the-mendenhall-glacier.jpg" + }, + { + "name": "Soak in Chena Hot Springs", + "description": "Relax and rejuvenate in the natural mineral waters of Chena Hot Springs, a geothermal oasis nestled in the Alaskan wilderness. Immerse yourself in the therapeutic pools, surrounded by snow-capped mountains and boreal forests. Enhance your experience with a spa treatment or explore the Aurora Ice Museum, a unique attraction carved entirely from ice.", + "locationName": "Fairbanks", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "alaska", + "ref": "soak-in-chena-hot-springs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_soak-in-chena-hot-springs.jpg" + }, + { + "name": "Bear Viewing at Katmai National Park", + "description": "Embark on an unforgettable adventure to Katmai National Park, renowned as the \"bear viewing capital of the world.\" Witness majestic brown bears in their natural habitat as they fish for salmon in Brooks Falls. Observe their incredible power and agility up close, capturing breathtaking photos and creating lasting memories. This experience offers a unique opportunity to connect with Alaska's raw wilderness and its iconic wildlife.", + "locationName": "Katmai National Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "alaska", + "ref": "bear-viewing-at-katmai-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_bear-viewing-at-katmai-national-park.jpg" + }, + { + "name": "Whale Watching in Juneau", + "description": "Embark on a thrilling whale-watching excursion in the waters surrounding Juneau. Marvel at the awe-inspiring sight of humpback whales breaching and tail-slapping as they migrate through these nutrient-rich waters. Keep an eye out for other marine life such as orcas, seals, and porpoises, and enjoy the stunning coastal scenery of Southeast Alaska. This activity is perfect for nature enthusiasts and wildlife lovers of all ages.", + "locationName": "Juneau", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "whale-watching-in-juneau", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_whale-watching-in-juneau.jpg" + }, + { + "name": "Scenic Drive on the Seward Highway", + "description": "Embark on a breathtaking road trip along the Seward Highway, one of the most scenic routes in North America. Wind through towering mountains, alongside glaciers, and past sparkling turquoise lakes. Stop at viewpoints to capture panoramic vistas and explore charming coastal towns like Seward and Girdwood. This journey offers a perfect blend of stunning landscapes, wildlife encounters, and opportunities for outdoor adventures.", + "locationName": "Seward Highway", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "alaska", + "ref": "scenic-drive-on-the-seward-highway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_scenic-drive-on-the-seward-highway.jpg" + }, + { + "name": "Visit the Anchorage Museum", + "description": "Immerse yourself in the rich history and culture of Alaska at the Anchorage Museum. Explore exhibits showcasing Alaska Native art, artifacts, and history, as well as contemporary art and science displays. Discover the stories of Alaska's people, its diverse ecosystems, and its unique place in the world. This museum offers a fascinating experience for visitors of all ages and interests.", + "locationName": "Anchorage", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "alaska", + "ref": "visit-the-anchorage-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_visit-the-anchorage-museum.jpg" + }, + { + "name": "Experience the Alaska Railroad", + "description": "Embark on a scenic journey through Alaska's wilderness aboard the historic Alaska Railroad. Choose from various routes that wind through mountains, forests, and along the coast, offering breathtaking views of glaciers, rivers, and wildlife. Relax in comfortable carriages and enjoy onboard dining while experiencing the beauty and vastness of Alaska's landscapes.", + "locationName": "Various routes throughout Alaska", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "alaska", + "ref": "experience-the-alaska-railroad", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/alaska_experience-the-alaska-railroad.jpg" + }, + { + "name": "Scenic Boat Tour", + "description": "Embark on a mesmerizing boat tour along the Amalfi Coast, taking in the stunning views of dramatic cliffs, hidden coves, and charming villages perched on the hillsides. Capture unforgettable photos and enjoy swimming in the crystal-clear turquoise waters.", + "locationName": "Amalfi Coast", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "amalfi-coast", + "ref": "scenic-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_scenic-boat-tour.jpg" + }, + { + "name": "Path of the Gods Hike", + "description": "Challenge yourself with a hike along the legendary Path of the Gods, a scenic trail offering breathtaking panoramic views of the coastline, terraced vineyards, and charming villages. Immerse yourself in the beauty of nature and experience the thrill of adventure.", + "locationName": "Agerola to Positano", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "amalfi-coast", + "ref": "path-of-the-gods-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_path-of-the-gods-hike.jpg" + }, + { + "name": "Positano Shopping Spree", + "description": "Wander through the charming streets of Positano, browsing through boutiques filled with colorful ceramics, handmade sandals, and stylish fashion. Discover unique souvenirs and indulge in the vibrant atmosphere of this picturesque town.", + "locationName": "Positano", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "amalfi-coast", + "ref": "positano-shopping-spree", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_positano-shopping-spree.jpg" + }, + { + "name": "Romantic Dinner with a View", + "description": "Treat yourself to a romantic dinner at a restaurant with breathtaking views of the Amalfi Coast. Savor delicious Italian cuisine, sip on local wine, and enjoy the enchanting ambiance as the sun sets over the horizon.", + "locationName": "Ravello or Positano", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "amalfi-coast", + "ref": "romantic-dinner-with-a-view", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_romantic-dinner-with-a-view.jpg" + }, + { + "name": "Cooking Class and Wine Tasting", + "description": "Immerse yourself in Italian culture by participating in a cooking class. Learn how to prepare traditional dishes like fresh pasta and regional specialties, and pair your culinary creations with local wines for a delightful foodie experience.", + "locationName": "Local villages or towns", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "amalfi-coast", + "ref": "cooking-class-and-wine-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_cooking-class-and-wine-tasting.jpg" + }, + { + "name": "Kayaking Adventure in the Grotta dello Smeraldo", + "description": "Embark on a mesmerizing kayaking journey to the Grotta dello Smeraldo, a hidden sea cave renowned for its emerald-green waters. Paddle through the crystal-clear waters, marvel at the unique rock formations, and discover the enchanting play of light within the cave. This unforgettable experience offers a different perspective of the Amalfi Coast's natural beauty.", + "locationName": "Grotta dello Smeraldo", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "amalfi-coast", + "ref": "kayaking-adventure-in-the-grotta-dello-smeraldo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_kayaking-adventure-in-the-grotta-dello-smeraldo.jpg" + }, + { + "name": "Vespa Tour through the Hills", + "description": "Experience the thrill of zipping through the scenic hills of the Amalfi Coast on a classic Vespa scooter. Enjoy the freedom of the open road as you wind your way through charming villages, stopping at panoramic viewpoints to capture breathtaking vistas. This adventurous tour allows you to explore hidden gems and soak up the authentic Italian atmosphere.", + "locationName": "Amalfi Coast hills", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "amalfi-coast", + "ref": "vespa-tour-through-the-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_vespa-tour-through-the-hills.jpg" + }, + { + "name": "Limoncello Tasting and Workshop", + "description": "Discover the secrets behind the iconic limoncello liqueur with a visit to a local limoncello producer. Learn about the traditional methods of production, from harvesting the lemons to the infusion process. Indulge in a tasting session of various limoncello flavors and even try your hand at creating your own unique blend.", + "locationName": "Local limoncello producer", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "amalfi-coast", + "ref": "limoncello-tasting-and-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_limoncello-tasting-and-workshop.jpg" + }, + { + "name": "Sunset Cruise with Swimming and Prosecco", + "description": "Set sail on a romantic sunset cruise along the Amalfi Coast. Admire the stunning coastline bathed in golden light, enjoy a refreshing swim in the turquoise waters, and sip on chilled Prosecco as you witness the breathtaking spectacle of the sun setting over the horizon. This magical experience is perfect for couples or anyone seeking a memorable evening.", + "locationName": "Amalfi Coast", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "amalfi-coast", + "ref": "sunset-cruise-with-swimming-and-prosecco", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_sunset-cruise-with-swimming-and-prosecco.jpg" + }, + { + "name": "Live Music at a Local Trattoria", + "description": "Immerse yourself in the vibrant atmosphere of a local trattoria and enjoy an evening of live music. Savor authentic Italian dishes while listening to talented musicians playing traditional and contemporary tunes. This experience offers a taste of the local culture and a chance to connect with the community.", + "locationName": "Local trattoria", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "amalfi-coast", + "ref": "live-music-at-a-local-trattoria", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_live-music-at-a-local-trattoria.jpg" + }, + { + "name": "Private Boat Trip to Capri", + "description": "Embark on a luxurious private boat trip to the stunning island of Capri. Explore the iconic Blue Grotto, swim in secluded coves, and admire the Faraglioni Rocks. Enjoy a delicious lunch onboard and soak up the Mediterranean sun.", + "locationName": "Capri", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "amalfi-coast", + "ref": "private-boat-trip-to-capri", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_private-boat-trip-to-capri.jpg" + }, + { + "name": "Hike the Sentiero degli Dei", + "description": "Challenge yourself with a hike along the Sentiero degli Dei, also known as the Path of the Gods. This scenic trail offers breathtaking panoramic views of the coastline, charming villages, and the Tyrrhenian Sea.", + "locationName": "Agerola to Nocelle", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "amalfi-coast", + "ref": "hike-the-sentiero-degli-dei", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_hike-the-sentiero-degli-dei.jpg" + }, + { + "name": "Explore the Ruins of Pompeii", + "description": "Step back in time with a visit to the ancient ruins of Pompeii, a UNESCO World Heritage Site. Witness the remarkably preserved remains of this Roman city, frozen in time by the eruption of Mount Vesuvius in 79 AD.", + "locationName": "Pompeii", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "amalfi-coast", + "ref": "explore-the-ruins-of-pompeii", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_explore-the-ruins-of-pompeii.jpg" + }, + { + "name": "Relax at a Beach Club", + "description": "Indulge in a day of relaxation at one of the many exclusive beach clubs along the Amalfi Coast. Enjoy comfortable sunbeds, refreshing cocktails, and stunning views of the sea. Some beach clubs offer water sports activities and swimming pools.", + "locationName": "Various locations along the coast", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "amalfi-coast", + "ref": "relax-at-a-beach-club", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_relax-at-a-beach-club.jpg" + }, + { + "name": "Visit the Duomo di Amalfi", + "description": "Immerse yourself in the rich history and culture of Amalfi by visiting the Duomo di Amalfi. This magnificent cathedral boasts stunning architecture, intricate mosaics, and a peaceful cloister.", + "locationName": "Amalfi", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "amalfi-coast", + "ref": "visit-the-duomo-di-amalfi", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_visit-the-duomo-di-amalfi.jpg" + }, + { + "name": "Private Yacht Excursion to Hidden Coves and Grottoes", + "description": "Embark on a luxurious private yacht excursion to discover secluded coves and hidden grottoes along the Amalfi Coast. Dive into crystal-clear waters for a refreshing swim, snorkel amidst vibrant marine life, and enjoy a gourmet lunch on board while soaking in the breathtaking coastal views. This exclusive experience promises a day of unparalleled beauty and relaxation.", + "locationName": "Amalfi Coast", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "amalfi-coast", + "ref": "private-yacht-excursion-to-hidden-coves-and-grottoes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_private-yacht-excursion-to-hidden-coves-and-grottoes.jpg" + }, + { + "name": "Ceramic Workshop in Vietri sul Mare", + "description": "Immerse yourself in the artistic heritage of the Amalfi Coast with a ceramic workshop in the charming town of Vietri sul Mare. Learn the traditional techniques of hand-painting and pottery from local artisans, and create your own unique ceramic masterpiece to take home as a souvenir. This cultural experience offers a glimpse into the region's rich artistic traditions.", + "locationName": "Vietri sul Mare", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "amalfi-coast", + "ref": "ceramic-workshop-in-vietri-sul-mare", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_ceramic-workshop-in-vietri-sul-mare.jpg" + }, + { + "name": "Wine Tasting Tour in the Hills of Tramonti", + "description": "Escape the bustling coast and venture into the tranquil hills of Tramonti for a delightful wine tasting tour. Visit family-run vineyards, learn about the unique grape varieties grown in the region, and savor a selection of exquisite local wines paired with regional cheeses and cured meats. Enjoy panoramic views of the coastline and experience the authentic charm of rural life on the Amalfi Coast.", + "locationName": "Tramonti", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "amalfi-coast", + "ref": "wine-tasting-tour-in-the-hills-of-tramonti", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_wine-tasting-tour-in-the-hills-of-tramonti.jpg" + }, + { + "name": "Guided Hike to the Torre dello Ziro Watchtower", + "description": "Embark on a scenic guided hike to the historic Torre dello Ziro watchtower, perched high above the village of Amalfi. Enjoy panoramic views of the coastline and surrounding mountains as you learn about the tower's fascinating history and its role in defending the region from invaders. This moderately challenging hike rewards you with breathtaking vistas and a sense of accomplishment.", + "locationName": "Amalfi", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "amalfi-coast", + "ref": "guided-hike-to-the-torre-dello-ziro-watchtower", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_guided-hike-to-the-torre-dello-ziro-watchtower.jpg" + }, + { + "name": "Live Like a Local: Market Visit and Home-Cooked Meal", + "description": "Experience the authentic flavors of the Amalfi Coast with a market visit and home-cooked meal. Join a local host at a vibrant market to select fresh, seasonal ingredients, and then learn to prepare traditional dishes in their home kitchen. This immersive culinary experience offers a glimpse into the daily life and culinary traditions of the region.", + "locationName": "Local villages", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "amalfi-coast", + "ref": "live-like-a-local-market-visit-and-home-cooked-meal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amalfi-coast_live-like-a-local-market-visit-and-home-cooked-meal.jpg" + }, + { + "name": "Amazon River Boat Tour", + "description": "Embark on a captivating journey down the mighty Amazon River, the lifeblood of the rainforest. Witness the vibrant ecosystem unfold before your eyes as you glide past lush vegetation, observe exotic wildlife like pink river dolphins and caimans, and encounter local communities along the riverbanks. Choose from various boat tour options, including day trips, overnight expeditions, or even multi-day cruises, to tailor your experience to your preferences.", + "locationName": "Amazon River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "amazon-river-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_amazon-river-boat-tour.jpg" + }, + { + "name": "Jungle Trekking and Wildlife Spotting", + "description": "Venture deep into the heart of the Amazon rainforest on a guided jungle trek. Follow experienced local guides along winding trails, immersing yourself in the sights and sounds of the jungle. Learn about medicinal plants, spot elusive wildlife like monkeys, sloths, and colorful birds, and discover the secrets of this incredible ecosystem. Choose from various trek lengths and difficulty levels to match your fitness and adventurous spirit.", + "locationName": "Various jungle trails", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "amazon-rainforest", + "ref": "jungle-trekking-and-wildlife-spotting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_jungle-trekking-and-wildlife-spotting.jpg" + }, + { + "name": "Canopy Ziplining Adventure", + "description": "Experience the rainforest from a thrilling perspective with a canopy zipline adventure. Soar through the treetops on a network of ziplines, enjoying breathtaking views of the jungle canopy and the surrounding landscape. Feel the adrenaline rush as you glide from platform to platform, surrounded by the lush greenery and the sounds of nature. This exhilarating activity is perfect for adventure seekers and those looking for a unique way to explore the rainforest.", + "locationName": "Various zipline locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "canopy-ziplining-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_canopy-ziplining-adventure.jpg" + }, + { + "name": "Indigenous Cultural Experience", + "description": "Immerse yourself in the rich cultural heritage of the Amazon's indigenous communities. Visit a local village and interact with the residents, learning about their traditional way of life, customs, and beliefs. Participate in cultural activities such as craft making, storytelling, or traditional dances. This enriching experience provides a unique opportunity to connect with the people who have called the Amazon home for centuries.", + "locationName": "Indigenous villages", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "amazon-rainforest", + "ref": "indigenous-cultural-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_indigenous-cultural-experience.jpg" + }, + { + "name": "Nighttime Wildlife Safari", + "description": "Embark on a thrilling nighttime safari to discover the nocturnal creatures of the Amazon rainforest. Accompanied by experienced guides, venture into the jungle after dark, using spotlights to search for elusive animals such as caimans, snakes, owls, and other nocturnal species. Learn about their unique adaptations and behaviors while experiencing the magic of the rainforest at night.", + "locationName": "Jungle trails", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "amazon-rainforest", + "ref": "nighttime-wildlife-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_nighttime-wildlife-safari.jpg" + }, + { + "name": "Piranha Fishing Excursion", + "description": "Embark on a thrilling fishing expedition in the Amazon River tributaries, where you'll try your hand at catching the infamous piranhas. Learn local fishing techniques and experience the excitement of reeling in these feisty fish. Knowledgeable guides will share insights about the piranhas' role in the ecosystem and their fascinating behaviors.", + "locationName": "Amazon River tributaries", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "piranha-fishing-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_piranha-fishing-excursion.jpg" + }, + { + "name": "Medicinal Plants and Traditional Healing Workshop", + "description": "Delve into the rich world of traditional Amazonian medicine with a guided workshop led by indigenous healers. Discover the healing properties of native plants, learn about their uses in traditional remedies, and participate in hands-on activities like preparing herbal teas and natural ointments. Gain insights into the cultural significance of these practices and their connection to the rainforest ecosystem.", + "locationName": "Indigenous community", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "amazon-rainforest", + "ref": "medicinal-plants-and-traditional-healing-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_medicinal-plants-and-traditional-healing-workshop.jpg" + }, + { + "name": "Kayaking through Amazonian Waterways", + "description": "Paddle through the tranquil waterways of the Amazon in a kayak, immersing yourself in the sights and sounds of the rainforest. Explore hidden creeks, observe diverse wildlife from a unique perspective, and enjoy the serenity of the surrounding nature. This peaceful adventure allows you to connect with the Amazon's ecosystem at your own pace.", + "locationName": "Amazon River tributaries and flooded forests", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "amazon-rainforest", + "ref": "kayaking-through-amazonian-waterways", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_kayaking-through-amazonian-waterways.jpg" + }, + { + "name": "Birdwatching in the Rainforest Canopy", + "description": "Rise early to experience the symphony of birdsong in the Amazon rainforest canopy. Accompanied by expert birdwatching guides, embark on a hike or boat trip to prime birdwatching locations. Observe vibrant macaws, toucans, hummingbirds, and numerous other species in their natural habitat. Learn about their unique characteristics, calls, and the crucial role they play in the ecosystem.", + "locationName": "Various locations within the rainforest", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "birdwatching-in-the-rainforest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_birdwatching-in-the-rainforest-canopy.jpg" + }, + { + "name": "Sunset Cruise on the Amazon River", + "description": "Embark on a magical sunset cruise along the Amazon River, soaking in the breathtaking views as the sky transforms into a canvas of vibrant colors. Enjoy the tranquil atmosphere, observe wildlife along the riverbanks, and capture stunning photographs of the unforgettable scenery. This relaxing experience provides a perfect end to a day of exploration.", + "locationName": "Amazon River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "sunset-cruise-on-the-amazon-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_sunset-cruise-on-the-amazon-river.jpg" + }, + { + "name": "Amazon River Dolphin Watching", + "description": "Embark on a magical journey to witness the playful pink river dolphins in their natural habitat. Cruise along the Amazon River tributaries, keeping an eye out for these intelligent and friendly creatures. Learn about their unique characteristics and conservation efforts while enjoying the stunning scenery of the rainforest.", + "locationName": "Amazon River tributaries", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "amazon-river-dolphin-watching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_amazon-river-dolphin-watching.jpg" + }, + { + "name": "Stargazing in the Amazon Night", + "description": "Escape the city lights and immerse yourself in the breathtaking night sky of the Amazon. Join a guided stargazing experience, where you'll learn about constellations, planets, and the Milky Way. With minimal light pollution, the Amazon offers an unforgettable opportunity to witness the celestial wonders of the Southern Hemisphere.", + "locationName": "Amazon Rainforest lodges with open clearings", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "amazon-rainforest", + "ref": "stargazing-in-the-amazon-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_stargazing-in-the-amazon-night.jpg" + }, + { + "name": "Amazonian Cooking Class", + "description": "Delve into the culinary traditions of the Amazon with a hands-on cooking class. Learn to prepare authentic dishes using fresh, local ingredients, such as exotic fruits, vegetables, and fish. Discover the unique flavors and techniques of Amazonian cuisine while enjoying a cultural and gastronomic adventure.", + "locationName": "Local communities or lodges", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "amazonian-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_amazonian-cooking-class.jpg" + }, + { + "name": "Survival Skills Workshop", + "description": "Test your wilderness skills and learn essential survival techniques from experienced guides. Discover how to build shelters, identify edible plants, purify water, and navigate through the dense rainforest. This immersive experience will connect you with the raw beauty of the Amazon and equip you with valuable knowledge.", + "locationName": "Remote jungle locations", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "amazon-rainforest", + "ref": "survival-skills-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_survival-skills-workshop.jpg" + }, + { + "name": "Visit a Sustainable Eco-lodge", + "description": "Experience the Amazon responsibly by staying at a sustainable eco-lodge. These lodges prioritize environmental conservation and community development. Enjoy comfortable accommodations, learn about eco-friendly practices, and support local initiatives while immersing yourself in the rainforest's wonders.", + "locationName": "Various locations throughout the Amazon", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "amazon-rainforest", + "ref": "visit-a-sustainable-eco-lodge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_visit-a-sustainable-eco-lodge.jpg" + }, + { + "name": "Caving Exploration in Gruta do Janelão", + "description": "Embark on a thrilling journey into the depths of Gruta do Janelão, one of the largest cave systems in Brazil. Marvel at the stunning geological formations, including stalactites, stalagmites, and underground rivers, and learn about the unique cave ecosystem. Experienced guides will lead you through the caverns, ensuring a safe and unforgettable adventure.", + "locationName": "Gruta do Janelão, Presidente Figueiredo", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "caving-exploration-in-gruta-do-janel-o", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_caving-exploration-in-gruta-do-janel-o.jpg" + }, + { + "name": "Anavilhanas Archipelago Exploration", + "description": "Discover the Anavilhanas Archipelago, the world's largest freshwater archipelago, comprised of over 400 islands. Explore the flooded forests by boat, kayak, or canoe, and encounter diverse wildlife, including pink river dolphins, monkeys, sloths, and a variety of birds. Hike on some of the islands, swim in the clear waters, and experience the unique ecosystem of this natural wonder.", + "locationName": "Anavilhanas National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "amazon-rainforest", + "ref": "anavilhanas-archipelago-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_anavilhanas-archipelago-exploration.jpg" + }, + { + "name": "Amazonian Fruit Farm Tour and Tasting", + "description": "Indulge your taste buds in the exotic flavors of the Amazon on a fruit farm tour. Explore a local farm, learn about the cultivation of various Amazonian fruits, and sample a wide variety of fresh and delicious fruits, including acai, cupuaçu, guaraná, and many more. Discover the unique flavors and cultural significance of these fruits in the Amazonian way of life.", + "locationName": "Local fruit farms near Manaus or other Amazonian cities", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "amazon-rainforest", + "ref": "amazonian-fruit-farm-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_amazonian-fruit-farm-tour-and-tasting.jpg" + }, + { + "name": "Amazon Photography Expedition", + "description": "Capture the stunning beauty of the Amazon rainforest on a photography expedition. Join a professional photographer and guide as you explore diverse ecosystems, from the dense jungle to the riverbanks and flooded forests. Learn about wildlife photography techniques and capture breathtaking images of exotic animals, vibrant flora, and the unique landscapes of the Amazon.", + "locationName": "Various locations within the Amazon rainforest", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "amazon-rainforest", + "ref": "amazon-photography-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/amazon-rainforest_amazon-photography-expedition.jpg" + }, + { + "name": "Trek to Machu Picchu", + "description": "Embark on an unforgettable journey through the ancient Inca Trail, culminating in a breathtaking arrival at the legendary Machu Picchu. Hike through stunning mountain scenery, explore Inca ruins along the way, and witness the sunrise over the iconic lost city.", + "locationName": "Machu Picchu, Peru", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "andes-mountains", + "ref": "trek-to-machu-picchu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_trek-to-machu-picchu.jpg" + }, + { + "name": "Explore the Salt Flats of Salar de Uyuni", + "description": "Witness the surreal beauty of the world's largest salt flats, Salar de Uyuni in Bolivia. Take a jeep tour across the vast expanse of salt, capture mind-bending perspective photos, and visit unique islands dotted with cacti.", + "locationName": "Salar de Uyuni, Bolivia", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "explore-the-salt-flats-of-salar-de-uyuni", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_explore-the-salt-flats-of-salar-de-uyuni.jpg" + }, + { + "name": "Visit the Glaciers of Patagonia", + "description": "Venture into the southern reaches of the Andes to discover the awe-inspiring glaciers of Patagonia. Take a boat tour to witness towering icebergs calving into turquoise lakes, go trekking on a glacier, or embark on a kayaking adventure.", + "locationName": "Patagonia, Argentina/Chile", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "andes-mountains", + "ref": "visit-the-glaciers-of-patagonia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_visit-the-glaciers-of-patagonia.jpg" + }, + { + "name": "Skiing in the Andes", + "description": "Hit the slopes at world-class ski resorts nestled within the Andes Mountains. Experience thrilling downhill runs, enjoy après-ski activities, and soak in the breathtaking mountain vistas.", + "locationName": "Various ski resorts in Chile and Argentina", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "andes-mountains", + "ref": "skiing-in-the-andes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_skiing-in-the-andes.jpg" + }, + { + "name": "Cultural Encounters with Indigenous Communities", + "description": "Immerse yourself in the rich cultural heritage of the Andes by visiting indigenous communities. Learn about their traditions, crafts, and way of life, and gain a deeper appreciation for the region's history and people.", + "locationName": "Various locations throughout the Andes", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "andes-mountains", + "ref": "cultural-encounters-with-indigenous-communities", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_cultural-encounters-with-indigenous-communities.jpg" + }, + { + "name": "White Water Rafting on the Rio Apurimac", + "description": "Embark on an exhilarating white water rafting adventure on the Rio Apurimac, one of the headwaters of the Amazon River. Navigate through stunning canyons, experience the thrill of rapids, and enjoy the breathtaking scenery of the Andes Mountains.", + "locationName": "Rio Apurimac, Peru", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "andes-mountains", + "ref": "white-water-rafting-on-the-rio-apurimac", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_white-water-rafting-on-the-rio-apurimac.jpg" + }, + { + "name": "Horseback Riding in the Andean Highlands", + "description": "Explore the Andean highlands on horseback, traversing scenic trails with panoramic views of snow-capped peaks, verdant valleys, and traditional villages. Connect with nature and experience the local way of life at a relaxed pace.", + "locationName": "Andean Highlands, Ecuador", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "horseback-riding-in-the-andean-highlands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_horseback-riding-in-the-andean-highlands.jpg" + }, + { + "name": "Stargazing in the Atacama Desert", + "description": "Venture into the Atacama Desert, one of the driest places on Earth, for an unforgettable stargazing experience. Marvel at the clarity of the night sky, observe constellations, and learn about the celestial wonders with expert guides.", + "locationName": "Atacama Desert, Chile", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "andes-mountains", + "ref": "stargazing-in-the-atacama-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_stargazing-in-the-atacama-desert.jpg" + }, + { + "name": "Mountain Biking in the Sacred Valley", + "description": "Challenge yourself with a thrilling mountain biking adventure in the Sacred Valley of Peru. Pedal through ancient Inca trails, past picturesque villages, and alongside agricultural terraces, enjoying breathtaking views of the surrounding mountains.", + "locationName": "Sacred Valley, Peru", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "mountain-biking-in-the-sacred-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_mountain-biking-in-the-sacred-valley.jpg" + }, + { + "name": "Birdwatching in the Cloud Forests", + "description": "Immerse yourself in the biodiversity of the Andean cloud forests, home to a wide variety of bird species. Join a guided birdwatching tour and spot colorful hummingbirds, tanagers, toucans, and other fascinating avian creatures.", + "locationName": "Cloud Forests, Ecuador", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "andes-mountains", + "ref": "birdwatching-in-the-cloud-forests", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_birdwatching-in-the-cloud-forests.jpg" + }, + { + "name": "Rock Climbing in the Cordillera Blanca", + "description": "Challenge yourself with thrilling rock climbing experiences in the Cordillera Blanca, a stunning range within the Andes known for its towering granite peaks and glaciers. Whether you're a beginner or an experienced climber, there are routes for all levels, offering breathtaking views and a sense of accomplishment.", + "locationName": "Cordillera Blanca, Peru", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "rock-climbing-in-the-cordillera-blanca", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_rock-climbing-in-the-cordillera-blanca.jpg" + }, + { + "name": "Caving in the Marble Caves", + "description": "Embark on a unique adventure exploring the Marble Caves, a series of sculpted caverns formed by waves crashing against calcium carbonate. Take a boat tour through the mesmerizing turquoise waters and marvel at the intricate patterns and formations carved into the rock over millennia.", + "locationName": "General Carrera Lake, Chile", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "andes-mountains", + "ref": "caving-in-the-marble-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_caving-in-the-marble-caves.jpg" + }, + { + "name": "Soak in Natural Hot Springs", + "description": "Relax and rejuvenate in the numerous natural hot springs scattered throughout the Andes. Immerse yourself in the warm, mineral-rich waters surrounded by stunning mountain scenery. Many hot springs offer additional spa treatments and wellness activities for a truly pampering experience.", + "locationName": "Various locations throughout the Andes", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "andes-mountains", + "ref": "soak-in-natural-hot-springs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_soak-in-natural-hot-springs.jpg" + }, + { + "name": "Wine Tasting in Mendoza", + "description": "Indulge in the world-renowned wines of Mendoza, Argentina, nestled at the foothills of the Andes. Visit local vineyards, tour the cellars, and savor a variety of Malbecs and other varietals while enjoying the picturesque landscapes and charming atmosphere.", + "locationName": "Mendoza, Argentina", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "wine-tasting-in-mendoza", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_wine-tasting-in-mendoza.jpg" + }, + { + "name": "Paragliding over the Sacred Valley", + "description": "Experience the thrill of paragliding over the breathtaking Sacred Valley of the Incas in Peru. Soar through the air and enjoy panoramic views of ancient ruins, verdant fields, and snow-capped mountains. This unforgettable adventure offers a unique perspective on the region's beauty.", + "locationName": "Sacred Valley, Peru", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "andes-mountains", + "ref": "paragliding-over-the-sacred-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_paragliding-over-the-sacred-valley.jpg" + }, + { + "name": "Scenic Train Journey Through the Andes", + "description": "Embark on a breathtaking train journey through the heart of the Andes, winding past snow-capped peaks, dramatic valleys, and charming Andean villages. Enjoy panoramic views from comfortable carriages, with options for luxury experiences or budget-friendly travel. This is a perfect way to appreciate the vastness and beauty of the Andes without strenuous physical activity.", + "locationName": "Various routes throughout the Andes", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "scenic-train-journey-through-the-andes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_scenic-train-journey-through-the-andes.jpg" + }, + { + "name": "Zip-lining in the Cloud Forest", + "description": "Experience the thrill of soaring through the lush canopy of the cloud forest on a zip-lining adventure. Enjoy breathtaking views of the surrounding mountains and valleys as you glide from platform to platform, surrounded by diverse flora and fauna. This exhilarating activity is perfect for adventure seekers and nature enthusiasts.", + "locationName": "Cloud forests in Ecuador, Peru, or Colombia", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "zip-lining-in-the-cloud-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_zip-lining-in-the-cloud-forest.jpg" + }, + { + "name": "Exploring Colonial Towns and Cities", + "description": "Step back in time and immerse yourself in the rich history and culture of the Andes by exploring charming colonial towns and cities. Visit Cusco, the ancient Inca capital, or Quito, with its well-preserved colonial center. Discover architectural gems, vibrant markets, and museums showcasing the region's fascinating past.", + "locationName": "Cusco, Quito, and other colonial towns", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "andes-mountains", + "ref": "exploring-colonial-towns-and-cities", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_exploring-colonial-towns-and-cities.jpg" + }, + { + "name": "Indulge in Andean Gastronomy", + "description": "Embark on a culinary journey through the Andes, savoring the unique flavors and dishes of the region. Try traditional delicacies like ceviche, empanadas, and lomo saltado. Explore local markets for fresh produce and spices, or participate in a cooking class to learn the secrets of Andean cuisine.", + "locationName": "Restaurants and markets throughout the Andes", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "andes-mountains", + "ref": "indulge-in-andean-gastronomy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_indulge-in-andean-gastronomy.jpg" + }, + { + "name": "Relaxing at Thermal Baths", + "description": "Unwind and rejuvenate in the natural thermal baths scattered throughout the Andes. Immerse yourself in the soothing mineral-rich waters, surrounded by stunning mountain scenery. Many locations offer spa treatments and wellness programs for a complete relaxation experience.", + "locationName": "Various locations in the Andes, including Banos in Ecuador and Aguas Calientes in Peru", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "andes-mountains", + "ref": "relaxing-at-thermal-baths", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/andes-mountains_relaxing-at-thermal-baths.jpg" + }, + { + "name": "Sunrise at Angkor Wat", + "description": "Witness the breathtaking spectacle of sunrise over the iconic Angkor Wat temple. Arrive early to secure a prime spot near the reflecting pool and capture unforgettable photos as the sun bathes the temple in golden light.", + "locationName": "Angkor Wat", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "angkor-wat", + "ref": "sunrise-at-angkor-wat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_sunrise-at-angkor-wat.jpg" + }, + { + "name": "Explore Angkor Thom", + "description": "Embark on a journey through the ancient walled city of Angkor Thom, home to magnificent temples such as Bayon, with its enigmatic smiling faces, and the Terrace of the Elephants. Discover hidden passages, marvel at intricate carvings, and delve into the history of the Khmer Empire.", + "locationName": "Angkor Thom", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "explore-angkor-thom", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_explore-angkor-thom.jpg" + }, + { + "name": "Ta Prohm Temple and the Jungle's Embrace", + "description": "Venture into the atmospheric Ta Prohm temple, where ancient ruins are intertwined with massive tree roots. Explore the mystical atmosphere of this iconic location, featured in the film 'Tomb Raider', and imagine the power of nature reclaiming the land.", + "locationName": "Ta Prohm", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "angkor-wat", + "ref": "ta-prohm-temple-and-the-jungle-s-embrace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_ta-prohm-temple-and-the-jungle-s-embrace.jpg" + }, + { + "name": "Angkor National Museum", + "description": "Delve deeper into the history and culture of the Khmer Empire at the Angkor National Museum. Explore exhibits showcasing artifacts, sculptures, and ancient relics, providing insights into the fascinating stories behind Angkor's temples.", + "locationName": "Angkor National Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "angkor-wat", + "ref": "angkor-national-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_angkor-national-museum.jpg" + }, + { + "name": "Cambodian Cooking Class", + "description": "Immerse yourself in Cambodian culinary traditions with a hands-on cooking class. Learn to prepare authentic dishes like fish amok and Khmer curry, using fresh local ingredients and traditional techniques. Savor the flavors of your creations and gain a deeper appreciation for Cambodian cuisine.", + "locationName": "Various locations in Siem Reap", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "cambodian-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_cambodian-cooking-class.jpg" + }, + { + "name": "Banteay Srei Temple Excursion", + "description": "Embark on a journey to the enchanting Banteay Srei, known as the 'Citadel of Women.' Marvel at its intricate pink sandstone carvings and delicate details, often considered the finest example of Khmer art. Explore the temple's unique history and feminine symbolism, surrounded by a serene jungle setting.", + "locationName": "Banteay Srei Temple", + "duration": 2.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "banteay-srei-temple-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_banteay-srei-temple-excursion.jpg" + }, + { + "name": "Quad Bike Adventure through the Countryside", + "description": "Experience the thrill of an off-road adventure on a quad bike tour through the picturesque Cambodian countryside. Traverse dirt paths, rice paddies, and local villages, immersing yourself in the rural landscapes and daily life beyond the temples. This exciting excursion offers a unique perspective of the region and its natural beauty.", + "locationName": "Angkor Wat Surrounding Countryside", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "angkor-wat", + "ref": "quad-bike-adventure-through-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_quad-bike-adventure-through-the-countryside.jpg" + }, + { + "name": "Sunset Cruise on Tonle Sap Lake", + "description": "Set sail on a tranquil sunset cruise across the vast Tonle Sap Lake, the largest freshwater lake in Southeast Asia. Witness breathtaking views as the sky transforms with vibrant colors, reflecting on the water. Observe the unique floating villages and witness the daily life of local communities who call the lake home.", + "locationName": "Tonle Sap Lake", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "sunset-cruise-on-tonle-sap-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_sunset-cruise-on-tonle-sap-lake.jpg" + }, + { + "name": "Apsara Dance Performance with Dinner", + "description": "Immerse yourself in Cambodian culture with a mesmerizing Apsara dance performance. Enjoy a traditional buffet dinner while witnessing the graceful movements and elaborate costumes of the dancers, depicting ancient myths and legends. This captivating experience offers a glimpse into the rich artistic heritage of Cambodia.", + "locationName": "Various restaurants and cultural venues in Siem Reap", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "angkor-wat", + "ref": "apsara-dance-performance-with-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_apsara-dance-performance-with-dinner.jpg" + }, + { + "name": "Phare Circus Show: A Cambodian Spectacle", + "description": "Experience the magic of Phare Circus, a captivating performance that combines acrobatics, theater, music, and storytelling. Witness the incredible talents of young Cambodian artists as they share their stories and cultural heritage through this unique and inspiring show.", + "locationName": "Phare Circus, Siem Reap", + "duration": 1.5, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "phare-circus-show-a-cambodian-spectacle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_phare-circus-show-a-cambodian-spectacle.jpg" + }, + { + "name": "Explore the Floating Villages of Kampong Phluk", + "description": "Embark on a captivating boat journey to Kampong Phluk, a unique floating village on Tonle Sap Lake. Witness the stilted houses, vibrant local life, and flooded forests, experiencing the daily rhythms of this fascinating community. Interact with villagers, learn about their fishing traditions, and savor a delicious meal at a floating restaurant.", + "locationName": "Kampong Phluk", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "explore-the-floating-villages-of-kampong-phluk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_explore-the-floating-villages-of-kampong-phluk.jpg" + }, + { + "name": "Biking Through the Cambodian Countryside", + "description": "Escape the bustling city and embark on a scenic bike tour through the picturesque Cambodian countryside. Pedal along quiet paths, passing by lush rice paddies, traditional villages, and ancient temples. Immerse yourself in the rural landscapes, interact with friendly locals, and discover hidden gems off the beaten path. This active adventure allows you to experience the authentic charm of Cambodia.", + "locationName": "Cambodian Countryside", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "angkor-wat", + "ref": "biking-through-the-cambodian-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_biking-through-the-cambodian-countryside.jpg" + }, + { + "name": "Indulge in a Traditional Khmer Massage", + "description": "Treat yourself to a rejuvenating Khmer massage, a centuries-old practice known for its therapeutic benefits. Skilled therapists use gentle stretching, acupressure, and aromatic oils to relieve tension, improve circulation, and restore balance. Choose from a variety of massage styles and durations, and let the expert hands transport you to a state of deep relaxation.", + "locationName": "Various spas and wellness centers", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "indulge-in-a-traditional-khmer-massage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_indulge-in-a-traditional-khmer-massage.jpg" + }, + { + "name": "Phnom Kulen National Park: Waterfall and 1000 Lingas", + "description": "Embark on a day trip to Phnom Kulen National Park, a sacred mountain with stunning natural landscapes. Hike to the Kulen Waterfall, take a refreshing dip in the cool waters, and marvel at the intricate carvings of the 1000 Lingas on the riverbed. Discover hidden temples, enjoy panoramic views, and immerse yourself in the spiritual atmosphere of this natural sanctuary.", + "locationName": "Phnom Kulen National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "phnom-kulen-national-park-waterfall-and-1000-lingas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_phnom-kulen-national-park-waterfall-and-1000-lingas.jpg" + }, + { + "name": "Pub Street: Nightlife and Culinary Delights", + "description": "As the sun sets, head to Pub Street, the vibrant heart of Siem Reap's nightlife. Explore the lively bars, restaurants, and shops, and soak up the energetic atmosphere. Sample delicious street food, enjoy live music performances, and mingle with fellow travelers. From local beers to international cocktails, Pub Street offers a diverse range of options to suit every taste.", + "locationName": "Pub Street", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "angkor-wat", + "ref": "pub-street-nightlife-and-culinary-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_pub-street-nightlife-and-culinary-delights.jpg" + }, + { + "name": "Kbal Spean: The River of a Thousand Lingas", + "description": "Embark on a jungle trek to Kbal Spean, an archaeological site known as the \"River of a Thousand Lingas.\" Discover intricate carvings of Hindu deities and symbols etched into the riverbed and waterfalls, offering a unique blend of nature and cultural heritage.", + "locationName": "Kbal Spean", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "kbal-spean-the-river-of-a-thousand-lingas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_kbal-spean-the-river-of-a-thousand-lingas.jpg" + }, + { + "name": "Beng Mealea: The Lost Temple", + "description": "Venture off the beaten path to Beng Mealea, a sprawling temple complex enveloped by the jungle. Explore its mysterious ruins, climb over moss-covered stones, and experience the thrill of discovery in this Indiana Jones-esque adventure.", + "locationName": "Beng Mealea", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "angkor-wat", + "ref": "beng-mealea-the-lost-temple", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_beng-mealea-the-lost-temple.jpg" + }, + { + "name": "Koh Ker: The Ancient Khmer Capital", + "description": "Take a day trip to Koh Ker, a remote archaeological site that once served as the capital of the Khmer Empire. Explore the impressive Prasat Thom pyramid temple, wander through the ruins of ancient palaces, and witness the remnants of a bygone era.", + "locationName": "Koh Ker", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "angkor-wat", + "ref": "koh-ker-the-ancient-khmer-capital", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_koh-ker-the-ancient-khmer-capital.jpg" + }, + { + "name": "Hot Air Balloon Ride over Angkor Wat", + "description": "Soar above the temples of Angkor in a hot air balloon and witness the breathtaking sunrise or sunset views. Capture panoramic vistas of the sprawling complex, the surrounding countryside, and the distant Kulen Mountains.", + "locationName": "Angkor Archaeological Park", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "angkor-wat", + "ref": "hot-air-balloon-ride-over-angkor-wat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_hot-air-balloon-ride-over-angkor-wat.jpg" + }, + { + "name": "Siem Reap Art & Culture", + "description": "Immerse yourself in the vibrant art and culture scene of Siem Reap. Visit the Angkor National Museum to delve deeper into Khmer history, explore local art galleries showcasing contemporary Cambodian artists, and attend a traditional Apsara dance performance.", + "locationName": "Siem Reap", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "angkor-wat", + "ref": "siem-reap-art-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/angkor-wat_siem-reap-art-culture.jpg" + }, + { + "name": "Guided Tour of Upper Antelope Canyon", + "description": "Embark on a mesmerizing journey through the Upper Antelope Canyon with a Navajo guide. Witness the interplay of light and shadow as sunlight filters through the narrow sandstone walls, creating breathtaking photographic opportunities. Learn about the canyon's formation, Navajo culture, and the significance of this sacred site.", + "locationName": "Upper Antelope Canyon", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "antelope-canyon", + "ref": "guided-tour-of-upper-antelope-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_guided-tour-of-upper-antelope-canyon.jpg" + }, + { + "name": "Photography Tour of Lower Antelope Canyon", + "description": "Capture the ethereal beauty of Lower Antelope Canyon on a specialized photography tour. Accompanied by a professional photographer and Navajo guide, learn advanced techniques for photographing slot canyons and make the most of the unique lighting conditions. This tour is perfect for photography enthusiasts seeking to create stunning images.", + "locationName": "Lower Antelope Canyon", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "antelope-canyon", + "ref": "photography-tour-of-lower-antelope-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_photography-tour-of-lower-antelope-canyon.jpg" + }, + { + "name": "Scenic Drive on Highway 98", + "description": "Embark on a scenic drive along Highway 98, which winds through the Navajo Nation and offers stunning views of the surrounding landscape. Stop at viewpoints to admire the vast desert vistas, towering mesas, and distant rock formations. This drive is a great way to experience the natural beauty of the region at your own pace.", + "locationName": "Highway 98", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "antelope-canyon", + "ref": "scenic-drive-on-highway-98", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_scenic-drive-on-highway-98.jpg" + }, + { + "name": "Visit Horseshoe Bend", + "description": "Take a short hike to Horseshoe Bend, a dramatic incised meander of the Colorado River. Marvel at the sheer cliffs and the emerald-green water flowing below. Capture panoramic photos of this iconic landmark and enjoy the breathtaking views of the surrounding landscape.", + "locationName": "Horseshoe Bend", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "antelope-canyon", + "ref": "visit-horseshoe-bend", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_visit-horseshoe-bend.jpg" + }, + { + "name": "Explore the Navajo Nation", + "description": "Immerse yourself in the rich culture and history of the Navajo Nation. Visit the Navajo Nation Museum to learn about their traditions, art, and way of life. Explore local trading posts to find authentic Navajo crafts, jewelry, and artwork. Consider attending a traditional Navajo ceremony or cultural event for a deeper understanding of their heritage.", + "locationName": "Navajo Nation", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "antelope-canyon", + "ref": "explore-the-navajo-nation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_explore-the-navajo-nation.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Experience the magic of the desert night sky with a stargazing tour. Away from city lights, Antelope Canyon offers breathtaking views of the Milky Way and constellations. Learn about Navajo astronomy and storytelling while marveling at the celestial wonders.", + "locationName": "Antelope Canyon or surrounding desert areas", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "antelope-canyon", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_stargazing-in-the-desert.jpg" + }, + { + "name": "Rafting on the Colorado River", + "description": "Embark on a thrilling rafting adventure on the Colorado River, near Antelope Canyon. Navigate through scenic canyons and rapids, enjoying the stunning desert landscape from a unique perspective. Choose from various tour options depending on your desired level of intensity and duration.", + "locationName": "Colorado River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "antelope-canyon", + "ref": "rafting-on-the-colorado-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_rafting-on-the-colorado-river.jpg" + }, + { + "name": "Glamping Under the Stars", + "description": "Indulge in a unique glamping experience near Antelope Canyon. Enjoy the comfort of a luxury tent or yurt while immersing yourself in the beauty of the desert landscape. Relax by the campfire, gaze at the starlit sky, and create unforgettable memories.", + "locationName": "Glamping sites near Antelope Canyon", + "duration": 12, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "antelope-canyon", + "ref": "glamping-under-the-stars", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_glamping-under-the-stars.jpg" + }, + { + "name": "Hiking in Horseshoe Bend", + "description": "Embark on a scenic hike to Horseshoe Bend, a horseshoe-shaped incised meander of the Colorado River. Witness breathtaking panoramic views of the canyon and capture stunning photographs. This moderate hike offers a rewarding experience for nature enthusiasts.", + "locationName": "Horseshoe Bend", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "antelope-canyon", + "ref": "hiking-in-horseshoe-bend", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_hiking-in-horseshoe-bend.jpg" + }, + { + "name": "Exploring the Navajo Nation", + "description": "Immerse yourself in the rich culture and heritage of the Navajo Nation. Visit local artisans, experience traditional ceremonies, and learn about their history, traditions, and deep connection to the land. Respectful cultural tourism supports the Navajo community and provides a unique learning experience.", + "locationName": "Navajo Nation", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "antelope-canyon", + "ref": "exploring-the-navajo-nation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_exploring-the-navajo-nation.jpg" + }, + { + "name": "Mountain Biking Adventure", + "description": "Embark on an exhilarating mountain biking journey through the rugged terrain surrounding Antelope Canyon. Explore scenic trails that wind through canyons, mesas, and desert landscapes, offering breathtaking views and a thrilling off-road experience.", + "locationName": "Navajo Nation Lands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "antelope-canyon", + "ref": "mountain-biking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_mountain-biking-adventure.jpg" + }, + { + "name": "Cultural Immersion at the Navajo Village", + "description": "Immerse yourself in the rich culture and traditions of the Navajo Nation by visiting a nearby Navajo village. Engage with local artisans, learn about their history and way of life, and witness traditional demonstrations of weaving, jewelry making, and storytelling.", + "locationName": "Navajo Village", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "antelope-canyon", + "ref": "cultural-immersion-at-the-navajo-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_cultural-immersion-at-the-navajo-village.jpg" + }, + { + "name": "Jeep Tour to Secret Canyon", + "description": "Venture beyond the well-trodden paths and discover the hidden gem of Secret Canyon. Embark on a thrilling jeep tour that takes you through rugged backcountry, revealing a secluded slot canyon adorned with stunning rock formations and unique light displays.", + "locationName": "Secret Canyon", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "antelope-canyon", + "ref": "jeep-tour-to-secret-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_jeep-tour-to-secret-canyon.jpg" + }, + { + "name": "Sunset Photography at Horseshoe Bend", + "description": "Capture the mesmerizing beauty of Horseshoe Bend at sunset with a photography tour led by a professional photographer. Learn advanced techniques for capturing the perfect shot as the golden light paints the landscape, creating a breathtaking spectacle.", + "locationName": "Horseshoe Bend", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "antelope-canyon", + "ref": "sunset-photography-at-horseshoe-bend", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_sunset-photography-at-horseshoe-bend.jpg" + }, + { + "name": "Stargazing and Astronomy Session", + "description": "Experience the magic of the desert night sky with a stargazing and astronomy session. Join a knowledgeable guide who will unveil the wonders of the cosmos, pointing out constellations, planets, and celestial phenomena, all under the blanket of a star-studded sky.", + "locationName": "Desert Surroundings", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "antelope-canyon", + "ref": "stargazing-and-astronomy-session", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_stargazing-and-astronomy-session.jpg" + }, + { + "name": "Helicopter Tour over Antelope Canyon", + "description": "Soar above the breathtaking landscapes of Antelope Canyon on an exhilarating helicopter tour. Witness the canyon's intricate formations, the vast desert expanse, and the meandering Colorado River from a unique aerial perspective. Capture panoramic photos and create unforgettable memories.", + "locationName": "Antelope Canyon and surrounding area", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "antelope-canyon", + "ref": "helicopter-tour-over-antelope-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_helicopter-tour-over-antelope-canyon.jpg" + }, + { + "name": "Visit Glen Canyon Dam and Lake Powell", + "description": "Embark on a scenic drive to Glen Canyon Dam, a marvel of engineering, and explore the picturesque Lake Powell. Take a boat tour on the lake's crystal-clear waters, surrounded by towering red rock cliffs. Enjoy swimming, fishing, or simply relaxing by the lakeshore.", + "locationName": "Glen Canyon Dam and Lake Powell", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "antelope-canyon", + "ref": "visit-glen-canyon-dam-and-lake-powell", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_visit-glen-canyon-dam-and-lake-powell.jpg" + }, + { + "name": "Explore the Vermillion Cliffs National Monument", + "description": "Discover the rugged beauty of the Vermillion Cliffs National Monument, a sprawling landscape of towering cliffs, canyons, and desert plains. Hike through scenic trails, go wildlife watching, and marvel at the unique geological formations. Keep an eye out for California condors soaring through the sky.", + "locationName": "Vermillion Cliffs National Monument", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "antelope-canyon", + "ref": "explore-the-vermillion-cliffs-national-monument", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_explore-the-vermillion-cliffs-national-monument.jpg" + }, + { + "name": "Experience Navajo Culture at a Traditional Hogan", + "description": "Immerse yourself in the rich culture of the Navajo people by visiting a traditional hogan. Learn about their history, traditions, and way of life from local guides. Participate in activities such as weaving demonstrations, storytelling sessions, and traditional food tastings.", + "locationName": "Navajo Nation", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "antelope-canyon", + "ref": "experience-navajo-culture-at-a-traditional-hogan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_experience-navajo-culture-at-a-traditional-hogan.jpg" + }, + { + "name": "Off-Roading Adventure in the Desert", + "description": "Get your adrenaline pumping with an off-roading adventure through the rugged desert terrain. Ride in a 4x4 vehicle and explore hidden canyons, sand dunes, and scenic viewpoints. This thrilling experience offers a unique way to discover the beauty of the desert landscape.", + "locationName": "Desert surrounding Antelope Canyon", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "antelope-canyon", + "ref": "off-roading-adventure-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/antelope-canyon_off-roading-adventure-in-the-desert.jpg" + }, + { + "name": "Scuba Diving Adventure", + "description": "Embark on an underwater exploration of Aruba's vibrant marine life and captivating shipwrecks. Dive into crystal-clear turquoise waters and discover a world of colorful coral reefs, tropical fish, and fascinating underwater landscapes. Experienced divers can explore the depths of the Antilla shipwreck, while beginners can enjoy shallower reefs teeming with marine life.", + "locationName": "Various dive sites around the island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "aruba", + "ref": "scuba-diving-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_scuba-diving-adventure.jpg" + }, + { + "name": "Beach Bliss at Eagle Beach", + "description": "Relax and soak up the sun on the pristine white sands of Eagle Beach, renowned for its calm turquoise waters and breathtaking sunsets. Rent a beach umbrella and lounge chair, take a refreshing dip in the ocean, or simply unwind with a good book while enjoying the gentle sea breeze.", + "locationName": "Eagle Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "aruba", + "ref": "beach-bliss-at-eagle-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_beach-bliss-at-eagle-beach.jpg" + }, + { + "name": "Island Exploration Tour", + "description": "Embark on a thrilling off-road adventure to discover Aruba's hidden gems. Explore the rugged terrain of Arikok National Park, visit the Natural Pool, and marvel at the dramatic coastline with its crashing waves and natural bridges. This tour offers a unique perspective of Aruba's diverse landscapes.", + "locationName": "Arikok National Park and other island landmarks", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "aruba", + "ref": "island-exploration-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_island-exploration-tour.jpg" + }, + { + "name": "Sunset Sail with Cocktails", + "description": "Set sail on a romantic catamaran cruise and witness the breathtaking beauty of an Aruban sunset. Sip on tropical cocktails, enjoy the gentle sea breeze, and marvel at the vibrant colors painting the sky as the sun dips below the horizon. This experience is perfect for couples or anyone seeking a memorable evening.", + "locationName": "Departs from various locations on the island", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "aruba", + "ref": "sunset-sail-with-cocktails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_sunset-sail-with-cocktails.jpg" + }, + { + "name": "Oranjestad Cultural Exploration", + "description": "Immerse yourself in the vibrant culture of Aruba's capital city, Oranjestad. Explore the colorful Dutch colonial architecture, visit historical landmarks like Fort Zoutman, and browse the shops and art galleries for unique souvenirs. Enjoy the lively atmosphere of the local markets and indulge in delicious Caribbean cuisine.", + "locationName": "Oranjestad", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "aruba", + "ref": "oranjestad-cultural-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_oranjestad-cultural-exploration.jpg" + }, + { + "name": "Arikok National Park Adventure", + "description": "Embark on a thrilling off-road adventure through Arikok National Park, covering nearly 20% of the island. Discover hidden gems like the Natural Pool, Quadirikiri Caves, and Dos Playa. Witness stunning landscapes, diverse flora and fauna, and historical sites, making it a perfect blend of nature, culture, and adventure.", + "locationName": "Arikok National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "aruba", + "ref": "arikok-national-park-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_arikok-national-park-adventure.jpg" + }, + { + "name": "Windsurfing and Kitesurfing at Fisherman's Huts", + "description": "Experience the thrill of riding the waves at Fisherman's Huts, a renowned spot for windsurfing and kitesurfing. Whether you're a beginner or a seasoned pro, the consistent trade winds and calm waters provide the perfect conditions for an exhilarating adventure on the water. Lessons and rentals are available for all levels.", + "locationName": "Fisherman's Huts", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "aruba", + "ref": "windsurfing-and-kitesurfing-at-fisherman-s-huts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_windsurfing-and-kitesurfing-at-fisherman-s-huts.jpg" + }, + { + "name": "Foodie Delights at San Nicolas", + "description": "Embark on a culinary journey through the vibrant streets of San Nicolas, known for its artistic charm and diverse food scene. Explore local restaurants and food trucks, savoring authentic Aruban dishes like Keshi Yena and Pastechi. Don't miss the chance to indulge in fresh seafood and Caribbean-inspired cuisine, a treat for your taste buds.", + "locationName": "San Nicolas", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "aruba", + "ref": "foodie-delights-at-san-nicolas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_foodie-delights-at-san-nicolas.jpg" + }, + { + "name": "Stargazing in the Arid Landscape", + "description": "Escape the city lights and venture into the Arikok National Park or the California Lighthouse area for an unforgettable stargazing experience. With minimal light pollution, Aruba offers breathtaking views of the night sky. Join a guided tour or find a secluded spot to marvel at the constellations and the Milky Way, a truly magical and romantic experience.", + "locationName": "Arikok National Park or California Lighthouse area", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "aruba", + "ref": "stargazing-in-the-arid-landscape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_stargazing-in-the-arid-landscape.jpg" + }, + { + "name": "Sunset Horseback Riding on the Beach", + "description": "Create unforgettable memories with a romantic horseback ride along the pristine shores of Aruba. As the sun begins its descent, enjoy the breathtaking views of the Caribbean Sea and the colorful sky. This tranquil experience is perfect for couples or anyone seeking a peaceful connection with nature and the island's beauty.", + "locationName": "Beaches of Aruba", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "aruba", + "ref": "sunset-horseback-riding-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_sunset-horseback-riding-on-the-beach.jpg" + }, + { + "name": "Kayaking the Mangrove Lagoons", + "description": "Embark on a serene kayaking adventure through the lush mangrove lagoons of Mangel Halto or Spanish Lagoon. Paddle through tranquil waters, observe the unique ecosystem, and spot colorful fish and birds. This eco-friendly activity is perfect for nature enthusiasts and offers a peaceful escape from the bustling beaches.", + "locationName": "Mangel Halto or Spanish Lagoon", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "aruba", + "ref": "kayaking-the-mangrove-lagoons", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_kayaking-the-mangrove-lagoons.jpg" + }, + { + "name": "Off-Roading through Arikok National Park", + "description": "Get your adrenaline pumping with an exhilarating off-roading tour through the rugged landscapes of Arikok National Park. Explore hidden caves, natural pools, and dramatic coastlines, while learning about the island's unique geology and history. This adventurous activity is perfect for thrill-seekers and nature lovers.", + "locationName": "Arikok National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "aruba", + "ref": "off-roading-through-arikok-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_off-roading-through-arikok-national-park.jpg" + }, + { + "name": "California Lighthouse Climb and Sunset Views", + "description": "Ascend the historic California Lighthouse for breathtaking panoramic views of the island. Witness the stunning coastline, turquoise waters, and the vibrant capital of Oranjestad. Time your visit for sunset to capture magical golden hues and create unforgettable memories.", + "locationName": "California Lighthouse", + "duration": 1, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "aruba", + "ref": "california-lighthouse-climb-and-sunset-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_california-lighthouse-climb-and-sunset-views.jpg" + }, + { + "name": "Local Flavors Food Tour", + "description": "Embark on a culinary journey and tantalize your taste buds with a local flavors food tour. Discover hidden gems and authentic eateries, savoring traditional Aruban dishes like Keshi Yena, Pastechi, and fresh seafood. This immersive experience is perfect for foodies and cultural explorers.", + "locationName": "Various locations in Oranjestad or San Nicolas", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "aruba", + "ref": "local-flavors-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_local-flavors-food-tour.jpg" + }, + { + "name": "Relaxing Spa Day and Wellness Retreat", + "description": "Escape the stresses of everyday life and indulge in a rejuvenating spa day or wellness retreat. Pamper yourself with soothing massages, revitalizing body treatments, and peaceful yoga sessions. Aruba offers a variety of luxurious spas and wellness centers where you can unwind and recharge.", + "locationName": "Various spas and wellness centers throughout the island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "aruba", + "ref": "relaxing-spa-day-and-wellness-retreat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_relaxing-spa-day-and-wellness-retreat.jpg" + }, + { + "name": "Snorkeling at Mangel Halto Reef", + "description": "Explore the vibrant underwater world of Mangel Halto Reef, a secluded haven renowned for its calm, shallow waters and abundant marine life. Swim among colorful fish, graceful sea turtles, and intricate coral formations. This accessible reef is perfect for families and snorkelers of all levels.", + "locationName": "Mangel Halto Reef", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "aruba", + "ref": "snorkeling-at-mangel-halto-reef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_snorkeling-at-mangel-halto-reef.jpg" + }, + { + "name": "Alto Vista Chapel and Noord Coast Hike", + "description": "Embark on a scenic hike along Aruba's rugged northern coast. Start at the historic Alto Vista Chapel, a peaceful landmark with panoramic ocean views. Follow the trail as it winds past dramatic cliffs, hidden coves, and natural bridges, offering breathtaking vistas at every turn. This moderate hike is perfect for nature enthusiasts and photographers.", + "locationName": "Alto Vista Chapel and Noord Coast", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "aruba", + "ref": "alto-vista-chapel-and-noord-coast-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_alto-vista-chapel-and-noord-coast-hike.jpg" + }, + { + "name": "Sunset Catamaran Cruise with Dinner", + "description": "Set sail on a romantic catamaran cruise as the sun dips below the horizon. Enjoy breathtaking views of the coastline, sip on refreshing cocktails, and savor a delicious dinner prepared on board. Dance the night away under the stars as you create unforgettable memories with your loved one.", + "locationName": "Aruba's coastline", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "aruba", + "ref": "sunset-catamaran-cruise-with-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_sunset-catamaran-cruise-with-dinner.jpg" + }, + { + "name": "Aruba Aloe Factory and Museum Tour", + "description": "Discover the secrets of Aruba's aloe vera industry with a visit to the Aruba Aloe Factory and Museum. Learn about the history of aloe cultivation on the island, witness the production process, and explore the museum's exhibits to understand the plant's medicinal properties. Don't forget to shop for aloe-infused products to take home a piece of Aruba's natural wellness.", + "locationName": "Aruba Aloe Factory and Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "aruba", + "ref": "aruba-aloe-factory-and-museum-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_aruba-aloe-factory-and-museum-tour.jpg" + }, + { + "name": "Casibari Rock Formations Exploration", + "description": "Embark on a unique adventure to the Casibari Rock Formations, a collection of giant boulders with mysterious origins. Climb to the top for panoramic views of the island, explore hidden caves and tunnels, and discover ancient pictographs left by the island's indigenous people. This natural wonder offers a glimpse into Aruba's geological past and provides a fun and educational experience for all ages.", + "locationName": "Casibari Rock Formations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "aruba", + "ref": "casibari-rock-formations-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/aruba_casibari-rock-formations-exploration.jpg" + }, + { + "name": "Explore the Biltmore Estate", + "description": "Step back in time at the Biltmore Estate, the largest privately-owned house in the United States. Explore the opulent rooms, stroll through the manicured gardens, and learn about the Vanderbilt family's legacy. You can also enjoy wine tasting at the Biltmore Winery or indulge in a farm-to-table meal at one of the estate's restaurants.", + "locationName": "Biltmore Estate", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "asheville", + "ref": "explore-the-biltmore-estate", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_explore-the-biltmore-estate.jpg" + }, + { + "name": "Hike to Breathtaking Waterfalls", + "description": "Embark on a scenic hike to one of the many stunning waterfalls surrounding Asheville. Popular choices include Looking Glass Falls, Catawba Falls, and Rainbow Falls. Immerse yourself in the beauty of the Blue Ridge Mountains and enjoy a refreshing dip in the cool mountain waters.", + "locationName": "Blue Ridge Mountains", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "asheville", + "ref": "hike-to-breathtaking-waterfalls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_hike-to-breathtaking-waterfalls.jpg" + }, + { + "name": "Discover Asheville's Craft Beer Scene", + "description": "Asheville is renowned for its thriving craft beer scene. Embark on a brewery hopping adventure and sample a wide variety of local brews. Take a guided tour to learn about the brewing process, or simply relax and enjoy a flight of beers at one of the many taprooms.", + "locationName": "Downtown Asheville and River Arts District", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "asheville", + "ref": "discover-asheville-s-craft-beer-scene", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_discover-asheville-s-craft-beer-scene.jpg" + }, + { + "name": "Immerse Yourself in Art and Culture", + "description": "Explore Asheville's vibrant arts scene. Visit the River Arts District, where you can browse through galleries and studios showcasing the works of local artists. Catch a live performance at the Asheville Community Theatre or the Diana Wortham Theatre. Don't miss the Asheville Art Museum, featuring a diverse collection of American art.", + "locationName": "River Arts District and Downtown Asheville", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "asheville", + "ref": "immerse-yourself-in-art-and-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_immerse-yourself-in-art-and-culture.jpg" + }, + { + "name": "Indulge in Farm-to-Table Delights", + "description": "Experience Asheville's thriving culinary scene. The city is known for its farm-to-table restaurants, offering fresh and locally sourced ingredients. Savor delicious dishes at renowned establishments like Curate, Rhubarb, or Posana. Explore the Asheville City Market for local produce, artisanal goods, and food trucks.", + "locationName": "Downtown Asheville and surrounding areas", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "asheville", + "ref": "indulge-in-farm-to-table-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_indulge-in-farm-to-table-delights.jpg" + }, + { + "name": "Whitewater Rafting on the French Broad River", + "description": "Experience the thrill of navigating the rapids of the French Broad River, surrounded by stunning mountain scenery. Several local outfitters offer guided whitewater rafting trips for all skill levels, from gentle family floats to adrenaline-pumping adventures.", + "locationName": "French Broad River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "asheville", + "ref": "whitewater-rafting-on-the-french-broad-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_whitewater-rafting-on-the-french-broad-river.jpg" + }, + { + "name": "Scenic Drive on the Blue Ridge Parkway", + "description": "Embark on a breathtaking journey along the Blue Ridge Parkway, renowned for its panoramic views of the Appalachian Mountains. Stop at overlooks, hiking trails, and charming towns along the way, immersing yourself in the natural beauty of the region.", + "locationName": "Blue Ridge Parkway", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "asheville", + "ref": "scenic-drive-on-the-blue-ridge-parkway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_scenic-drive-on-the-blue-ridge-parkway.jpg" + }, + { + "name": "Explore the River Arts District", + "description": "Wander through the vibrant River Arts District, home to a diverse community of artists and studios. Discover unique galleries, witness artists at work, and find one-of-a-kind pieces to take home as a souvenir of your trip.", + "locationName": "River Arts District", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "asheville", + "ref": "explore-the-river-arts-district", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_explore-the-river-arts-district.jpg" + }, + { + "name": "Visit the Asheville Botanical Gardens", + "description": "Escape the hustle and bustle of the city at the Asheville Botanical Gardens, a tranquil oasis showcasing the native flora of the Southern Appalachians. Stroll through themed gardens, admire colorful blooms, and learn about the region's unique plant life.", + "locationName": "Asheville Botanical Gardens", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "asheville", + "ref": "visit-the-asheville-botanical-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_visit-the-asheville-botanical-gardens.jpg" + }, + { + "name": "Catch a Live Music Performance", + "description": "Experience Asheville's thriving music scene by attending a live performance at one of the city's many venues. From intimate jazz clubs to outdoor amphitheaters, there's something for every musical taste, offering a taste of the local culture and talent.", + "locationName": "Various venues throughout Asheville", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "asheville", + "ref": "catch-a-live-music-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_catch-a-live-music-performance.jpg" + }, + { + "name": "Zipline Through the Forest Canopy", + "description": "Experience the thrill of soaring through the treetops on a zipline adventure. Several companies around Asheville offer exhilarating courses with varying levels of difficulty, allowing you to choose the perfect experience for your adrenaline level. Enjoy breathtaking views of the mountains and forests as you zip from platform to platform.", + "locationName": "Various locations around Asheville", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "asheville", + "ref": "zipline-through-the-forest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_zipline-through-the-forest-canopy.jpg" + }, + { + "name": "Visit the WNC Nature Center", + "description": "Get up close and personal with the diverse wildlife of the Southern Appalachians at the Western North Carolina Nature Center. This family-friendly attraction houses animals native to the region, including black bears, red wolves, otters, and birds of prey. Learn about conservation efforts and the importance of protecting these fascinating creatures.", + "locationName": "Western North Carolina Nature Center", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "asheville", + "ref": "visit-the-wnc-nature-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_visit-the-wnc-nature-center.jpg" + }, + { + "name": "Explore the Grove Arcade", + "description": "Step back in time and wander through the historic Grove Arcade, a beautifully restored 1920s shopping center. Admire the stunning architecture, browse unique boutiques and art galleries, and enjoy a delicious meal at one of the many restaurants.", + "locationName": "Grove Arcade", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "asheville", + "ref": "explore-the-grove-arcade", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_explore-the-grove-arcade.jpg" + }, + { + "name": "Take a Ghost Tour", + "description": "Discover the spooky side of Asheville with a spine-tingling ghost tour. Learn about the city's haunted history as you visit historic sites and hear tales of paranormal activity. Several companies offer a variety of tours, from family-friendly options to more intense experiences for thrill-seekers.", + "locationName": "Various locations in downtown Asheville", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "asheville", + "ref": "take-a-ghost-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_take-a-ghost-tour.jpg" + }, + { + "name": "Enjoy a Relaxing Spa Day", + "description": "Unwind and rejuvenate with a luxurious spa day at one of Asheville's many wellness retreats. Indulge in a massage, facial, or body treatment, and let the stresses of everyday life melt away. Several spas offer packages that include access to saunas, steam rooms, and other amenities.", + "locationName": "Various spas and wellness centers throughout Asheville", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "asheville", + "ref": "enjoy-a-relaxing-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_enjoy-a-relaxing-spa-day.jpg" + }, + { + "name": "Go Mountain Biking on World-Class Trails", + "description": "Experience the thrill of mountain biking on some of the best trails in the East Coast. From beginner-friendly paths to challenging single-tracks, Asheville offers a variety of options for all skill levels. Rent a bike or join a guided tour to explore the scenic beauty of the Blue Ridge Mountains.", + "locationName": "Bent Creek Experimental Forest, Tsali Recreation Area", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "asheville", + "ref": "go-mountain-biking-on-world-class-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_go-mountain-biking-on-world-class-trails.jpg" + }, + { + "name": "Take a Hot Air Balloon Ride at Sunrise", + "description": "Soar above the stunning landscapes of Asheville in a hot air balloon and witness the breathtaking colors of sunrise over the Blue Ridge Mountains. Enjoy a peaceful and unforgettable experience as you float gently through the sky.", + "locationName": "Asheville Hot Air Balloons", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "asheville", + "ref": "take-a-hot-air-balloon-ride-at-sunrise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_take-a-hot-air-balloon-ride-at-sunrise.jpg" + }, + { + "name": "Visit the Folk Art Center", + "description": "Discover the rich traditions of Appalachian craft and folk art at the Folk Art Center. Explore a diverse collection of handmade crafts, including pottery, textiles, woodcarvings, and more. You can also watch demonstrations, attend workshops, and find unique souvenirs.", + "locationName": "Folk Art Center", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "asheville", + "ref": "visit-the-folk-art-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_visit-the-folk-art-center.jpg" + }, + { + "name": "Embark on a Culinary Adventure", + "description": "Indulge in Asheville's thriving culinary scene with a food tour or cooking class. Explore the city's diverse restaurants, from farm-to-table bistros to ethnic eateries. Learn about the local food culture and savor delicious dishes made with fresh, seasonal ingredients.", + "locationName": "Asheville Food Tours, The Asheville Kitchen", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "asheville", + "ref": "embark-on-a-culinary-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_embark-on-a-culinary-adventure.jpg" + }, + { + "name": "Go Stargazing in the Mountains", + "description": "Escape the city lights and experience the magic of stargazing in the pristine night sky of the Blue Ridge Mountains. Join a guided astronomy tour or find a secluded spot to marvel at the constellations and celestial wonders.", + "locationName": "Blue Ridge Observatory, Mount Mitchell State Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "asheville", + "ref": "go-stargazing-in-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/asheville_go-stargazing-in-the-mountains.jpg" + }, + { + "name": "Hike to the Crater Lakes of Sete Cidades", + "description": "Embark on a scenic hike to the iconic Sete Cidades Massif, home to twin crater lakes - one green, one blue. Witness breathtaking panoramic views of the volcanic caldera and surrounding landscapes. The trail offers varying difficulty levels, catering to both casual walkers and experienced hikers.", + "locationName": "Sete Cidades", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "azores", + "ref": "hike-to-the-crater-lakes-of-sete-cidades", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_hike-to-the-crater-lakes-of-sete-cidades.jpg" + }, + { + "name": "Whale and Dolphin Watching Excursion", + "description": "Set sail on an unforgettable boat tour to witness the majestic marine life of the Azores. Encounter various whale species, playful dolphins, and other fascinating creatures in their natural habitat. Knowledgeable guides provide insights into the region's rich biodiversity.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "azores", + "ref": "whale-and-dolphin-watching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_whale-and-dolphin-watching-excursion.jpg" + }, + { + "name": "Explore the Historic City of Angra do Heroísmo", + "description": "Wander through the charming streets of Angra do Heroísmo, a UNESCO World Heritage Site. Admire the colorful colonial architecture, visit historic forts and churches, and soak up the vibrant atmosphere of this cultural hub. Discover local shops, cafes, and restaurants offering Azorean specialties.", + "locationName": "Angra do Heroísmo", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "azores", + "ref": "explore-the-historic-city-of-angra-do-hero-smo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_explore-the-historic-city-of-angra-do-hero-smo.jpg" + }, + { + "name": "Relax in the Terra Nostra Park and Thermal Baths", + "description": "Immerse yourself in the lush beauty of Terra Nostra Park, renowned for its diverse botanical collection and serene ambiance. Take a dip in the iron-rich thermal waters of the park's historic pool, known for their therapeutic properties. Enjoy the tranquility of nature and unwind in this idyllic setting.", + "locationName": "Furnas", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "azores", + "ref": "relax-in-the-terra-nostra-park-and-thermal-baths", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_relax-in-the-terra-nostra-park-and-thermal-baths.jpg" + }, + { + "name": "Canyoning Adventure in Ribeira dos Caldeirões", + "description": "Experience an adrenaline-pumping canyoning adventure in the stunning Ribeira dos Caldeirões Natural Park. Descend cascading waterfalls, rappel down rocky cliffs, and swim through crystal-clear pools. This thrilling activity is perfect for adventure seekers and nature enthusiasts.", + "locationName": "Ribeira dos Caldeirões Natural Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "azores", + "ref": "canyoning-adventure-in-ribeira-dos-caldeir-es", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_canyoning-adventure-in-ribeira-dos-caldeir-es.jpg" + }, + { + "name": "Go spelunking in the Algar do Carvão lava cave", + "description": "Embark on an underground adventure by exploring the Algar do Carvão, a unique lava cave formed thousands of years ago. Descend into the depths of the earth and marvel at the geological formations, including stalactites, stalagmites, and a crystal-clear lake.", + "locationName": "Terceira Island", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "azores", + "ref": "go-spelunking-in-the-algar-do-carv-o-lava-cave", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_go-spelunking-in-the-algar-do-carv-o-lava-cave.jpg" + }, + { + "name": "Take a boat tour to Vila Franca do Campo Islet", + "description": "Escape to a picturesque islet off the coast of São Miguel. Take a boat tour to Vila Franca do Campo Islet, a volcanic crater turned natural swimming pool. Relax on the small beach, swim in the turquoise waters, or go snorkeling to discover the vibrant marine life.", + "locationName": "São Miguel Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "azores", + "ref": "take-a-boat-tour-to-vila-franca-do-campo-islet", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_take-a-boat-tour-to-vila-franca-do-campo-islet.jpg" + }, + { + "name": "Savor the local flavors on a food tour", + "description": "Indulge in the Azores' unique gastronomy with a guided food tour. Sample regional specialties like cozido das Furnas (a stew cooked in volcanic steam), fresh seafood, and locally produced cheeses and wines. Discover the islands' culinary heritage and savor the authentic flavors.", + "locationName": "Various Islands", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "azores", + "ref": "savor-the-local-flavors-on-a-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_savor-the-local-flavors-on-a-food-tour.jpg" + }, + { + "name": "Go horseback riding through scenic landscapes", + "description": "Explore the Azores' stunning landscapes on horseback. Ride through rolling hills, lush forests, and alongside dramatic coastlines. Enjoy the tranquility of nature and experience the islands from a different perspective. This activity is suitable for all skill levels.", + "locationName": "Various Islands", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "azores", + "ref": "go-horseback-riding-through-scenic-landscapes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_go-horseback-riding-through-scenic-landscapes.jpg" + }, + { + "name": "Tee off at a world-class golf course", + "description": "Challenge yourself on one of the Azores' renowned golf courses. Enjoy breathtaking ocean views and lush green landscapes as you perfect your swing. Several islands offer championship-level courses designed by famous architects, providing an unforgettable golfing experience.", + "locationName": "São Miguel Island and Terceira Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "azores", + "ref": "tee-off-at-a-world-class-golf-course", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_tee-off-at-a-world-class-golf-course.jpg" + }, + { + "name": "Kayaking Along the Coast", + "description": "Embark on a serene kayaking adventure along the stunning Azorean coastline. Paddle through crystal-clear waters, explore hidden coves and sea caves, and witness the dramatic cliffs and volcanic formations from a unique perspective. Keep an eye out for playful dolphins and other marine life that call these waters home. This activity is suitable for various skill levels and offers a peaceful way to connect with nature.", + "locationName": "Various coastal locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "azores", + "ref": "kayaking-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_kayaking-along-the-coast.jpg" + }, + { + "name": "Birdwatching in the Azores", + "description": "The Azores are a paradise for birdwatchers, with a diverse range of endemic and migratory species. Join a guided tour or venture out on your own to spot unique birds like the Azores bullfinch, Monteiro's storm petrel, and the Cory's shearwater. Explore the islands' varied habitats, from lush forests to volcanic peaks, and witness the incredible avian diversity of this archipelago.", + "locationName": "Various locations across the islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "azores", + "ref": "birdwatching-in-the-azores", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_birdwatching-in-the-azores.jpg" + }, + { + "name": "Stargazing on a Volcanic Peak", + "description": "Escape the city lights and experience the magic of stargazing on one of the Azores' volcanic peaks. The remote location and minimal light pollution offer breathtaking views of the night sky. Join a guided astronomy tour or simply lay back and marvel at the constellations, planets, and the Milky Way stretching across the darkness.", + "locationName": "Mount Pico or other volcanic peaks", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "azores", + "ref": "stargazing-on-a-volcanic-peak", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_stargazing-on-a-volcanic-peak.jpg" + }, + { + "name": "Scuba Diving or Snorkeling in Underwater Volcanic Landscapes", + "description": "Dive into the underwater world of the Azores and discover a mesmerizing volcanic landscape beneath the waves. Explore unique rock formations, swim through underwater arches, and encounter a variety of marine life, including colorful fish, octopuses, and sea turtles. Whether you choose scuba diving or snorkeling, this experience offers an unforgettable glimpse into the archipelago's hidden depths.", + "locationName": "Various dive sites around the islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "azores", + "ref": "scuba-diving-or-snorkeling-in-underwater-volcanic-landscapes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_scuba-diving-or-snorkeling-in-underwater-volcanic-landscapes.jpg" + }, + { + "name": "Explore the Vineyards and Wineries", + "description": "Embark on a delightful journey through the Azores' unique wine culture. Visit local vineyards, learn about the distinctive grape varieties grown in the volcanic soil, and indulge in wine tastings at charming wineries. Discover the secrets behind the islands' renowned Verdelho wines and savor the flavors of this special terroir.", + "locationName": "Pico Island or other islands with vineyards", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "azores", + "ref": "explore-the-vineyards-and-wineries", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_explore-the-vineyards-and-wineries.jpg" + }, + { + "name": "Swim with Wild Dolphins", + "description": "Embark on an unforgettable adventure swimming alongside wild dolphins in their natural habitat. Experienced guides will lead you to the best spots for encountering these playful creatures, allowing you to witness their incredible agility and grace firsthand. This eco-friendly activity ensures responsible interaction with the dolphins, creating a truly magical and respectful experience.", + "locationName": "Atlantic Ocean surrounding the Azores", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "azores", + "ref": "swim-with-wild-dolphins", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_swim-with-wild-dolphins.jpg" + }, + { + "name": "Jeep Tour to Lagoa do Fogo", + "description": "Embark on a thrilling off-road adventure in a 4x4 jeep to reach the breathtaking Lagoa do Fogo, a stunning crater lake nestled within the Água de Pau Massif stratovolcano. Traverse rugged terrains and lush landscapes, enjoying panoramic views along the way. Once at the lake, take a refreshing dip in its crystal-clear waters or hike to a nearby viewpoint for breathtaking vistas of the surrounding volcanic caldera.", + "locationName": "Lagoa do Fogo", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "azores", + "ref": "jeep-tour-to-lagoa-do-fogo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_jeep-tour-to-lagoa-do-fogo.jpg" + }, + { + "name": "Explore the Gruta do Natal", + "description": "Embark on a captivating journey through the Gruta do Natal, a lava cave formed thousands of years ago by volcanic activity. Discover a subterranean world adorned with unique rock formations, stalactites, and stalagmites as you delve into the depths of the Earth. Learn about the geological history and formation of the cave from knowledgeable guides, making this a fascinating and educational experience.", + "locationName": "Gruta do Natal", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "azores", + "ref": "explore-the-gruta-do-natal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_explore-the-gruta-do-natal.jpg" + }, + { + "name": "Indulge in Azorean Gastronomy at a Local Restaurant", + "description": "Immerse yourself in the rich culinary traditions of the Azores by dining at a local restaurant. Savor the flavors of fresh seafood, locally sourced meats, and regional specialties like Cozido das Furnas, a stew slow-cooked in volcanic steam. Pair your meal with a glass of Azorean wine, known for its unique volcanic terroir, and enjoy the warm hospitality of the local people.", + "locationName": "Various restaurants throughout the Azores", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "azores", + "ref": "indulge-in-azorean-gastronomy-at-a-local-restaurant", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_indulge-in-azorean-gastronomy-at-a-local-restaurant.jpg" + }, + { + "name": "Take a Surfing Lesson", + "description": "Catch some waves and experience the thrill of surfing in the Atlantic Ocean. Whether you're a beginner or an experienced surfer, the Azores offers a variety of surf breaks suitable for all skill levels. Take a lesson from a qualified instructor who will guide you through the basics or help you refine your technique. Enjoy the exhilaration of riding the waves while surrounded by the stunning coastal scenery.", + "locationName": "Various beaches throughout the Azores", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "azores", + "ref": "take-a-surfing-lesson", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/azores_take-a-surfing-lesson.jpg" + }, + { + "name": "Sunrise Hike at Mount Batur", + "description": "Embark on an unforgettable adventure with an early morning trek up Mount Batur, an active volcano. Witness the breathtaking sunrise over the island, painting the sky with vibrant hues while enjoying panoramic views of the surrounding landscape. This challenging yet rewarding experience is perfect for adventure enthusiasts and nature lovers.", + "locationName": "Mount Batur", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "bali", + "ref": "sunrise-hike-at-mount-batur", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_sunrise-hike-at-mount-batur.jpg" + }, + { + "name": "Ubud Monkey Forest", + "description": "Immerse yourself in the lush greenery of the Ubud Monkey Forest, a sanctuary home to hundreds of playful monkeys. Observe these fascinating creatures in their natural habitat, swinging through the trees and interacting with visitors. Explore the ancient temples within the forest, adding a touch of cultural exploration to your wildlife encounter.", + "locationName": "Ubud Monkey Forest", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bali", + "ref": "ubud-monkey-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_ubud-monkey-forest.jpg" + }, + { + "name": "Tanah Lot Temple at Sunset", + "description": "Witness the iconic Tanah Lot Temple, perched on a rocky outcrop overlooking the ocean. Visit during the golden hours of sunset for a truly magical experience as the sky transforms into a canvas of warm colors, creating a mesmerizing backdrop for this sacred landmark.", + "locationName": "Tanah Lot Temple", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "bali", + "ref": "tanah-lot-temple-at-sunset", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_tanah-lot-temple-at-sunset.jpg" + }, + { + "name": "Traditional Balinese Cooking Class", + "description": "Delve into the rich culinary heritage of Bali by joining a traditional cooking class. Learn the secrets of preparing authentic Balinese dishes, from fragrant spices to fresh local ingredients. Master the art of creating flavorful classics like Nasi Goreng and Satay, and bring home newfound skills to impress your friends and family.", + "locationName": "Various locations in Ubud and other towns", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "bali", + "ref": "traditional-balinese-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_traditional-balinese-cooking-class.jpg" + }, + { + "name": "Relaxing Spa Day", + "description": "Indulge in a day of pampering and rejuvenation at one of Bali's many luxurious spas. Choose from a wide range of treatments, including traditional Balinese massages, body scrubs, and flower baths. Unwind amidst tranquil surroundings, allowing the expert therapists to melt away your stress and leave you feeling refreshed and revitalized.", + "locationName": "Various spas throughout Bali", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "bali", + "ref": "relaxing-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_relaxing-spa-day.jpg" + }, + { + "name": "Tegallalang Rice Terraces", + "description": "Immerse yourself in the emerald landscapes of the Tegallalang Rice Terraces. Wander through the iconic, tiered rice paddies, capture stunning photos, and witness the traditional Subak irrigation system in action. Explore local craft shops and art stalls for unique souvenirs.", + "locationName": "Tegallalang", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "bali", + "ref": "tegallalang-rice-terraces", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_tegallalang-rice-terraces.jpg" + }, + { + "name": "Waterfall Adventure", + "description": "Embark on a refreshing journey to one of Bali's breathtaking waterfalls. Hike through lush rainforests, swim in natural pools beneath cascading falls, and enjoy the tranquility of nature. Popular choices include Sekumpul Waterfall, Gitgit Waterfall, and Tegenungan Waterfall.", + "locationName": "Various locations across Bali", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bali", + "ref": "waterfall-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_waterfall-adventure.jpg" + }, + { + "name": "Uluwatu Cliffside Kecak Dance", + "description": "Witness the captivating Kecak dance performance at Uluwatu Temple. As the sun sets over the Indian Ocean, be mesmerized by the rhythmic chanting and intricate movements of the dancers, telling the story of the Ramayana against a dramatic clifftop backdrop.", + "locationName": "Uluwatu Temple", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "bali", + "ref": "uluwatu-cliffside-kecak-dance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_uluwatu-cliffside-kecak-dance.jpg" + }, + { + "name": "Nusa Islands Day Trip", + "description": "Escape to the idyllic Nusa Islands, just a short boat ride away from mainland Bali. Explore the pristine beaches of Nusa Lembongan, Nusa Ceningan, and Nusa Penida. Go snorkeling or diving among vibrant coral reefs, relax on white sand shores, and discover hidden coves and dramatic cliffs.", + "locationName": "Nusa Islands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "bali", + "ref": "nusa-islands-day-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_nusa-islands-day-trip.jpg" + }, + { + "name": "Seminyak Shopping and Nightlife", + "description": "Indulge in a vibrant evening in Seminyak. Explore the trendy boutiques and designer stores for fashion, art, and homeware. Savor delicious cuisine at world-class restaurants and experience the lively nightlife scene with beach clubs, bars, and live music venues.", + "locationName": "Seminyak", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "bali", + "ref": "seminyak-shopping-and-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_seminyak-shopping-and-nightlife.jpg" + }, + { + "name": "White Water Rafting on the Ayung River", + "description": "Embark on an exhilarating adventure through Bali's lush landscapes with a white water rafting experience on the Ayung River. Navigate thrilling rapids, surrounded by stunning scenery, and feel the rush of adrenaline as you paddle through the cascading waters. This activity is perfect for adventure seekers and nature enthusiasts.", + "locationName": "Ayung River", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "bali", + "ref": "white-water-rafting-on-the-ayung-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_white-water-rafting-on-the-ayung-river.jpg" + }, + { + "name": "Cycling Through Rural Villages", + "description": "Escape the tourist crowds and immerse yourself in the authentic charm of Bali's countryside with a leisurely bike ride through rural villages. Pedal past verdant rice paddies, traditional houses, and friendly locals, experiencing the island's peaceful way of life. This activity offers a unique perspective on Balinese culture and is suitable for all ages.", + "locationName": "Jatiluwih or Sidemen", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bali", + "ref": "cycling-through-rural-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_cycling-through-rural-villages.jpg" + }, + { + "name": "Dolphin Watching Tour in Lovina", + "description": "Witness the playful beauty of dolphins in their natural habitat with a dolphin watching tour in Lovina. Embark on an early morning boat ride and marvel as these intelligent creatures leap and frolic in the waves. Capture unforgettable memories and enjoy the stunning coastal scenery of northern Bali.", + "locationName": "Lovina Beach", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "bali", + "ref": "dolphin-watching-tour-in-lovina", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_dolphin-watching-tour-in-lovina.jpg" + }, + { + "name": "Sunset Cruise with Dinner", + "description": "Indulge in a romantic and unforgettable evening with a sunset cruise along Bali's coastline. Sail across the glistening waters, enjoying breathtaking views of the setting sun as it paints the sky with vibrant colors. Savor a delicious dinner on board and create lasting memories with your loved ones.", + "locationName": "Benoa Harbor", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "bali", + "ref": "sunset-cruise-with-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_sunset-cruise-with-dinner.jpg" + }, + { + "name": "Traditional Balinese Dance Performance", + "description": "Immerse yourself in the rich cultural heritage of Bali by attending a traditional Balinese dance performance. Be mesmerized by the graceful movements, vibrant costumes, and captivating storytelling of dances like Legong, Barong, or Kecak. This experience offers a deeper understanding of Balinese art and traditions.", + "locationName": "Ubud Palace or Uluwatu Temple", + "duration": 1.5, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "bali", + "ref": "traditional-balinese-dance-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_traditional-balinese-dance-performance.jpg" + }, + { + "name": "Snorkeling or Diving at Menjangan Island", + "description": "Explore the underwater paradise of Menjangan Island, known for its pristine coral reefs and diverse marine life. Snorkel or dive amidst colorful fish, turtles, and even reef sharks, discovering the vibrant ecosystem of the Bali Barat National Park.", + "locationName": "Menjangan Island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "bali", + "ref": "snorkeling-or-diving-at-menjangan-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_snorkeling-or-diving-at-menjangan-island.jpg" + }, + { + "name": "Sunrise Trek to Mount Agung", + "description": "Embark on a challenging yet rewarding trek to the summit of Mount Agung, Bali's highest volcano. Witness a breathtaking sunrise over the island, with panoramic views stretching across the landscape to the ocean.", + "locationName": "Mount Agung", + "duration": 8, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "bali", + "ref": "sunrise-trek-to-mount-agung", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_sunrise-trek-to-mount-agung.jpg" + }, + { + "name": "Spiritual Cleansing at Tirta Empul Temple", + "description": "Immerse yourself in Balinese Hindu culture with a spiritual cleansing ritual at Tirta Empul Temple. Bathe in the holy spring water, believed to possess healing properties, and participate in traditional prayer ceremonies for a unique cultural experience.", + "locationName": "Tirta Empul Temple", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bali", + "ref": "spiritual-cleansing-at-tirta-empul-temple", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_spiritual-cleansing-at-tirta-empul-temple.jpg" + }, + { + "name": "Authentic Market Experience at Ubud Art Market", + "description": "Wander through the bustling Ubud Art Market, a treasure trove of Balinese handicrafts, textiles, and souvenirs. Practice your bargaining skills, discover unique local crafts, and find the perfect memento to remember your trip.", + "locationName": "Ubud Art Market", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bali", + "ref": "authentic-market-experience-at-ubud-art-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_authentic-market-experience-at-ubud-art-market.jpg" + }, + { + "name": "Romantic Dinner with Sunset Views at Jimbaran Bay", + "description": "Indulge in a romantic dinner on the beach at Jimbaran Bay. Savor fresh seafood barbeque as you watch the sun dip below the horizon, painting the sky with vibrant colors. Enjoy live music and the sound of waves crashing for an unforgettable evening.", + "locationName": "Jimbaran Bay", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "bali", + "ref": "romantic-dinner-with-sunset-views-at-jimbaran-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bali_romantic-dinner-with-sunset-views-at-jimbaran-bay.jpg" + }, + { + "name": "Lake Louise and Moraine Lake", + "description": "Embark on a scenic journey to the iconic Lake Louise and Moraine Lake. Marvel at the turquoise waters reflecting the surrounding mountains and glaciers. Enjoy a leisurely stroll along the lakeshore, rent a canoe for a peaceful paddle, or challenge yourself with a hike to a panoramic viewpoint. Don't miss the chance to capture breathtaking photos of these natural wonders.", + "locationName": "Lake Louise and Moraine Lake", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "lake-louise-and-moraine-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_lake-louise-and-moraine-lake.jpg" + }, + { + "name": "Banff Gondola and Sulphur Mountain", + "description": "Ascend Sulphur Mountain in the Banff Gondola for awe-inspiring views of the surrounding peaks and valleys. At the summit, explore the interpretive center, enjoy a meal with a view at the restaurant, or hike the boardwalk to Sanson's Peak for an even more expansive panorama. Keep an eye out for wildlife, such as bighorn sheep and marmots.", + "locationName": "Sulphur Mountain", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "banff-national-park", + "ref": "banff-gondola-and-sulphur-mountain", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_banff-gondola-and-sulphur-mountain.jpg" + }, + { + "name": "Johnston Canyon Hike", + "description": "Embark on a moderate hike through Johnston Canyon, following a series of catwalks and bridges alongside cascading waterfalls and crystal-clear pools. Admire the Lower Falls and continue to the Upper Falls for an even more impressive display. This family-friendly trail offers a refreshing escape into nature.", + "locationName": "Johnston Canyon", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "banff-national-park", + "ref": "johnston-canyon-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_johnston-canyon-hike.jpg" + }, + { + "name": "Banff Upper Hot Springs", + "description": "Relax and rejuvenate in the soothing mineral waters of the Banff Upper Hot Springs. Surrounded by stunning mountain scenery, these natural hot springs offer a therapeutic experience. Enjoy the warm waters and let your cares melt away while taking in the fresh mountain air.", + "locationName": "Banff Upper Hot Springs", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "banff-upper-hot-springs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_banff-upper-hot-springs.jpg" + }, + { + "name": "Wildlife Watching Tour", + "description": "Join a guided wildlife watching tour to increase your chances of spotting Banff's diverse wildlife. Look for elk, deer, bighorn sheep, bears, and other animals in their natural habitat. Learn about the park's ecosystem and conservation efforts from knowledgeable guides.", + "locationName": "Various locations within Banff National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "banff-national-park", + "ref": "wildlife-watching-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_wildlife-watching-tour.jpg" + }, + { + "name": "Scenic Drive on the Icefields Parkway", + "description": "Embark on a breathtaking journey along the Icefields Parkway, renowned as one of the world's most scenic drives. Marvel at the majestic glaciers, cascading waterfalls, and towering mountains that adorn the landscape. Keep an eye out for wildlife like bears, elk, and bighorn sheep along the way. Make stops at iconic viewpoints such as Bow Lake and Peyto Lake for unforgettable photo opportunities.", + "locationName": "Icefields Parkway", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "scenic-drive-on-the-icefields-parkway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_scenic-drive-on-the-icefields-parkway.jpg" + }, + { + "name": "Whitewater Rafting on the Kicking Horse River", + "description": "Experience the thrill of whitewater rafting on the Kicking Horse River, known for its exhilarating rapids and stunning canyon scenery. Join a guided tour and navigate through the rushing waters, surrounded by the beauty of the Canadian Rockies. Choose from various trip lengths and intensity levels to suit your adventurous spirit.", + "locationName": "Kicking Horse River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "banff-national-park", + "ref": "whitewater-rafting-on-the-kicking-horse-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_whitewater-rafting-on-the-kicking-horse-river.jpg" + }, + { + "name": "Explore the Cave and Basin National Historic Site", + "description": "Delve into the history of Banff National Park at the Cave and Basin National Historic Site, where Canada's first national park was established. Explore the natural hot springs that were discovered in the late 19th century, learn about the area's indigenous heritage, and visit the interactive exhibits that showcase the park's ecological and cultural significance.", + "locationName": "Cave and Basin National Historic Site", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "explore-the-cave-and-basin-national-historic-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_explore-the-cave-and-basin-national-historic-site.jpg" + }, + { + "name": "Indulge in a Relaxing Spa Day", + "description": "Unwind and rejuvenate with a luxurious spa day at one of Banff's renowned wellness retreats. Treat yourself to a massage, facial, or body treatment, and soak in the soothing mineral pools surrounded by breathtaking mountain views. Many spas offer a range of packages and services to suit your preferences, ensuring a truly blissful experience.", + "locationName": "Various spas in Banff", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "banff-national-park", + "ref": "indulge-in-a-relaxing-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_indulge-in-a-relaxing-spa-day.jpg" + }, + { + "name": "Discover the Charm of Banff Avenue", + "description": "Stroll along Banff Avenue, the heart of the town, and immerse yourself in its vibrant atmosphere. Browse through unique boutiques, art galleries, and souvenir shops, or indulge in a delicious meal at one of the many restaurants offering diverse cuisines. Enjoy live music performances, street entertainment, and the lively ambiance of this charming mountain town.", + "locationName": "Banff Avenue", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "discover-the-charm-of-banff-avenue", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_discover-the-charm-of-banff-avenue.jpg" + }, + { + "name": "Stargazing in the Dark Sky Preserve", + "description": "Experience the awe-inspiring beauty of the night sky in Banff National Park, a designated Dark Sky Preserve. Join a guided stargazing tour or venture out on your own to marvel at the constellations, planets, and Milky Way, away from the light pollution of the town.", + "locationName": "Various locations within Banff National Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "stargazing-in-the-dark-sky-preserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_stargazing-in-the-dark-sky-preserve.jpg" + }, + { + "name": "Horseback Riding through the Mountains", + "description": "Embark on a horseback riding adventure through the stunning landscapes of Banff National Park. Several outfitters offer guided tours for all skill levels, allowing you to explore scenic trails, meadows, and forests while enjoying the fresh mountain air and breathtaking views.", + "locationName": "Various locations within Banff National Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "banff-national-park", + "ref": "horseback-riding-through-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_horseback-riding-through-the-mountains.jpg" + }, + { + "name": "Canoeing or Kayaking on Lake Minnewanka", + "description": "Rent a canoe or kayak and explore the pristine waters of Lake Minnewanka, the largest lake in Banff National Park. Paddle along the shoreline, surrounded by towering mountains, and keep an eye out for wildlife such as bald eagles, ospreys, and bighorn sheep.", + "locationName": "Lake Minnewanka", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "canoeing-or-kayaking-on-lake-minnewanka", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_canoeing-or-kayaking-on-lake-minnewanka.jpg" + }, + { + "name": "Scenic Helicopter Tour over the Rockies", + "description": "Take to the skies for a breathtaking helicopter tour over the Canadian Rockies. Soar above glaciers, turquoise lakes, and snow-capped peaks, enjoying panoramic views of Banff National Park and the surrounding wilderness. This unforgettable experience offers a unique perspective on the vastness and beauty of the region.", + "locationName": "Various helicopter tour operators in Banff", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "banff-national-park", + "ref": "scenic-helicopter-tour-over-the-rockies", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_scenic-helicopter-tour-over-the-rockies.jpg" + }, + { + "name": "Explore the Town of Banff", + "description": "Wander through the charming town of Banff, with its unique shops, art galleries, and museums. Discover local crafts and souvenirs, enjoy delicious cuisine at one of the many restaurants, or visit the Whyte Museum of the Canadian Rockies to delve into the region's history and culture.", + "locationName": "Town of Banff", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "explore-the-town-of-banff", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_explore-the-town-of-banff.jpg" + }, + { + "name": "Via Ferrata Climb", + "description": "Experience the thrill of climbing the Rocky Mountains on a guided Via Ferrata excursion. With iron rungs, suspension bridges, and breathtaking views, this adventure offers a unique perspective of the park's stunning landscapes. Choose from various routes catering to different skill levels, making it an exciting option for adventurous travelers.", + "locationName": "Mount Norquay", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "banff-national-park", + "ref": "via-ferrata-climb", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_via-ferrata-climb.jpg" + }, + { + "name": "Columbia Icefield Adventure", + "description": "Embark on a once-in-a-lifetime journey to the Columbia Icefield, where you can walk on the Athabasca Glacier and learn about its fascinating history and geology. Explore the Icefields Parkway, stopping at stunning viewpoints like Peyto Lake, and experience the Glacier Skywalk, a glass-floored platform offering panoramic mountain vistas.", + "locationName": "Columbia Icefield", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "banff-national-park", + "ref": "columbia-icefield-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_columbia-icefield-adventure.jpg" + }, + { + "name": "Lake Minnewanka Boat Cruise", + "description": "Discover the beauty of Lake Minnewanka on a scenic boat cruise. Learn about the lake's history, legends, and geological formations while enjoying breathtaking views of the surrounding mountains and forests. Keep an eye out for wildlife such as bighorn sheep, elk, and bald eagles.", + "locationName": "Lake Minnewanka", + "duration": 1.5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "lake-minnewanka-boat-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_lake-minnewanka-boat-cruise.jpg" + }, + { + "name": "Banff Gondola and Sky Bistro Dining Experience", + "description": "Ascend Sulphur Mountain on the Banff Gondola and savor a delectable meal at the Sky Bistro. Enjoy panoramic views of the surrounding peaks, valleys, and the town of Banff while indulging in a culinary experience that combines local ingredients with breathtaking scenery.", + "locationName": "Sulphur Mountain", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "banff-national-park", + "ref": "banff-gondola-and-sky-bistro-dining-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_banff-gondola-and-sky-bistro-dining-experience.jpg" + }, + { + "name": "Johnston Canyon Icewalk", + "description": "Embark on a winter wonderland adventure with a guided icewalk through Johnston Canyon. Discover frozen waterfalls, ice caves, and stunning ice formations while learning about the canyon's geology and winter ecology. This unique experience offers a magical perspective of the park's winter landscape.", + "locationName": "Johnston Canyon", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "banff-national-park", + "ref": "johnston-canyon-icewalk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/banff-national-park_johnston-canyon-icewalk.jpg" + }, + { + "name": "Scuba Diving in the Great Blue Hole", + "description": "Embark on an unforgettable underwater adventure by diving into the iconic Great Blue Hole, a massive underwater sinkhole renowned for its crystal-clear waters and diverse marine life. Explore the unique geological formations and encounter various species of sharks, tropical fish, and colorful coral reefs.", + "locationName": "Great Blue Hole", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "belize", + "ref": "scuba-diving-in-the-great-blue-hole", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_scuba-diving-in-the-great-blue-hole.jpg" + }, + { + "name": "Exploring Ancient Maya Ruins", + "description": "Step back in time and discover the mysteries of the ancient Maya civilization by visiting the impressive archaeological sites of Caracol and Xunantunich. Climb towering temples, explore intricate carvings, and learn about the fascinating history and culture of this once-thriving civilization.", + "locationName": "Caracol or Xunantunich", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "exploring-ancient-maya-ruins", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_exploring-ancient-maya-ruins.jpg" + }, + { + "name": "Cave Tubing Adventure", + "description": "Embark on a thrilling cave tubing adventure through the lush Belizean rainforest. Float along underground rivers, marvel at stunning stalactites and stalagmites, and experience the unique ecosystem of these hidden caves.", + "locationName": " Caves Branch River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "belize", + "ref": "cave-tubing-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_cave-tubing-adventure.jpg" + }, + { + "name": "Wildlife Watching in the Jungle", + "description": "Immerse yourself in the vibrant biodiversity of the Belizean jungle. Embark on a guided wildlife tour and encounter fascinating creatures like howler monkeys, toucans, jaguars, and tapirs. Learn about the delicate ecosystem and conservation efforts in place to protect these incredible animals.", + "locationName": "Cockscomb Basin Wildlife Sanctuary", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "wildlife-watching-in-the-jungle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_wildlife-watching-in-the-jungle.jpg" + }, + { + "name": "Relaxing on the Beaches", + "description": "Unwind and soak up the sun on the pristine beaches of Belize. Choose from secluded coves, lively stretches of sand, or private islands. Enjoy swimming, snorkeling, kayaking, or simply relaxing with a refreshing drink and enjoying the breathtaking ocean views.", + "locationName": "Ambergris Caye or Caye Caulker", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "belize", + "ref": "relaxing-on-the-beaches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_relaxing-on-the-beaches.jpg" + }, + { + "name": "Horseback Riding through the Jungle", + "description": "Embark on a thrilling horseback riding adventure through the lush jungles of Belize. Traverse scenic trails, encounter exotic wildlife, and discover hidden waterfalls. This unique experience offers a different perspective of the Belizean rainforest, allowing you to connect with nature in a memorable way.", + "locationName": "Mayan Mountains or Mountain Pine Ridge Forest Reserve", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "horseback-riding-through-the-jungle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_horseback-riding-through-the-jungle.jpg" + }, + { + "name": "Kayaking on the Belize River", + "description": "Paddle your way through the heart of Belize on a scenic kayaking tour down the Belize River. Witness diverse birdlife, lush vegetation, and perhaps even crocodiles sunning on the banks. This relaxing yet adventurous activity is perfect for nature enthusiasts and offers a glimpse into the country's natural beauty.", + "locationName": "Belize River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "belize", + "ref": "kayaking-on-the-belize-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_kayaking-on-the-belize-river.jpg" + }, + { + "name": "Sunset Sailing and Snorkeling", + "description": "Experience the magic of a Belizean sunset while sailing along the Caribbean Sea. As the sky transforms into a canvas of vibrant colors, enjoy snorkeling amidst colorful coral reefs and tropical fish. This romantic and unforgettable activity combines relaxation, adventure, and breathtaking natural beauty.", + "locationName": "Ambergris Caye or Caye Caulker", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "sunset-sailing-and-snorkeling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_sunset-sailing-and-snorkeling.jpg" + }, + { + "name": "Culinary Tour and Cooking Class", + "description": "Delve into the vibrant flavors of Belizean cuisine with a culinary tour and cooking class. Visit local markets to discover fresh ingredients, learn traditional cooking techniques from experienced chefs, and savor the delicious dishes you create. This immersive experience is perfect for food enthusiasts and offers a taste of Belizean culture.", + "locationName": "San Ignacio or Placencia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "belize", + "ref": "culinary-tour-and-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_culinary-tour-and-cooking-class.jpg" + }, + { + "name": "Ziplining through the Rainforest Canopy", + "description": "Soar through the Belizean rainforest canopy on an exhilarating ziplining adventure. Experience breathtaking views, feel the adrenaline rush, and witness the jungle from a unique perspective. This thrilling activity is perfect for adventure seekers and offers an unforgettable experience.", + "locationName": "Mayflower Bocawina National Park or Calico Jack's Village", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "belize", + "ref": "ziplining-through-the-rainforest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_ziplining-through-the-rainforest-canopy.jpg" + }, + { + "name": "Birding in Crooked Tree Wildlife Sanctuary", + "description": "Embark on a serene journey through the Crooked Tree Wildlife Sanctuary, a haven for bird enthusiasts. With over 300 species of birds, including Jabiru storks, egrets, and ospreys, this sanctuary offers exceptional birdwatching opportunities. Explore the lagoons, creeks, and savannas by boat or kayak, immersing yourself in the sights and sounds of Belize's avian wonders.", + "locationName": "Crooked Tree Wildlife Sanctuary", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "belize", + "ref": "birding-in-crooked-tree-wildlife-sanctuary", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_birding-in-crooked-tree-wildlife-sanctuary.jpg" + }, + { + "name": "ATM Cave Spelunking", + "description": "Embark on an exhilarating adventure through Actun Tunichil Muknal (ATM) Cave, a sacred Maya archaeological site. Hike through the jungle, swim through underground rivers, and marvel at ancient artifacts, including skeletal remains and pottery, while learning about Maya rituals and beliefs.", + "locationName": "Actun Tunichil Muknal (ATM) Cave", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "belize", + "ref": "atm-cave-spelunking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_atm-cave-spelunking.jpg" + }, + { + "name": "Chocolate Making Workshop", + "description": "Indulge your senses in the rich history and flavors of Belizean chocolate at a chocolate-making workshop. Learn about the ancient Maya cacao traditions, participate in the bean-to-bar process, and create your own delicious chocolate treats to savor.", + "locationName": "Various locations in Belize", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "chocolate-making-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_chocolate-making-workshop.jpg" + }, + { + "name": "Garifuna Cultural Experience", + "description": "Immerse yourself in the vibrant Garifuna culture on the southern coast of Belize. Visit Hopkins or Dangriga to witness traditional drumming and dance performances, savor authentic Garifuna cuisine, and learn about their unique history, language, and customs.", + "locationName": "Hopkins or Dangriga", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "belize", + "ref": "garifuna-cultural-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_garifuna-cultural-experience.jpg" + }, + { + "name": "Cockscomb Basin Wildlife Sanctuary Hiking", + "description": "Embark on a thrilling hiking expedition through the Cockscomb Basin Wildlife Sanctuary, the world's first jaguar preserve. Explore diverse trails, encounter exotic wildlife such as monkeys, tapirs, and birds, and immerse yourself in the beauty of the Belizean rainforest.", + "locationName": "Cockscomb Basin Wildlife Sanctuary", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "cockscomb-basin-wildlife-sanctuary-hiking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_cockscomb-basin-wildlife-sanctuary-hiking.jpg" + }, + { + "name": "Island Hopping and Snorkeling Adventure", + "description": "Embark on a boat tour to explore the stunning islands of Belize. Discover the vibrant coral reefs and diverse marine life while snorkeling in crystal-clear turquoise waters. Visit idyllic islands like Ambergris Caye and Caye Caulker, soaking up the sun and enjoying the laid-back island vibes.", + "locationName": "Belize Barrier Reef and Islands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "island-hopping-and-snorkeling-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_island-hopping-and-snorkeling-adventure.jpg" + }, + { + "name": "Fishing in the Caribbean Sea", + "description": "Cast your line and experience the thrill of deep-sea fishing in the Caribbean Sea. Target a variety of fish species, including marlin, tuna, and dorado. Enjoy the scenic beauty of the open water and the challenge of reeling in your catch.", + "locationName": "Caribbean Sea", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "belize", + "ref": "fishing-in-the-caribbean-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_fishing-in-the-caribbean-sea.jpg" + }, + { + "name": "Stand-Up Paddleboarding on Placencia Lagoon", + "description": "Glide along the calm waters of Placencia Lagoon on a stand-up paddleboard. Enjoy the peaceful surroundings and observe the local wildlife, including mangroves, birds, and marine life. This relaxing activity is suitable for all skill levels.", + "locationName": "Placencia Lagoon", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "belize", + "ref": "stand-up-paddleboarding-on-placencia-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_stand-up-paddleboarding-on-placencia-lagoon.jpg" + }, + { + "name": "Mayan Cooking Class and Cultural Immersion", + "description": "Delve into the rich culinary traditions of Belize with a Mayan cooking class. Learn to prepare traditional dishes using local ingredients and ancient cooking techniques. Immerse yourself in the Mayan culture and gain insights into their history and way of life.", + "locationName": "San Antonio Village", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "belize", + "ref": "mayan-cooking-class-and-cultural-immersion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_mayan-cooking-class-and-cultural-immersion.jpg" + }, + { + "name": "Nighttime Bioluminescence Tour", + "description": "Experience the magical phenomenon of bioluminescence on a nighttime boat tour. Witness the water come alive with sparkling blue light as you paddle through the lagoon. Learn about the organisms that create this natural wonder and enjoy the enchanting atmosphere.", + "locationName": "Anderson Lagoon", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "belize", + "ref": "nighttime-bioluminescence-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/belize_nighttime-bioluminescence-tour.jpg" + }, + { + "name": "Hike to Tiger's Nest Monastery", + "description": "Embark on a breathtaking hike through pine forests and rhododendron blooms to reach the iconic Tiger's Nest Monastery, clinging precariously to a cliffside. Witness panoramic views of the Paro Valley and immerse yourself in the spiritual aura of this sacred site.", + "locationName": "Paro Valley", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "bhutan", + "ref": "hike-to-tiger-s-nest-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_hike-to-tiger-s-nest-monastery.jpg" + }, + { + "name": "Explore the Punakha Dzong", + "description": "Step into the architectural wonder of Punakha Dzong, a majestic fortress at the confluence of two rivers. Marvel at its intricate woodwork, vibrant murals, and serene courtyards. Learn about its historical significance as the former seat of the Bhutanese government.", + "locationName": "Punakha", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bhutan", + "ref": "explore-the-punakha-dzong", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_explore-the-punakha-dzong.jpg" + }, + { + "name": "Attend a Tsechu Festival", + "description": "Immerse yourself in the vibrant cultural spectacle of a Tsechu festival, where masked dancers perform traditional folk dances and religious ceremonies. Witness the colorful costumes, lively music, and the deep-rooted spirituality of the Bhutanese people.", + "locationName": "Various locations throughout Bhutan", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bhutan", + "ref": "attend-a-tsechu-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_attend-a-tsechu-festival.jpg" + }, + { + "name": "Visit the National Museum of Bhutan", + "description": "Delve into the rich history and cultural heritage of Bhutan at the National Museum. Explore exhibits showcasing ancient artifacts, traditional costumes, religious relics, and contemporary art. Gain insights into the unique way of life in this Himalayan kingdom.", + "locationName": "Paro", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "bhutan", + "ref": "visit-the-national-museum-of-bhutan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_visit-the-national-museum-of-bhutan.jpg" + }, + { + "name": "Meditate at a Buddhist Monastery", + "description": "Find inner peace and serenity with a meditation session at a serene Buddhist monastery. Learn about Buddhist philosophy, practice mindfulness techniques, and soak in the tranquil atmosphere of these spiritual sanctuaries.", + "locationName": "Various monasteries throughout Bhutan", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 1, + "destinationRef": "bhutan", + "ref": "meditate-at-a-buddhist-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_meditate-at-a-buddhist-monastery.jpg" + }, + { + "name": "White Water Rafting on the Mo Chhu River", + "description": "Experience the thrill of white water rafting down the Mo Chhu River, surrounded by stunning Himalayan scenery. Navigate through rapids with experienced guides, enjoying the adrenaline rush and breathtaking views. This activity is perfect for adventure seekers and nature lovers.", + "locationName": "Punakha Valley", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "bhutan", + "ref": "white-water-rafting-on-the-mo-chhu-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_white-water-rafting-on-the-mo-chhu-river.jpg" + }, + { + "name": "Soak in a Traditional Hot Stone Bath", + "description": "Indulge in a relaxing and therapeutic hot stone bath, a unique Bhutanese tradition. Immerse yourself in a wooden tub filled with mineral-rich water and heated stones, believed to have healing properties. This experience is perfect for unwinding after a day of exploring.", + "locationName": "Paro Valley", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "bhutan", + "ref": "soak-in-a-traditional-hot-stone-bath", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_soak-in-a-traditional-hot-stone-bath.jpg" + }, + { + "name": "Attend a Local Archery Tournament", + "description": "Witness the national sport of Bhutan, archery, at a local tournament. Observe the skilled archers compete in this traditional and vibrant event, where you can experience the excitement and cultural significance of the sport.", + "locationName": "Thimphu", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "bhutan", + "ref": "attend-a-local-archery-tournament", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_attend-a-local-archery-tournament.jpg" + }, + { + "name": "Hike to the Khamsum Yulley Namgyal Chorten", + "description": "Embark on a scenic hike to the Khamsum Yulley Namgyal Chorten, a stunning temple perched on a ridge overlooking the Punakha Valley. Enjoy panoramic views of the surrounding landscapes and explore the intricate architecture and spiritual significance of the chorten.", + "locationName": "Punakha Valley", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "bhutan", + "ref": "hike-to-the-khamsum-yulley-namgyal-chorten", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_hike-to-the-khamsum-yulley-namgyal-chorten.jpg" + }, + { + "name": "Learn the Art of Bhutanese Cuisine", + "description": "Delve into the flavors of Bhutanese cuisine by participating in a cooking class. Learn to prepare traditional dishes like ema datshi (chili and cheese) and momos (dumplings), using local ingredients and techniques. This experience is perfect for food enthusiasts and those seeking a cultural immersion.", + "locationName": "Thimphu or Paro", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "bhutan", + "ref": "learn-the-art-of-bhutanese-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_learn-the-art-of-bhutanese-cuisine.jpg" + }, + { + "name": "Witness the Paro Tshechu", + "description": "Immerse yourself in the vibrant spectacle of the Paro Tshechu, a religious festival featuring masked dances, colorful costumes, and traditional music. Witness the unique Cham dances performed by monks, believed to ward off evil spirits and bring blessings.", + "locationName": "Paro Dzong", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bhutan", + "ref": "witness-the-paro-tshechu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_witness-the-paro-tshechu.jpg" + }, + { + "name": "Birdwatching in Phobjikha Valley", + "description": "Embark on a serene birdwatching expedition in the picturesque Phobjikha Valley, home to the endangered black-necked cranes. Witness these majestic birds in their natural habitat, along with other Himalayan species, surrounded by breathtaking mountain scenery.", + "locationName": "Phobjikha Valley", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "bhutan", + "ref": "birdwatching-in-phobjikha-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_birdwatching-in-phobjikha-valley.jpg" + }, + { + "name": "Shop for Handicrafts in Thimphu", + "description": "Discover the unique craftsmanship of Bhutan at the bustling Thimphu market. Browse through a variety of handmade textiles, thangkas (Buddhist paintings), woodcarvings, and other souvenirs. Find the perfect memento to take home and support local artisans.", + "locationName": "Thimphu Market", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "bhutan", + "ref": "shop-for-handicrafts-in-thimphu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_shop-for-handicrafts-in-thimphu.jpg" + }, + { + "name": "Experience Farm Life in a Rural Homestay", + "description": "Escape the city and immerse yourself in the tranquility of rural Bhutan with a homestay experience. Participate in daily farm activities, learn about traditional agricultural practices, and savor authentic Bhutanese cuisine prepared with fresh, local ingredients.", + "locationName": "Rural villages near Paro or Punakha", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bhutan", + "ref": "experience-farm-life-in-a-rural-homestay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_experience-farm-life-in-a-rural-homestay.jpg" + }, + { + "name": "Hike to Tango Monastery", + "description": "Embark on a scenic hike to the Tango Monastery, perched on a cliffside overlooking the Thimphu Valley. Enjoy panoramic views of the surrounding mountains and visit the monastery, a significant center for Buddhist studies.", + "locationName": "Tango Monastery", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "bhutan", + "ref": "hike-to-tango-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_hike-to-tango-monastery.jpg" + }, + { + "name": "Paragliding over the Himalayas", + "description": "Soar like a bird and witness breathtaking panoramic views of the Himalayas, verdant valleys, and ancient monasteries. Experience the thrill of paragliding with experienced pilots, offering tandem flights for all skill levels.", + "locationName": "Paro Valley", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "bhutan", + "ref": "paragliding-over-the-himalayas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_paragliding-over-the-himalayas.jpg" + }, + { + "name": "Mountain Biking through Scenic Trails", + "description": "Embark on an exhilarating mountain biking adventure through Bhutan's rugged terrains and picturesque landscapes. Explore remote villages, pedal past terraced fields, and challenge yourself with thrilling downhill descents.", + "locationName": "Punakha Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bhutan", + "ref": "mountain-biking-through-scenic-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_mountain-biking-through-scenic-trails.jpg" + }, + { + "name": "Wildlife Safari in Royal Manas National Park", + "description": "Discover the rich biodiversity of Bhutan's oldest national park, Royal Manas. Embark on a wildlife safari to spot endangered species like Bengal tigers, Asian elephants, one-horned rhinoceros, and various bird species in their natural habitat.", + "locationName": "Royal Manas National Park", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "bhutan", + "ref": "wildlife-safari-in-royal-manas-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_wildlife-safari-in-royal-manas-national-park.jpg" + }, + { + "name": "Camping under the Starry Sky", + "description": "Escape the city lights and immerse yourself in the tranquility of Bhutan's pristine wilderness. Set up camp amidst stunning mountain scenery, enjoy bonfires under the starry sky, and wake up to the sounds of nature.", + "locationName": "Bumthang Valley", + "duration": 12, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "bhutan", + "ref": "camping-under-the-starry-sky", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_camping-under-the-starry-sky.jpg" + }, + { + "name": "Discover the Art of Thangka Painting", + "description": "Delve into the intricate world of Bhutanese art by learning the traditional Thangka painting technique. Join a workshop led by skilled artisans and create your own masterpiece, gaining insights into Buddhist symbolism and artistic expression.", + "locationName": "Thimphu", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bhutan", + "ref": "discover-the-art-of-thangka-painting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bhutan_discover-the-art-of-thangka-painting.jpg" + }, + { + "name": "Explore Hawaii Volcanoes National Park", + "description": "Embark on a journey through volcanic landscapes at Hawaii Volcanoes National Park. Witness the awe-inspiring Kilauea volcano, hike through lava tubes, and learn about the fascinating geological history of the island. Don't miss the Thurston Lava Tube and the Kilauea Iki Crater Overlook for breathtaking views.", + "locationName": "Hawaii Volcanoes National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-island-hawaii", + "ref": "explore-hawaii-volcanoes-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_explore-hawaii-volcanoes-national-park.jpg" + }, + { + "name": "Snorkel with Manta Rays at Night", + "description": "Experience the magic of swimming alongside gentle manta rays at night. Join a guided tour to Manta Ray Night Snorkel spot, where these graceful creatures gather to feed on plankton. Witness their impressive size and graceful movements as they glide through the illuminated waters.", + "locationName": "Manta Ray Night Snorkel", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "big-island-hawaii", + "ref": "snorkel-with-manta-rays-at-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_snorkel-with-manta-rays-at-night.jpg" + }, + { + "name": "Hike to the Top of Mauna Kea for Stargazing", + "description": "Embark on a memorable adventure to the summit of Mauna Kea, a dormant volcano and one of the best stargazing locations on Earth. Join a guided tour or drive yourself to the visitor center, then marvel at the breathtaking panoramic views and the celestial wonders above.", + "locationName": "Mauna Kea", + "duration": 5, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "big-island-hawaii", + "ref": "hike-to-the-top-of-mauna-kea-for-stargazing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_hike-to-the-top-of-mauna-kea-for-stargazing.jpg" + }, + { + "name": "Relax on Black Sand Beaches", + "description": "Indulge in the unique beauty of Punalu'u Black Sand Beach, where volcanic activity has created a stunning contrast of black sand and turquoise waters. Relax on the beach, watch for sea turtles, and take a refreshing dip in the ocean.", + "locationName": "Punalu'u Black Sand Beach", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "big-island-hawaii", + "ref": "relax-on-black-sand-beaches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_relax-on-black-sand-beaches.jpg" + }, + { + "name": "Visit Akaka Falls State Park", + "description": "Immerse yourself in the lush rainforest scenery of Akaka Falls State Park. Hike through the park's trails, surrounded by vibrant vegetation and cascading waterfalls. Witness the impressive 442-foot Akaka Falls, a true natural wonder.", + "locationName": "Akaka Falls State Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-island-hawaii", + "ref": "visit-akaka-falls-state-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_visit-akaka-falls-state-park.jpg" + }, + { + "name": "Horseback Riding Adventure", + "description": "Embark on a thrilling horseback riding adventure through the scenic landscapes of the Big Island. Explore lush rainforests, volcanic trails, and panoramic ocean views as you connect with nature and experience the island's beauty from a unique perspective. This activity is suitable for all skill levels, offering a memorable experience for both novice and experienced riders.", + "locationName": "Various ranches and stables across the island", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-island-hawaii", + "ref": "horseback-riding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_horseback-riding-adventure.jpg" + }, + { + "name": "Waipio Valley Expedition", + "description": "Journey into the heart of the Big Island's dramatic Waipio Valley, often referred to as the 'Valley of the Kings.' Embark on a 4x4 tour or hike down the steep valley walls to discover cascading waterfalls, black sand beaches, and ancient Hawaiian taro fields. Immerse yourself in the rich history and breathtaking scenery of this secluded paradise.", + "locationName": "Waipio Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-island-hawaii", + "ref": "waipio-valley-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_waipio-valley-expedition.jpg" + }, + { + "name": "Coffee Farm Tour and Tasting", + "description": "Delve into the world of Kona coffee with a captivating tour of a local coffee farm. Learn about the bean-to-cup process, from cultivation and harvesting to roasting and brewing. Indulge in a delightful tasting session, savoring the unique flavors and aromas of freshly brewed Kona coffee.", + "locationName": "Kona coffee belt", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-island-hawaii", + "ref": "coffee-farm-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_coffee-farm-tour-and-tasting.jpg" + }, + { + "name": "Sunset Sail along the Kona Coast", + "description": "Set sail on a romantic sunset cruise along the picturesque Kona Coast. As the sun dips below the horizon, casting a golden glow over the Pacific Ocean, enjoy breathtaking views of the coastline, volcanic peaks, and marine life. Savor delicious appetizers and cocktails while creating unforgettable memories.", + "locationName": "Kona Coast", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "big-island-hawaii", + "ref": "sunset-sail-along-the-kona-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_sunset-sail-along-the-kona-coast.jpg" + }, + { + "name": "Hawaii Tropical Botanical Garden", + "description": "Escape into a world of tropical wonder at the Hawaii Tropical Botanical Garden. Wander through lush pathways, discovering a diverse collection of over 2,000 exotic plant species. Admire cascading waterfalls, vibrant flowers, and towering trees, immersing yourself in the beauty and tranquility of this natural oasis.", + "locationName": "Onomea Bay", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-island-hawaii", + "ref": "hawaii-tropical-botanical-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_hawaii-tropical-botanical-garden.jpg" + }, + { + "name": "Kayaking and Dolphin Watching at Kealakekua Bay", + "description": "Embark on a serene kayaking adventure in the crystal-clear waters of Kealakekua Bay, a marine sanctuary teeming with life. Paddle along the scenic coastline, explore hidden coves, and encounter playful spinner dolphins in their natural habitat. This eco-friendly activity offers breathtaking views and a chance to connect with nature's wonders.", + "locationName": "Kealakekua Bay", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-island-hawaii", + "ref": "kayaking-and-dolphin-watching-at-kealakekua-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_kayaking-and-dolphin-watching-at-kealakekua-bay.jpg" + }, + { + "name": "Swim with Sea Turtles at Punalu'u Black Sand Beach", + "description": "Experience the unique beauty of Punalu'u Black Sand Beach, where endangered Hawaiian green sea turtles bask on the volcanic shoreline. Take a refreshing dip in the ocean and snorkel alongside these gentle giants. Witnessing these majestic creatures up close is an unforgettable experience.", + "locationName": "Punalu'u Black Sand Beach", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-island-hawaii", + "ref": "swim-with-sea-turtles-at-punalu-u-black-sand-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_swim-with-sea-turtles-at-punalu-u-black-sand-beach.jpg" + }, + { + "name": "Zipline Through the Rainforest Canopy", + "description": "Embark on an exhilarating zipline adventure through the lush rainforest canopy. Soar above the trees, enjoying panoramic views of the island's diverse landscapes. With multiple zipline courses available, ranging from beginner to advanced, this activity is perfect for thrill-seekers and nature enthusiasts alike.", + "locationName": "Hilo or Kapoho", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "big-island-hawaii", + "ref": "zipline-through-the-rainforest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_zipline-through-the-rainforest-canopy.jpg" + }, + { + "name": "Explore the Thurston Lava Tube", + "description": "Venture into the depths of the earth and explore the Thurston Lava Tube, a natural volcanic cave formed centuries ago. Walk through the dimly lit tunnel, marvel at the unique geological formations, and learn about the island's volcanic history. This fascinating adventure offers a glimpse into the powerful forces that shaped the Big Island.", + "locationName": "Hawaii Volcanoes National Park", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "big-island-hawaii", + "ref": "explore-the-thurston-lava-tube", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_explore-the-thurston-lava-tube.jpg" + }, + { + "name": "Attend a Traditional Hawaiian Luau", + "description": "Immerse yourself in Hawaiian culture at a traditional luau. Feast on a delicious buffet of local cuisine, enjoy live music and hula performances, and learn about the island's rich history and traditions. This vibrant and festive experience is a perfect way to celebrate your Hawaiian vacation.", + "locationName": "Various locations throughout the island", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-island-hawaii", + "ref": "attend-a-traditional-hawaiian-luau", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_attend-a-traditional-hawaiian-luau.jpg" + }, + { + "name": "Helicopter Tour Over Volcanoes", + "description": "Experience the breathtaking beauty and raw power of the Big Island's volcanic landscapes from a unique perspective on a thrilling helicopter tour. Soar above active craters, witness lava flows cascading into the ocean, and marvel at the dramatic contrast between volcanic rock and lush rainforests.", + "locationName": "Various helicopter tour operators on the Big Island", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "big-island-hawaii", + "ref": "helicopter-tour-over-volcanoes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_helicopter-tour-over-volcanoes.jpg" + }, + { + "name": "Stargazing at Mauna Kea Observatories", + "description": "Embark on a celestial journey to the summit of Mauna Kea, home to some of the world's most advanced astronomical observatories. Join a guided stargazing tour and peer through powerful telescopes to witness the wonders of the night sky, from distant galaxies to the rings of Saturn.", + "locationName": "Mauna Kea Observatories", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-island-hawaii", + "ref": "stargazing-at-mauna-kea-observatories", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_stargazing-at-mauna-kea-observatories.jpg" + }, + { + "name": "Scuba Diving in Kealakekua Bay", + "description": "Dive into the crystal-clear waters of Kealakekua Bay, a marine sanctuary teeming with colorful coral reefs, tropical fish, and playful dolphins. Explore underwater lava tubes, encounter majestic sea turtles, and discover the vibrant marine ecosystem that makes this bay a renowned diving destination.", + "locationName": "Kealakekua Bay", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "big-island-hawaii", + "ref": "scuba-diving-in-kealakekua-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_scuba-diving-in-kealakekua-bay.jpg" + }, + { + "name": "Road Trip Along the Hamakua Coast", + "description": "Embark on a scenic road trip along the Hamakua Coast, a stretch of dramatic coastline dotted with cascading waterfalls, lush rainforests, and charming towns. Stop at Akaka Falls State Park, explore the Hawaii Tropical Botanical Garden, and savor the local flavors at roadside fruit stands and cafes.", + "locationName": "Hamakua Coast", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-island-hawaii", + "ref": "road-trip-along-the-hamakua-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_road-trip-along-the-hamakua-coast.jpg" + }, + { + "name": "Visit the Pu'uhonua o Honaunau National Historical Park", + "description": "Step back in time at Pu'uhonua o Honaunau National Historical Park, a sacred place of refuge in ancient Hawaii. Explore the restored temples, learn about Hawaiian history and culture, and enjoy the serene beauty of this coastal park.", + "locationName": "Pu'uhonua o Honaunau National Historical Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-island-hawaii", + "ref": "visit-the-pu-uhonua-o-honaunau-national-historical-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-island-hawaii_visit-the-pu-uhonua-o-honaunau-national-historical-park.jpg" + }, + { + "name": "Hiking in Pfeiffer Big Sur State Park", + "description": "Explore the redwood groves and waterfalls of Pfeiffer Big Sur State Park on a network of scenic trails. Hike to Pfeiffer Falls, Valley View Trail, or the challenging Mount Manuel Trail for panoramic vistas.", + "locationName": "Pfeiffer Big Sur State Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-sur", + "ref": "hiking-in-pfeiffer-big-sur-state-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_hiking-in-pfeiffer-big-sur-state-park.jpg" + }, + { + "name": "Scenic Drive along Pacific Coast Highway", + "description": "Embark on an unforgettable road trip along the Pacific Coast Highway, stopping at iconic viewpoints like Bixby Creek Bridge, McWay Falls, and Pfeiffer Beach. Enjoy the dramatic cliffs, ocean views, and charming coastal towns.", + "locationName": "Pacific Coast Highway", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "big-sur", + "ref": "scenic-drive-along-pacific-coast-highway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_scenic-drive-along-pacific-coast-highway.jpg" + }, + { + "name": "Camping under the Redwoods", + "description": "Immerse yourself in nature by camping at one of the campgrounds in Big Sur. Pfeiffer Big Sur State Park, Julia Pfeiffer Burns State Park, and Plaskett Creek Campground offer stunning redwood forest settings and access to hiking trails.", + "locationName": "Pfeiffer Big Sur State Park, Julia Pfeiffer Burns State Park, Plaskett Creek Campground", + "duration": 12, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-sur", + "ref": "camping-under-the-redwoods", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_camping-under-the-redwoods.jpg" + }, + { + "name": "Whale Watching Tour", + "description": "Embark on a whale-watching tour from Monterey or Moss Landing to witness the majestic gray whales migrating along the Big Sur coast. Spot other marine life like dolphins, sea lions, and sea otters.", + "locationName": "Monterey or Moss Landing", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-sur", + "ref": "whale-watching-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_whale-watching-tour.jpg" + }, + { + "name": "Relaxation and Wellness Retreat", + "description": "Indulge in a rejuvenating experience at a wellness retreat in Big Sur. Enjoy yoga classes, spa treatments, meditation sessions, and breathtaking views of the natural surroundings.", + "locationName": "Esalen Institute, Post Ranch Inn", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "big-sur", + "ref": "relaxation-and-wellness-retreat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_relaxation-and-wellness-retreat.jpg" + }, + { + "name": "Explore Point Lobos State Natural Reserve", + "description": "Embark on a mesmerizing journey through Point Lobos State Natural Reserve, often referred to as the 'crown jewel' of California's state park system. Hike along scenic trails that wind through dramatic cliffs, hidden coves, and serene forests, offering breathtaking views of the Pacific Ocean. Discover diverse marine life at Whalers Cove and witness the playful antics of sea otters frolicking in the kelp forests.", + "locationName": "Point Lobos State Natural Reserve", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-sur", + "ref": "explore-point-lobos-state-natural-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_explore-point-lobos-state-natural-reserve.jpg" + }, + { + "name": "Indulge in a Romantic Getaway at Post Ranch Inn", + "description": "Escape to the luxurious embrace of Post Ranch Inn, a secluded cliffside retreat renowned for its breathtaking ocean views and unparalleled service. Indulge in a romantic getaway with your loved one, enjoying private clifftop accommodations, rejuvenating spa treatments, and gourmet dining experiences. Unwind by the infinity pool overlooking the vast Pacific or explore the surrounding natural wonders.", + "locationName": "Post Ranch Inn", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "big-sur", + "ref": "indulge-in-a-romantic-getaway-at-post-ranch-inn", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_indulge-in-a-romantic-getaway-at-post-ranch-inn.jpg" + }, + { + "name": "Kayaking Adventure at Pfeiffer Beach", + "description": "Embark on an unforgettable kayaking adventure at Pfeiffer Beach, renowned for its iconic rock formations and dramatic coastline. Paddle through turquoise waters, exploring hidden coves and sea caves while marveling at the majestic cliffs and the unique purple sand beach. Witness the power of the ocean as waves crash against the rocks, creating a truly awe-inspiring experience.", + "locationName": "Pfeiffer Beach", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-sur", + "ref": "kayaking-adventure-at-pfeiffer-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_kayaking-adventure-at-pfeiffer-beach.jpg" + }, + { + "name": "Art and Inspiration at the Henry Miller Memorial Library", + "description": "Delve into the world of renowned author Henry Miller at the Henry Miller Memorial Library. This unique cultural haven offers a glimpse into Miller's life and works, with a collection of his books, letters, and personal belongings. Attend literary events, art exhibitions, or simply relax in the tranquil garden setting, surrounded by the inspiring beauty of Big Sur.", + "locationName": "Henry Miller Memorial Library", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "big-sur", + "ref": "art-and-inspiration-at-the-henry-miller-memorial-library", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_art-and-inspiration-at-the-henry-miller-memorial-library.jpg" + }, + { + "name": "Horseback Riding through Redwoods", + "description": "Embark on an unforgettable horseback riding adventure through the majestic redwood forests of Big Sur. Several local ranches offer guided tours suitable for all skill levels, allowing you to immerse yourself in the serene beauty of these ancient giants.", + "locationName": "Glendeven Ranch or Molera Horseback Tours", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-sur", + "ref": "horseback-riding-through-redwoods", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_horseback-riding-through-redwoods.jpg" + }, + { + "name": "Stargazing at Pfeiffer Big Sur State Park", + "description": "Escape the city lights and experience the magic of stargazing in Big Sur. The clear night skies offer incredible views of constellations, planets, and even the Milky Way. Pfeiffer Big Sur State Park provides an ideal setting for this celestial wonder.", + "locationName": "Pfeiffer Big Sur State Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "big-sur", + "ref": "stargazing-at-pfeiffer-big-sur-state-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_stargazing-at-pfeiffer-big-sur-state-park.jpg" + }, + { + "name": "Bixby Creek Bridge Photography", + "description": "Capture the iconic Bixby Creek Bridge, an architectural marvel and one of the most photographed bridges in California. Visit at sunrise or sunset for breathtaking golden hour shots, or explore different angles and perspectives to create your own unique composition.", + "locationName": "Bixby Creek Bridge", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "big-sur", + "ref": "bixby-creek-bridge-photography", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_bixby-creek-bridge-photography.jpg" + }, + { + "name": "Explore the Point Sur Lightstation", + "description": "Step back in time with a tour of the historic Point Sur Lightstation. This beautifully preserved lighthouse offers stunning coastal views and a glimpse into the lives of lighthouse keepers. Guided tours provide fascinating insights into the maritime history and technology of the area.", + "locationName": "Point Sur Lightstation", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-sur", + "ref": "explore-the-point-sur-lightstation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_explore-the-point-sur-lightstation.jpg" + }, + { + "name": "Wine Tasting at a Local Vineyard", + "description": "Indulge in the flavors of the Central Coast with a visit to a local vineyard. Several wineries in the Big Sur region offer tasting experiences, allowing you to sample a variety of wines while enjoying the picturesque vineyard landscapes. ", + "locationName": "Big Sur Vineyards or De Tierra Vineyards", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "big-sur", + "ref": "wine-tasting-at-a-local-vineyard", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_wine-tasting-at-a-local-vineyard.jpg" + }, + { + "name": "Surf's Up at Sand Dollar Beach", + "description": "Catch some waves and experience the thrill of surfing at Sand Dollar Beach, known for its consistent swells and stunning coastal views. Whether you're a seasoned surfer or a beginner eager to learn, local surf schools offer lessons and equipment rentals to get you started on your surfing adventure.", + "locationName": "Sand Dollar Beach", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "big-sur", + "ref": "surf-s-up-at-sand-dollar-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_surf-s-up-at-sand-dollar-beach.jpg" + }, + { + "name": "Explore the Underwater World with a Scuba Diving Excursion", + "description": "Dive into the depths of the Pacific Ocean and discover the vibrant marine life that thrives beneath the surface. Join a guided scuba diving excursion to explore kelp forests, encounter colorful fish, and witness the wonders of the underwater ecosystem.", + "locationName": "Monterey Bay", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "big-sur", + "ref": "explore-the-underwater-world-with-a-scuba-diving-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_explore-the-underwater-world-with-a-scuba-diving-excursion.jpg" + }, + { + "name": "Biking the Big Sur Coastline", + "description": "Embark on a scenic bike ride along the Pacific Coast Highway, pedaling past breathtaking ocean vistas, towering cliffs, and charming coastal towns. Rent a bike and explore at your own pace, or join a guided cycling tour for a more informative and social experience.", + "locationName": "Pacific Coast Highway", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "big-sur", + "ref": "biking-the-big-sur-coastline", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_biking-the-big-sur-coastline.jpg" + }, + { + "name": "Indulge in a Gourmet Food Tour", + "description": "Tantalize your taste buds with a culinary journey through Big Sur's renowned restaurants and local eateries. Embark on a guided food tour to sample fresh seafood, farm-to-table cuisine, and other regional delicacies, while learning about the area's culinary scene and cultural influences.", + "locationName": "Various locations in Big Sur", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "big-sur", + "ref": "indulge-in-a-gourmet-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_indulge-in-a-gourmet-food-tour.jpg" + }, + { + "name": "Soar Through the Skies on a Helicopter Tour", + "description": "Experience the awe-inspiring beauty of Big Sur from a whole new perspective with a thrilling helicopter tour. Soar above the rugged coastline, redwood forests, and cascading waterfalls, capturing breathtaking aerial views and creating unforgettable memories.", + "locationName": "Monterey Regional Airport", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "big-sur", + "ref": "soar-through-the-skies-on-a-helicopter-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/big-sur_soar-through-the-skies-on-a-helicopter-tour.jpg" + }, + { + "name": "Overwater Bungalow Luxury", + "description": "Indulge in the quintessential Bora Bora experience by staying in an overwater bungalow. Wake up to breathtaking views of the turquoise lagoon, step directly into the crystal-clear waters from your private deck, and enjoy unparalleled privacy and tranquility. Many bungalows feature glass floors for observing marine life below, and some offer private plunge pools or direct access to the lagoon for snorkeling or kayaking.", + "locationName": "Luxury resorts around Bora Bora", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "bora-bora", + "ref": "overwater-bungalow-luxury", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_overwater-bungalow-luxury.jpg" + }, + { + "name": "Snorkeling in Coral Gardens", + "description": "Explore the vibrant underwater world of Bora Bora's coral reefs. Numerous snorkeling spots around the island offer opportunities to encounter colorful fish, graceful manta rays, and even gentle sharks. Popular locations include the Coral Gardens, where shallow waters teem with marine life, and the Lagoonarium, a natural aquarium with a diverse array of species.", + "locationName": "Coral Gardens, Lagoonarium", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "bora-bora", + "ref": "snorkeling-in-coral-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_snorkeling-in-coral-gardens.jpg" + }, + { + "name": "Mount Otemanu Hike", + "description": "Embark on a challenging yet rewarding hike to the summit of Mount Otemanu, Bora Bora's iconic extinct volcano. The panoramic views from the top are simply breathtaking, offering a 360-degree perspective of the island, lagoon, and surrounding motus. This hike is best suited for experienced individuals due to its steep and rugged terrain.", + "locationName": "Mount Otemanu", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "bora-bora", + "ref": "mount-otemanu-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_mount-otemanu-hike.jpg" + }, + { + "name": "Sunset Cruise and Polynesian Dinner", + "description": "Set sail on a romantic sunset cruise around the lagoon, enjoying the vibrant colors painting the sky as the sun dips below the horizon. Many cruises include a delicious Polynesian dinner featuring local delicacies and traditional entertainment, such as fire dancers and live music. This experience offers a perfect blend of relaxation, stunning scenery, and cultural immersion.", + "locationName": "Bora Bora Lagoon", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "bora-bora", + "ref": "sunset-cruise-and-polynesian-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_sunset-cruise-and-polynesian-dinner.jpg" + }, + { + "name": "Island Jeep Safari", + "description": "Explore the interior of Bora Bora on an adventurous jeep safari. Traverse rugged terrain, visit historical sites like ancient temples and WWII remnants, and discover hidden viewpoints offering panoramic vistas. Learn about the island's flora, fauna, and Polynesian culture from knowledgeable guides as you venture off the beaten path.", + "locationName": "Bora Bora interior", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bora-bora", + "ref": "island-jeep-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_island-jeep-safari.jpg" + }, + { + "name": "Lagoonarium de Bora Bora", + "description": "Embark on an unforgettable underwater adventure at the Lagoonarium de Bora Bora, a natural aquarium nestled within the lagoon. This eco-friendly sanctuary allows you to swim alongside stingrays, blacktip reef sharks, turtles, and a kaleidoscope of tropical fish in their natural habitat. Knowledgeable guides provide insights into the marine ecosystem, making it a fun and educational experience for all ages.", + "locationName": "Lagoonarium de Bora Bora", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "bora-bora", + "ref": "lagoonarium-de-bora-bora", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_lagoonarium-de-bora-bora.jpg" + }, + { + "name": "Bora Bora Turtle Center", + "description": "Visit the Bora Bora Turtle Center at Le Méridien Bora Bora resort and witness the incredible conservation efforts dedicated to protecting sea turtles. Observe these gentle creatures up close, learn about their life cycle, and even participate in feeding them. This heartwarming experience is perfect for families and those passionate about marine life.", + "locationName": "Le Méridien Bora Bora", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bora-bora", + "ref": "bora-bora-turtle-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_bora-bora-turtle-center.jpg" + }, + { + "name": "Romantic Private Motu Picnic", + "description": "Indulge in a secluded and romantic experience with a private motu picnic. Escape to your own tiny islet surrounded by turquoise waters and enjoy a gourmet picnic basket filled with delectable treats. Bask in the sun, swim in the crystal-clear lagoon, and create unforgettable memories with your loved one.", + "locationName": "Various motu (islets) around Bora Bora", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "bora-bora", + "ref": "romantic-private-motu-picnic", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_romantic-private-motu-picnic.jpg" + }, + { + "name": "Vaitape Village Exploration", + "description": "Immerse yourself in the local culture with a visit to Vaitape, Bora Bora's main village. Explore the charming streets lined with shops selling Polynesian crafts, pearls, and souvenirs. Visit the local church, sample delicious Polynesian cuisine at family-run restaurants, and interact with friendly locals to get a glimpse into their way of life.", + "locationName": "Vaitape Village", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bora-bora", + "ref": "vaitape-village-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_vaitape-village-exploration.jpg" + }, + { + "name": "Sunset Paddleboarding or Kayaking", + "description": "Experience the magic of a Bora Bora sunset from a unique perspective with a paddleboarding or kayaking excursion. Glide across the calm lagoon waters as the sky transforms into a canvas of vibrant colors. Witness the silhouette of Mount Otemanu against the setting sun, creating a truly breathtaking and unforgettable moment.", + "locationName": "Various locations around the lagoon", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "bora-bora", + "ref": "sunset-paddleboarding-or-kayaking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_sunset-paddleboarding-or-kayaking.jpg" + }, + { + "name": "Parasailing Over the Lagoon", + "description": "Soar high above the crystal-clear waters of Bora Bora's lagoon and take in breathtaking panoramic views of the island and surrounding motus. Feel the wind in your hair as you glide through the air, enjoying a unique perspective of this tropical paradise.", + "locationName": "Bora Bora Lagoon", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "bora-bora", + "ref": "parasailing-over-the-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_parasailing-over-the-lagoon.jpg" + }, + { + "name": "Jet Ski Adventure to Hidden Coves", + "description": "Embark on an exhilarating jet ski tour around the island, discovering secluded coves and hidden beaches inaccessible by foot. Zip through the turquoise waters, feeling the spray of the ocean and the thrill of adventure.", + "locationName": "Various locations around Bora Bora", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "bora-bora", + "ref": "jet-ski-adventure-to-hidden-coves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_jet-ski-adventure-to-hidden-coves.jpg" + }, + { + "name": "Deep-Sea Fishing Excursion", + "description": "Test your angling skills on a deep-sea fishing adventure, departing from Bora Bora's shores. Cast your line and try your luck at catching marlin, tuna, mahi-mahi, and other prized fish. Enjoy the thrill of the chase and the satisfaction of reeling in your catch.", + "locationName": "Pacific Ocean surrounding Bora Bora", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "bora-bora", + "ref": "deep-sea-fishing-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_deep-sea-fishing-excursion.jpg" + }, + { + "name": " Polynesian Dance Performance and Fire Show", + "description": "Immerse yourself in the vibrant Polynesian culture with a captivating dance performance and fire show. Witness the graceful movements of the dancers, the rhythmic beats of the drums, and the mesmerizing fire displays, experiencing the true essence of the islands.", + "locationName": "Various resorts and cultural venues", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "bora-bora", + "ref": "-polynesian-dance-performance-and-fire-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_-polynesian-dance-performance-and-fire-show.jpg" + }, + { + "name": "Private Island Hopping by Boat", + "description": "Charter a private boat and embark on a personalized island-hopping adventure around the Bora Bora lagoon. Explore secluded motus, snorkel in pristine coral gardens, and enjoy a picnic lunch on a deserted beach, relishing the freedom and exclusivity of your own island escape.", + "locationName": "Bora Bora Lagoon and surrounding motus", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "bora-bora", + "ref": "private-island-hopping-by-boat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_private-island-hopping-by-boat.jpg" + }, + { + "name": "Bora Bora Lagoonarium Eco-Tour", + "description": "Embark on a unique and educational journey to the Lagoonarium, a natural aquarium located within the Bora Bora lagoon. Snorkel alongside an array of marine life, including stingrays, sharks, turtles, and colorful fish. Learn about the delicate ecosystem of the lagoon and the importance of conservation efforts from knowledgeable guides.", + "locationName": "Lagoonarium de Bora Bora", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "bora-bora", + "ref": "bora-bora-lagoonarium-eco-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_bora-bora-lagoonarium-eco-tour.jpg" + }, + { + "name": "Matira Beach Relaxation and Watersports", + "description": "Indulge in the ultimate beach day at Matira Beach, renowned for its powdery white sand and crystal-clear waters. Unwind under the shade of palm trees, swim in the refreshing lagoon, or try exciting watersports such as stand-up paddleboarding, kayaking, or windsurfing. Beachside cafes and restaurants offer delicious refreshments and local cuisine.", + "locationName": "Matira Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bora-bora", + "ref": "matira-beach-relaxation-and-watersports", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_matira-beach-relaxation-and-watersports.jpg" + }, + { + "name": "Mount Pahia Hiking Adventure", + "description": "Challenge yourself with a hike to the summit of Mount Pahia, the highest point on Bora Bora. Enjoy breathtaking panoramic views of the lagoon, motus, and surrounding islands. This moderately strenuous hike takes you through lush rainforests and rewards you with unforgettable vistas at the top.", + "locationName": "Mount Pahia", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "bora-bora", + "ref": "mount-pahia-hiking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_mount-pahia-hiking-adventure.jpg" + }, + { + "name": "Polynesian Cooking Class and Cultural Immersion", + "description": "Delve into the heart of Polynesian culture with a hands-on cooking class. Learn to prepare traditional dishes using fresh local ingredients, such as poisson cru (marinated fish), taro root, and breadfruit. Discover the secrets of Polynesian cuisine and enjoy a delicious feast of your own creations.", + "locationName": "Local village or resort", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "bora-bora", + "ref": "polynesian-cooking-class-and-cultural-immersion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_polynesian-cooking-class-and-cultural-immersion.jpg" + }, + { + "name": "Stargazing on a Secluded Motu", + "description": "Escape the city lights and embark on a magical stargazing experience on a private motu. With minimal light pollution, the night sky above Bora Bora comes alive with countless stars and constellations. Learn about Polynesian navigation techniques and celestial legends from a local guide.", + "locationName": "Private motu", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "bora-bora", + "ref": "stargazing-on-a-secluded-motu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bora-bora_stargazing-on-a-secluded-motu.jpg" + }, + { + "name": "Mokoro Safari Excursion", + "description": "Embark on a tranquil mokoro (traditional dugout canoe) safari through the serene waterways of the Okavango Delta. Glide past lush vegetation, encountering elephants, hippos, crocodiles, and a myriad of bird species in their natural habitat. Your experienced guide will share insights into the delta's ecosystem and the fascinating wildlife that call it home.", + "locationName": "Okavango Delta waterways", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "botswana", + "ref": "mokoro-safari-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_mokoro-safari-excursion.jpg" + }, + { + "name": "Wildlife Safari Game Drive", + "description": "Venture into the heart of the Okavango Delta on an exhilarating 4x4 game drive. Led by expert guides, you'll track lions, leopards, elephants, buffalo, and other iconic African animals. Witness the drama of the wild unfold before your eyes, capturing incredible photographs and creating unforgettable memories.", + "locationName": "Moremi Game Reserve or private concessions", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "botswana", + "ref": "wildlife-safari-game-drive", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_wildlife-safari-game-drive.jpg" + }, + { + "name": "Scenic Helicopter Flight", + "description": "Take to the skies on a breathtaking helicopter flight over the Okavango Delta. Marvel at the vastness of the delta, its intricate network of waterways, and the abundance of wildlife from a unique aerial perspective. This unforgettable experience offers a true appreciation for the scale and beauty of this natural wonder.", + "locationName": "Various departure points within the delta", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "botswana", + "ref": "scenic-helicopter-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_scenic-helicopter-flight.jpg" + }, + { + "name": "Bushwalk with San Bushmen", + "description": "Immerse yourself in the ancient culture of the San Bushmen, the indigenous people of the Kalahari Desert. Join them on a guided bushwalk, learning about their traditional hunting techniques, survival skills, and deep connection with the natural world. This cultural experience offers a unique perspective on the history and heritage of the region.", + "locationName": "Specific cultural villages or camps", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "botswana", + "ref": "bushwalk-with-san-bushmen", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_bushwalk-with-san-bushmen.jpg" + }, + { + "name": "Stargazing Experience", + "description": "Escape the city lights and immerse yourself in the dazzling night sky of the Okavango Delta. With minimal light pollution, the stars shine with exceptional brilliance. Join a guided stargazing session to learn about constellations, planets, and the wonders of the universe.", + "locationName": "Open areas within lodges or camps", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "botswana", + "ref": "stargazing-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_stargazing-experience.jpg" + }, + { + "name": "Horseback Safari", + "description": "Embark on a unique and exhilarating horseback safari, traversing the diverse landscapes of the delta. Experienced guides will lead you through floodplains, grasslands, and woodlands, allowing you to get up close to wildlife like giraffes, zebras, and antelopes. This eco-friendly activity offers a different perspective on the delta's beauty and allows you to connect with nature in a special way.", + "locationName": "Okavango Delta Horse Safaris", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "botswana", + "ref": "horseback-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_horseback-safari.jpg" + }, + { + "name": "Bird Watching Excursion", + "description": "The Okavango Delta is a birdwatcher's paradise, home to over 400 species of birds. Join a guided bird watching excursion led by expert ornithologists who will help you spot and identify a variety of feathered wonders, from the majestic African fish eagle to the colorful lilac-breasted roller. Learn about their unique behaviors, habitats, and the importance of bird conservation in the delta.", + "locationName": "Okavango Panhandle", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "botswana", + "ref": "bird-watching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_bird-watching-excursion.jpg" + }, + { + "name": "Fishing Expedition", + "description": "Cast your line and experience the thrill of fishing in the pristine waters of the Okavango Delta. Target species like tigerfish, bream, and catfish, known for their fighting spirit and delicious taste. Whether you're a seasoned angler or a novice, local guides will provide the necessary equipment and expertise to ensure a memorable fishing adventure.", + "locationName": "Okavango River", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "botswana", + "ref": "fishing-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_fishing-expedition.jpg" + }, + { + "name": "Cultural Village Visit", + "description": "Immerse yourself in the rich cultural heritage of the local communities living in the Okavango Delta region. Visit a traditional village and interact with the friendly people, learning about their customs, traditions, and way of life. Enjoy traditional music and dance performances, sample local cuisine, and gain a deeper appreciation for the cultural diversity of Botswana.", + "locationName": "Local Villages", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "botswana", + "ref": "cultural-village-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_cultural-village-visit.jpg" + }, + { + "name": "Sunset Cruise with Traditional Dinner", + "description": "Experience the magic of the Okavango Delta at sunset with a leisurely cruise along its serene waterways. As the sun dips below the horizon, painting the sky with vibrant hues, savor a delicious traditional dinner prepared with local ingredients. Enjoy the tranquil atmosphere, observe nocturnal wildlife, and create unforgettable memories under the African night sky.", + "locationName": "Okavango Delta waterways", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "botswana", + "ref": "sunset-cruise-with-traditional-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_sunset-cruise-with-traditional-dinner.jpg" + }, + { + "name": "Quad Biking Adventure", + "description": "Embark on an adrenaline-pumping quad biking adventure through the rugged terrains of the Okavango Delta. Traverse sand dunes, navigate through bush trails, and experience the thrill of off-road exploration while taking in the breathtaking scenery.", + "locationName": "Okavango Delta", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "botswana", + "ref": "quad-biking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_quad-biking-adventure.jpg" + }, + { + "name": "Hot Air Balloon Safari", + "description": "Soar above the Okavango Delta in a hot air balloon and witness the majesty of the landscape from a unique perspective. Drift silently over the floodplains, savannas, and waterways, observing wildlife and enjoying panoramic views as the sun rises or sets.", + "locationName": "Okavango Delta", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "botswana", + "ref": "hot-air-balloon-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_hot-air-balloon-safari.jpg" + }, + { + "name": "Photographic Safari", + "description": "Join a specialized photographic safari designed for capturing the incredible wildlife and landscapes of the Okavango Delta. Learn from experienced guides and photographers, receiving expert tips and guidance on capturing stunning images of elephants, lions, birds, and more.", + "locationName": "Okavango Delta", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "botswana", + "ref": "photographic-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_photographic-safari.jpg" + }, + { + "name": "Scenic Helicopter Flight", + "description": "Take to the skies on a scenic helicopter flight over the Okavango Delta, offering unparalleled aerial views of the intricate waterways, islands, and wildlife. Marvel at the vastness of the delta and capture breathtaking photographs from above.", + "locationName": "Okavango Delta", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "botswana", + "ref": "scenic-helicopter-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_scenic-helicopter-flight.jpg" + }, + { + "name": "Traditional Makoro Excursion", + "description": "Glide through the serene waterways of the Okavango Delta in a traditional makoro (dugout canoe) and experience the tranquility of the delta up close. Observe the abundant birdlife, encounter hippos and crocodiles, and learn about the unique ecosystem from local guides.", + "locationName": "Okavango Delta", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "botswana", + "ref": "traditional-makoro-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_traditional-makoro-excursion.jpg" + }, + { + "name": "Elephant Interaction Experience", + "description": "Get up close and personal with orphaned elephants at a sanctuary dedicated to their rehabilitation and conservation. Learn about their behavior, biology, and the challenges they face in the wild. You might even have the opportunity to feed and interact with these gentle giants, creating unforgettable memories.", + "locationName": "Elephant sanctuary within the Okavango Delta", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "botswana", + "ref": "elephant-interaction-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_elephant-interaction-experience.jpg" + }, + { + "name": "Sleep-Out Under the Stars", + "description": "Embark on an overnight adventure to a secluded platform nestled deep within the delta. Enjoy a delicious bush dinner cooked over an open fire, share stories under the starry sky, and drift off to sleep surrounded by the sounds of the African wilderness. Wake up to breathtaking sunrise views and the chance to spot wildlife as they begin their day.", + "locationName": "Remote location within the Okavango Delta", + "duration": 24, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "botswana", + "ref": "sleep-out-under-the-stars", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_sleep-out-under-the-stars.jpg" + }, + { + "name": "Guided Nature Walk", + "description": "Join a knowledgeable local guide on a walking safari through the diverse ecosystems of the delta. Discover hidden trails, learn about medicinal plants and their uses, track animal footprints, and gain a deeper understanding of the intricate web of life that exists within this unique environment.", + "locationName": "Various locations within the Okavango Delta", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "botswana", + "ref": "guided-nature-walk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_guided-nature-walk.jpg" + }, + { + "name": "Traditional Fishing with Locals", + "description": "Immerse yourself in the local culture by joining villagers on a traditional fishing trip. Learn ancient techniques passed down through generations, using hand-crafted equipment and natural bait. Experience the thrill of the catch and gain insight into the sustainable fishing practices that have sustained the communities of the delta for centuries.", + "locationName": "Local village near the Okavango Delta", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "botswana", + "ref": "traditional-fishing-with-locals", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_traditional-fishing-with-locals.jpg" + }, + { + "name": "Bushcraft and Survival Skills Workshop", + "description": "Develop essential wilderness skills with a hands-on bushcraft and survival workshop. Learn how to build a fire, identify edible plants, navigate using natural landmarks, and construct basic shelters. This immersive experience will connect you with the natural world and equip you with valuable knowledge for future adventures.", + "locationName": "Wilderness area within the Okavango Delta", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "botswana", + "ref": "bushcraft-and-survival-skills-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/botswana_bushcraft-and-survival-skills-workshop.jpg" + }, + { + "name": "Canal Boat Tour", + "description": "Embark on a serene boat tour through Bruges' enchanting canals, often referred to as the 'Venice of the North.' Glide under picturesque bridges, past charming medieval houses, and soak in the city's unique atmosphere from a different perspective. Learn about Bruges' rich history and architecture from your guide as you admire the beauty of this UNESCO World Heritage Site.", + "locationName": "Bruges canals", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bruges", + "ref": "canal-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_canal-boat-tour.jpg" + }, + { + "name": "Markt Square Exploration", + "description": "Step into the heart of Bruges at the Markt, the historic main square. Marvel at the colorful guildhalls, the imposing Belfry tower, and the Provincial Court. Enjoy the lively atmosphere, browse the shops for souvenirs, or relax at a cafe and soak up the vibrant ambiance. Don't miss the chance to climb the Belfry for panoramic views of the city.", + "locationName": "Markt Square", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "bruges", + "ref": "markt-square-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_markt-square-exploration.jpg" + }, + { + "name": "Chocolate Tasting and Workshop", + "description": "Indulge your sweet tooth with a delightful chocolate tasting experience. Bruges is renowned for its exquisite Belgian chocolate, and numerous shops offer tastings and workshops. Learn about the history of chocolate making, discover the different types of chocolate, and even try your hand at creating your own delicious treats.", + "locationName": "Various chocolate shops", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bruges", + "ref": "chocolate-tasting-and-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_chocolate-tasting-and-workshop.jpg" + }, + { + "name": "Groeningemuseum Visit", + "description": "Immerse yourself in the world of Flemish art at the Groeningemuseum. Explore a rich collection of paintings by renowned artists, including Jan van Eyck, Hans Memling, and Hieronymus Bosch. Admire masterpieces from the Flemish Primitives and learn about the evolution of art in the region. The museum offers a fascinating journey through Bruges' artistic heritage.", + "locationName": "Groeningemuseum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "bruges", + "ref": "groeningemuseum-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_groeningemuseum-visit.jpg" + }, + { + "name": "Horse-Drawn Carriage Ride", + "description": "Experience Bruges in a truly romantic way with a horse-drawn carriage ride. Snuggle up with your loved one as you travel through the cobbled streets and admire the city's charming architecture. This leisurely ride offers a unique perspective of Bruges and allows you to relax and enjoy the magical atmosphere.", + "locationName": "Markt Square and surrounding streets", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bruges", + "ref": "horse-drawn-carriage-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_horse-drawn-carriage-ride.jpg" + }, + { + "name": "Belgium Pierogi & Beer Pairing Experience", + "description": "Embark on a delectable journey for your taste buds with a unique pierogi and beer pairing experience. Sample a variety of traditional and modern pierogi, each expertly matched with a complementary Belgian beer, highlighting the diverse flavors of the region. Discover the art of pairing, learn about the brewing process, and enjoy a convivial atmosphere perfect for socializing and indulging in culinary delights.", + "locationName": "Local brewery or restaurant", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "bruges", + "ref": "belgium-pierogi-beer-pairing-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_belgium-pierogi-beer-pairing-experience.jpg" + }, + { + "name": "Flemish Gastronomy Cooking Class", + "description": "Immerse yourself in the rich culinary traditions of Flanders with a hands-on cooking class. Learn to prepare classic Flemish dishes such as waterzooi, carbonnade flamande, or stoofvlees, under the guidance of a local chef. Discover the secrets of Flemish cuisine, from selecting fresh ingredients to mastering traditional cooking techniques. Enjoy the fruits of your labor with a delicious meal paired with local beers or wines.", + "locationName": "Cooking school or local home", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "bruges", + "ref": "flemish-gastronomy-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_flemish-gastronomy-cooking-class.jpg" + }, + { + "name": "Minnewater Lake and Lover's Bridge Stroll", + "description": "Escape the bustling city center and enjoy a romantic stroll around the serene Minnewater Lake, also known as the 'Lake of Love'. Amble across the charming Lover's Bridge, shrouded in local legends and folklore, and soak in the picturesque scenery of the surrounding park. This tranquil setting is perfect for a leisurely walk, a picnic by the water, or simply enjoying a quiet moment with a loved one.", + "locationName": "Minnewater Park", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "bruges", + "ref": "minnewater-lake-and-lover-s-bridge-stroll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_minnewater-lake-and-lover-s-bridge-stroll.jpg" + }, + { + "name": "Lacemaking Demonstration and Workshop", + "description": "Delve into the intricate world of Bruges' renowned lacemaking tradition with a visit to a local lace workshop. Witness skilled artisans demonstrating the delicate art of bobbin lacemaking, a centuries-old craft passed down through generations. Learn about the history and significance of lace in Bruges, and even try your hand at creating your own lace masterpiece with a hands-on workshop.", + "locationName": "Kantcentrum (Lace Centre)", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "bruges", + "ref": "lacemaking-demonstration-and-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_lacemaking-demonstration-and-workshop.jpg" + }, + { + "name": "Bike Tour through the Countryside", + "description": "Venture beyond the city walls and explore the idyllic Flemish countryside on a leisurely bike tour. Pedal along scenic paths, passing picturesque villages, verdant fields, and charming windmills. Discover hidden gems off the beaten path, breathe in the fresh air, and experience the tranquility of rural Flanders. Bike tours can be tailored to different fitness levels and interests, offering a unique perspective on the region's natural beauty.", + "locationName": "Bruges and surrounding countryside", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bruges", + "ref": "bike-tour-through-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_bike-tour-through-the-countryside.jpg" + }, + { + "name": "Climb the Belfry of Bruges for Panoramic Views", + "description": "Ascend the 366 steps of the iconic Belfry of Bruges, a medieval bell tower that offers breathtaking panoramic views of the city and surrounding countryside. Learn about the history and significance of the bell tower while enjoying a unique perspective of Bruges' charming canals, cobblestone streets, and historic buildings.", + "locationName": "Markt Square", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bruges", + "ref": "climb-the-belfry-of-bruges-for-panoramic-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_climb-the-belfry-of-bruges-for-panoramic-views.jpg" + }, + { + "name": "Indulge in a Belgian Beer Tasting Experience", + "description": "Immerse yourself in Belgium's renowned beer culture with a guided tasting experience at a local brewery or pub. Sample a variety of traditional Belgian beers, from Trappist ales to lambics, and learn about the brewing process, history, and unique flavors of each style. This activity is perfect for beer enthusiasts and those looking to discover the local flavors.", + "locationName": "Various breweries and pubs", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "bruges", + "ref": "indulge-in-a-belgian-beer-tasting-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_indulge-in-a-belgian-beer-tasting-experience.jpg" + }, + { + "name": "Explore the Historic Beguinage", + "description": "Step into the serene and historic Beguinage, a UNESCO World Heritage site that was once home to a community of religious women. Wander through the peaceful courtyard, admire the white-washed houses, and learn about the unique history and traditions of the Beguines. This tranquil oasis offers a respite from the bustling city and a glimpse into Bruges' past.", + "locationName": "Beguinage", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "bruges", + "ref": "explore-the-historic-beguinage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_explore-the-historic-beguinage.jpg" + }, + { + "name": "Enjoy a Romantic Evening Canal Cruise", + "description": "Experience the enchanting beauty of Bruges at dusk with a romantic evening canal cruise. Glide along the illuminated waterways, admiring the city's historic buildings and bridges bathed in soft light. Enjoy the peaceful ambiance, learn about the city's history from your guide, and create lasting memories with your loved one.", + "locationName": "Bruges canals", + "duration": 1.5, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "bruges", + "ref": "enjoy-a-romantic-evening-canal-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_enjoy-a-romantic-evening-canal-cruise.jpg" + }, + { + "name": "Day Trip to Ghent", + "description": "Embark on a delightful day trip to the nearby city of Ghent, another historical gem in Flanders. Explore the Gravensteen castle, a medieval fortress dating back to the 12th century, and admire the Ghent Altarpiece in St. Bavo's Cathedral. Wander along the Graslei, a picturesque waterfront lined with guildhalls, and soak up the vibrant atmosphere of this charming city.", + "locationName": "Ghent", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "bruges", + "ref": "day-trip-to-ghent", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_day-trip-to-ghent.jpg" + }, + { + "name": "Concert at the Concertgebouw", + "description": "Experience the magic of live music at the Concertgebouw, a renowned concert hall known for its exceptional acoustics and diverse program. Choose from classical concerts, jazz performances, world music, or contemporary shows, and immerse yourself in the cultural richness of Bruges.", + "locationName": "Concertgebouw", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "bruges", + "ref": "concert-at-the-concertgebouw", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_concert-at-the-concertgebouw.jpg" + }, + { + "name": "Frites and Beer Pairing", + "description": "Indulge in a quintessential Belgian experience with a frites and beer pairing. Sample a variety of crispy, golden fries from a local frituur, accompanied by a selection of craft beers from renowned Belgian breweries. Discover the perfect combinations of flavors and textures, and savor the authentic taste of Bruges.", + "locationName": "Local frituur and brewery", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "bruges", + "ref": "frites-and-beer-pairing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_frites-and-beer-pairing.jpg" + }, + { + "name": "Explore the Frietmuseum", + "description": "Delve into the fascinating history of the humble potato fry at the Frietmuseum, the world's only museum dedicated to fries. Learn about the origins of this beloved dish, its cultural significance, and the various ways it is prepared around the world. Enjoy interactive exhibits and, of course, a tasting of delicious Belgian fries.", + "locationName": "Frietmuseum", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "bruges", + "ref": "explore-the-frietmuseum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_explore-the-frietmuseum.jpg" + }, + { + "name": "Hot Air Balloon Ride over Bruges", + "description": "Soar above the enchanting city of Bruges in a hot air balloon and witness breathtaking panoramic views of its medieval rooftops, winding canals, and picturesque countryside. Enjoy a unique perspective of this historic city as you drift peacefully through the sky, creating an unforgettable memory.", + "locationName": "Bruges Countryside", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "bruges", + "ref": "hot-air-balloon-ride-over-bruges", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/bruges_hot-air-balloon-ride-over-bruges.jpg" + }, + { + "name": "Immerse Yourself in the Water Village of Kampong Ayer", + "description": "Embark on a boat tour through the fascinating water village of Kampong Ayer, often called the \"Venice of the East.\" Explore the intricate network of stilt houses, witness the daily life of the locals, and visit museums and shops showcasing traditional crafts.", + "locationName": "Kampong Ayer", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "brunei", + "ref": "immerse-yourself-in-the-water-village-of-kampong-ayer", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_immerse-yourself-in-the-water-village-of-kampong-ayer.jpg" + }, + { + "name": "Marvel at the Majesty of Sultan Omar Ali Saifuddin Mosque", + "description": "Visit the iconic Sultan Omar Ali Saifuddin Mosque, an architectural masterpiece with a golden dome and intricate mosaics. Explore the serene interior, admire the stunning views of the Brunei River, and learn about the significance of this religious landmark.", + "locationName": "Sultan Omar Ali Saifuddin Mosque", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "brunei", + "ref": "marvel-at-the-majesty-of-sultan-omar-ali-saifuddin-mosque", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_marvel-at-the-majesty-of-sultan-omar-ali-saifuddin-mosque.jpg" + }, + { + "name": "Venture into the Ulu Temburong National Park", + "description": "Embark on a thrilling adventure into the heart of the Borneo rainforest at Ulu Temburong National Park. Hike through lush trails, discover hidden waterfalls, climb the canopy walkway for breathtaking views, and encounter diverse wildlife.", + "locationName": "Ulu Temburong National Park", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "brunei", + "ref": "venture-into-the-ulu-temburong-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_venture-into-the-ulu-temburong-national-park.jpg" + }, + { + "name": "Delve into Brunei's Royal Heritage at the Royal Regalia Museum", + "description": "Explore the Royal Regalia Museum, home to a vast collection of treasures and artifacts showcasing the history and grandeur of the Brunei Sultanate. Admire the Sultan's coronation chariot, jeweled weaponry, and exquisite gifts from dignitaries around the world.", + "locationName": "Royal Regalia Museum", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "brunei", + "ref": "delve-into-brunei-s-royal-heritage-at-the-royal-regalia-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_delve-into-brunei-s-royal-heritage-at-the-royal-regalia-museum.jpg" + }, + { + "name": "Experience Tranquility at the Istana Nurul Iman", + "description": "While entry inside is limited to special occasions, admiring the Istana Nurul Iman from the outside is an experience in itself. Capture the grandeur of the world's largest residential palace, a symbol of Brunei's royal heritage and architectural splendor.", + "locationName": "Istana Nurul Iman", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "brunei", + "ref": "experience-tranquility-at-the-istana-nurul-iman", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_experience-tranquility-at-the-istana-nurul-iman.jpg" + }, + { + "name": "Proboscis Monkey River Safari", + "description": "Embark on a captivating river cruise through the mangrove forests of Brunei, keeping an eye out for the iconic proboscis monkeys with their distinctive noses. Witness these fascinating primates in their natural habitat and observe other wildlife, like crocodiles and various bird species.", + "locationName": "Brunei River or Temburong River", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "brunei", + "ref": "proboscis-monkey-river-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_proboscis-monkey-river-safari.jpg" + }, + { + "name": "Gadong Night Market", + "description": "Experience the vibrant atmosphere of the Gadong Night Market, a bustling hub of local life. Browse through an array of stalls offering delicious street food, fresh produce, clothing, souvenirs, and more. This is a great place to immerse yourself in the local culture and indulge in authentic Bruneian flavors.", + "locationName": "Gadong", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "brunei", + "ref": "gadong-night-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_gadong-night-market.jpg" + }, + { + "name": "Tasek Lama Recreational Park", + "description": "Escape the city bustle and enjoy the tranquility of Tasek Lama Recreational Park. Hike or bike through the lush rainforest trails, discover hidden waterfalls, and visit the serene Tasek Lama Lake. The park also features picnic areas, playgrounds, and a swimming pool, making it perfect for a family outing.", + "locationName": "Tasek Lama Recreational Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "brunei", + "ref": "tasek-lama-recreational-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_tasek-lama-recreational-park.jpg" + }, + { + "name": "Jerudong Park Playground", + "description": "Spend a fun-filled day at Jerudong Park Playground, Brunei's largest and most popular amusement park. Enjoy thrilling rides, entertaining shows, and various attractions suitable for all ages. The park also features beautifully landscaped gardens and a musical fountain, providing a delightful experience for the whole family.", + "locationName": "Jerudong Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "brunei", + "ref": "jerudong-park-playground", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_jerudong-park-playground.jpg" + }, + { + "name": "Ulu Temburong National Park Canopy Walk", + "description": "Embark on an exhilarating canopy walk adventure in the heart of Ulu Temburong National Park. Ascend to the rainforest canopy via a series of suspended walkways and bridges, offering breathtaking panoramic views of the pristine rainforest and its diverse flora and fauna.", + "locationName": "Ulu Temburong National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "brunei", + "ref": "ulu-temburong-national-park-canopy-walk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_ulu-temburong-national-park-canopy-walk.jpg" + }, + { + "name": "Explore the Seria Energy Lab", + "description": "Dive into the world of energy at the Seria Energy Lab, an interactive museum showcasing Brunei's oil and gas industry. Learn about the science behind energy production, the history of Brunei's oil reserves, and the future of sustainable energy solutions.", + "locationName": "Seria", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "brunei", + "ref": "explore-the-seria-energy-lab", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_explore-the-seria-energy-lab.jpg" + }, + { + "name": "Go Birdwatching in the Mangrove Forests", + "description": "Embark on a guided tour through the lush mangrove forests of Brunei, a haven for diverse bird species. Spot colorful kingfishers, majestic eagles, and playful monkeys while learning about the importance of these ecosystems.", + "locationName": "Mangrove forests around Brunei Bay", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "brunei", + "ref": "go-birdwatching-in-the-mangrove-forests", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_go-birdwatching-in-the-mangrove-forests.jpg" + }, + { + "name": "Discover Local Crafts at the Arts and Handicrafts Training Center", + "description": "Immerse yourself in Brunei's artistic heritage at the Arts and Handicrafts Training Center. Witness skilled artisans crafting traditional textiles, silverware, and wood carvings. You can even purchase unique souvenirs to support local craftsmanship.", + "locationName": "Bandar Seri Begawan", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "brunei", + "ref": "discover-local-crafts-at-the-arts-and-handicrafts-training-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_discover-local-crafts-at-the-arts-and-handicrafts-training-center.jpg" + }, + { + "name": "Relax on the Pristine Beaches of Tutong", + "description": "Escape the bustle and unwind on the tranquil beaches of Tutong. Sunbathe on the golden sands, take a refreshing dip in the turquoise waters, or simply enjoy a peaceful stroll along the coastline. The serene atmosphere is perfect for relaxation and rejuvenation.", + "locationName": "Tutong District", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "brunei", + "ref": "relax-on-the-pristine-beaches-of-tutong", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_relax-on-the-pristine-beaches-of-tutong.jpg" + }, + { + "name": "Indulge in a Culinary Journey", + "description": "Embark on a gastronomic adventure through Brunei's diverse culinary scene. Sample local delicacies like Ambuyat, Nasi Katok, and Satay at bustling markets or charming restaurants. Don't miss the chance to try unique flavors influenced by Malay, Chinese, and Indian cuisines.", + "locationName": "Various locations throughout Brunei", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "brunei", + "ref": "indulge-in-a-culinary-journey", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_indulge-in-a-culinary-journey.jpg" + }, + { + "name": "Go spelunking in the Gomantong Caves", + "description": "Embark on an adventurous journey into the depths of the Gomantong Caves, a renowned cave system famed for its swiftlet nests and diverse bat population. Witness the unique ecosystem within the caves and observe the fascinating interactions between these creatures and their environment. Opt for a guided tour to navigate the caves safely and learn about their geological significance and cultural importance.", + "locationName": "Gomantong Caves", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "brunei", + "ref": "go-spelunking-in-the-gomantong-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_go-spelunking-in-the-gomantong-caves.jpg" + }, + { + "name": "Dive into the Shipwrecks of Brunei Bay", + "description": "Explore the underwater world of Brunei Bay, where several shipwrecks from World War II lie beneath the surface. Discover the historical significance of these wrecks as you encounter diverse marine life and coral reefs. Whether you're a seasoned diver or a beginner, numerous dive operators offer guided excursions suitable for various skill levels.", + "locationName": "Brunei Bay", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "brunei", + "ref": "dive-into-the-shipwrecks-of-brunei-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_dive-into-the-shipwrecks-of-brunei-bay.jpg" + }, + { + "name": "Shop for Unique Souvenirs at Tamu Kianggeh", + "description": "Immerse yourself in the vibrant atmosphere of Tamu Kianggeh, a bustling open-air market along the Brunei River. Discover a treasure trove of local handicrafts, fresh produce, and unique souvenirs. Engage with friendly vendors, sample traditional delicacies, and experience the authentic Bruneian way of life.", + "locationName": "Tamu Kianggeh", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "brunei", + "ref": "shop-for-unique-souvenirs-at-tamu-kianggeh", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_shop-for-unique-souvenirs-at-tamu-kianggeh.jpg" + }, + { + "name": "Take a Boat Trip to Pulau Selirong", + "description": "Escape to the tranquil island of Pulau Selirong, located off the coast of Brunei. Enjoy a scenic boat ride through the Brunei Bay, surrounded by lush mangroves and sparkling waters. Explore the island's pristine beaches, discover hidden coves, and relax amidst the serene natural beauty.", + "locationName": "Pulau Selirong", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "brunei", + "ref": "take-a-boat-trip-to-pulau-selirong", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_take-a-boat-trip-to-pulau-selirong.jpg" + }, + { + "name": "Tee off at the Empire Hotel and Country Club", + "description": "Indulge in a luxurious golfing experience at the Empire Hotel and Country Club, boasting a world-class 18-hole golf course designed by Jack Nicklaus. Enjoy the stunning coastal views as you navigate the challenging course, and afterward, unwind at the opulent hotel facilities.", + "locationName": "Empire Hotel and Country Club", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "brunei", + "ref": "tee-off-at-the-empire-hotel-and-country-club", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/brunei_tee-off-at-the-empire-hotel-and-country-club.jpg" + }, + { + "name": "Soak in the Szechenyi Thermal Baths", + "description": "Experience the ultimate relaxation at the iconic Szechenyi Thermal Baths, one of Europe's largest and most beautiful spa complexes. Immerse yourself in the warm, mineral-rich waters, enjoy a traditional massage, and admire the stunning neo-Baroque architecture.", + "locationName": "Szechenyi Thermal Baths", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "budapest", + "ref": "soak-in-the-szechenyi-thermal-baths", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_soak-in-the-szechenyi-thermal-baths.jpg" + }, + { + "name": "Explore Buda Castle and Fisherman's Bastion", + "description": "Step back in time with a visit to Buda Castle, a historic palace complex offering panoramic views of the city. Wander through the charming medieval streets, admire the Matthias Church, and capture breathtaking photos from the Fisherman's Bastion.", + "locationName": "Buda Castle District", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "budapest", + "ref": "explore-buda-castle-and-fisherman-s-bastion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_explore-buda-castle-and-fisherman-s-bastion.jpg" + }, + { + "name": "Cruise the Danube River at Sunset", + "description": "Embark on a romantic evening cruise along the Danube River and witness the city illuminate as the sun sets. Admire iconic landmarks like the Hungarian Parliament Building and Chain Bridge, while enjoying live music and a delicious dinner on board.", + "locationName": "Danube River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "budapest", + "ref": "cruise-the-danube-river-at-sunset", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_cruise-the-danube-river-at-sunset.jpg" + }, + { + "name": "Discover Hungarian Cuisine on a Food Tour", + "description": "Embark on a culinary adventure through Budapest's vibrant food scene. Sample traditional Hungarian dishes like goulash, lángos, and chimney cake, and learn about the city's rich culinary history and local favorites.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "budapest", + "ref": "discover-hungarian-cuisine-on-a-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_discover-hungarian-cuisine-on-a-food-tour.jpg" + }, + { + "name": "Visit the Hungarian Parliament Building", + "description": "Marvel at the architectural masterpiece that is the Hungarian Parliament Building, a stunning example of Gothic Revival style. Take a guided tour to learn about its history and admire the intricate details of its interior, including the Grand Staircase and the Hungarian Crown Jewels.", + "locationName": "Hungarian Parliament Building", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "budapest", + "ref": "visit-the-hungarian-parliament-building", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_visit-the-hungarian-parliament-building.jpg" + }, + { + "name": "Stroll Down Andrássy Avenue", + "description": "Take a leisurely walk down Andrássy Avenue, a UNESCO World Heritage Site, and admire the elegant architecture, luxury boutiques, and charming cafes. This grand boulevard, often compared to the Champs-Élysées, offers a glimpse into Budapest's opulent past and vibrant present.", + "locationName": "Andrássy Avenue", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "budapest", + "ref": "stroll-down-andr-ssy-avenue", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_stroll-down-andr-ssy-avenue.jpg" + }, + { + "name": "Visit the House of Terror", + "description": "Delve into Hungary's complex 20th-century history at the House of Terror museum. This thought-provoking museum housed in a former secret police headquarters documents the fascist and communist regimes, offering a powerful and moving experience.", + "locationName": "House of Terror", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "budapest", + "ref": "visit-the-house-of-terror", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_visit-the-house-of-terror.jpg" + }, + { + "name": "Enjoy Ruin Bars in the Jewish Quarter", + "description": "Experience Budapest's unique nightlife scene by exploring the ruin bars in the historic Jewish Quarter. These trendy bars, housed in abandoned buildings, offer a quirky and eclectic atmosphere with live music, art installations, and a vibrant crowd.", + "locationName": "Jewish Quarter", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "budapest", + "ref": "enjoy-ruin-bars-in-the-jewish-quarter", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_enjoy-ruin-bars-in-the-jewish-quarter.jpg" + }, + { + "name": "Explore Margaret Island", + "description": "Escape the city bustle and find tranquility on Margaret Island, a green oasis in the heart of the Danube. Rent a bike, enjoy a picnic, visit the Japanese Garden, or simply relax by the musical fountain.", + "locationName": "Margaret Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "budapest", + "ref": "explore-margaret-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_explore-margaret-island.jpg" + }, + { + "name": "Shop at the Great Market Hall", + "description": "Immerse yourself in the local culture at the Great Market Hall, a bustling marketplace offering a wide array of Hungarian products. Find fresh produce, local crafts, souvenirs, and traditional food specialties under its impressive roof.", + "locationName": "Great Market Hall", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "budapest", + "ref": "shop-at-the-great-market-hall", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_shop-at-the-great-market-hall.jpg" + }, + { + "name": "Take a Day Trip to Szentendre", + "description": "Escape the city bustle and journey to the charming town of Szentendre, a haven for artists and art enthusiasts. Wander through cobblestone streets lined with colorful houses, explore numerous art galleries and studios, and discover unique handcrafted souvenirs. Enjoy a leisurely lunch at a riverside restaurant, soaking in the idyllic atmosphere.", + "locationName": "Szentendre", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "budapest", + "ref": "take-a-day-trip-to-szentendre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_take-a-day-trip-to-szentendre.jpg" + }, + { + "name": "Go Caving Beneath Buda Castle", + "description": "Embark on an underground adventure through the Pálvölgyi-Mátyáshegyi cave system, one of Europe's largest. Discover a hidden world of stalactites, stalagmites, and unique rock formations, while learning about the geological history of the area. This guided tour offers an exciting and educational experience for all ages.", + "locationName": "Pálvölgyi-Mátyáshegyi Caves", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "budapest", + "ref": "go-caving-beneath-buda-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_go-caving-beneath-buda-castle.jpg" + }, + { + "name": "Attend a Performance at the Hungarian State Opera House", + "description": "Experience the grandeur of the Hungarian State Opera House, a masterpiece of Neo-Renaissance architecture. Dress up for a special evening and enjoy a world-class opera or ballet performance in a breathtaking setting. Immerse yourself in the rich cultural heritage of Hungary through this unforgettable artistic experience.", + "locationName": "Hungarian State Opera House", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "budapest", + "ref": "attend-a-performance-at-the-hungarian-state-opera-house", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_attend-a-performance-at-the-hungarian-state-opera-house.jpg" + }, + { + "name": "Go Kayaking on the Danube", + "description": "See Budapest from a different perspective with a kayaking tour on the Danube River. Paddle past iconic landmarks like the Parliament Building and Buda Castle, while enjoying the fresh air and scenic views. This active experience is perfect for those seeking a unique and adventurous way to explore the city.", + "locationName": "Danube River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "budapest", + "ref": "go-kayaking-on-the-danube", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_go-kayaking-on-the-danube.jpg" + }, + { + "name": "Delve into Hungarian History at the National Museum", + "description": "Embark on a captivating journey through Hungarian history at the Hungarian National Museum. Explore exhibits spanning from the Paleolithic era to the present day, showcasing archaeological artifacts, medieval weaponry, and captivating artwork. Gain insights into the country's rich cultural heritage and significant historical events.", + "locationName": "Hungarian National Museum", + "duration": 2.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "budapest", + "ref": "delve-into-hungarian-history-at-the-national-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_delve-into-hungarian-history-at-the-national-museum.jpg" + }, + { + "name": "Experience the Thrill of a Hungarian Folklore Show", + "description": "Immerse yourself in the vibrant energy of Hungarian folk culture with a captivating folklore show. Witness talented dancers and musicians showcasing traditional dances, music, and costumes, accompanied by the rhythmic sounds of the cimbalom. Enjoy an unforgettable evening of entertainment that celebrates the country's cultural heritage.", + "locationName": "Various venues throughout the city", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "budapest", + "ref": "experience-the-thrill-of-a-hungarian-folklore-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_experience-the-thrill-of-a-hungarian-folklore-show.jpg" + }, + { + "name": "Unwind in the Tranquil Buda Hills", + "description": "Escape the bustling city and venture into the serene Buda Hills. Hike or bike through scenic trails, breathe in the fresh air, and enjoy breathtaking panoramic views of Budapest. Discover hidden historical sites, charming cafes, and the iconic Elizabeth Lookout Tower.", + "locationName": "Buda Hills", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "budapest", + "ref": "unwind-in-the-tranquil-buda-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_unwind-in-the-tranquil-buda-hills.jpg" + }, + { + "name": "Indulge in a Hungarian Wine Tasting Experience", + "description": "Embark on a sensory journey through Hungary's renowned wine regions. Visit a local winery or wine bar and savor a selection of exquisite Hungarian wines, from full-bodied reds to crisp whites. Learn about the unique characteristics of each region and the art of winemaking, while enjoying the company of fellow wine enthusiasts.", + "locationName": "Various wineries and wine bars", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "budapest", + "ref": "indulge-in-a-hungarian-wine-tasting-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_indulge-in-a-hungarian-wine-tasting-experience.jpg" + }, + { + "name": "Take a Day Trip to the Picturesque Town of Gödöllő", + "description": "Escape the city and journey to the charming town of Gödöllő, home to the magnificent Royal Palace of Gödöllő. Explore the opulent rooms and sprawling gardens of the palace, once a favorite summer residence of Empress Elisabeth of Austria. Discover the town's rich history and enjoy a leisurely stroll through its quaint streets.", + "locationName": "Gödöllő", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "budapest", + "ref": "take-a-day-trip-to-the-picturesque-town-of-g-d-ll-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/budapest_take-a-day-trip-to-the-picturesque-town-of-g-d-ll-.jpg" + }, + { + "name": "Wine Tasting Tour in Côte de Nuits", + "description": "Embark on a sensory journey through the prestigious Côte de Nuits wine region. Visit renowned vineyards, learn about the winemaking process from passionate vintners, and indulge in tastings of exceptional Pinot Noir and Chardonnay wines. Discover the unique terroir and the secrets behind Burgundy's world-class wines.", + "locationName": "Côte de Nuits vineyards", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "burgundy", + "ref": "wine-tasting-tour-in-c-te-de-nuits", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_wine-tasting-tour-in-c-te-de-nuits.jpg" + }, + { + "name": "Explore the Historic City of Dijon", + "description": "Wander through the charming streets of Dijon, the historic capital of Burgundy. Visit the Palace of the Dukes of Burgundy, a magnificent medieval complex, and admire the Gothic architecture of Dijon Cathedral. Explore the vibrant markets, sample local delicacies like Dijon mustard, and soak up the city's rich cultural heritage.", + "locationName": "Dijon", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "explore-the-historic-city-of-dijon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_explore-the-historic-city-of-dijon.jpg" + }, + { + "name": "Cycling through the Vineyards", + "description": "Experience the beauty of the Burgundian countryside on a leisurely bike ride through rolling vineyards. Cycle along quiet roads, passing picturesque villages and charming wineries. Stop for picnics amidst the vines and enjoy breathtaking views of the landscape.", + "locationName": "Burgundian countryside", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "cycling-through-the-vineyards", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_cycling-through-the-vineyards.jpg" + }, + { + "name": "Canal Cruise on the Canal de Bourgogne", + "description": "Relax and enjoy the scenic beauty of Burgundy on a leisurely canal cruise. Glide along the tranquil waters of the Canal de Bourgogne, passing through charming villages, lush vineyards, and historic sites. Savor delicious meals on board and admire the peaceful landscapes.", + "locationName": "Canal de Bourgogne", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "burgundy", + "ref": "canal-cruise-on-the-canal-de-bourgogne", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_canal-cruise-on-the-canal-de-bourgogne.jpg" + }, + { + "name": "Visit the Château de La Rochepot", + "description": "Step back in time at the Château de La Rochepot, a stunning medieval castle perched on a hilltop. Explore the castle's ramparts, towers, and dungeons, and admire the panoramic views of the surrounding countryside. Learn about the castle's fascinating history and immerse yourself in the medieval atmosphere.", + "locationName": "Château de La Rochepot", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "visit-the-ch-teau-de-la-rochepot", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_visit-the-ch-teau-de-la-rochepot.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Vineyards", + "description": "Soar above the picturesque vineyards of Burgundy in a hot air balloon, enjoying breathtaking panoramic views of rolling hills, charming villages, and sprawling estates. This unforgettable experience offers a unique perspective of the region's beauty and is perfect for a romantic occasion or a special celebration.", + "locationName": "Various locations in Burgundy", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "burgundy", + "ref": "hot-air-balloon-ride-over-the-vineyards", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_hot-air-balloon-ride-over-the-vineyards.jpg" + }, + { + "name": "Truffle Hunting Experience", + "description": "Embark on a guided truffle hunting adventure in the forests of Burgundy, accompanied by expert truffle hunters and their trained dogs. Learn about the fascinating world of truffles, from their growth and harvesting to their culinary uses. This immersive experience is a must for food enthusiasts and nature lovers alike.", + "locationName": "Côte-d'Or or Yonne", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "burgundy", + "ref": "truffle-hunting-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_truffle-hunting-experience.jpg" + }, + { + "name": "Kayaking on the Saône River", + "description": "Paddle along the scenic Saône River, enjoying the tranquility of the water and the beauty of the surrounding landscapes. Observe local wildlife, pass by charming villages, and stop for a picnic lunch on the riverbank. Kayaking is a fantastic way to explore Burgundy at your own pace and enjoy the outdoors.", + "locationName": "Saône River", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "kayaking-on-the-sa-ne-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_kayaking-on-the-sa-ne-river.jpg" + }, + { + "name": "Cooking Class with a Local Chef", + "description": "Immerse yourself in the culinary traditions of Burgundy by participating in a cooking class led by a local chef. Learn the secrets of regional dishes, from classic Boeuf Bourguignon to delicate pastries. This hands-on experience is a delightful way to discover the flavors of Burgundy and enhance your culinary skills.", + "locationName": "Various locations in Burgundy", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "burgundy", + "ref": "cooking-class-with-a-local-chef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_cooking-class-with-a-local-chef.jpg" + }, + { + "name": "Stargazing in the Burgundy Countryside", + "description": "Escape the city lights and experience the magic of stargazing in the pristine countryside of Burgundy. Join a guided stargazing tour or find a secluded spot to marvel at the constellations and planets. The clear night skies of Burgundy offer an unforgettable astronomical experience.", + "locationName": "Rural areas of Burgundy", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "burgundy", + "ref": "stargazing-in-the-burgundy-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_stargazing-in-the-burgundy-countryside.jpg" + }, + { + "name": "Hiking in the Morvan Regional Natural Park", + "description": "Escape the vineyards and immerse yourself in the natural beauty of the Morvan Regional Natural Park. Hike through lush forests, past sparkling lakes, and up to panoramic viewpoints. Keep an eye out for diverse wildlife, including deer, foxes, and birds of prey. This is a perfect way to experience the region's tranquil side and enjoy some fresh air.", + "locationName": "Morvan Regional Natural Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "hiking-in-the-morvan-regional-natural-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_hiking-in-the-morvan-regional-natural-park.jpg" + }, + { + "name": "Explore the Hospices de Beaune", + "description": "Step back in time at the Hospices de Beaune, a magnificent 15th-century hospital complex. Admire the colorful glazed tile roofs, wander through the historic wards, and discover the fascinating history of this charitable institution. Don't miss the annual wine auction, a renowned event that supports the hospital's ongoing work.", + "locationName": "Beaune", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "burgundy", + "ref": "explore-the-hospices-de-beaune", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_explore-the-hospices-de-beaune.jpg" + }, + { + "name": "Visit the Abbaye de Fontenay", + "description": "Journey to the serene Abbaye de Fontenay, a UNESCO World Heritage Site and a masterpiece of Cistercian architecture. Explore the abbey church, cloister, dormitory, and gardens, and experience the peaceful atmosphere of this historic monastic community.", + "locationName": "Marmagne", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "visit-the-abbaye-de-fontenay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_visit-the-abbaye-de-fontenay.jpg" + }, + { + "name": "Indulge in Gourmet Delights", + "description": "Embark on a culinary adventure and savor the rich gastronomy of Burgundy. From Michelin-starred restaurants to charming bistros, the region offers a diverse array of dining experiences. Sample regional specialties such as boeuf bourguignon, coq au vin, and escargots, paired with local wines for an unforgettable feast.", + "locationName": "Various locations throughout Burgundy", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "burgundy", + "ref": "indulge-in-gourmet-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_indulge-in-gourmet-delights.jpg" + }, + { + "name": "Discover the Art and History of Dijon", + "description": "Delve into the cultural heart of Burgundy in Dijon, a vibrant city with a rich artistic and historical legacy. Explore the Palace of the Dukes of Burgundy, admire the Gothic architecture of Notre Dame Church, and wander through the charming streets lined with half-timbered houses. Don't miss the Museum of Fine Arts, home to an impressive collection of European paintings and sculptures.", + "locationName": "Dijon", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "discover-the-art-and-history-of-dijon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_discover-the-art-and-history-of-dijon.jpg" + }, + { + "name": "Horseback Riding through the Vineyards", + "description": "Embark on a scenic horseback riding adventure through the picturesque vineyards of Burgundy. Explore the rolling hills, charming villages, and renowned wine estates from a unique perspective. Enjoy the fresh air, stunning landscapes, and the gentle rhythm of horseback riding, creating a memorable and relaxing experience.", + "locationName": "Côte de Beaune or Côte de Nuits", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "burgundy", + "ref": "horseback-riding-through-the-vineyards", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_horseback-riding-through-the-vineyards.jpg" + }, + { + "name": "Visit the Medieval Town of Semur-en-Auxois", + "description": "Step back in time with a visit to the charming medieval town of Semur-en-Auxois. Explore its well-preserved ramparts, cobblestone streets, and half-timbered houses. Discover the impressive Collegiate Church of Notre-Dame and the historic Château de Semur-en-Auxois, offering panoramic views of the surrounding countryside.", + "locationName": "Semur-en-Auxois", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "visit-the-medieval-town-of-semur-en-auxois", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_visit-the-medieval-town-of-semur-en-auxois.jpg" + }, + { + "name": "Go Antiquing in Beaune", + "description": "Embark on a treasure hunt through the antique shops and markets of Beaune. Discover unique furniture, vintage jewelry, and other hidden gems that reflect the region's rich history and culture. Enjoy the thrill of the hunt and the satisfaction of finding one-of-a-kind souvenirs to bring home.", + "locationName": "Beaune", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "burgundy", + "ref": "go-antiquing-in-beaune", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_go-antiquing-in-beaune.jpg" + }, + { + "name": "Sample Local Cheeses at a Fromagerie", + "description": "Indulge in the rich flavors of Burgundy's artisanal cheeses at a local fromagerie. Learn about the cheesemaking process, discover different varieties such as Époisses and Soumaintrain, and savor the unique textures and tastes. Pair your cheese with a glass of local wine for a truly delightful experience.", + "locationName": "Various fromageries throughout Burgundy", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "burgundy", + "ref": "sample-local-cheeses-at-a-fromagerie", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_sample-local-cheeses-at-a-fromagerie.jpg" + }, + { + "name": "Enjoy a Picnic in the Countryside", + "description": "Escape the hustle and bustle with a relaxing picnic amidst the idyllic landscapes of Burgundy. Gather fresh bread, local cheeses, cured meats, and a bottle of wine, and find a scenic spot among the vineyards or along a tranquil riverbank. Savor the delicious food, soak up the sunshine, and enjoy the peaceful ambiance.", + "locationName": "Various locations throughout Burgundy", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "burgundy", + "ref": "enjoy-a-picnic-in-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/burgundy_enjoy-a-picnic-in-the-countryside.jpg" + }, + { + "name": "Explore the Temples of Angkor", + "description": "Embark on a journey through time as you explore the magnificent temples of Angkor, a UNESCO World Heritage Site. Marvel at the intricate carvings of Angkor Wat, the world's largest religious monument, and discover the enigmatic faces of Bayon Temple. Wander through the jungle-clad Ta Prohm, where ancient ruins intertwine with nature, and witness the breathtaking sunrise over Angkor Wat.", + "locationName": "Angkor Archaeological Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cambodia", + "ref": "explore-the-temples-of-angkor", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_explore-the-temples-of-angkor.jpg" + }, + { + "name": "Relax on the Beaches of Sihanoukville", + "description": "Escape to the pristine beaches of Sihanoukville, where turquoise waters meet golden sands. Bask in the sun, swim in the crystal-clear sea, or indulge in water sports like snorkeling and diving. Explore the vibrant beach bars and restaurants, or simply unwind with a refreshing cocktail as you soak up the tropical atmosphere.", + "locationName": "Sihanoukville", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "relax-on-the-beaches-of-sihanoukville", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_relax-on-the-beaches-of-sihanoukville.jpg" + }, + { + "name": "Cruise the Mekong River", + "description": "Embark on a scenic cruise along the mighty Mekong River, the lifeblood of Southeast Asia. Witness the daily life of local communities, observe floating villages and vibrant markets, and immerse yourself in the lush landscapes. Opt for a sunset cruise to enjoy breathtaking views as the sky transforms into a canvas of colors.", + "locationName": "Mekong River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cambodia", + "ref": "cruise-the-mekong-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_cruise-the-mekong-river.jpg" + }, + { + "name": "Discover the Royal Palace in Phnom Penh", + "description": "Immerse yourself in the grandeur of the Royal Palace in Phnom Penh, a symbol of Cambodia's rich heritage. Explore the Silver Pagoda, adorned with thousands of silver tiles, and marvel at the Khmer architecture of the Throne Hall. Wander through the manicured gardens and witness the changing of the guards ceremony for a glimpse into royal traditions.", + "locationName": "Phnom Penh", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "discover-the-royal-palace-in-phnom-penh", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_discover-the-royal-palace-in-phnom-penh.jpg" + }, + { + "name": "Learn About Cambodian History at the Tuol Sleng Genocide Museum", + "description": "Gain a deeper understanding of Cambodia's turbulent past at the Tuol Sleng Genocide Museum, a former prison that stands as a stark reminder of the Khmer Rouge regime. Explore the exhibits and learn about the atrocities committed during this dark period, paying respects to the victims and reflecting on the importance of human rights.", + "locationName": "Phnom Penh", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 1, + "destinationRef": "cambodia", + "ref": "learn-about-cambodian-history-at-the-tuol-sleng-genocide-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_learn-about-cambodian-history-at-the-tuol-sleng-genocide-museum.jpg" + }, + { + "name": "Hike Through the Cardamom Mountains", + "description": "Embark on an adventurous trek through the lush Cardamom Mountains, home to diverse wildlife, cascading waterfalls, and remote villages. Explore jungle trails, encounter exotic flora and fauna, and discover hidden gems like the Tatai Waterfall or the Aural District.", + "locationName": "Cardamom Mountains", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "cambodia", + "ref": "hike-through-the-cardamom-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_hike-through-the-cardamom-mountains.jpg" + }, + { + "name": "Go Birdwatching in Prek Toal Bird Sanctuary", + "description": "Immerse yourself in the natural wonders of the Prek Toal Bird Sanctuary, a haven for bird enthusiasts. Embark on a boat trip through the flooded forests and witness a spectacular array of bird species, including the endangered Greater Adjutant and the Painted Stork.", + "locationName": "Prek Toal Bird Sanctuary", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "go-birdwatching-in-prek-toal-bird-sanctuary", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_go-birdwatching-in-prek-toal-bird-sanctuary.jpg" + }, + { + "name": "Experience Local Life at a Homestay", + "description": "Delve into authentic Cambodian culture by staying in a local homestay. Immerse yourself in the daily life of a Cambodian family, learn about their traditions, participate in activities like farming or fishing, and savor home-cooked meals.", + "locationName": "Various rural villages", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "cambodia", + "ref": "experience-local-life-at-a-homestay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_experience-local-life-at-a-homestay.jpg" + }, + { + "name": "Sample Street Food in Phnom Penh", + "description": "Embark on a culinary adventure through the vibrant streets of Phnom Penh. Sample a variety of delicious and affordable street food options, such as Khmer noodles, grilled meats, fresh spring rolls, and sweet treats like sticky rice with mango.", + "locationName": "Phnom Penh", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "cambodia", + "ref": "sample-street-food-in-phnom-penh", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_sample-street-food-in-phnom-penh.jpg" + }, + { + "name": "Learn to Cook Khmer Cuisine", + "description": "Discover the secrets of Khmer cuisine by taking a cooking class. Learn to prepare traditional dishes like fish amok, Khmer curry, and green mango salad, using fresh local ingredients and authentic cooking techniques.", + "locationName": "Various cooking schools", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "learn-to-cook-khmer-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_learn-to-cook-khmer-cuisine.jpg" + }, + { + "name": "Visit Koh Rong", + "description": "Escape to the idyllic island of Koh Rong and immerse yourself in its pristine beauty. Relax on white-sand beaches, swim in crystal-clear waters, and explore the vibrant coral reefs through snorkeling or diving. Enjoy the laid-back island atmosphere, indulge in fresh seafood, and witness breathtaking sunsets over the Gulf of Thailand.", + "locationName": "Koh Rong Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cambodia", + "ref": "visit-koh-rong", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_visit-koh-rong.jpg" + }, + { + "name": "Go Kayaking on the Kampot River", + "description": "Embark on a serene kayaking adventure along the Kampot River, surrounded by lush mangroves and stunning natural landscapes. Paddle through tranquil waters, observe local wildlife, and discover hidden coves and caves. Witness the captivating beauty of the Cambodian countryside and enjoy a peaceful escape into nature.", + "locationName": "Kampot River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "go-kayaking-on-the-kampot-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_go-kayaking-on-the-kampot-river.jpg" + }, + { + "name": "Explore the Bokor National Park", + "description": "Venture into the Bokor National Park and discover its enchanting beauty and historical remnants. Visit the abandoned Bokor Hill Station, a French colonial resort with stunning views, and explore the Popokvil Waterfall, a cascading wonder amidst the lush rainforest. Hike through scenic trails, encounter diverse wildlife, and immerse yourself in the park's mystical atmosphere.", + "locationName": "Bokor National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "cambodia", + "ref": "explore-the-bokor-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_explore-the-bokor-national-park.jpg" + }, + { + "name": "Shop at the Russian Market in Phnom Penh", + "description": "Immerse yourself in the vibrant atmosphere of the Russian Market, a bustling marketplace in Phnom Penh. Browse through a wide array of goods, including souvenirs, handicrafts, clothing, and local produce. Experience the energetic hustle and bustle of Cambodian commerce and discover unique treasures to take home.", + "locationName": "Russian Market", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "shop-at-the-russian-market-in-phnom-penh", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_shop-at-the-russian-market-in-phnom-penh.jpg" + }, + { + "name": "Enjoy Phare Circus Show in Siem Reap", + "description": "Experience the magic of Phare Circus, a captivating performance that combines acrobatics, theater, and Cambodian storytelling. Be amazed by the talented young artists who showcase their skills and share their stories through this unique art form. Enjoy an evening of entertainment and cultural immersion.", + "locationName": "Siem Reap", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "cambodia", + "ref": "enjoy-phare-circus-show-in-siem-reap", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_enjoy-phare-circus-show-in-siem-reap.jpg" + }, + { + "name": "Dive into the Underwater World of Koh Tang", + "description": "Embark on an unforgettable scuba diving or snorkeling adventure to Koh Tang, a remote island paradise renowned for its pristine coral reefs and diverse marine life. Explore vibrant underwater landscapes, encounter colorful fish, and discover hidden coves, making memories that will last a lifetime.", + "locationName": "Koh Tang", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "cambodia", + "ref": "dive-into-the-underwater-world-of-koh-tang", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_dive-into-the-underwater-world-of-koh-tang.jpg" + }, + { + "name": "Witness the Serenity of Phnom Kulen National Park", + "description": "Escape the hustle and bustle of city life and immerse yourself in the tranquil beauty of Phnom Kulen National Park. Hike to the cascading Kulen Waterfall, discover ancient temples hidden within the lush jungle, and take a refreshing dip in the sacred River of a Thousand Lingas, experiencing the spiritual heart of Cambodia.", + "locationName": "Phnom Kulen National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "witness-the-serenity-of-phnom-kulen-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_witness-the-serenity-of-phnom-kulen-national-park.jpg" + }, + { + "name": "Delve into Rural Life in Battambang", + "description": "Venture beyond the tourist trail and experience authentic Cambodian life in the charming province of Battambang. Take a ride on the iconic Bamboo Train, explore traditional villages, visit ancient temples, and witness the breathtaking sunset over rice paddies, gaining a deeper understanding of the local culture and way of life.", + "locationName": "Battambang", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cambodia", + "ref": "delve-into-rural-life-in-battambang", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_delve-into-rural-life-in-battambang.jpg" + }, + { + "name": "Unwind in Kep's Coastal Charm", + "description": "Discover the laid-back coastal town of Kep, known for its fresh seafood, serene beaches, and colonial architecture. Relax on the white sand, indulge in a delicious crab market feast, and explore nearby Rabbit Island for a dose of tranquility and stunning ocean views.", + "locationName": "Kep", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cambodia", + "ref": "unwind-in-kep-s-coastal-charm", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_unwind-in-kep-s-coastal-charm.jpg" + }, + { + "name": "Step Back in Time at Koh Ker Temple Complex", + "description": "Embark on an archaeological adventure to the Koh Ker Temple Complex, a remote and enigmatic site that once served as the capital of the Khmer Empire. Explore towering temples, intricate carvings, and hidden chambers, feeling the aura of mystery and grandeur that surrounds this ancient wonder.", + "locationName": "Koh Ker Temple Complex", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "cambodia", + "ref": "step-back-in-time-at-koh-ker-temple-complex", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cambodia_step-back-in-time-at-koh-ker-temple-complex.jpg" + }, + { + "name": "Hiking in Banff National Park", + "description": "Explore the breathtaking trails of Banff National Park, from easy lakeside strolls to challenging mountain climbs. Discover iconic spots like Lake Louise, Moraine Lake, and Johnston Canyon, and be rewarded with stunning vistas of turquoise waters, glaciers, and snow-capped peaks. Keep an eye out for wildlife such as elk, deer, and bighorn sheep.", + "locationName": "Banff National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canadian-rockies", + "ref": "hiking-in-banff-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_hiking-in-banff-national-park.jpg" + }, + { + "name": "Skiing or Snowboarding in Lake Louise", + "description": "Hit the slopes at Lake Louise Ski Resort, renowned for its world-class skiing and snowboarding terrain. With over 4,200 acres of skiable area, there's something for all levels, from gentle beginner runs to thrilling black diamond slopes. Enjoy the incredible views of the surrounding mountains and the frozen lake while carving down the powder.", + "locationName": "Lake Louise Ski Resort", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "canadian-rockies", + "ref": "skiing-or-snowboarding-in-lake-louise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_skiing-or-snowboarding-in-lake-louise.jpg" + }, + { + "name": "Scenic Drive on the Icefields Parkway", + "description": "Embark on a breathtaking road trip along the Icefields Parkway, considered one of the most scenic drives in the world. Marvel at the towering mountains, glaciers, waterfalls, and turquoise lakes that line the route. Stop at iconic viewpoints like Bow Lake, Peyto Lake, and the Columbia Icefield, and take in the awe-inspiring beauty of the Canadian Rockies.", + "locationName": "Icefields Parkway", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "canadian-rockies", + "ref": "scenic-drive-on-the-icefields-parkway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_scenic-drive-on-the-icefields-parkway.jpg" + }, + { + "name": "Wildlife Watching Tour", + "description": "Join a guided wildlife watching tour to increase your chances of spotting iconic Canadian Rockies animals such as grizzly bears, black bears, elk, moose, bighorn sheep, and mountain goats. Learn about their behavior, habitats, and conservation efforts from experienced guides, and capture unforgettable photos of these majestic creatures in their natural environment.", + "locationName": "Banff National Park or Jasper National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "canadian-rockies", + "ref": "wildlife-watching-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_wildlife-watching-tour.jpg" + }, + { + "name": "Relaxing at Banff Upper Hot Springs", + "description": "After a day of outdoor adventures, unwind and rejuvenate at the Banff Upper Hot Springs. Immerse yourself in the soothing mineral-rich waters, surrounded by stunning mountain scenery. Enjoy the therapeutic benefits of the hot springs while taking in the fresh mountain air and breathtaking views.", + "locationName": "Banff Upper Hot Springs", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "canadian-rockies", + "ref": "relaxing-at-banff-upper-hot-springs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_relaxing-at-banff-upper-hot-springs.jpg" + }, + { + "name": "Whitewater Rafting on the Kicking Horse River", + "description": "Experience the thrill of whitewater rafting on the Kicking Horse River, known for its exhilarating rapids and stunning scenery. Choose from various trip lengths and intensities to suit your adventure level, and enjoy a day of splashing through rapids, surrounded by the beauty of the Canadian Rockies. #Adventure #Summer #Family-friendly", + "locationName": "Kicking Horse River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "canadian-rockies", + "ref": "whitewater-rafting-on-the-kicking-horse-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_whitewater-rafting-on-the-kicking-horse-river.jpg" + }, + { + "name": "Gondola Ride to the Top of Sulphur Mountain", + "description": "Take a scenic gondola ride to the summit of Sulphur Mountain for breathtaking panoramic views of the surrounding mountains, valleys, and the town of Banff. Enjoy the interpretive exhibits at the top, dine at the mountaintop restaurant, or simply soak in the awe-inspiring vistas. #Sightseeing #Mountain #Family-friendly", + "locationName": "Sulphur Mountain", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "canadian-rockies", + "ref": "gondola-ride-to-the-top-of-sulphur-mountain", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_gondola-ride-to-the-top-of-sulphur-mountain.jpg" + }, + { + "name": "Explore the Charming Town of Banff", + "description": "Wander through the charming streets of Banff, a picturesque mountain town with a vibrant atmosphere. Discover unique shops, art galleries, and museums, or relax at a cozy café and enjoy the mountain views. #Shopping #Cultural #Relaxing", + "locationName": "Banff", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canadian-rockies", + "ref": "explore-the-charming-town-of-banff", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_explore-the-charming-town-of-banff.jpg" + }, + { + "name": "Visit the Cave and Basin National Historic Site", + "description": "Delve into the history of Banff National Park at the Cave and Basin National Historic Site, where Canada's first national park was established. Explore the natural hot springs, learn about the area's unique geology and ecology, and discover the cultural significance of this landmark site. #Historic #Cultural #Family-friendly", + "locationName": "Cave and Basin National Historic Site", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canadian-rockies", + "ref": "visit-the-cave-and-basin-national-historic-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_visit-the-cave-and-basin-national-historic-site.jpg" + }, + { + "name": "Stargazing in the Dark Sky Preserves", + "description": "Escape the city lights and experience the magic of stargazing in the Canadian Rockies' Dark Sky Preserves. Join a guided astronomy tour or simply find a secluded spot to marvel at the constellations and the Milky Way. #Nightlife #Secluded #Romantic", + "locationName": "Jasper National Park or Banff National Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "canadian-rockies", + "ref": "stargazing-in-the-dark-sky-preserves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_stargazing-in-the-dark-sky-preserves.jpg" + }, + { + "name": "Dog Sledding Adventure", + "description": "Experience the thrill of gliding through the snowy landscapes of the Canadian Rockies on a dog sledding tour. Feel the crisp mountain air as a team of huskies pulls you across frozen lakes and through pristine forests. Learn about the history of dog sledding and the incredible bond between mushers and their canine companions.", + "locationName": "Banff or Canmore", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "canadian-rockies", + "ref": "dog-sledding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_dog-sledding-adventure.jpg" + }, + { + "name": "Ice Skating on Lake Louise", + "description": "Lace up your skates and glide across the frozen surface of the iconic Lake Louise. Surrounded by towering mountains and the majestic Victoria Glacier, this is a truly unforgettable experience. Enjoy the fresh air and stunning scenery as you create lasting memories on the ice.", + "locationName": "Lake Louise", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canadian-rockies", + "ref": "ice-skating-on-lake-louise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_ice-skating-on-lake-louise.jpg" + }, + { + "name": "Snowshoeing in Yoho National Park", + "description": "Embark on a peaceful snowshoeing adventure through the winter wonderland of Yoho National Park. Explore snow-covered trails, admire frozen waterfalls, and discover hidden alpine meadows. This is a great way to experience the serenity of the mountains at your own pace.", + "locationName": "Yoho National Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canadian-rockies", + "ref": "snowshoeing-in-yoho-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_snowshoeing-in-yoho-national-park.jpg" + }, + { + "name": "Johnston Canyon Icewalk", + "description": "Venture into the depths of Johnston Canyon and marvel at the frozen waterfalls and ice formations that cling to the canyon walls. Guided tours provide insights into the geology and ecology of the area, making this a unique and educational experience.", + "locationName": "Johnston Canyon", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "canadian-rockies", + "ref": "johnston-canyon-icewalk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_johnston-canyon-icewalk.jpg" + }, + { + "name": "Indigenous Cultural Experiences", + "description": "Learn about the rich history and culture of the Indigenous peoples who have called the Canadian Rockies home for centuries. Visit cultural centers, participate in traditional storytelling sessions, or try your hand at crafting authentic Indigenous art.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "canadian-rockies", + "ref": "indigenous-cultural-experiences", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_indigenous-cultural-experiences.jpg" + }, + { + "name": "Mountain Biking Adventure", + "description": "Embark on an exhilarating mountain biking adventure along scenic trails with breathtaking views of the surrounding peaks and valleys. Numerous trails cater to all skill levels, from leisurely paths to challenging single tracks, offering an unforgettable experience for outdoor enthusiasts.", + "locationName": "Various locations throughout the Canadian Rockies", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "canadian-rockies", + "ref": "mountain-biking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_mountain-biking-adventure.jpg" + }, + { + "name": "Rock Climbing Excursion", + "description": "Challenge yourself with a thrilling rock climbing excursion on the iconic cliffs and rock faces of the Canadian Rockies. Whether you're a seasoned climber or a beginner, experienced guides will lead you on an unforgettable adventure, providing instruction and ensuring your safety as you ascend to new heights.", + "locationName": "Popular climbing areas like Yamnuska and Grassi Lakes", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "canadian-rockies", + "ref": "rock-climbing-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_rock-climbing-excursion.jpg" + }, + { + "name": "Wildlife Photography Safari", + "description": "Embark on a wildlife photography safari to capture stunning images of the diverse fauna that inhabits the Canadian Rockies. Accompanied by expert guides, you'll have the opportunity to spot elusive creatures like grizzly bears, elk, moose, and bighorn sheep in their natural habitat.", + "locationName": "National parks and wildlife reserves", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "canadian-rockies", + "ref": "wildlife-photography-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_wildlife-photography-safari.jpg" + }, + { + "name": "Scenic Helicopter Tour", + "description": "Soar above the majestic peaks and turquoise lakes of the Canadian Rockies on a scenic helicopter tour. Witness the breathtaking beauty of the landscape from a unique perspective, capturing panoramic views of glaciers, waterfalls, and alpine meadows.", + "locationName": "Helicopter tour operators in Banff or Canmore", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "canadian-rockies", + "ref": "scenic-helicopter-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_scenic-helicopter-tour.jpg" + }, + { + "name": "Relaxing Spa Day", + "description": "Indulge in a day of relaxation and rejuvenation at a luxurious spa nestled amidst the stunning scenery of the Canadian Rockies. Treat yourself to a variety of treatments, including massages, facials, and body wraps, while enjoying the serene ambiance and breathtaking views.", + "locationName": "Spas in Banff, Lake Louise, or Jasper", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "canadian-rockies", + "ref": "relaxing-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canadian-rockies_relaxing-spa-day.jpg" + }, + { + "name": "Hike Mount Teide", + "description": "Embark on a challenging but rewarding hike to the summit of Mount Teide, Spain's highest peak and a dormant volcano. Witness breathtaking panoramic views of the island and surrounding archipelago from above. You can choose to hike or take a cable car to the top.", + "locationName": "Teide National Park, Tenerife", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "canary-islands", + "ref": "hike-mount-teide", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_hike-mount-teide.jpg" + }, + { + "name": "Relax on the Beaches of Gran Canaria", + "description": "Soak up the sun and enjoy the golden sands of Gran Canaria's famous beaches. From the lively Playa del Inglés to the secluded coves of Güi Güi beach, there's a perfect spot for everyone to unwind and enjoy the crystal-clear waters.", + "locationName": "Gran Canaria", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "canary-islands", + "ref": "relax-on-the-beaches-of-gran-canaria", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_relax-on-the-beaches-of-gran-canaria.jpg" + }, + { + "name": "Stargazing in La Palma", + "description": "Experience the magic of the night sky in La Palma, a designated Starlight Reserve. Join a guided stargazing tour and marvel at the constellations, planets, and distant galaxies with minimal light pollution.", + "locationName": "Roque de los Muchachos Observatory, La Palma", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "canary-islands", + "ref": "stargazing-in-la-palma", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_stargazing-in-la-palma.jpg" + }, + { + "name": "Explore the Timanfaya National Park", + "description": "Discover the otherworldly landscapes of Timanfaya National Park in Lanzarote. Witness volcanic craters, lava fields, and geothermal demonstrations, and enjoy a unique camel ride through this Martian-like environment.", + "locationName": "Timanfaya National Park, Lanzarote", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canary-islands", + "ref": "explore-the-timanfaya-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_explore-the-timanfaya-national-park.jpg" + }, + { + "name": "Go Surfing in Fuerteventura", + "description": "Catch some waves in Fuerteventura, a renowned surfing destination. With consistent winds and diverse breaks, the island offers opportunities for surfers of all levels, from beginners to experienced riders.", + "locationName": "Corralejo or El Cotillo, Fuerteventura", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "canary-islands", + "ref": "go-surfing-in-fuerteventura", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_go-surfing-in-fuerteventura.jpg" + }, + { + "name": "Caving in Cueva de los Verdes", + "description": "Embark on a subterranean adventure by exploring the Cueva de los Verdes, a unique lava tube formed by volcanic eruptions thousands of years ago. Marvel at the impressive geological formations, hidden chambers, and the natural auditorium with its exceptional acoustics, where concerts are occasionally held. This otherworldly experience is a must for curious minds and adventure seekers.", + "locationName": "Lanzarote", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canary-islands", + "ref": "caving-in-cueva-de-los-verdes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_caving-in-cueva-de-los-verdes.jpg" + }, + { + "name": "Whale and Dolphin Watching", + "description": "Set sail on a boat tour from Tenerife or Gran Canaria and witness the incredible marine life that inhabits the waters surrounding the Canary Islands. Keep an eye out for playful dolphins, majestic whales, and other fascinating creatures like sea turtles and flying fish. This eco-friendly activity is perfect for nature lovers and families with children.", + "locationName": "Tenerife or Gran Canaria", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "canary-islands", + "ref": "whale-and-dolphin-watching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_whale-and-dolphin-watching.jpg" + }, + { + "name": "Explore the Historic Town of La Laguna", + "description": "Step back in time by visiting the charming town of La Laguna in Tenerife, a UNESCO World Heritage Site. Wander through its cobblestone streets lined with colorful colonial architecture, historical churches, and lively plazas. Discover the local culture, indulge in delicious Canarian cuisine, and soak up the vibrant atmosphere of this historic gem.", + "locationName": "Tenerife", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canary-islands", + "ref": "explore-the-historic-town-of-la-laguna", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_explore-the-historic-town-of-la-laguna.jpg" + }, + { + "name": "Scuba Diving or Snorkeling Adventure", + "description": "Dive into the crystal-clear waters of the Canary Islands and discover a vibrant underwater world teeming with marine life. Explore volcanic reefs, underwater caves, and shipwrecks while encountering colorful fish, graceful rays, and other fascinating creatures. Whether you are an experienced diver or a beginner snorkeler, the Canary Islands offer unforgettable underwater experiences.", + "locationName": "Various islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "canary-islands", + "ref": "scuba-diving-or-snorkeling-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_scuba-diving-or-snorkeling-adventure.jpg" + }, + { + "name": "Indulge in Canarian Cuisine", + "description": "Embark on a culinary journey through the Canary Islands by savoring its unique and flavorful cuisine. Sample local delicacies like papas arrugadas (wrinkled potatoes) with mojo sauce, fresh seafood dishes, hearty stews, and sweet treats like bienmesabe (almond dessert). Explore traditional restaurants, tapas bars, and local markets to experience the rich gastronomy of the islands.", + "locationName": "Various islands", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "canary-islands", + "ref": "indulge-in-canarian-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_indulge-in-canarian-cuisine.jpg" + }, + { + "name": "Kayaking and Cliff Jumping in Los Gigantes", + "description": "Embark on a thrilling kayaking adventure along the towering cliffs of Los Gigantes. Paddle through crystal-clear waters, explore hidden caves, and if you dare, experience the exhilaration of cliff jumping into the refreshing ocean.", + "locationName": "Los Gigantes, Tenerife", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "canary-islands", + "ref": "kayaking-and-cliff-jumping-in-los-gigantes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_kayaking-and-cliff-jumping-in-los-gigantes.jpg" + }, + { + "name": "Sunset Cruise with Dolphin Watching", + "description": "Set sail on a magical sunset cruise along the coast. As the sun dips below the horizon, painting the sky with vibrant hues, keep an eye out for playful dolphins dancing in the waves. Enjoy breathtaking views and create unforgettable memories.", + "locationName": "Various locations across the islands", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "canary-islands", + "ref": "sunset-cruise-with-dolphin-watching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_sunset-cruise-with-dolphin-watching.jpg" + }, + { + "name": "Jeep Safari Adventure in the Dunes of Maspalomas", + "description": "Embark on an adventurous jeep safari through the mesmerizing dunes of Maspalomas. Traverse the vast desert landscape, feeling the thrill of the ride as you conquer challenging terrains. Discover hidden oases and enjoy panoramic views.", + "locationName": "Maspalomas Dunes, Gran Canaria", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "canary-islands", + "ref": "jeep-safari-adventure-in-the-dunes-of-maspalomas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_jeep-safari-adventure-in-the-dunes-of-maspalomas.jpg" + }, + { + "name": "Wine Tasting Tour in Lanzarote's La Geria", + "description": "Indulge in the unique flavors of Canarian wines with a delightful wine tasting tour in La Geria. Explore the volcanic vineyards, learn about the island's distinctive winemaking techniques, and savor a variety of local wines amidst breathtaking scenery.", + "locationName": "La Geria, Lanzarote", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "canary-islands", + "ref": "wine-tasting-tour-in-lanzarote-s-la-geria", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_wine-tasting-tour-in-lanzarote-s-la-geria.jpg" + }, + { + "name": "Paragliding over Tenerife's Coastline", + "description": "Soar through the skies and witness the beauty of Tenerife's coastline from a bird's-eye view with a thrilling paragliding experience. Take off from the mountains and glide over stunning beaches, dramatic cliffs, and charming villages, creating memories that will last a lifetime.", + "locationName": "Various locations in Tenerife", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "canary-islands", + "ref": "paragliding-over-tenerife-s-coastline", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_paragliding-over-tenerife-s-coastline.jpg" + }, + { + "name": "Visit the Palmitos Park", + "description": "Immerse yourself in the wonders of nature at Palmitos Park, a botanical garden and zoo nestled in Gran Canaria. Encounter exotic birds, playful dolphins, colorful fish, and fascinating reptiles. Enjoy captivating shows featuring birds of prey and dolphins, and explore lush gardens showcasing diverse plant life.", + "locationName": "Palmitos Park, Gran Canaria", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "canary-islands", + "ref": "visit-the-palmitos-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_visit-the-palmitos-park.jpg" + }, + { + "name": "Explore the Charming Villages", + "description": "Step back in time as you wander through the charming villages scattered across the Canary Islands. Visit Teror in Gran Canaria with its traditional Canarian architecture and balconies, or the picturesque village of Betancuria in Fuerteventura, known for its historical significance and whitewashed houses. Discover local crafts, enjoy traditional cuisine, and experience the authentic island life.", + "locationName": "Various villages across the islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "canary-islands", + "ref": "explore-the-charming-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_explore-the-charming-villages.jpg" + }, + { + "name": "Take a Catamaran Trip to La Graciosa", + "description": "Embark on a relaxing catamaran trip to La Graciosa, a small, unspoiled island off the coast of Lanzarote. Enjoy the scenic journey, soak up the sun on pristine beaches, and swim in crystal-clear turquoise waters. Explore the island's charming village, Caleta de Sebo, and discover its peaceful atmosphere.", + "locationName": "La Graciosa Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "canary-islands", + "ref": "take-a-catamaran-trip-to-la-graciosa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_take-a-catamaran-trip-to-la-graciosa.jpg" + }, + { + "name": "Go Windsurfing or Kitesurfing", + "description": "Experience the thrill of windsurfing or kitesurfing in the Canary Islands, renowned for their ideal wind conditions. Head to Fuerteventura or Tenerife, known as hotspots for these water sports. Whether you're a beginner or an experienced rider, you'll find perfect spots to catch the wind and ride the waves.", + "locationName": "Fuerteventura or Tenerife", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "canary-islands", + "ref": "go-windsurfing-or-kitesurfing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_go-windsurfing-or-kitesurfing.jpg" + }, + { + "name": "Enjoy the Nightlife", + "description": "Experience the vibrant nightlife scene in the Canary Islands, particularly in Tenerife and Gran Canaria. Dance the night away at lively clubs, enjoy live music at bars, or sip cocktails at beachfront lounges. Discover a diverse range of entertainment options, from traditional Canarian music to international DJs.", + "locationName": "Tenerife or Gran Canaria", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "canary-islands", + "ref": "enjoy-the-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/canary-islands_enjoy-the-nightlife.jpg" + }, + { + "name": "Hot Air Balloon Ride Over Cappadocia", + "description": "Embark on a magical hot air balloon ride at sunrise and witness the breathtaking landscape of Cappadocia from above. Drift over the fairy chimneys, valleys, and rock formations as the golden light paints the scenery. This unforgettable experience offers stunning panoramic views and a unique perspective of the region's geological wonders.", + "locationName": "Goreme", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "cappadocia", + "ref": "hot-air-balloon-ride-over-cappadocia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_hot-air-balloon-ride-over-cappadocia.jpg" + }, + { + "name": "Explore the Kaymakli Underground City", + "description": "Descend into the depths of Kaymakli Underground City, an intricate network of tunnels and chambers carved into the soft rock. Discover the fascinating history and ingenuity of the ancient inhabitants as you explore living quarters, stables, kitchens, and ventilation shafts. This subterranean adventure offers a glimpse into a unique way of life.", + "locationName": "Kaymakli", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cappadocia", + "ref": "explore-the-kaymakli-underground-city", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_explore-the-kaymakli-underground-city.jpg" + }, + { + "name": "Hike through the Valley of Love", + "description": "Embark on a scenic hike through the Valley of Love, known for its phallic-shaped rock formations and panoramic views. The trail winds through vineyards, orchards, and fairy chimneys, offering opportunities for stunning photos and a connection with nature. Enjoy a picnic lunch amidst the unique landscape and soak in the tranquility of the valley.", + "locationName": "Goreme National Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "cappadocia", + "ref": "hike-through-the-valley-of-love", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_hike-through-the-valley-of-love.jpg" + }, + { + "name": "Visit the Goreme Open-Air Museum", + "description": "Step back in time at the Goreme Open-Air Museum, a UNESCO World Heritage site showcasing a complex of rock-cut churches and monasteries dating back to the Byzantine era. Admire the well-preserved frescoes depicting biblical scenes and learn about the history of early Christian communities in Cappadocia.", + "locationName": "Goreme", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cappadocia", + "ref": "visit-the-goreme-open-air-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_visit-the-goreme-open-air-museum.jpg" + }, + { + "name": "Indulge in a Turkish Cooking Class", + "description": "Immerse yourself in the culinary culture of Turkey by participating in a hands-on cooking class. Learn to prepare traditional dishes such as manti (Turkish dumplings), dolma (stuffed vegetables), and baklava under the guidance of a local chef. Enjoy the fruits of your labor with a delicious meal and gain valuable insights into Turkish cuisine.", + "locationName": "Goreme or Uchisar", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "cappadocia", + "ref": "indulge-in-a-turkish-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_indulge-in-a-turkish-cooking-class.jpg" + }, + { + "name": "Horseback Riding through the Valleys", + "description": "Embark on a horseback riding adventure through the captivating valleys of Cappadocia. Traverse the unique landscape, passing by fairy chimneys and hidden cave dwellings, while enjoying the tranquility and fresh air. This activity is suitable for all skill levels, offering a unique perspective of the region's beauty.", + "locationName": "Various valleys in Cappadocia", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cappadocia", + "ref": "horseback-riding-through-the-valleys", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_horseback-riding-through-the-valleys.jpg" + }, + { + "name": "Pottery Workshop in Avanos", + "description": "Immerse yourself in the artistic heritage of Cappadocia by participating in a pottery workshop in Avanos, a town renowned for its ceramics. Learn about the traditional techniques from local artisans and create your own unique piece of pottery to take home as a souvenir. This hands-on experience is perfect for those seeking a creative and cultural activity.", + "locationName": "Avanos", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cappadocia", + "ref": "pottery-workshop-in-avanos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_pottery-workshop-in-avanos.jpg" + }, + { + "name": "Sunset ATV Tour", + "description": "Experience the thrill of an ATV adventure through the valleys of Cappadocia as the sun sets, casting a golden glow over the fairy chimneys. Navigate the rugged terrain and enjoy breathtaking panoramic views of the landscape. This exhilarating activity is perfect for adventure seekers and photography enthusiasts.", + "locationName": "Various valleys in Cappadocia", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "cappadocia", + "ref": "sunset-atv-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_sunset-atv-tour.jpg" + }, + { + "name": "Whirling Dervishes Ceremony", + "description": "Witness the mesmerizing Sema ceremony, a spiritual Sufi tradition performed by the Whirling Dervishes. Be captivated by the rhythmic movements and enchanting music as the dervishes spin in a symbolic representation of their journey to divine love. This cultural experience offers a glimpse into the rich history and spirituality of the region.", + "locationName": "Various cultural centers in Cappadocia", + "duration": 1, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "cappadocia", + "ref": "whirling-dervishes-ceremony", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_whirling-dervishes-ceremony.jpg" + }, + { + "name": "Turkish Night with Dinner and Folk Dances", + "description": "Immerse yourself in Turkish culture with a lively evening of traditional food, music, and dance. Enjoy a delicious dinner featuring local specialties while being entertained by folk dancers performing vibrant routines. This experience offers a taste of Turkish hospitality and is a great way to socialize with other travelers.", + "locationName": "Various restaurants and cultural centers in Cappadocia", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "cappadocia", + "ref": "turkish-night-with-dinner-and-folk-dances", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_turkish-night-with-dinner-and-folk-dances.jpg" + }, + { + "name": "Sunrise Photography Tour", + "description": "Capture the breathtaking beauty of Cappadocia's landscape bathed in the golden hues of sunrise. Join a photography tour led by a local expert who will guide you to the best vantage points for stunning photos of the fairy chimneys, valleys, and hot air balloons dotting the sky. Learn tips and tricks to enhance your photography skills while witnessing a magical start to the day. Great for photography, Instagrammable", + "locationName": "Various locations throughout Cappadocia", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "cappadocia", + "ref": "sunrise-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_sunrise-photography-tour.jpg" + }, + { + "name": "Hike to the Ihlara Valley", + "description": "Embark on a scenic hike through the Ihlara Valley, a lush oasis carved by the Melendiz River. Explore hidden rock-cut churches adorned with Byzantine frescoes, marvel at the towering cliffs, and enjoy a peaceful escape into nature. This moderate hike is suitable for various fitness levels and offers a refreshing break from the bustling tourist sites. Hiking, Secluded, Off-the-beaten-path", + "locationName": "Ihlara Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cappadocia", + "ref": "hike-to-the-ihlara-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_hike-to-the-ihlara-valley.jpg" + }, + { + "name": "Visit the Guray Ceramic Museum", + "description": "Delve into the world of Turkish ceramics at the Guray Ceramic Museum in Avanos. Admire a vast collection of traditional pottery, learn about the history and techniques of this ancient craft, and even try your hand at creating your own ceramic masterpiece during a workshop. This immersive experience offers a unique glimpse into Cappadocia's artistic heritage. Cultural experiences, Family-friendly", + "locationName": "Guray Ceramic Museum, Avanos", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cappadocia", + "ref": "visit-the-guray-ceramic-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_visit-the-guray-ceramic-museum.jpg" + }, + { + "name": "Wine Tasting in Urgup", + "description": "Indulge in the rich flavors of Cappadocia's wine region with a visit to a local winery in Urgup. Sample a variety of unique wines made from indigenous grapes, learn about the winemaking process, and savor delicious pairings with regional cheeses and snacks. Wine tasting, Cultural experiences, Foodie", + "locationName": "Wineries in Urgup", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "cappadocia", + "ref": "wine-tasting-in-urgup", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_wine-tasting-in-urgup.jpg" + }, + { + "name": "Relax at a Traditional Turkish Bath (Hammam)", + "description": "Unwind and rejuvenate with a traditional Turkish bath experience. Immerse yourself in the steamy atmosphere, enjoy a relaxing scrub and massage, and emerge feeling refreshed and revitalized. This cultural tradition offers a unique way to pamper yourself and experience authentic Turkish hospitality. Wellness retreats, Relaxing", + "locationName": "Various hammams throughout Cappadocia", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cappadocia", + "ref": "relax-at-a-traditional-turkish-bath-hammam-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_relax-at-a-traditional-turkish-bath-hammam-.jpg" + }, + { + "name": "Rock Climbing and Rappelling Adventure", + "description": "Experience the thrill of rock climbing and rappelling amidst the unique rock formations of Cappadocia. Professional guides will lead you on an unforgettable adventure, suitable for both beginners and experienced climbers, as you ascend the volcanic cliffs and rappel down into hidden canyons. Enjoy breathtaking views and a sense of accomplishment as you conquer the challenges of the Cappadocian landscape.", + "locationName": "Uchisar Valley", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "cappadocia", + "ref": "rock-climbing-and-rappelling-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_rock-climbing-and-rappelling-adventure.jpg" + }, + { + "name": "Jeep Safari through the Valleys", + "description": "Embark on an exhilarating jeep safari through the rugged valleys of Cappadocia. Discover hidden gems and off-the-beaten-path locations, including ancient cave churches, abandoned villages, and panoramic viewpoints. Your knowledgeable guide will share fascinating insights into the region's history and geology, making this a thrilling and educational experience.", + "locationName": "Soganli Valley", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cappadocia", + "ref": "jeep-safari-through-the-valleys", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_jeep-safari-through-the-valleys.jpg" + }, + { + "name": "Stargazing in the Dark Sky Reserve", + "description": "Escape the city lights and immerse yourself in the celestial wonders of Cappadocia. Join a guided stargazing tour in the Goreme National Park, a designated Dark Sky Reserve. With the help of powerful telescopes and expert astronomers, witness the Milky Way, constellations, and distant planets in all their glory.", + "locationName": "Goreme National Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "cappadocia", + "ref": "stargazing-in-the-dark-sky-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_stargazing-in-the-dark-sky-reserve.jpg" + }, + { + "name": "Visit the Zelve Open Air Museum", + "description": "Explore the fascinating Zelve Open Air Museum, a unique historical site showcasing cave dwellings, churches, and monasteries carved into the volcanic rock. Learn about the lives of early Christians and the region's rich cultural heritage as you wander through this ancient settlement. Discover hidden passages, rock-cut mills, and breathtaking views of the surrounding valleys.", + "locationName": "Zelve Open Air Museum", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "cappadocia", + "ref": "visit-the-zelve-open-air-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_visit-the-zelve-open-air-museum.jpg" + }, + { + "name": "Soak in a Natural Hot Spring", + "description": "Relax and rejuvenate in the therapeutic waters of a natural hot spring. Cappadocia boasts several thermal springs known for their healing properties. Pamper yourself with a traditional Turkish bath experience or simply enjoy the soothing warmth of the mineral-rich waters while surrounded by the stunning Cappadocian landscape.", + "locationName": "Bayramhacili", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cappadocia", + "ref": "soak-in-a-natural-hot-spring", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cappadocia_soak-in-a-natural-hot-spring.jpg" + }, + { + "name": "Hike in Vicente Pérez Rosales National Park", + "description": "Immerse yourself in the stunning landscapes of Vicente Pérez Rosales National Park, home to Petrohué Waterfalls, Osorno Volcano, and Todos los Santos Lake. Hike through ancient forests, witness cascading waterfalls, and be captivated by panoramic views of snow-capped peaks.", + "locationName": "Vicente Pérez Rosales National Park", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "hike-in-vicente-p-rez-rosales-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_hike-in-vicente-p-rez-rosales-national-park.jpg" + }, + { + "name": "Kayak on Lake Llanquihue", + "description": "Embark on a kayaking adventure on the pristine waters of Lake Llanquihue, the second largest lake in Chile. Paddle along the shoreline, surrounded by breathtaking mountain vistas and lush greenery. Keep an eye out for diverse birdlife and enjoy the tranquility of the lake.", + "locationName": "Lake Llanquihue", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "chilean-lake-district", + "ref": "kayak-on-lake-llanquihue", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_kayak-on-lake-llanquihue.jpg" + }, + { + "name": "Explore the German heritage of Frutillar", + "description": "Step back in time and discover the charming town of Frutillar, known for its German colonial architecture and cultural heritage. Visit the German Colonial Museum, admire the traditional wooden houses, and indulge in delicious German pastries and kuchen.", + "locationName": "Frutillar", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "explore-the-german-heritage-of-frutillar", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_explore-the-german-heritage-of-frutillar.jpg" + }, + { + "name": "Relax in the Termas Geometricas Hot Springs", + "description": "Unwind and rejuvenate in the natural hot springs of Termas Geometricas. Immerse yourself in the therapeutic mineral-rich waters, surrounded by a unique architectural design of wooden walkways and lush vegetation. Experience ultimate relaxation amidst the serene natural beauty.", + "locationName": "Termas Geometricas", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "chilean-lake-district", + "ref": "relax-in-the-termas-geometricas-hot-springs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_relax-in-the-termas-geometricas-hot-springs.jpg" + }, + { + "name": "Go white-water rafting on the Petrohué River", + "description": "Experience an adrenaline-pumping adventure with white-water rafting on the Petrohué River. Navigate through thrilling rapids, surrounded by breathtaking scenery of volcanic landscapes and lush forests. This activity is perfect for adventure seekers looking for an unforgettable experience.", + "locationName": "Petrohué River", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "chilean-lake-district", + "ref": "go-white-water-rafting-on-the-petrohu-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_go-white-water-rafting-on-the-petrohu-river.jpg" + }, + { + "name": "Conquer Volcano Osorno", + "description": "Embark on an exhilarating climb to the summit of the majestic Osorno Volcano. Hike through volcanic landscapes, witness breathtaking panoramic views of the surrounding lakes and Andes Mountains, and feel the thrill of standing atop an active volcano.", + "locationName": "Osorno Volcano", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "chilean-lake-district", + "ref": "conquer-volcano-osorno", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_conquer-volcano-osorno.jpg" + }, + { + "name": "Horseback Riding Adventure", + "description": "Saddle up for an unforgettable horseback riding adventure through the scenic landscapes of the Lake District. Explore hidden trails, traverse rolling hills, and immerse yourself in the region's natural beauty.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "chilean-lake-district", + "ref": "horseback-riding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_horseback-riding-adventure.jpg" + }, + { + "name": "Sail Away on Lake Todos los Santos", + "description": "Embark on a scenic boat tour across the emerald waters of Lake Todos los Santos. Admire the snow-capped peaks of the Osorno and Puntiagudo volcanoes, discover hidden waterfalls, and enjoy the tranquility of the surrounding nature.", + "locationName": "Lake Todos los Santos", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "sail-away-on-lake-todos-los-santos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_sail-away-on-lake-todos-los-santos.jpg" + }, + { + "name": "Indulge in Chilean Cuisine", + "description": "Embark on a culinary journey through the Chilean Lake District. Sample traditional dishes such as curanto (a seafood and meat stew cooked in a pit), cazuela (a hearty Chilean soup), and empanadas, and savor the flavors of the region.", + "locationName": "Various restaurants", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "chilean-lake-district", + "ref": "indulge-in-chilean-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_indulge-in-chilean-cuisine.jpg" + }, + { + "name": "Stargazing in the Andes", + "description": "Escape the city lights and immerse yourself in the wonders of the night sky. Join a stargazing tour and marvel at the Milky Way, constellations, and celestial objects visible in the clear, unpolluted skies of the Andes Mountains.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "stargazing-in-the-andes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_stargazing-in-the-andes.jpg" + }, + { + "name": "Bike the Cruce Andino", + "description": "Embark on a thrilling cycling adventure through the Andes Mountains, crossing the border between Chile and Argentina. This challenging route offers stunning scenery, including lakes, forests, and snow-capped peaks. You can choose from various tour options, ranging from self-guided to fully supported, depending on your experience and preferences.", + "locationName": "Andes Mountains", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "chilean-lake-district", + "ref": "bike-the-cruce-andino", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_bike-the-cruce-andino.jpg" + }, + { + "name": "Visit Chiloé Island", + "description": "Explore the enchanting Chiloé Island, known for its unique culture, stilt houses, and wooden churches. Discover the island's rich history and folklore, visit the colorful markets, and enjoy fresh seafood. You can also take a boat trip to see penguins and other marine life.", + "locationName": "Chiloé Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "chilean-lake-district", + "ref": "visit-chilo-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_visit-chilo-island.jpg" + }, + { + "name": "Go Fly Fishing", + "description": "Cast your line in the pristine rivers and lakes of the Chilean Lake District, renowned for its excellent fly fishing. Experienced guides can help you land brown trout, rainbow trout, and salmon. Enjoy the peaceful surroundings and the thrill of the catch.", + "locationName": "Petrohué River, Lake Llanquihue", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "chilean-lake-district", + "ref": "go-fly-fishing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_go-fly-fishing.jpg" + }, + { + "name": "Skiing and Snowboarding at Antillanca", + "description": "Hit the slopes of Antillanca, a popular ski resort with breathtaking views of Volcano Casablanca. Enjoy a variety of runs for all skill levels, from gentle slopes to challenging black diamonds. The resort also offers snowboarding, snowshoeing, and other winter activities.", + "locationName": "Antillanca Ski Resort", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "chilean-lake-district", + "ref": "skiing-and-snowboarding-at-antillanca", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_skiing-and-snowboarding-at-antillanca.jpg" + }, + { + "name": "Birdwatching in Alerce Andino National Park", + "description": "Discover the diverse birdlife of Alerce Andino National Park, home to numerous species, including the Magellanic woodpecker, chucao tapaculo, and torrent duck. Hike through ancient alerce forests and keep an eye out for these feathered wonders in their natural habitat.", + "locationName": "Alerce Andino National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "birdwatching-in-alerce-andino-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_birdwatching-in-alerce-andino-national-park.jpg" + }, + { + "name": "Scenic Cruise on Lake Todos Los Santos", + "description": "Embark on a breathtaking boat tour across the crystal-clear waters of Lake Todos Los Santos, surrounded by majestic mountains and lush greenery. Capture stunning photographs of the picturesque landscapes, including the iconic Osorno Volcano. Keep an eye out for diverse birdlife and soak in the tranquility of this pristine natural environment.", + "locationName": "Lake Todos Los Santos", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "chilean-lake-district", + "ref": "scenic-cruise-on-lake-todos-los-santos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_scenic-cruise-on-lake-todos-los-santos.jpg" + }, + { + "name": "Visit Petrohué Waterfalls", + "description": "Witness the cascading beauty of Petrohué Waterfalls, where turquoise glacial waters plunge over volcanic rock formations. Take a leisurely walk along the well-maintained trails, enjoying the refreshing mist and the surrounding rainforest scenery. Capture memorable photos of this natural wonder and learn about the geological forces that shaped it.", + "locationName": "Petrohué Waterfalls", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "visit-petrohu-waterfalls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_visit-petrohu-waterfalls.jpg" + }, + { + "name": "Explore the Charming Town of Puerto Varas", + "description": "Wander through the charming streets of Puerto Varas, a lakeside town with German-inspired architecture and a relaxed atmosphere. Discover local shops, indulge in delicious pastries at traditional cafes, and admire the colorful houses along the waterfront. Visit the Sacred Heart of Jesus Church for panoramic views of the lake and Osorno Volcano.", + "locationName": "Puerto Varas", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "explore-the-charming-town-of-puerto-varas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_explore-the-charming-town-of-puerto-varas.jpg" + }, + { + "name": "Unwind at a Lakeside Lodge", + "description": "Escape to a cozy lakeside lodge and immerse yourself in the tranquility of the Chilean Lake District. Enjoy breathtaking views of the water and mountains from your private balcony, unwind by the fireplace, or indulge in spa treatments. Many lodges offer outdoor activities like kayaking, fishing, or horseback riding.", + "locationName": "Various lakeside locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "chilean-lake-district", + "ref": "unwind-at-a-lakeside-lodge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_unwind-at-a-lakeside-lodge.jpg" + }, + { + "name": "Sample Craft Beer at a Local Brewery", + "description": "Discover the burgeoning craft beer scene in the Chilean Lake District. Visit a local brewery and sample a variety of unique and flavorful beers, often made with regional ingredients. Learn about the brewing process, enjoy the friendly atmosphere, and perhaps find your new favorite brew.", + "locationName": "Various towns and cities", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "chilean-lake-district", + "ref": "sample-craft-beer-at-a-local-brewery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/chilean-lake-district_sample-craft-beer-at-a-local-brewery.jpg" + }, + { + "name": "Hike the Sentiero Azzurro", + "description": "Embark on a breathtaking coastal hike along the Sentiero Azzurro, connecting the five villages of Cinque Terre. Enjoy panoramic views of the Ligurian Sea, terraced vineyards, and charming villages. Choose from various trail sections, catering to different fitness levels, and immerse yourself in the beauty of the Italian Riviera.", + "locationName": "Cinque Terre National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "hike-the-sentiero-azzurro", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_hike-the-sentiero-azzurro.jpg" + }, + { + "name": "Explore the Village of Vernazza", + "description": "Wander through the charming village of Vernazza, with its colorful houses, narrow streets, and picturesque harbor. Visit the Doria Castle for stunning views, relax on the beach, or enjoy a delicious seafood meal at a local trattoria.", + "locationName": "Vernazza", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "explore-the-village-of-vernazza", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_explore-the-village-of-vernazza.jpg" + }, + { + "name": "Take a Boat Tour", + "description": "Experience the beauty of Cinque Terre from a different perspective with a boat tour. Admire the villages from the sea, explore hidden coves, and swim in crystal-clear waters. Choose from various tour options, including sunset cruises and private boat rentals.", + "locationName": "Cinque Terre coastline", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cinque-terre", + "ref": "take-a-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_take-a-boat-tour.jpg" + }, + { + "name": "Indulge in Local Cuisine", + "description": "Savor the flavors of Ligurian cuisine at one of the many restaurants or trattorias in Cinque Terre. Try fresh seafood dishes, pesto pasta, focaccia bread, and local wines. Don't miss the chance to enjoy a gelato while strolling through the villages.", + "locationName": "Various restaurants and trattorias", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "cinque-terre", + "ref": "indulge-in-local-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_indulge-in-local-cuisine.jpg" + }, + { + "name": "Visit the Cinque Terre Vineyards", + "description": "Discover the local winemaking traditions of Cinque Terre with a visit to a vineyard. Learn about the unique grape varieties grown on the terraced hillsides and enjoy a wine tasting with stunning views of the coastline. Some vineyards also offer tours and food pairings.", + "locationName": "Cinque Terre vineyards", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "cinque-terre", + "ref": "visit-the-cinque-terre-vineyards", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_visit-the-cinque-terre-vineyards.jpg" + }, + { + "name": "Kayaking in the Cinque Terre Marine Protected Area", + "description": "Embark on a sea kayaking adventure to explore the hidden coves, grottos, and marine life of the Cinque Terre Marine Protected Area. Paddle through crystal-clear waters, witness diverse ecosystems, and enjoy breathtaking views of the coastline from a unique perspective.", + "locationName": "Cinque Terre Marine Protected Area", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "cinque-terre", + "ref": "kayaking-in-the-cinque-terre-marine-protected-area", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_kayaking-in-the-cinque-terre-marine-protected-area.jpg" + }, + { + "name": "Swimming and Sunbathing at Monterosso Beach", + "description": "Relax and soak up the sun at Monterosso Beach, the largest and sandiest beach in Cinque Terre. Enjoy a refreshing swim in the turquoise waters, build sandcastles with the kids, or simply unwind on a beach chair with a good book.", + "locationName": "Monterosso Beach", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "swimming-and-sunbathing-at-monterosso-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_swimming-and-sunbathing-at-monterosso-beach.jpg" + }, + { + "name": "Sunset Watching at Manarola", + "description": "Experience the magic of a Cinque Terre sunset from the charming village of Manarola. Find a scenic spot on the rocks or at a waterfront café and watch the sky transform into a canvas of vibrant colors as the sun dips below the horizon.", + "locationName": "Manarola", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "cinque-terre", + "ref": "sunset-watching-at-manarola", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_sunset-watching-at-manarola.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Delve into the culinary traditions of Liguria with a hands-on cooking class. Learn to prepare regional specialties like pesto, focaccia, and fresh seafood dishes under the guidance of a local chef. Savor the fruits of your labor with a delicious meal and newfound culinary skills.", + "locationName": "Various locations in Cinque Terre", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "cinque-terre", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_take-a-cooking-class.jpg" + }, + { + "name": "Explore the Castle of Riomaggiore", + "description": "Step back in time with a visit to the historic Castle of Riomaggiore. Explore the ruins of this 13th-century fortress, learn about its role in protecting the village from pirates, and enjoy panoramic views of the coastline and surrounding hills.", + "locationName": "Riomaggiore", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "explore-the-castle-of-riomaggiore", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_explore-the-castle-of-riomaggiore.jpg" + }, + { + "name": "Cliff Jumping at Manarola", + "description": "For the adventurous souls, take a thrilling leap from the rocky cliffs into the crystal-clear waters of the Ligurian Sea. Manarola offers several jumping points with varying heights, providing an adrenaline rush and breathtaking views.", + "locationName": "Manarola", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "cinque-terre", + "ref": "cliff-jumping-at-manarola", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_cliff-jumping-at-manarola.jpg" + }, + { + "name": "Explore the Sanctuary of Nostra Signora di Montenero", + "description": "Embark on a spiritual and scenic journey to the Sanctuary of Nostra Signora di Montenero, perched high above Riomaggiore. Enjoy panoramic views of the coastline and surrounding villages while experiencing the tranquility of this religious site.", + "locationName": "Riomaggiore", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "explore-the-sanctuary-of-nostra-signora-di-montenero", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_explore-the-sanctuary-of-nostra-signora-di-montenero.jpg" + }, + { + "name": "Go on a Pesto Making Workshop", + "description": "Delve into the culinary traditions of Liguria with a hands-on pesto making workshop. Learn the secrets of preparing this iconic sauce using fresh, local ingredients, and savor the fruits of your labor with a delicious pasta dish.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "cinque-terre", + "ref": "go-on-a-pesto-making-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_go-on-a-pesto-making-workshop.jpg" + }, + { + "name": "Take a Day Trip to Portovenere", + "description": "Venture beyond the Cinque Terre and explore the charming coastal town of Portovenere. Discover its historic Church of St. Peter, Doria Castle, and Byron's Grotto, and enjoy a leisurely stroll along the picturesque harbor.", + "locationName": "Portovenere", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "cinque-terre", + "ref": "take-a-day-trip-to-portovenere", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_take-a-day-trip-to-portovenere.jpg" + }, + { + "name": "Relax with a Beachside Yoga Session", + "description": "Unwind and reconnect with nature through a rejuvenating yoga session on the beach. Several studios and instructors offer classes with stunning views of the Mediterranean Sea, providing a perfect blend of relaxation and exercise.", + "locationName": "Monterosso al Mare", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "relax-with-a-beachside-yoga-session", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_relax-with-a-beachside-yoga-session.jpg" + }, + { + "name": "Scuba Dive the Cinque Terre Coast", + "description": "Embark on an underwater adventure and discover the vibrant marine life of the Cinque Terre National Park. Explore hidden coves, underwater rock formations, and a diverse ecosystem teeming with colorful fish, octopus, and even dolphins. Several dive centers in the area cater to all levels, from beginners to experienced divers, offering guided dives and PADI certification courses.", + "locationName": "Cinque Terre National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "cinque-terre", + "ref": "scuba-dive-the-cinque-terre-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_scuba-dive-the-cinque-terre-coast.jpg" + }, + { + "name": "Take a Romantic Train Ride", + "description": "Experience the charm of the Cinque Terre by train, enjoying breathtaking coastal views from the comfort of your seat. The train connects all five villages, offering a convenient and scenic way to hop between towns. Share a bottle of local wine as you watch the sun set over the Mediterranean Sea, creating a truly unforgettable moment.", + "locationName": "Cinque Terre Train Line", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "take-a-romantic-train-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_take-a-romantic-train-ride.jpg" + }, + { + "name": "Enjoy a Traditional Ligurian Dinner", + "description": "Immerse yourself in the local culture with an authentic Ligurian dinner at a family-run trattoria. Savor fresh seafood dishes like trofie al pesto, a regional pasta specialty, or Ligurian fish stew. Pair your meal with a glass of Cinque Terre DOC wine for a true taste of the region's culinary delights.", + "locationName": "Local Trattorias in Cinque Terre Villages", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "cinque-terre", + "ref": "enjoy-a-traditional-ligurian-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_enjoy-a-traditional-ligurian-dinner.jpg" + }, + { + "name": "Go Stargazing", + "description": "Escape the village lights and venture to a secluded spot along the coast for a magical stargazing experience. The lack of light pollution in the Cinque Terre offers stunning views of the night sky, allowing you to marvel at the constellations and the Milky Way. Pack a blanket, some snacks, and enjoy a romantic evening under the stars.", + "locationName": "Secluded spots along the Cinque Terre Coast", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "cinque-terre", + "ref": "go-stargazing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_go-stargazing.jpg" + }, + { + "name": "Attend a Local Festival", + "description": "Experience the vibrant cultural traditions of the Cinque Terre by attending one of the many local festivals held throughout the year. From religious celebrations like the Feast of San Lorenzo in Manarola to the Grape Harvest Festival in September, these events offer a glimpse into the region's rich heritage and provide a chance to mingle with locals.", + "locationName": "Various locations throughout Cinque Terre", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "cinque-terre", + "ref": "attend-a-local-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/cinque-terre_attend-a-local-festival.jpg" + }, + { + "name": "Explore the Walled City of Cartagena", + "description": "Step back in time and wander through the enchanting streets of Cartagena's historic Walled City, a UNESCO World Heritage Site. Admire the colorful colonial architecture, visit ancient forts and plazas, and soak up the vibrant atmosphere. Explore the Palace of the Inquisition, shop for local handicrafts at Las Bóvedas, and enjoy a romantic horse-drawn carriage ride at sunset.", + "locationName": "Cartagena", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "colombia", + "ref": "explore-the-walled-city-of-cartagena", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_explore-the-walled-city-of-cartagena.jpg" + }, + { + "name": "Hike in the Cocora Valley", + "description": "Embark on a breathtaking hike through the Cocora Valley, home to the world's tallest palm trees. Marvel at the towering wax palms that reach up to 60 meters tall, surrounded by lush cloud forests and rolling hills. Keep an eye out for unique wildlife, including the Andean condor, and enjoy a picnic lunch amidst the stunning scenery. This hike is suitable for various fitness levels, with options for shorter or longer trails.", + "locationName": "Cocora Valley", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "colombia", + "ref": "hike-in-the-cocora-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_hike-in-the-cocora-valley.jpg" + }, + { + "name": "Discover the Coffee Region", + "description": "Immerse yourself in the world of Colombian coffee with a visit to the Coffee Triangle. Take a tour of a coffee farm, learn about the bean-to-cup process, and participate in a coffee tasting experience. Enjoy the scenic landscapes of rolling hills covered in coffee plantations, and visit charming towns like Salento and Filandia. Learn about the cultural heritage of the region and the importance of coffee to the Colombian economy.", + "locationName": "Coffee Triangle", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "colombia", + "ref": "discover-the-coffee-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_discover-the-coffee-region.jpg" + }, + { + "name": "Experience Medellín's Nightlife", + "description": "Dance the night away in Medellín, known for its vibrant nightlife and energetic atmosphere. Explore the trendy El Poblado neighborhood, where you'll find a variety of bars, clubs, and live music venues. Enjoy salsa dancing, reggaeton beats, or electronic music, and experience the warmth and hospitality of the Paisa people. Don't miss the chance to try Aguardiente, the national liquor of Colombia.", + "locationName": "Medellín", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "colombia", + "ref": "experience-medell-n-s-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_experience-medell-n-s-nightlife.jpg" + }, + { + "name": "Visit the Gold Museum in Bogotá", + "description": "Delve into Colombia's rich history and cultural heritage at the Gold Museum in Bogotá. Discover the largest collection of pre-Columbian gold artifacts in the world, showcasing the craftsmanship and artistry of indigenous cultures. Learn about the symbolism and significance of gold in these societies, and admire the intricate designs and exquisite pieces on display. The museum also offers exhibits on other materials, such as ceramics and textiles, providing a comprehensive overview of Colombian history.", + "locationName": "Bogotá", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "colombia", + "ref": "visit-the-gold-museum-in-bogot-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_visit-the-gold-museum-in-bogot-.jpg" + }, + { + "name": "Sail the Rosario Islands", + "description": "Embark on a boat trip from Cartagena to the Rosario Islands, a stunning archipelago in the Caribbean Sea. Relax on pristine white-sand beaches, snorkel amidst vibrant coral reefs, and enjoy fresh seafood lunches on secluded islands. This is a perfect escape for a day of sun, sea, and serenity.", + "locationName": "Rosario Islands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "colombia", + "ref": "sail-the-rosario-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_sail-the-rosario-islands.jpg" + }, + { + "name": "Go Whale Watching in the Pacific", + "description": "Witness the awe-inspiring spectacle of humpback whales migrating along the Pacific coast of Colombia. Between June and October, these majestic creatures visit the warm waters to breed and give birth. Join a responsible whale watching tour from Nuquí or Bahía Solano for an unforgettable wildlife encounter.", + "locationName": "Nuquí or Bahía Solano", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "colombia", + "ref": "go-whale-watching-in-the-pacific", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_go-whale-watching-in-the-pacific.jpg" + }, + { + "name": "Explore the Lost City (Ciudad Perdida)", + "description": "Embark on a challenging but rewarding multi-day trek through the jungle to reach the Lost City, an ancient archaeological site built by the Tayrona civilization centuries ago. This adventure involves hiking through diverse ecosystems, crossing rivers, and immersing yourself in the natural beauty and cultural history of the region.", + "locationName": "Sierra Nevada de Santa Marta", + "duration": 48, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "colombia", + "ref": "explore-the-lost-city-ciudad-perdida-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_explore-the-lost-city-ciudad-perdida-.jpg" + }, + { + "name": "Learn to Salsa Dance in Cali", + "description": "Cali, known as the 'Salsa Capital of the World,' is the perfect place to immerse yourself in the vibrant dance culture. Take salsa lessons, join a dance social, or watch professionals showcase their skills at a local club. Whether you're a beginner or an experienced dancer, Cali's infectious energy will have you moving to the rhythm.", + "locationName": "Cali", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "colombia", + "ref": "learn-to-salsa-dance-in-cali", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_learn-to-salsa-dance-in-cali.jpg" + }, + { + "name": "Whitewater Rafting on the Rio Suarez", + "description": "Experience an adrenaline-pumping adventure with a whitewater rafting trip on the Rio Suarez, one of Colombia's most renowned rivers for rafting. Navigate through thrilling rapids surrounded by stunning canyon scenery. This activity is perfect for adventure seekers and nature lovers.", + "locationName": "Rio Suarez", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "colombia", + "ref": "whitewater-rafting-on-the-rio-suarez", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_whitewater-rafting-on-the-rio-suarez.jpg" + }, + { + "name": "Birdwatching in the Amazon Rainforest", + "description": "Embark on an unforgettable journey into the heart of the Amazon Rainforest, a paradise for birdwatchers. With over 1,800 species of birds, including vibrant toucans, majestic harpy eagles, and colorful macaws, you'll be mesmerized by the diversity and beauty of avian life. Join a guided tour with expert naturalists who will lead you through the lush jungle, pointing out hidden birds and sharing their knowledge about the ecosystem.", + "locationName": "Amazon Rainforest", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "colombia", + "ref": "birdwatching-in-the-amazon-rainforest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_birdwatching-in-the-amazon-rainforest.jpg" + }, + { + "name": "Scuba Diving in San Andrés and Providencia", + "description": "Dive into the crystal-clear waters of the Caribbean Sea and discover a vibrant underwater world surrounding the islands of San Andrés and Providencia. Explore colorful coral reefs teeming with marine life, swim alongside tropical fish, and encounter majestic sea turtles. Whether you're a seasoned diver or a beginner, there are dive sites suitable for all levels of experience.", + "locationName": "San Andrés and Providencia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "colombia", + "ref": "scuba-diving-in-san-andr-s-and-providencia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_scuba-diving-in-san-andr-s-and-providencia.jpg" + }, + { + "name": "Explore the Tatacoa Desert", + "description": "Venture into the otherworldly landscape of the Tatacoa Desert, a unique and awe-inspiring destination in Colombia. Hike through canyons and valleys carved by erosion, marvel at the red and grey rock formations, and visit the observatory for stargazing opportunities under the clear desert sky. The Tatacoa Desert offers a stark contrast to the lush landscapes found elsewhere in Colombia, making it a truly unforgettable experience.", + "locationName": "Tatacoa Desert", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "colombia", + "ref": "explore-the-tatacoa-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_explore-the-tatacoa-desert.jpg" + }, + { + "name": "Visit Guatapé and El Peñol", + "description": "Escape the city and take a day trip to the charming town of Guatapé and the iconic El Peñol rock. Climb the 740 steps to the top of El Peñol for breathtaking panoramic views of the surrounding lakes and islands. Afterward, explore the colorful streets of Guatapé, admire the vibrant houses with their unique zocalos (baseboards), and enjoy a relaxing boat ride on the reservoir.", + "locationName": "Guatapé and El Peñol", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "colombia", + "ref": "visit-guatap-and-el-pe-ol", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_visit-guatap-and-el-pe-ol.jpg" + }, + { + "name": "Relax in the Hot Springs of Santa Rosa de Cabal", + "description": "Indulge in a rejuvenating experience at the natural hot springs of Santa Rosa de Cabal. Immerse yourself in the therapeutic mineral-rich waters, surrounded by lush greenery and breathtaking mountain scenery. Several spa resorts in the area offer a variety of treatments and massages, providing the ultimate relaxation and wellness retreat.", + "locationName": "Santa Rosa de Cabal", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "colombia", + "ref": "relax-in-the-hot-springs-of-santa-rosa-de-cabal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_relax-in-the-hot-springs-of-santa-rosa-de-cabal.jpg" + }, + { + "name": "Paragliding over Medellín", + "description": "Soar above the sprawling cityscape of Medellín and the surrounding Aburrá Valley on a thrilling paragliding adventure. Experience breathtaking panoramic views of the mountains, lush greenery, and the urban landscape below. This activity offers a unique perspective of the city and an adrenaline rush for adventure seekers.", + "locationName": "Medellín", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "colombia", + "ref": "paragliding-over-medell-n", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_paragliding-over-medell-n.jpg" + }, + { + "name": "Explore the Amazon Rainforest", + "description": "Embark on a multi-day expedition into the depths of the Amazon Rainforest, the world's largest tropical rainforest. Discover the incredible biodiversity of the region, including exotic plants, animals, and indigenous communities. Go on jungle treks, boat rides along the Amazon River, and experience the magic of this unique ecosystem.", + "locationName": "Amazon Rainforest", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "colombia", + "ref": "explore-the-amazon-rainforest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_explore-the-amazon-rainforest.jpg" + }, + { + "name": "Visit the Salt Cathedral of Zipaquirá", + "description": "Descend into the depths of a former salt mine and marvel at the architectural wonder of the Salt Cathedral of Zipaquirá. Explore the subterranean tunnels and chambers adorned with intricate salt sculptures and religious iconography. This unique underground cathedral is a testament to human ingenuity and a must-see cultural attraction.", + "locationName": "Zipaquirá", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "colombia", + "ref": "visit-the-salt-cathedral-of-zipaquir-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_visit-the-salt-cathedral-of-zipaquir-.jpg" + }, + { + "name": "Learn to Play Tejo", + "description": "Immerse yourself in Colombian culture by learning to play Tejo, the country's national sport. This traditional game involves throwing metal discs at gunpowder targets, creating small explosions upon impact. Join locals at a Tejo court and experience the friendly competition and festive atmosphere.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "colombia", + "ref": "learn-to-play-tejo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_learn-to-play-tejo.jpg" + }, + { + "name": "Take a Street Food Tour", + "description": "Embark on a culinary adventure through the streets of Colombia's cities and towns. Sample a variety of local delicacies, from empanadas and arepas to exotic fruits and traditional desserts. Learn about the cultural significance of different dishes and experience the vibrant street food scene.", + "locationName": "Various cities and towns", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "colombia", + "ref": "take-a-street-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/colombia_take-a-street-food-tour.jpg" + }, + { + "name": "Hike the GR20 Trail", + "description": "Embark on an epic adventure through Corsica's rugged interior on the renowned GR20 trail. This challenging long-distance hike offers breathtaking views of towering mountains, pristine lakes, and dense forests. Suitable for experienced hikers, the trail is divided into stages, allowing you to customize your itinerary based on your fitness level and time constraints.", + "locationName": "GR20 Trail", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "corsica", + "ref": "hike-the-gr20-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_hike-the-gr20-trail.jpg" + }, + { + "name": "Relax on Palombaggia Beach", + "description": "Unwind on the soft sands of Palombaggia Beach, renowned for its turquoise waters, powdery sand, and stunning views of the Cerbicale Islands. Soak up the Mediterranean sun, swim in the crystal-clear sea, or indulge in water sports such as kayaking and paddleboarding. The beach offers a range of amenities, including beach bars, restaurants, and equipment rentals, ensuring a comfortable and enjoyable experience.", + "locationName": "Palombaggia Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "corsica", + "ref": "relax-on-palombaggia-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_relax-on-palombaggia-beach.jpg" + }, + { + "name": "Explore the Citadel of Bonifacio", + "description": "Step back in time at the historic Citadel of Bonifacio, perched dramatically on white limestone cliffs overlooking the Mediterranean Sea. Wander through the narrow streets, admire the medieval architecture, and visit the Bastion de l'Etendard for panoramic views. Delve into the citadel's rich history at the Bonifacio History Museum, or simply soak up the atmosphere at a charming cafe.", + "locationName": "Citadel of Bonifacio", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "corsica", + "ref": "explore-the-citadel-of-bonifacio", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_explore-the-citadel-of-bonifacio.jpg" + }, + { + "name": "Discover the Scandola Nature Reserve", + "description": "Embark on a boat tour to the Scandola Nature Reserve, a UNESCO World Heritage Site renowned for its dramatic red cliffs, hidden coves, and diverse marine life. Observe rare seabirds, such as the osprey and the Corsican shearwater, and keep an eye out for dolphins playing in the waves. Snorkeling and diving enthusiasts can explore the underwater world, teeming with colorful fish and vibrant coral reefs.", + "locationName": "Scandola Nature Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "corsica", + "ref": "discover-the-scandola-nature-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_discover-the-scandola-nature-reserve.jpg" + }, + { + "name": "Indulge in Corsican Cuisine", + "description": "Savor the unique flavors of Corsican cuisine, influenced by French and Italian traditions. Sample local specialties such as wild boar stew, chestnut polenta, and brocciu cheese. Pair your meal with a glass of Corsican wine, known for its bold and distinctive character. For a truly immersive experience, visit a traditional agriturismo, where you can enjoy farm-to-table dining amidst the island's scenic landscapes.", + "locationName": "Various restaurants and agriturismos", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "corsica", + "ref": "indulge-in-corsican-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_indulge-in-corsican-cuisine.jpg" + }, + { + "name": "Go Canyoning in the Bavella Needles", + "description": "Embark on an exhilarating canyoning adventure amidst the stunning Bavella Needles. Rappel down waterfalls, slide through natural rock formations, and swim in crystal-clear pools. This activity is perfect for thrill-seekers and nature lovers.", + "locationName": "Bavella Needles", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "corsica", + "ref": "go-canyoning-in-the-bavella-needles", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_go-canyoning-in-the-bavella-needles.jpg" + }, + { + "name": "Sail Along the Coast", + "description": "Experience the beauty of Corsica's coastline from a different perspective with a sailing excursion. Cruise along the turquoise waters, visit hidden coves and beaches, and enjoy breathtaking views of the island's rugged cliffs and charming villages.", + "locationName": "Corsican Coast", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "corsica", + "ref": "sail-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_sail-along-the-coast.jpg" + }, + { + "name": "Discover Prehistoric Sites", + "description": "Step back in time and explore Corsica's rich history by visiting its fascinating prehistoric sites. Discover ancient megaliths, menhirs, and dolmens, and learn about the island's early inhabitants.", + "locationName": "Filitosa or Filitosa", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "corsica", + "ref": "discover-prehistoric-sites", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_discover-prehistoric-sites.jpg" + }, + { + "name": "Sample Local Wines", + "description": "Indulge in the flavors of Corsica with a wine tasting tour. Visit local vineyards, learn about the island's unique grape varieties, and savor delicious Corsican wines.", + "locationName": "Patrimonio or Ajaccio regions", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "corsica", + "ref": "sample-local-wines", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_sample-local-wines.jpg" + }, + { + "name": "Kayak in the Lavezzi Islands", + "description": "Explore the stunning Lavezzi Islands by kayak. Paddle through crystal-clear waters, discover hidden coves, and enjoy the tranquility of this protected nature reserve.", + "locationName": "Lavezzi Islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "corsica", + "ref": "kayak-in-the-lavezzi-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_kayak-in-the-lavezzi-islands.jpg" + }, + { + "name": "Horseback Riding in the Corsican Mountains", + "description": "Embark on a scenic horseback riding adventure through the rugged mountains of Corsica. Traverse ancient trails, breathe in the fresh mountain air, and soak in panoramic views of the island's breathtaking landscapes. This experience is perfect for nature lovers and adventure seekers looking for a unique way to explore the island's interior.", + "locationName": "Corsican Mountains", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "corsica", + "ref": "horseback-riding-in-the-corsican-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_horseback-riding-in-the-corsican-mountains.jpg" + }, + { + "name": "Stargazing in the Remote Villages", + "description": "Escape the city lights and venture into the remote villages of Corsica for an unforgettable stargazing experience. With minimal light pollution, the island's night sky comes alive with a dazzling display of stars and constellations. Join a local astronomy tour or simply find a secluded spot to marvel at the celestial wonders above.", + "locationName": "Remote villages", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "corsica", + "ref": "stargazing-in-the-remote-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_stargazing-in-the-remote-villages.jpg" + }, + { + "name": "Explore the Calanques de Piana by Boat", + "description": "Discover the stunning Calanques de Piana, a series of dramatic red granite cliffs and hidden coves, on a scenic boat tour. Cruise along the turquoise waters, marvel at the towering rock formations, and explore secluded beaches accessible only by water. This is a perfect way to experience the coastal beauty of Corsica from a unique perspective.", + "locationName": "Calanques de Piana", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "corsica", + "ref": "explore-the-calanques-de-piana-by-boat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_explore-the-calanques-de-piana-by-boat.jpg" + }, + { + "name": "Visit the Filitosa Archaeological Site", + "description": "Step back in time at the Filitosa archaeological site, home to mysterious prehistoric statues and megalithic structures dating back thousands of years. Explore the ancient settlements, learn about Corsica's rich history, and marvel at the enigmatic figures carved by early inhabitants of the island.", + "locationName": "Filitosa", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "corsica", + "ref": "visit-the-filitosa-archaeological-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_visit-the-filitosa-archaeological-site.jpg" + }, + { + "name": "Attend a Polyphonic Singing Concert", + "description": "Immerse yourself in Corsican culture by attending a traditional polyphonic singing concert. Experience the unique vocal harmonies of this ancient singing style, passed down through generations. These captivating performances offer a glimpse into the island's rich heritage and musical traditions.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "corsica", + "ref": "attend-a-polyphonic-singing-concert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_attend-a-polyphonic-singing-concert.jpg" + }, + { + "name": "Scuba Diving in the Cerbicales Islands", + "description": "Embark on an underwater adventure to the Cerbicales Islands, a protected marine reserve off the southern coast of Corsica. Discover a vibrant world of colorful fish, coral reefs, and ancient shipwrecks, making it a paradise for both beginner and experienced divers.", + "locationName": "Cerbicales Islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "corsica", + "ref": "scuba-diving-in-the-cerbicales-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_scuba-diving-in-the-cerbicales-islands.jpg" + }, + { + "name": "Mountain Biking Through the Desert des Agriates", + "description": "Experience the rugged beauty of the Desert des Agriates on a thrilling mountain bike adventure. Navigate through rocky trails, sandy paths, and hidden coves, enjoying breathtaking views of the coastline and the Mediterranean Sea.", + "locationName": "Desert des Agriates", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "corsica", + "ref": "mountain-biking-through-the-desert-des-agriates", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_mountain-biking-through-the-desert-des-agriates.jpg" + }, + { + "name": "Wine Tasting Tour in Patrimonio", + "description": "Indulge in the rich flavors of Corsican wines with a delightful wine tasting tour in the Patrimonio region. Visit charming vineyards, meet passionate winemakers, and savor a variety of local grape varietals, accompanied by stunning vineyard landscapes.", + "locationName": "Patrimonio", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "corsica", + "ref": "wine-tasting-tour-in-patrimonio", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_wine-tasting-tour-in-patrimonio.jpg" + }, + { + "name": "Explore the Cap Corse by Car", + "description": "Embark on a scenic road trip along the Cap Corse, the northernmost peninsula of Corsica. Discover picturesque villages, Genoese towers, hidden beaches, and breathtaking coastal views, stopping at charming cafes and local shops along the way.", + "locationName": "Cap Corse", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "corsica", + "ref": "explore-the-cap-corse-by-car", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_explore-the-cap-corse-by-car.jpg" + }, + { + "name": "Visit the Ajaccio Market", + "description": "Immerse yourself in the vibrant atmosphere of the Ajaccio Market, a bustling hub of local life. Explore stalls overflowing with fresh produce, artisan cheeses, cured meats, and handcrafted souvenirs, experiencing the authentic flavors and culture of Corsica.", + "locationName": "Ajaccio", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "corsica", + "ref": "visit-the-ajaccio-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/corsica_visit-the-ajaccio-market.jpg" + }, + { + "name": "Corcovado National Park Hike", + "description": "Embark on a guided trek through the heart of Corcovado National Park, known as one of the most biodiverse places on Earth. Encounter an abundance of wildlife, including monkeys, sloths, tapirs, scarlet macaws, and perhaps even the elusive jaguar.", + "locationName": "Corcovado National Park", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "costa-rica", + "ref": "corcovado-national-park-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_corcovado-national-park-hike.jpg" + }, + { + "name": "Kayaking in Drake Bay", + "description": "Paddle through the calm waters of Drake Bay, surrounded by lush mangroves and rainforest-covered islands. Keep an eye out for dolphins, sea turtles, and a variety of colorful fish. This is a perfect activity for a relaxing afternoon immersed in nature.", + "locationName": "Drake Bay", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "costa-rica", + "ref": "kayaking-in-drake-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_kayaking-in-drake-bay.jpg" + }, + { + "name": "Nighttime Wildlife Tour", + "description": "Venture into the rainforest at night, when nocturnal creatures come alive. With the help of a guide and a flashlight, spot fascinating animals like kinkajous, olingos, frogs, and owls. This unique experience offers a glimpse into the hidden world of the jungle after dark.", + "locationName": "Various locations throughout the peninsula", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "costa-rica", + "ref": "nighttime-wildlife-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_nighttime-wildlife-tour.jpg" + }, + { + "name": "Surfing at Matapalo", + "description": "Catch some waves at Matapalo, a secluded beach known for its consistent surf breaks. Whether you're a beginner or an experienced surfer, you'll find suitable waves to enjoy the thrill of riding the Pacific Ocean.", + "locationName": "Matapalo Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "costa-rica", + "ref": "surfing-at-matapalo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_surfing-at-matapalo.jpg" + }, + { + "name": "Birdwatching Excursion", + "description": "Join a guided birdwatching tour to discover the incredible avian diversity of the Osa Peninsula. With over 450 bird species recorded in the area, you'll have the opportunity to see toucans, hummingbirds, parrots, and many other colorful and exotic birds.", + "locationName": "Various locations throughout the peninsula", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "costa-rica", + "ref": "birdwatching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_birdwatching-excursion.jpg" + }, + { + "name": "Horseback Riding Adventure", + "description": "Embark on a scenic horseback riding tour through the lush rainforests and pristine beaches of the Osa Peninsula. Traverse jungle trails, ford rivers, and discover hidden waterfalls, all while enjoying the company of these gentle creatures. This is a unique way to experience the beauty and tranquility of the Osa Peninsula.", + "locationName": "Various locations throughout the peninsula", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "costa-rica", + "ref": "horseback-riding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_horseback-riding-adventure.jpg" + }, + { + "name": "Dolphin and Whale Watching Tour", + "description": "Set sail on a thrilling boat tour in search of majestic marine life. The Osa Peninsula's waters are home to dolphins, whales, and other fascinating creatures. Watch in awe as they breach and play in their natural habitat, creating unforgettable memories.", + "locationName": "Drake Bay or Golfo Dulce", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "costa-rica", + "ref": "dolphin-and-whale-watching-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_dolphin-and-whale-watching-tour.jpg" + }, + { + "name": "Scuba Diving or Snorkeling in Caño Island Biological Reserve", + "description": "Explore the vibrant underwater world of Caño Island Biological Reserve, a renowned diving and snorkeling destination. Discover colorful coral reefs teeming with tropical fish, sea turtles, and other marine life. Whether you're a seasoned diver or a beginner snorkeler, this is an experience not to be missed.", + "locationName": "Caño Island Biological Reserve", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "costa-rica", + "ref": "scuba-diving-or-snorkeling-in-ca-o-island-biological-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_scuba-diving-or-snorkeling-in-ca-o-island-biological-reserve.jpg" + }, + { + "name": "Indigenous Cultural Experience", + "description": "Immerse yourself in the rich culture and traditions of the indigenous communities that call the Osa Peninsula home. Visit a local village, learn about their way of life, and participate in traditional activities such as handicraft making or cooking classes. This is a meaningful way to connect with the local people and gain a deeper understanding of their heritage.", + "locationName": "Indigenous villages within the peninsula", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "costa-rica", + "ref": "indigenous-cultural-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_indigenous-cultural-experience.jpg" + }, + { + "name": "Sunset Cruise with Bioluminescence", + "description": "Embark on a magical sunset cruise along the coast of the Osa Peninsula. As the sun dips below the horizon, witness the breathtaking colors of the sky and the ocean. As darkness falls, be amazed by the bioluminescent plankton illuminating the water with their ethereal glow. This is a truly unforgettable experience.", + "locationName": "Drake Bay or Golfo Dulce", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "costa-rica", + "ref": "sunset-cruise-with-bioluminescence", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_sunset-cruise-with-bioluminescence.jpg" + }, + { + "name": "Mangrove Kayaking Tour", + "description": "Explore the intricate network of mangrove forests in the Sierpe River wetlands by kayak. Glide through the calm waters, observe the fascinating ecosystem, and encounter various bird species, reptiles, and even crocodiles in their natural habitat.", + "locationName": "Sierpe River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "costa-rica", + "ref": "mangrove-kayaking-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_mangrove-kayaking-tour.jpg" + }, + { + "name": "Waterfall Hike and Swim", + "description": "Embark on a refreshing hike through the rainforest to discover hidden waterfalls cascading into crystal-clear pools. Take a dip in the cool water, surrounded by lush vegetation and the sounds of nature.", + "locationName": "Various locations throughout the Osa Peninsula", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "costa-rica", + "ref": "waterfall-hike-and-swim", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_waterfall-hike-and-swim.jpg" + }, + { + "name": "Night Walk in the Rainforest", + "description": "Experience the magic of the rainforest after dark with a guided night walk. Witness the nocturnal creatures come alive, listen to the symphony of insects, and marvel at the bioluminescent fungi that illuminate the forest floor.", + "locationName": "Various locations throughout the Osa Peninsula", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "costa-rica", + "ref": "night-walk-in-the-rainforest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_night-walk-in-the-rainforest.jpg" + }, + { + "name": "Sustainable Chocolate Farm Tour", + "description": "Delve into the world of chocolate making with a visit to a sustainable cacao farm. Learn about the bean-to-bar process, from harvesting to production, and indulge in delicious chocolate tastings.", + "locationName": "Various locations throughout the Osa Peninsula", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "costa-rica", + "ref": "sustainable-chocolate-farm-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_sustainable-chocolate-farm-tour.jpg" + }, + { + "name": "Relaxation at a Jungle Spa", + "description": "Unwind and rejuvenate with a spa treatment amidst the tranquility of the rainforest. Choose from a variety of massages, body wraps, and other wellness therapies inspired by local ingredients and traditions.", + "locationName": "Various eco-lodges and resorts", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "costa-rica", + "ref": "relaxation-at-a-jungle-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_relaxation-at-a-jungle-spa.jpg" + }, + { + "name": "Sport Fishing Adventure", + "description": "Embark on an exhilarating sport fishing expedition in the Pacific Ocean waters surrounding the Osa Peninsula. Experienced local guides will lead you to the best fishing spots, where you can try your hand at catching marlin, sailfish, tuna, and other prized game fish. Whether you're a seasoned angler or a beginner, this adventure promises excitement and the chance to reel in a trophy catch.", + "locationName": "Pacific Ocean", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "costa-rica", + "ref": "sport-fishing-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_sport-fishing-adventure.jpg" + }, + { + "name": "Canopy Zipline Tour", + "description": "Soar through the rainforest canopy on an exhilarating zipline adventure. Experience the thrill of flying between platforms high above the jungle floor, enjoying breathtaking views of the surrounding landscape. This activity offers a unique perspective of the Osa Peninsula's biodiversity and is perfect for adrenaline seekers.", + "locationName": "Rainforest canopy", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "costa-rica", + "ref": "canopy-zipline-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_canopy-zipline-tour.jpg" + }, + { + "name": "Stargazing Experience", + "description": "Escape the city lights and immerse yourself in the wonders of the night sky. Join a guided stargazing tour led by an expert astronomer who will unveil the secrets of the cosmos. Learn about constellations, planets, and galaxies while marveling at the brilliance of the Milky Way.", + "locationName": "Remote location away from light pollution", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "costa-rica", + "ref": "stargazing-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_stargazing-experience.jpg" + }, + { + "name": "Culinary Journey: Traditional Costa Rican Cooking Class", + "description": "Delve into the vibrant flavors of Costa Rican cuisine by participating in a hands-on cooking class. Learn the secrets of preparing authentic dishes like gallo pinto, casado, and ceviche under the guidance of a local chef. This immersive experience will tantalize your taste buds and provide you with culinary skills to recreate these delicious recipes back home.", + "locationName": "Local cooking school or restaurant", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "costa-rica", + "ref": "culinary-journey-traditional-costa-rican-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_culinary-journey-traditional-costa-rican-cooking-class.jpg" + }, + { + "name": "Off-Road ATV Excursion", + "description": "Embark on an adrenaline-pumping off-road adventure through the rugged terrain of the Osa Peninsula. Navigate muddy trails, cross rivers, and conquer challenging hills on a thrilling ATV ride. This exhilarating experience will take you deep into the jungle, offering a unique perspective of the peninsula's diverse landscapes.", + "locationName": "Off-road trails", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "costa-rica", + "ref": "off-road-atv-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/costa-rica_off-road-atv-excursion.jpg" + }, + { + "name": "Ascend the Burj Khalifa", + "description": "Experience breathtaking panoramic views of Dubai's skyline from the observation deck of the Burj Khalifa, the world's tallest building. Marvel at the city's iconic landmarks, including the Palm Jumeirah and the Dubai Fountain, from a unique perspective.", + "locationName": "Burj Khalifa", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "dubai", + "ref": "ascend-the-burj-khalifa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_ascend-the-burj-khalifa.jpg" + }, + { + "name": "Explore the Dubai Mall", + "description": "Indulge in a shopping extravaganza at the Dubai Mall, one of the world's largest shopping destinations. Discover a vast array of luxury brands, high-street fashion, and unique boutiques, along with an indoor theme park, an ice rink, and a stunning aquarium.", + "locationName": "Dubai Mall", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubai", + "ref": "explore-the-dubai-mall", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_explore-the-dubai-mall.jpg" + }, + { + "name": "Embark on a Desert Safari", + "description": "Escape the city and venture into the golden sands of the Arabian Desert on an exhilarating desert safari. Experience dune bashing, sandboarding, camel riding, and a traditional Bedouin camp with cultural performances and a delicious barbecue dinner.", + "locationName": "Dubai Desert Conservation Reserve", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubai", + "ref": "embark-on-a-desert-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_embark-on-a-desert-safari.jpg" + }, + { + "name": "Discover the Dubai Fountain Show", + "description": "Witness the captivating spectacle of the Dubai Fountain Show, a mesmerizing display of water, music, and light. Set on the Burj Khalifa Lake, the fountain dances to a variety of melodies, creating a truly unforgettable experience.", + "locationName": "Burj Khalifa Lake", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "dubai", + "ref": "discover-the-dubai-fountain-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_discover-the-dubai-fountain-show.jpg" + }, + { + "name": "Visit the Jumeirah Mosque", + "description": "Immerse yourself in Islamic culture with a visit to the Jumeirah Mosque, a stunning example of modern Islamic architecture. Take a guided tour to learn about the mosque's history and significance, and admire its intricate details and serene atmosphere.", + "locationName": "Jumeirah Mosque", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubai", + "ref": "visit-the-jumeirah-mosque", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_visit-the-jumeirah-mosque.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Desert", + "description": "Experience the breathtaking beauty of the Dubai desert from a unique perspective with a hot air balloon ride. Ascend at sunrise for panoramic views of the golden dunes, watch falcons soar through the sky, and enjoy a sense of tranquility as you float above the landscape. This unforgettable experience is perfect for capturing stunning photos and creating lasting memories.", + "locationName": "Dubai Desert Conservation Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "dubai", + "ref": "hot-air-balloon-ride-over-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_hot-air-balloon-ride-over-the-desert.jpg" + }, + { + "name": "Explore the Al Fahidi Historical Neighbourhood", + "description": "Step back in time and immerse yourself in Dubai's rich history at the Al Fahidi Historical Neighbourhood. Wander through the narrow alleyways, admire the traditional wind towers, and visit the Dubai Museum to learn about the city's evolution. This cultural experience offers a glimpse into Dubai's past and provides a stark contrast to its modern skyscrapers.", + "locationName": "Al Fahidi Historical Neighbourhood", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubai", + "ref": "explore-the-al-fahidi-historical-neighbourhood", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_explore-the-al-fahidi-historical-neighbourhood.jpg" + }, + { + "name": "Indulge in a Relaxing Spa Day", + "description": "Escape the hustle and bustle of the city and rejuvenate your mind and body with a luxurious spa day. Dubai offers a wide range of world-class spas, each with unique treatments and amenities. Indulge in a traditional hammam experience, enjoy a massage, or simply unwind in a serene environment. This is the perfect way to de-stress and pamper yourself during your vacation.", + "locationName": "Various spas throughout Dubai", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "dubai", + "ref": "indulge-in-a-relaxing-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_indulge-in-a-relaxing-spa-day.jpg" + }, + { + "name": "Cruise along Dubai Creek on a Traditional Dhow", + "description": "Experience the charm of old Dubai with a traditional dhow cruise along Dubai Creek. Admire the city's skyline from the water, enjoy a delicious dinner on board, and soak up the vibrant atmosphere. This is a great way to see a different side of Dubai and learn about its maritime heritage.", + "locationName": "Dubai Creek", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubai", + "ref": "cruise-along-dubai-creek-on-a-traditional-dhow", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_cruise-along-dubai-creek-on-a-traditional-dhow.jpg" + }, + { + "name": "Visit the Dubai Miracle Garden", + "description": "Immerse yourself in a world of floral wonder at the Dubai Miracle Garden. Marvel at the intricate displays of millions of flowers, arranged in stunning sculptures and patterns. This unique attraction is a feast for the senses and a perfect spot for photography enthusiasts.", + "locationName": "Dubai Miracle Garden", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubai", + "ref": "visit-the-dubai-miracle-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_visit-the-dubai-miracle-garden.jpg" + }, + { + "name": "Kite Beach", + "description": "Soak up the sun and enjoy the vibrant atmosphere of Kite Beach. This popular spot offers stunning views of the Burj Al Arab and a wide range of activities such as swimming, sunbathing, kite surfing, and beach volleyball. The beach also features a variety of cafes and restaurants, making it the perfect place to spend a relaxing day by the sea.", + "locationName": "Kite Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubai", + "ref": "kite-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_kite-beach.jpg" + }, + { + "name": "Ski Dubai", + "description": "Experience the thrill of skiing and snowboarding in the heart of the desert at Ski Dubai, an indoor ski resort located within the Mall of the Emirates. With five slopes of varying difficulty, a snow park, and even penguin encounters, Ski Dubai offers a unique and unforgettable winter wonderland experience.", + "locationName": "Mall of the Emirates", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubai", + "ref": "ski-dubai", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_ski-dubai.jpg" + }, + { + "name": "Dubai Opera", + "description": "Immerse yourself in the world of performing arts at the iconic Dubai Opera. This architectural masterpiece hosts a diverse range of shows, including opera, ballet, theatre, and concerts. Enjoy a memorable evening of entertainment and culture in a truly stunning setting.", + "locationName": "Dubai Opera", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "dubai", + "ref": "dubai-opera", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_dubai-opera.jpg" + }, + { + "name": "IMG Worlds of Adventure", + "description": "Embark on an exhilarating adventure at IMG Worlds of Adventure, one of the largest indoor theme parks in the world. With four themed zones featuring rides, attractions, and experiences based on popular characters and franchises, IMG Worlds of Adventure offers endless fun for all ages.", + "locationName": "IMG Worlds of Adventure", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "dubai", + "ref": "img-worlds-of-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_img-worlds-of-adventure.jpg" + }, + { + "name": "Dubai Frame", + "description": "Capture breathtaking panoramic views of Dubai from the Dubai Frame, a unique architectural landmark that resembles a giant picture frame. Experience the contrast between Old and New Dubai as you gaze out at the city's iconic skyline and historic neighborhoods from a 150-meter-high sky deck.", + "locationName": "Zabeel Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubai", + "ref": "dubai-frame", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_dubai-frame.jpg" + }, + { + "name": "Jet Ski Adventure on the Arabian Gulf", + "description": "Experience the thrill of gliding across the turquoise waters of the Arabian Gulf on a jet ski. Feel the wind in your hair as you zoom past iconic landmarks like the Burj Al Arab and Palm Jumeirah. Whether you're a seasoned rider or a first-timer, this exhilarating adventure is sure to get your adrenaline pumping.", + "locationName": "Jumeirah Beach Residence (JBR) Beach", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "dubai", + "ref": "jet-ski-adventure-on-the-arabian-gulf", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_jet-ski-adventure-on-the-arabian-gulf.jpg" + }, + { + "name": "Immerse Yourself in Art and Culture at Alserkal Avenue", + "description": "Escape the glitz and glamour and delve into Dubai's thriving art scene at Alserkal Avenue. Explore contemporary art galleries showcasing works by local and international artists, attend thought-provoking exhibitions, and discover hidden gems in this vibrant cultural hub. With its trendy cafes and unique shops, Alserkal Avenue offers a refreshing and inspiring experience.", + "locationName": "Al Quoz Industrial Area", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubai", + "ref": "immerse-yourself-in-art-and-culture-at-alserkal-avenue", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_immerse-yourself-in-art-and-culture-at-alserkal-avenue.jpg" + }, + { + "name": "Savor Authentic Emirati Cuisine at Al Fanar Restaurant", + "description": "Embark on a culinary journey through Emirati heritage at Al Fanar Restaurant. Step into a traditional setting and indulge in authentic dishes like machboos, thereed, and luqaimat. With its warm hospitality and rich flavors, Al Fanar offers a cultural and gastronomic experience that will transport you to the heart of Emirati traditions.", + "locationName": "Al Seef", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubai", + "ref": "savor-authentic-emirati-cuisine-at-al-fanar-restaurant", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_savor-authentic-emirati-cuisine-at-al-fanar-restaurant.jpg" + }, + { + "name": "Witness the Magic of La Perle", + "description": "Prepare to be mesmerized by La Perle, a breathtaking aqua-based show that combines acrobatics, aquatic stunts, and stunning visuals. Watch in awe as talented performers dive, fly, and dance through the air, creating a spectacle that will leave you speechless.", + "locationName": "Al Habtoor City", + "duration": 1.5, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "dubai", + "ref": "witness-the-magic-of-la-perle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_witness-the-magic-of-la-perle.jpg" + }, + { + "name": "Shop for Unique Souvenirs at the Spice Souk and Gold Souk", + "description": "Immerse yourself in the vibrant atmosphere of Dubai's traditional markets. Wander through the aromatic Spice Souk, where you can find exotic spices, herbs, and teas from around the world. Then, head to the dazzling Gold Souk, where you can marvel at exquisite gold jewelry and handcrafted pieces.", + "locationName": "Deira", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubai", + "ref": "shop-for-unique-souvenirs-at-the-spice-souk-and-gold-souk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubai_shop-for-unique-souvenirs-at-the-spice-souk-and-gold-souk.jpg" + }, + { + "name": "Walk the Ancient City Walls", + "description": "Embark on a journey through time as you walk along the magnificent city walls of Dubrovnik, a UNESCO World Heritage Site. Take in breathtaking panoramic views of the Adriatic Sea, the terracotta rooftops of the Old Town, and the surrounding islands. Explore historical forts and towers, and immerse yourself in the rich history of this ancient city.", + "locationName": "Dubrovnik City Walls", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "walk-the-ancient-city-walls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_walk-the-ancient-city-walls.jpg" + }, + { + "name": "Explore the Old Town", + "description": "Step into a labyrinth of narrow cobblestone streets and discover the charm of Dubrovnik's Old Town. Admire the stunning architecture, from the Renaissance Rector's Palace to the Baroque St. Blaise Church. Visit the Franciscan Monastery with its tranquil cloister and ancient pharmacy, or explore the Sponza Palace, a masterpiece of Gothic and Renaissance styles. Don't forget to enjoy a coffee or a delicious meal at one of the many cafes and restaurants.", + "locationName": "Dubrovnik Old Town", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubrovnik", + "ref": "explore-the-old-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_explore-the-old-town.jpg" + }, + { + "name": "Kayaking and Snorkeling Adventure", + "description": "Embark on a sea kayaking adventure along the Dubrovnik coastline. Paddle through crystal-clear waters, explore hidden caves and secluded beaches, and discover the underwater world with snorkeling gear. This is a fantastic way to experience the natural beauty of the Adriatic Sea while enjoying some physical activity.", + "locationName": "Dubrovnik Coastline", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "kayaking-and-snorkeling-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_kayaking-and-snorkeling-adventure.jpg" + }, + { + "name": "Game of Thrones Tour", + "description": "Calling all Game of Thrones fans! Immerse yourselves in the world of Westeros with a guided tour of Dubrovnik's iconic filming locations. Relive memorable scenes, learn behind-the-scenes secrets, and discover why Dubrovnik was chosen as the perfect setting for King's Landing.", + "locationName": "Various locations in Dubrovnik", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubrovnik", + "ref": "game-of-thrones-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_game-of-thrones-tour.jpg" + }, + { + "name": "Cable Car Ride to Mount Srđ", + "description": "Take a scenic cable car ride to the top of Mount Srđ and enjoy breathtaking panoramic views of Dubrovnik and the surrounding islands. Visit the Imperial Fort, a historical landmark offering stunning vistas, and explore the Homeland War Museum to learn about the city's recent history. For a romantic experience, enjoy a memorable sunset dinner at the Panorama Restaurant.", + "locationName": "Mount Srđ", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "cable-car-ride-to-mount-sr-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_cable-car-ride-to-mount-sr-.jpg" + }, + { + "name": "Island Hopping Adventure", + "description": "Embark on a boat tour to the Elafiti Islands, a cluster of idyllic islands just off the coast of Dubrovnik. Explore hidden coves, relax on pristine beaches, and enjoy swimming in the crystal-clear waters. Some tours offer lunch stops at local restaurants on the islands, allowing you to savor fresh seafood and traditional Croatian cuisine.", + "locationName": "Elafiti Islands", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "island-hopping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_island-hopping-adventure.jpg" + }, + { + "name": "Sea Kayaking along the Coast", + "description": "Experience Dubrovnik's stunning coastline from a different perspective with a sea kayaking adventure. Paddle along the city walls, explore hidden caves, and admire the panoramic views of the Adriatic Sea. Guided tours often include snorkeling stops, allowing you to discover the underwater world teeming with marine life.", + "locationName": "Dubrovnik Coast", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubrovnik", + "ref": "sea-kayaking-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_sea-kayaking-along-the-coast.jpg" + }, + { + "name": "Lokrum Island Escape", + "description": "Take a short ferry ride to Lokrum Island, a natural oasis just a stone's throw from Dubrovnik's Old Town. Explore the botanical gardens, visit the Benedictine monastery ruins, and discover the legendary \"Dead Sea\", a small saltwater lake. Enjoy a picnic amidst the peaceful surroundings or simply relax on the rocky beaches.", + "locationName": "Lokrum Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubrovnik", + "ref": "lokrum-island-escape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_lokrum-island-escape.jpg" + }, + { + "name": "Culinary Delights at Konoba Dubrava", + "description": "Indulge in an authentic Croatian dining experience at Konoba Dubrava, a charming restaurant nestled in the hills above Dubrovnik. Savor traditional dishes like peka (slow-cooked meat and vegetables), fresh seafood specialties, and homemade desserts. Enjoy breathtaking views of the city and the Adriatic Sea while relishing the flavors of the region.", + "locationName": "Konoba Dubrava", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "culinary-delights-at-konoba-dubrava", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_culinary-delights-at-konoba-dubrava.jpg" + }, + { + "name": "Sunset Cruise with Dinner", + "description": "Embark on a romantic sunset cruise along the Dubrovnik coastline. Sail past the city walls and nearby islands, enjoying breathtaking views of the Adriatic as the sun dips below the horizon. Many cruises offer delicious dinner options, allowing you to savor local cuisine while admiring the picturesque scenery.", + "locationName": "Dubrovnik Coast", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "dubrovnik", + "ref": "sunset-cruise-with-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_sunset-cruise-with-dinner.jpg" + }, + { + "name": "Wine Tasting Tour in the Konavle Valley", + "description": "Embark on a delightful journey through the picturesque Konavle Valley, renowned for its fertile vineyards and family-run wineries. Indulge in the region's rich winemaking traditions as you sample exquisite local wines, from robust reds to crisp whites, paired with delectable regional specialties. Immerse yourself in the stunning landscapes and charming villages, learning about the unique grape varieties and winemaking techniques that make Konavle wines so special.", + "locationName": "Konavle Valley", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "wine-tasting-tour-in-the-konavle-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_wine-tasting-tour-in-the-konavle-valley.jpg" + }, + { + "name": "Hiking and Swimming at Mount Srđ", + "description": "For breathtaking panoramic views of Dubrovnik and the Adriatic Sea, embark on a hike up Mount Srđ. Follow scenic trails through lush Mediterranean vegetation, reaching the summit where you'll be rewarded with stunning vistas. Cool off with a refreshing swim at the hidden beach below, or explore the historic Imperial Fortress, a testament to Dubrovnik's resilience.", + "locationName": "Mount Srđ", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubrovnik", + "ref": "hiking-and-swimming-at-mount-sr-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_hiking-and-swimming-at-mount-sr-.jpg" + }, + { + "name": "Explore the Elafiti Islands by Boat", + "description": "Escape the bustling city and set sail on a boat trip to the Elafiti Islands, a cluster of idyllic islands just off the coast of Dubrovnik. Discover hidden coves, swim in crystal-clear waters, and explore charming fishing villages. Visit Koločep, Šipan, and Lopud, each offering unique landscapes, historical sites, and relaxed island vibes.", + "locationName": "Elafiti Islands", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "explore-the-elafiti-islands-by-boat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_explore-the-elafiti-islands-by-boat.jpg" + }, + { + "name": "Catch a Performance at the Dubrovnik Summer Festival", + "description": "Immerse yourself in the vibrant cultural scene of Dubrovnik by attending a performance at the renowned Dubrovnik Summer Festival. Held annually from July to August, the festival showcases a diverse program of theatre, music, dance, and opera performances at various historical venues throughout the city. Experience the magic of open-air performances under the starry sky, surrounded by Dubrovnik's enchanting architecture.", + "locationName": "Various locations in Dubrovnik Old Town", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "dubrovnik", + "ref": "catch-a-performance-at-the-dubrovnik-summer-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_catch-a-performance-at-the-dubrovnik-summer-festival.jpg" + }, + { + "name": "Discover Local Life at Gruž Market", + "description": "Immerse yourself in the local culture and experience the sights, sounds, and aromas of Dubrovnik's Gruž Market. Browse through stalls overflowing with fresh produce, local cheeses, cured meats, and handmade crafts. Engage with friendly vendors, sample regional delicacies, and find unique souvenirs to remember your trip.", + "locationName": "Gruž Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "dubrovnik", + "ref": "discover-local-life-at-gru-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_discover-local-life-at-gru-market.jpg" + }, + { + "name": "Cliff Jumping Adventure", + "description": "For thrill-seekers, experience the adrenaline rush of cliff jumping into the crystal-clear Adriatic Sea. Local guides will lead you to hidden coves and cliffs, ensuring safety while providing an unforgettable adventure.", + "locationName": "Various coastal locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "cliff-jumping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_cliff-jumping-adventure.jpg" + }, + { + "name": "Relaxing Beach Day at Banje Beach", + "description": "Soak up the sun and unwind on the picturesque Banje Beach, located just outside the Old Town walls. Rent a sun lounger, enjoy refreshing cocktails from nearby bars, and take a dip in the azure waters for a perfect beach escape.", + "locationName": "Banje Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubrovnik", + "ref": "relaxing-beach-day-at-banje-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_relaxing-beach-day-at-banje-beach.jpg" + }, + { + "name": "Museum Hopping in Dubrovnik", + "description": "Delve into Dubrovnik's rich history and culture by visiting its diverse museums. Explore the Rector's Palace, the Maritime Museum, or the Franciscan Monastery Museum to discover fascinating artifacts and stories.", + "locationName": "Various museums in Dubrovnik", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "dubrovnik", + "ref": "museum-hopping-in-dubrovnik", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_museum-hopping-in-dubrovnik.jpg" + }, + { + "name": "Sea Kayaking and Snorkeling at Betina Cave", + "description": "Embark on a sea kayaking adventure to the enchanting Betina Cave, accessible only by water. Explore the cave's interior, snorkel in the turquoise waters, and marvel at the natural beauty of the hidden gem.", + "locationName": "Betina Cave", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "dubrovnik", + "ref": "sea-kayaking-and-snorkeling-at-betina-cave", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_sea-kayaking-and-snorkeling-at-betina-cave.jpg" + }, + { + "name": "Scenic Hike to Fort Lovrijenac", + "description": "Enjoy a scenic hike to Fort Lovrijenac, a historic fortress perched on a cliff overlooking the Adriatic Sea. Capture breathtaking panoramic views of the city and coastline while immersing yourself in the fort's fascinating history.", + "locationName": "Fort Lovrijenac", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "dubrovnik", + "ref": "scenic-hike-to-fort-lovrijenac", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/dubrovnik_scenic-hike-to-fort-lovrijenac.jpg" + }, + { + "name": "Explore the Rock-Hewn Churches of Lalibela", + "description": "Embark on a spiritual journey to Lalibela, a UNESCO World Heritage Site, and marvel at the 11 monolithic churches carved directly into the rock. Witness the intricate architecture, learn about their religious significance, and experience the unique atmosphere of this ancient pilgrimage site.", + "locationName": "Lalibela", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "explore-the-rock-hewn-churches-of-lalibela", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_explore-the-rock-hewn-churches-of-lalibela.jpg" + }, + { + "name": "Trekking in the Simien Mountains", + "description": "Embark on an unforgettable trekking adventure through the breathtaking Simien Mountains National Park. Hike amidst dramatic landscapes, encounter endemic wildlife such as the Gelada baboons, and enjoy panoramic views from Ras Dashen, Ethiopia's highest peak.", + "locationName": "Simien Mountains National Park", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "ethiopia", + "ref": "trekking-in-the-simien-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_trekking-in-the-simien-mountains.jpg" + }, + { + "name": "Discover the Vibrant Culture of the Omo Valley", + "description": "Immerse yourself in the rich cultural tapestry of the Omo Valley, home to diverse indigenous tribes like the Mursi, Hamar, and Karo. Witness their unique customs, adornments, and traditional way of life, and gain insights into their fascinating cultures.", + "locationName": "Omo Valley", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "discover-the-vibrant-culture-of-the-omo-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_discover-the-vibrant-culture-of-the-omo-valley.jpg" + }, + { + "name": "Visit the Bustling Merkato Market in Addis Ababa", + "description": "Experience the vibrant energy of Merkato, one of the largest open-air markets in Africa. Explore a labyrinth of stalls selling everything from spices and textiles to handicrafts and electronics, and get a taste of local life in Addis Ababa.", + "locationName": "Addis Ababa", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ethiopia", + "ref": "visit-the-bustling-merkato-market-in-addis-ababa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_visit-the-bustling-merkato-market-in-addis-ababa.jpg" + }, + { + "name": "Coffee Ceremony and Cultural Experience", + "description": "Participate in a traditional Ethiopian coffee ceremony, a social ritual that involves roasting, grinding, and brewing coffee beans. Learn about the cultural significance of coffee in Ethiopia and enjoy the unique flavors and aromas of this ancient tradition.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "ethiopia", + "ref": "coffee-ceremony-and-cultural-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_coffee-ceremony-and-cultural-experience.jpg" + }, + { + "name": "Visit the Danakil Depression", + "description": "Embark on an adventurous expedition to the Danakil Depression, one of the hottest and lowest places on Earth. Witness the surreal landscapes of salt flats, sulfur springs, and volcanic formations. Explore the unique geology and encounter the Afar people, known for their resilience and distinctive culture.", + "locationName": "Danakil Depression", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "ethiopia", + "ref": "visit-the-danakil-depression", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_visit-the-danakil-depression.jpg" + }, + { + "name": "Explore the Blue Nile Falls", + "description": "Witness the breathtaking beauty of the Blue Nile Falls, also known as Tis Abay. Hike through lush landscapes to reach the cascading waterfalls and feel the mist on your face. Capture stunning photos and enjoy the serene atmosphere of this natural wonder.", + "locationName": "Blue Nile Falls", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "explore-the-blue-nile-falls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_explore-the-blue-nile-falls.jpg" + }, + { + "name": "Discover the Ancient City of Aksum", + "description": "Step back in time and explore the ancient city of Aksum, a UNESCO World Heritage Site. Marvel at the towering stelae, obelisks, and ruins of palaces and temples. Learn about the rich history and legends of the Aksumite Empire, one of the most powerful civilizations in ancient Africa.", + "locationName": "Aksum", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "discover-the-ancient-city-of-aksum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_discover-the-ancient-city-of-aksum.jpg" + }, + { + "name": "Relax at Lake Tana", + "description": "Escape to the tranquil shores of Lake Tana, the largest lake in Ethiopia. Take a boat trip to visit the island monasteries, known for their beautiful frescoes and historical significance. Enjoy swimming, birdwatching, or simply relaxing by the serene waters.", + "locationName": "Lake Tana", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ethiopia", + "ref": "relax-at-lake-tana", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_relax-at-lake-tana.jpg" + }, + { + "name": "Wildlife Watching in Awash National Park", + "description": "Embark on a wildlife adventure in Awash National Park, home to diverse animal species. Spot lions, zebras, gazelles, and various bird species in their natural habitat. Enjoy game drives, guided walks, and the chance to experience the Ethiopian wilderness.", + "locationName": "Awash National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "wildlife-watching-in-awash-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_wildlife-watching-in-awash-national-park.jpg" + }, + { + "name": "Birdwatching in the Bale Mountains", + "description": "Embark on a captivating birdwatching adventure in the Bale Mountains National Park, home to diverse avian species including the endemic Ethiopian wolf, mountain nyala, and numerous birds of prey. Hike through stunning landscapes, spot colorful birds, and immerse yourself in the tranquility of nature.", + "locationName": "Bale Mountains National Park", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "birdwatching-in-the-bale-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_birdwatching-in-the-bale-mountains.jpg" + }, + { + "name": "Visit the Harar Jugol, the Fortified Historic Town", + "description": "Step back in time and explore the ancient walled city of Harar Jugol, a UNESCO World Heritage Site. Wander through narrow alleyways, admire the traditional Harari houses, visit vibrant markets, and witness the unique Hyena feeding ritual.", + "locationName": "Harar", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ethiopia", + "ref": "visit-the-harar-jugol-the-fortified-historic-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_visit-the-harar-jugol-the-fortified-historic-town.jpg" + }, + { + "name": "White-Water Rafting on the Omo River", + "description": "Experience an adrenaline-pumping adventure with white-water rafting on the Omo River. Navigate through thrilling rapids, witness stunning scenery, and encounter remote villages along the riverbanks.", + "locationName": "Omo River", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "ethiopia", + "ref": "white-water-rafting-on-the-omo-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_white-water-rafting-on-the-omo-river.jpg" + }, + { + "name": "Sample Ethiopian Cuisine and Honey Wine", + "description": "Embark on a culinary journey and savor the unique flavors of Ethiopian cuisine. Try traditional dishes like injera (flatbread), wat (stews), and kitfo (minced beef), and indulge in the sweet taste of tej, a local honey wine.", + "locationName": "Various restaurants and cafes throughout Ethiopia", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "ethiopia", + "ref": "sample-ethiopian-cuisine-and-honey-wine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_sample-ethiopian-cuisine-and-honey-wine.jpg" + }, + { + "name": "Attend the Timkat Festival (Ethiopian Epiphany)", + "description": "Immerse yourself in the vibrant cultural celebration of Timkat, the Ethiopian Epiphany. Witness colorful processions, traditional dances, and the reenactment of Jesus' baptism, a truly unforgettable experience.", + "locationName": "Various locations throughout Ethiopia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "ethiopia", + "ref": "attend-the-timkat-festival-ethiopian-epiphany-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_attend-the-timkat-festival-ethiopian-epiphany-.jpg" + }, + { + "name": "Horseback Riding in the Gheralta Mountains", + "description": "Embark on a scenic horseback riding adventure through the Gheralta Mountains, known for their dramatic landscapes and rock-hewn churches. Explore hidden trails, visit remote villages, and enjoy breathtaking views of the surrounding valleys. This activity is suitable for riders of all levels and offers a unique perspective on the region's natural beauty and cultural heritage.", + "locationName": "Gheralta Mountains", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "horseback-riding-in-the-gheralta-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_horseback-riding-in-the-gheralta-mountains.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Rift Valley", + "description": "Soar above the stunning landscapes of the Ethiopian Rift Valley in a hot air balloon. Witness panoramic views of volcanic craters, shimmering lakes, and traditional villages as you drift peacefully through the sky. This unforgettable experience offers a unique perspective on the region's geological wonders and cultural diversity.", + "locationName": "Ethiopian Rift Valley", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "ethiopia", + "ref": "hot-air-balloon-ride-over-the-rift-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_hot-air-balloon-ride-over-the-rift-valley.jpg" + }, + { + "name": "Visit the Yirgacheffe Coffee Farms", + "description": "Delve into the world of Ethiopian coffee with a visit to the renowned Yirgacheffe coffee farms. Learn about the coffee cultivation process, from bean to cup, and participate in a traditional coffee ceremony. Savor the rich flavors of freshly brewed Yirgacheffe coffee and discover why Ethiopia is considered the birthplace of coffee.", + "locationName": "Yirgacheffe", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ethiopia", + "ref": "visit-the-yirgacheffe-coffee-farms", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_visit-the-yirgacheffe-coffee-farms.jpg" + }, + { + "name": "Explore the Ruins of Gondar", + "description": "Step back in time at the Royal Enclosure of Gondar, a UNESCO World Heritage Site. Explore the impressive castles, palaces, and churches built by Ethiopian emperors during the 17th and 18th centuries. Discover the rich history and architectural marvels of this once-powerful kingdom.", + "locationName": "Gondar", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ethiopia", + "ref": "explore-the-ruins-of-gondar", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_explore-the-ruins-of-gondar.jpg" + }, + { + "name": "Stargazing in the Danakil Depression", + "description": "Experience the magic of the night sky in the Danakil Depression, one of the lowest and hottest places on Earth. Away from light pollution, marvel at the brilliance of the Milky Way and constellations. This unique experience offers a chance to connect with nature and appreciate the vastness of the universe.", + "locationName": "Danakil Depression", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "ethiopia", + "ref": "stargazing-in-the-danakil-depression", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ethiopia_stargazing-in-the-danakil-depression.jpg" + }, + { + "name": "Explore the Etruscan and Roman Ruins", + "description": "Step back in time and discover the ancient history of Fiesole at the Archaeological Area. Explore the remains of Etruscan walls, Roman baths, and an ancient theatre, imagining life in this hilltop town centuries ago. The panoramic views of the surrounding Tuscan countryside add to the magic of this historical experience.", + "locationName": "Archaeological Area of Fiesole", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiesole", + "ref": "explore-the-etruscan-and-roman-ruins", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_explore-the-etruscan-and-roman-ruins.jpg" + }, + { + "name": "Visit the Fiesole Cathedral", + "description": "Immerse yourself in the spiritual and artistic beauty of the Cattedrale di San Romolo. Admire the Romanesque architecture, intricate frescoes, and serene atmosphere of this historic cathedral. Take a moment for quiet reflection and appreciate the cultural significance of this religious landmark.", + "locationName": "Cattedrale di San Romolo", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "fiesole", + "ref": "visit-the-fiesole-cathedral", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_visit-the-fiesole-cathedral.jpg" + }, + { + "name": "Stroll through the Historic Center", + "description": "Wander through the charming streets of Fiesole's historic center, lined with quaint shops, cafes, and centuries-old buildings. Discover hidden squares, admire the local architecture, and soak up the authentic Italian atmosphere. This leisurely walk is a perfect way to experience the town's unique character and charm.", + "locationName": "Fiesole Historic Center", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "fiesole", + "ref": "stroll-through-the-historic-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_stroll-through-the-historic-center.jpg" + }, + { + "name": "Enjoy Panoramic Views at the Monastery of San Francesco", + "description": "Hike or drive up to the Monastery of San Francesco, perched on the highest point of Fiesole. Be rewarded with breathtaking panoramic views of Florence, the Arno Valley, and the rolling Tuscan hills. Explore the peaceful monastery grounds and enjoy a moment of serenity surrounded by nature's beauty.", + "locationName": "Monastery of San Francesco", + "duration": 1.5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "fiesole", + "ref": "enjoy-panoramic-views-at-the-monastery-of-san-francesco", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_enjoy-panoramic-views-at-the-monastery-of-san-francesco.jpg" + }, + { + "name": "Indulge in Tuscan Cuisine", + "description": "Treat your taste buds to the delicious flavors of Tuscan cuisine at one of Fiesole's charming restaurants or trattorias. Savor local specialties like ribollita (vegetable soup), bistecca alla Fiorentina (Florentine steak), and cantucci (almond biscotti) paired with a glass of Chianti wine. Enjoy a romantic dinner with stunning views or a casual lunch in a cozy atmosphere.", + "locationName": "Various restaurants in Fiesole", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiesole", + "ref": "indulge-in-tuscan-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_indulge-in-tuscan-cuisine.jpg" + }, + { + "name": "Hike to the top of Monte Ceceri", + "description": "Embark on a scenic hike to the summit of Monte Ceceri, where you'll be rewarded with panoramic views of Florence and the surrounding Tuscan landscape. This moderate hike takes you through picturesque olive groves and offers a glimpse into the region's natural beauty.", + "locationName": "Monte Ceceri", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiesole", + "ref": "hike-to-the-top-of-monte-ceceri", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_hike-to-the-top-of-monte-ceceri.jpg" + }, + { + "name": "Discover the Archaeological Area", + "description": "Delve into Fiesole's rich history at the Archaeological Area, home to Etruscan and Roman ruins, including an ancient theatre, baths, and temples. Explore the remnants of these ancient civilizations and imagine life centuries ago.", + "locationName": "Archaeological Area of Fiesole", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiesole", + "ref": "discover-the-archaeological-area", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_discover-the-archaeological-area.jpg" + }, + { + "name": "Visit the Bandini Museum", + "description": "Immerse yourself in art and history at the Bandini Museum, housed in a 14th-century palace. Admire its collection of Renaissance paintings and sculptures, including works by Della Robbia and Lorenzo Monaco. The museum also offers stunning views of the Tuscan countryside.", + "locationName": "Bandini Museum", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "fiesole", + "ref": "visit-the-bandini-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_visit-the-bandini-museum.jpg" + }, + { + "name": "Enjoy a Romantic Evening at a Local Trattoria", + "description": "Savor a delightful Tuscan dinner at a charming trattoria in Fiesole. Indulge in regional specialties like bistecca alla Fiorentina or pasta with wild boar ragu, paired with a glass of local Chianti wine. The intimate atmosphere and breathtaking views create a perfect setting for a romantic evening.", + "locationName": "Various trattorias in Fiesole", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "fiesole", + "ref": "enjoy-a-romantic-evening-at-a-local-trattoria", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_enjoy-a-romantic-evening-at-a-local-trattoria.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Learn the secrets of Tuscan cuisine by taking a cooking class. Discover the art of making fresh pasta, regional sauces, and traditional dishes under the guidance of a local chef. This hands-on experience allows you to bring a taste of Italy back home.", + "locationName": "Various cooking schools in Fiesole", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "fiesole", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_take-a-cooking-class.jpg" + }, + { + "name": "Truffle Hunting Experience", + "description": "Embark on a sensory adventure with a guided truffle hunt in the picturesque Tuscan countryside. Led by expert truffle hunters and their trained dogs, you'll discover the secrets of finding these prized delicacies. Learn about the different types of truffles, their growth cycle, and the traditional methods used to locate them. After the hunt, savor the unique flavors of fresh truffles with a delicious lunch or dinner at a local farmhouse.", + "locationName": "Tuscan Countryside near Fiesole", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "fiesole", + "ref": "truffle-hunting-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_truffle-hunting-experience.jpg" + }, + { + "name": "Wine Tasting at a Local Vineyard", + "description": "Indulge in the rich flavors of Tuscan wines with a visit to a nearby vineyard. Explore the vineyards, learn about the winemaking process, and sample a variety of local wines, including Chianti Classico, Brunello di Montalcino, and Vernaccia di San Gimignano. Many vineyards also offer stunning views of the rolling hills and charming villages, making it a perfect afternoon escape.", + "locationName": "Vineyards surrounding Fiesole", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "fiesole", + "ref": "wine-tasting-at-a-local-vineyard", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_wine-tasting-at-a-local-vineyard.jpg" + }, + { + "name": "Bike Tour through the Tuscan Hills", + "description": "Experience the beauty of the Tuscan landscape at your own pace with a leisurely bike tour. Rent a bike and follow scenic routes through olive groves, vineyards, and charming villages. Enjoy the fresh air, breathtaking views, and the opportunity to stop at local farms and wineries for refreshments and tastings.", + "locationName": "Tuscan Hills surrounding Fiesole", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiesole", + "ref": "bike-tour-through-the-tuscan-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_bike-tour-through-the-tuscan-hills.jpg" + }, + { + "name": "Sunset Picnic with Panoramic Views", + "description": "Create a romantic and unforgettable experience with a sunset picnic overlooking the stunning Tuscan panorama. Pack a basket with local delicacies, find a secluded spot with breathtaking views, and enjoy a peaceful evening as the sun sets over the rolling hills and the city of Florence in the distance.", + "locationName": "Hills surrounding Fiesole with panoramic views", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "fiesole", + "ref": "sunset-picnic-with-panoramic-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_sunset-picnic-with-panoramic-views.jpg" + }, + { + "name": "Attend a Classical Music Concert", + "description": "Immerse yourself in the enchanting world of classical music with a concert at a historic venue in Fiesole. Enjoy performances by talented musicians in a beautiful setting, such as the Roman Theatre or the Fiesole Cathedral. The intimate atmosphere and acoustics of these venues create a truly special and memorable experience.", + "locationName": "Roman Theatre or Fiesole Cathedral", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiesole", + "ref": "attend-a-classical-music-concert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_attend-a-classical-music-concert.jpg" + }, + { + "name": "Olive Oil Tasting and Farm Tour", + "description": "Immerse yourself in the world of Tuscan olive oil with a visit to a local olive farm. Learn about the cultivation and production process, from grove to bottle, and savor the distinct flavors of freshly pressed extra virgin olive oil. Many farms offer tours that include a stroll through the olive groves, a demonstration of traditional pressing techniques, and a tasting session paired with local delicacies.", + "locationName": "Local olive farms in the Fiesole countryside", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiesole", + "ref": "olive-oil-tasting-and-farm-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_olive-oil-tasting-and-farm-tour.jpg" + }, + { + "name": "Explore the Bardini Garden", + "description": "Escape the crowds and discover the enchanting Bardini Garden, a hidden gem with breathtaking views of Florence. Wander through terraced gardens adorned with vibrant flowers, sculptures, and fountains. Enjoy a peaceful picnic amidst the greenery and capture stunning photos of the panoramic vistas.", + "locationName": "Bardini Garden", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiesole", + "ref": "explore-the-bardini-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_explore-the-bardini-garden.jpg" + }, + { + "name": "Visit the San Domenico Monastery", + "description": "Delve into the spiritual heart of Fiesole with a visit to the San Domenico Monastery. Explore the serene cloisters, admire Renaissance masterpieces by Fra Angelico, and learn about the monastery's rich history. The peaceful atmosphere and stunning views make it a perfect place for quiet reflection.", + "locationName": "San Domenico Monastery", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiesole", + "ref": "visit-the-san-domenico-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_visit-the-san-domenico-monastery.jpg" + }, + { + "name": "Take a Pottery Workshop", + "description": "Unleash your creativity and learn the art of Tuscan pottery. Join a workshop led by local artisans and try your hand at shaping clay on a potter's wheel. Create your own unique piece of ceramics to take home as a special souvenir of your trip.", + "locationName": "Local pottery studios in Fiesole", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "fiesole", + "ref": "take-a-pottery-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_take-a-pottery-workshop.jpg" + }, + { + "name": "Stargazing Experience", + "description": "Escape the city lights and embark on a magical stargazing experience. Join a guided tour led by astronomy enthusiasts and learn about constellations, planets, and the wonders of the night sky. With minimal light pollution, Fiesole offers a perfect setting for observing the cosmos.", + "locationName": "Open areas with clear views of the sky, such as the top of Monte Ceceri", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiesole", + "ref": "stargazing-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiesole_stargazing-experience.jpg" + }, + { + "name": "Scuba Diving Adventure in the Soft Coral Capital", + "description": "Embark on an underwater adventure to explore the world-renowned coral reefs of Fiji, often called the 'Soft Coral Capital'. Dive into a kaleidoscope of vibrant colors as you encounter diverse marine life, from playful clownfish to majestic manta rays. Whether you're a seasoned diver or a beginner, Fiji offers dive sites suitable for all levels of experience. Discover the magic beneath the waves and create unforgettable memories in this underwater paradise.", + "locationName": "Rainbow Reef, Somosomo Strait", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "fiji", + "ref": "scuba-diving-adventure-in-the-soft-coral-capital", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_scuba-diving-adventure-in-the-soft-coral-capital.jpg" + }, + { + "name": "Island Hopping and Snorkeling", + "description": "Experience the beauty of Fiji's scattered islands with a leisurely island-hopping tour. Cruise through turquoise waters, stopping at idyllic islands where you can relax on pristine beaches, swim in crystal-clear lagoons, and explore vibrant coral reefs while snorkeling. Each island offers its own unique charm and a chance to immerse yourself in the local culture and way of life.", + "locationName": "Mamanuca Islands or Yasawa Islands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiji", + "ref": "island-hopping-and-snorkeling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_island-hopping-and-snorkeling.jpg" + }, + { + "name": "Sunset Cruise with Traditional Fijian Feast", + "description": "Sail into the golden sunset on a traditional Fijian outrigger canoe or a modern catamaran. As the sky transforms into a canvas of vibrant colors, savor a delicious Fijian feast prepared with fresh local ingredients. Enjoy the warm hospitality of the Fijian people and be captivated by their enchanting cultural performances, creating an unforgettable evening.", + "locationName": "Denarau Marina or Port Denarau", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiji", + "ref": "sunset-cruise-with-traditional-fijian-feast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_sunset-cruise-with-traditional-fijian-feast.jpg" + }, + { + "name": "Kava Ceremony and Village Visit", + "description": "Immerse yourself in Fijian culture with a visit to a traditional village. Participate in a kava ceremony, a significant cultural ritual where you'll share a bowl of kava, a mildly narcotic drink made from the root of the pepper plant. Learn about Fijian customs, traditions, and the unique way of life in these remote communities.", + "locationName": "Navala Village or Viseisei Village", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiji", + "ref": "kava-ceremony-and-village-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_kava-ceremony-and-village-visit.jpg" + }, + { + "name": "Relaxation and Rejuvenation at a Fijian Spa", + "description": "Indulge in a pampering spa experience amidst the tranquility of Fiji's tropical paradise. Choose from a variety of treatments inspired by traditional Fijian practices and natural ingredients. Let your worries melt away as skilled therapists soothe your body and mind, leaving you feeling refreshed and rejuvenated.", + "locationName": "Various resorts and spas throughout Fiji", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "fiji", + "ref": "relaxation-and-rejuvenation-at-a-fijian-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_relaxation-and-rejuvenation-at-a-fijian-spa.jpg" + }, + { + "name": "Sigatoka River Safari", + "description": "Embark on an exhilarating jet boat ride up the Sigatoka River, Fiji's longest river. Journey through the lush rainforest, passing traditional Fijian villages and witnessing the captivating beauty of the island's interior. This adventure offers a unique blend of cultural immersion and thrilling excitement.", + "locationName": "Sigatoka River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiji", + "ref": "sigatoka-river-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_sigatoka-river-safari.jpg" + }, + { + "name": "Garden of the Sleeping Giant", + "description": "Immerse yourself in the tranquil beauty of the Garden of the Sleeping Giant, a horticultural paradise nestled at the foothills of the Nausori Highlands. Stroll through vibrant orchid collections, admire diverse native flora, and discover the captivating legends surrounding this enchanting garden. Perfect for nature enthusiasts and those seeking a peaceful escape.", + "locationName": "Nausori Highlands", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiji", + "ref": "garden-of-the-sleeping-giant", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_garden-of-the-sleeping-giant.jpg" + }, + { + "name": "Cloud 9 Floating Bar", + "description": "Experience the ultimate in relaxation and revelry at Cloud 9, a unique floating bar located in the turquoise waters of the Mamanuca Islands. Soak up the sun, sip on tropical cocktails, enjoy delicious wood-fired pizzas, and dance to the rhythm of the ocean waves. This adults-only haven promises an unforgettable day of fun and indulgence.", + "locationName": "Mamanuca Islands", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "fiji", + "ref": "cloud-9-floating-bar", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_cloud-9-floating-bar.jpg" + }, + { + "name": "Navala Village Visit", + "description": "Step back in time with a visit to Navala Village, a traditional Fijian settlement nestled amidst the Ba Highlands. Immerse yourself in the rich cultural heritage of the villagers, witness their unique way of life, and gain insights into their customs and traditions. This authentic experience offers a glimpse into the heart and soul of Fiji.", + "locationName": "Ba Highlands", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiji", + "ref": "navala-village-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_navala-village-visit.jpg" + }, + { + "name": "Fiji Museum", + "description": "Delve into Fiji's captivating history and cultural heritage at the Fiji Museum, located in the heart of Suva. Explore fascinating exhibits showcasing archaeological artifacts, traditional crafts, and historical photographs. Gain a deeper understanding of the island nation's past, from its early settlers to its colonial era and beyond.", + "locationName": "Suva", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "fiji", + "ref": "fiji-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_fiji-museum.jpg" + }, + { + "name": "Hiking the Lavena Coastal Walk", + "description": "Embark on a scenic coastal hike along the Lavena Coastal Walk on Taveuni Island. This moderately challenging trail winds through lush rainforests, offering breathtaking views of the coastline, secluded beaches, and cascading waterfalls. Keep an eye out for unique Fijian wildlife and immerse yourself in the island's natural beauty.", + "locationName": "Taveuni Island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiji", + "ref": "hiking-the-lavena-coastal-walk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_hiking-the-lavena-coastal-walk.jpg" + }, + { + "name": "Exploring the Kula Wild Adventure Park", + "description": "Get up close and personal with Fiji's native wildlife at the Kula Wild Adventure Park. This eco-friendly park offers a range of activities, including ziplining through the rainforest canopy, encountering iguanas and parrots, and learning about conservation efforts. It's an educational and exciting experience for all ages.", + "locationName": "Kula Wild Adventure Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiji", + "ref": "exploring-the-kula-wild-adventure-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_exploring-the-kula-wild-adventure-park.jpg" + }, + { + "name": "Indulging in a Traditional Lovo Feast", + "description": "Experience the authentic flavors of Fiji with a traditional Lovo feast. This unique cooking method involves burying food in an underground oven lined with hot stones, resulting in tender meats, flavorful vegetables, and delicious root crops. Enjoy this communal dining experience while learning about Fijian culture and customs.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiji", + "ref": "indulging-in-a-traditional-lovo-feast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_indulging-in-a-traditional-lovo-feast.jpg" + }, + { + "name": "Kayaking and Stand-Up Paddleboarding Adventures", + "description": "Explore the crystal-clear waters of Fiji at your own pace with kayaking and stand-up paddleboarding adventures. Glide along the coastline, discover hidden coves, and marvel at the vibrant marine life below. Whether you're a beginner or an experienced paddler, there are options for all skill levels.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiji", + "ref": "kayaking-and-stand-up-paddleboarding-adventures", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_kayaking-and-stand-up-paddleboarding-adventures.jpg" + }, + { + "name": "Shopping for Fijian Handicrafts and Souvenirs", + "description": "Discover unique Fijian handicrafts and souvenirs at local markets and shops. Browse through a variety of items, including hand-woven baskets, wood carvings, tapa cloth, and pearl jewelry. This is a great opportunity to support local artisans and find meaningful gifts to remember your Fijian adventure.", + "locationName": "Nadi, Suva, and other towns", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiji", + "ref": "shopping-for-fijian-handicrafts-and-souvenirs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_shopping-for-fijian-handicrafts-and-souvenirs.jpg" + }, + { + "name": "Jet Boat Adventure on the Sigatoka River", + "description": "Embark on a thrilling jet boat ride through the heart of Fiji's lush rainforest, experiencing high-speed turns, spins, and splashes as you navigate the Sigatoka River. Witness stunning natural scenery, including cascading waterfalls and towering volcanic peaks, while learning about the region's rich history and culture from your knowledgeable guide.", + "locationName": "Sigatoka River", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "fiji", + "ref": "jet-boat-adventure-on-the-sigatoka-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_jet-boat-adventure-on-the-sigatoka-river.jpg" + }, + { + "name": "Traditional Fijian Cooking Class", + "description": "Immerse yourself in Fijian culture by participating in a hands-on cooking class, where you'll learn to prepare authentic dishes using fresh local ingredients. Discover the secrets of traditional cooking methods, such as using an underground oven or 'lovo', and savor the delicious flavors of Fiji's culinary heritage.", + "locationName": "Varies - local villages or resorts", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "fiji", + "ref": "traditional-fijian-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_traditional-fijian-cooking-class.jpg" + }, + { + "name": "Firewalking Ceremony at Beqa Island", + "description": "Witness the ancient Fijian tradition of firewalking, a mesmerizing cultural performance unique to Beqa Island. Experience the spiritual significance and history behind this ritual, as skilled firewalkers demonstrate their courage and faith by walking barefoot across burning hot stones.", + "locationName": "Beqa Island", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "fiji", + "ref": "firewalking-ceremony-at-beqa-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_firewalking-ceremony-at-beqa-island.jpg" + }, + { + "name": "Stargazing and Night Kayaking Tour", + "description": "Embark on a magical night kayaking adventure under the starlit Fijian sky. Paddle through calm waters, surrounded by the tranquil sounds of nature, and marvel at the brilliance of the Milky Way. Learn about Polynesian navigation techniques and hear captivating legends about the constellations.", + "locationName": "Varies - coastal areas", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "fiji", + "ref": "stargazing-and-night-kayaking-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_stargazing-and-night-kayaking-tour.jpg" + }, + { + "name": "Horseback Riding through the Highlands", + "description": "Explore the scenic beauty of Fiji's highlands on horseback, venturing through lush rainforests, open meadows, and traditional villages. Enjoy breathtaking panoramic views, encounter friendly locals, and experience the authentic charm of Fijian rural life.", + "locationName": "Viti Levu or Vanua Levu highlands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "fiji", + "ref": "horseback-riding-through-the-highlands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/fiji_horseback-riding-through-the-highlands.jpg" + }, + { + "name": "Skiing in Chamonix", + "description": "Experience the thrill of skiing in Chamonix, a world-renowned resort nestled at the foot of Mont Blanc. With diverse slopes for all levels, from gentle beginner runs to challenging black diamonds, Chamonix offers an unforgettable skiing adventure. Enjoy breathtaking views of the snow-capped peaks and indulge in the après-ski scene in the charming village.", + "locationName": "Chamonix", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-alps", + "ref": "skiing-in-chamonix", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_skiing-in-chamonix.jpg" + }, + { + "name": "Hiking in the Aiguilles Rouges Nature Reserve", + "description": "Embark on a scenic hike through the Aiguilles Rouges Nature Reserve, a protected area boasting stunning alpine landscapes. Discover diverse flora and fauna, cascading waterfalls, and panoramic views of the Mont Blanc massif. Choose from various trails catering to different fitness levels, allowing you to immerse yourself in the natural beauty of the French Alps.", + "locationName": "Aiguilles Rouges Nature Reserve", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "hiking-in-the-aiguilles-rouges-nature-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_hiking-in-the-aiguilles-rouges-nature-reserve.jpg" + }, + { + "name": "Paragliding over the Chamonix Valley", + "description": "Soar through the skies on a thrilling paragliding experience, taking in breathtaking aerial views of the Chamonix Valley. Accompanied by a certified instructor, feel the adrenaline rush as you glide over snow-capped peaks, lush forests, and charming villages. This unforgettable adventure offers a unique perspective of the majestic French Alps.", + "locationName": "Chamonix Valley", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-alps", + "ref": "paragliding-over-the-chamonix-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_paragliding-over-the-chamonix-valley.jpg" + }, + { + "name": "Exploring the charming village of Annecy", + "description": "Wander through the picturesque canals and cobbled streets of Annecy, known as the \"Venice of the Alps.\" Discover its rich history, admire the colorful houses lining the waterways, and visit the iconic Palais de l'Isle. Enjoy a leisurely boat ride on Lake Annecy or explore the vibrant local markets for unique souvenirs.", + "locationName": "Annecy", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "exploring-the-charming-village-of-annecy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_exploring-the-charming-village-of-annecy.jpg" + }, + { + "name": "Indulging in Savoyard cuisine", + "description": "Treat your taste buds to the delectable flavors of Savoyard cuisine. Savor local specialties such as fondue, raclette, and tartiflette, made with regional cheeses and fresh ingredients. Pair your meal with a glass of Savoy wine and enjoy the cozy ambiance of a traditional mountain restaurant.", + "locationName": "Various restaurants throughout the French Alps", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-alps", + "ref": "indulging-in-savoyard-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_indulging-in-savoyard-cuisine.jpg" + }, + { + "name": "White-Water Rafting on the Durance River", + "description": "Experience the thrill of navigating the rapids on the Durance River, surrounded by breathtaking alpine scenery. This exhilarating activity is perfect for adventure seekers and nature enthusiasts alike.", + "locationName": "Durance River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-alps", + "ref": "white-water-rafting-on-the-durance-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_white-water-rafting-on-the-durance-river.jpg" + }, + { + "name": "Scenic Train Ride on the Mont Blanc Express", + "description": "Embark on a picturesque journey through the heart of the Alps aboard the Mont Blanc Express. Marvel at the towering peaks, charming villages, and lush valleys as you traverse this historic railway.", + "locationName": "Mont Blanc Express", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "scenic-train-ride-on-the-mont-blanc-express", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_scenic-train-ride-on-the-mont-blanc-express.jpg" + }, + { + "name": "Relaxing Spa Day at a Thermal Bath", + "description": "Indulge in a rejuvenating spa experience at one of the region's renowned thermal baths. Unwind in the soothing mineral-rich waters, enjoy a massage, and let the stress melt away.", + "locationName": "Various thermal baths throughout the French Alps", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-alps", + "ref": "relaxing-spa-day-at-a-thermal-bath", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_relaxing-spa-day-at-a-thermal-bath.jpg" + }, + { + "name": "Visit the Historic Fort de Tamié", + "description": "Step back in time at the Fort de Tamié, a 19th-century fortress perched high above the Albertville Valley. Explore the fortifications, learn about its military history, and enjoy panoramic views of the surrounding mountains.", + "locationName": "Fort de Tamié", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "visit-the-historic-fort-de-tami-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_visit-the-historic-fort-de-tami-.jpg" + }, + { + "name": "Sample Local Cheeses at a Traditional Market", + "description": "Immerse yourself in the local culture by visiting a traditional market. Discover a variety of artisanal cheeses, fresh produce, and regional specialties while soaking up the lively atmosphere.", + "locationName": "Various markets throughout the French Alps", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "french-alps", + "ref": "sample-local-cheeses-at-a-traditional-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_sample-local-cheeses-at-a-traditional-market.jpg" + }, + { + "name": "Mountain Biking", + "description": "Explore the diverse terrain of the French Alps on two wheels! Numerous trails cater to all skill levels, from gentle paths through valleys to challenging mountain climbs. Rent a bike and embark on an adventure through picturesque landscapes, enjoying breathtaking views and fresh mountain air.", + "locationName": "Various locations throughout the French Alps", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-alps", + "ref": "mountain-biking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_mountain-biking.jpg" + }, + { + "name": "Visit the Mer de Glace", + "description": "Embark on a journey to the Mer de Glace, the largest glacier in France! Take a scenic train ride on the Montenvers Railway and descend into the ice cave to witness the mesmerizing blue hues and learn about the glacier's history and formation.", + "locationName": "Chamonix", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "visit-the-mer-de-glace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_visit-the-mer-de-glace.jpg" + }, + { + "name": "Stargazing in the Mountains", + "description": "Escape the city lights and experience the magic of the night sky in the French Alps. Join a stargazing tour or simply find a secluded spot away from light pollution. With minimal interference, marvel at the Milky Way, constellations, and shooting stars for an unforgettable evening.", + "locationName": "Various locations throughout the French Alps", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "french-alps", + "ref": "stargazing-in-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_stargazing-in-the-mountains.jpg" + }, + { + "name": "Canyoning Adventure", + "description": "Get your adrenaline pumping with a canyoning experience! Descend through stunning canyons, rappel down waterfalls, slide down natural water slides, and jump into refreshing pools. This exhilarating activity combines adventure, nature, and stunning scenery.", + "locationName": "Various locations throughout the French Alps", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-alps", + "ref": "canyoning-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_canyoning-adventure.jpg" + }, + { + "name": "Discover Local Crafts and Traditions", + "description": "Immerse yourself in the rich cultural heritage of the French Alps by exploring local crafts and traditions. Visit workshops and studios to observe artisans creating wood carvings, ceramics, and textiles. Learn about the history and significance of these crafts and perhaps even try your hand at creating your own masterpiece.", + "locationName": "Various villages throughout the French Alps", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "discover-local-crafts-and-traditions", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_discover-local-crafts-and-traditions.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Alps", + "description": "Experience the breathtaking beauty of the French Alps from a unique perspective with a hot air balloon ride. Soar above snow-capped peaks, charming villages, and lush valleys, taking in panoramic views that will leave you speechless. This unforgettable experience is perfect for a romantic getaway or a special occasion.", + "locationName": "Various locations throughout the French Alps", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-alps", + "ref": "hot-air-balloon-ride-over-the-alps", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_hot-air-balloon-ride-over-the-alps.jpg" + }, + { + "name": "Via Ferrata Climbing", + "description": "Embark on a thrilling adventure with via ferrata climbing, a unique experience that combines hiking with rock climbing. Traverse secured routes along cliffs and rock faces, enjoying stunning views and an adrenaline rush. With various difficulty levels available, it's an activity suitable for both beginners and experienced climbers.", + "locationName": "Various locations throughout the French Alps, such as Les Gaillands near Chamonix", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "french-alps", + "ref": "via-ferrata-climbing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_via-ferrata-climbing.jpg" + }, + { + "name": "Visit a Traditional Alpine Village", + "description": "Step back in time and immerse yourself in the charm of a traditional Alpine village. Explore cobblestone streets lined with quaint shops, historic churches, and traditional houses adorned with flower boxes. Savor local delicacies at a cozy café and enjoy the peaceful atmosphere of village life.", + "locationName": "Villages like Megève, Samoëns, or Yvoire", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "visit-a-traditional-alpine-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_visit-a-traditional-alpine-village.jpg" + }, + { + "name": "Lake Annecy Boat Tour", + "description": "Cruise along the crystal-clear waters of Lake Annecy, surrounded by breathtaking mountain scenery. Enjoy the fresh air and sunshine as you admire the picturesque villages, medieval castles, and lush greenery that line the shores. Opt for a guided tour to learn about the history and culture of the region, or simply relax and soak up the beauty of your surroundings.", + "locationName": "Lake Annecy", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-alps", + "ref": "lake-annecy-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_lake-annecy-boat-tour.jpg" + }, + { + "name": "Wine Tasting in the Savoie Region", + "description": "Discover the unique flavors of the Savoie wine region with a visit to a local vineyard. Sample a variety of wines, from crisp whites to robust reds, and learn about the traditional winemaking techniques of the region. Enjoy the scenic beauty of the vineyards and indulge in a delightful culinary experience.", + "locationName": "Vineyards in the Savoie region, such as Apremont or Chignin", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "french-alps", + "ref": "wine-tasting-in-the-savoie-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-alps_wine-tasting-in-the-savoie-region.jpg" + }, + { + "name": "Scuba Diving in Rangiroa", + "description": "Embark on an underwater adventure in Rangiroa, known for its vast lagoon and diverse marine life. Explore vibrant coral reefs, encounter sharks, manta rays, and a kaleidoscope of tropical fish. Whether you're a seasoned diver or a beginner, Rangiroa offers unforgettable scuba diving experiences.", + "locationName": "Rangiroa", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-polynesia", + "ref": "scuba-diving-in-rangiroa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_scuba-diving-in-rangiroa.jpg" + }, + { + "name": "Overwater Bungalow Relaxation", + "description": "Indulge in the ultimate luxury experience by staying in an overwater bungalow. Wake up to breathtaking ocean views, step directly into the turquoise waters from your private deck, and enjoy the tranquility of your secluded haven. This is the perfect way to unwind and soak in the beauty of French Polynesia.", + "locationName": "Various islands", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-polynesia", + "ref": "overwater-bungalow-relaxation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_overwater-bungalow-relaxation.jpg" + }, + { + "name": "Island Hopping Adventure", + "description": "Explore the diverse islands of French Polynesia on an island-hopping adventure. Discover the unique charm of each island, from the lush rainforests of Tahiti to the white-sand beaches of Bora Bora. Experience different cultures, landscapes, and activities, creating lasting memories of your Polynesian journey.", + "locationName": "Various islands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-polynesia", + "ref": "island-hopping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_island-hopping-adventure.jpg" + }, + { + "name": "Sunset Cruise with Polynesian Dinner", + "description": "Set sail on a romantic sunset cruise and savor a delicious Polynesian dinner. Enjoy breathtaking views of the islands as the sky transforms into a canvas of vibrant colors. Indulge in traditional dishes and immerse yourself in the Polynesian culture with live music and dance performances.", + "locationName": "Various islands", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-polynesia", + "ref": "sunset-cruise-with-polynesian-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_sunset-cruise-with-polynesian-dinner.jpg" + }, + { + "name": "Hiking and Exploring Mount Otemanu", + "description": "For adventure enthusiasts, hike to the summit of Mount Otemanu in Bora Bora. Enjoy panoramic views of the island and its stunning lagoon. The challenging hike rewards you with breathtaking scenery and a sense of accomplishment.", + "locationName": "Bora Bora", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "french-polynesia", + "ref": "hiking-and-exploring-mount-otemanu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_hiking-and-exploring-mount-otemanu.jpg" + }, + { + "name": "Jet Skiing around Bora Bora Lagoon", + "description": "Experience the thrill of gliding across the turquoise waters of Bora Bora's iconic lagoon on a jet ski. Feel the wind in your hair as you zip past luxurious overwater bungalows, secluded beaches, and breathtaking volcanic peaks. You can even stop for a swim or snorkel in the crystal-clear waters.", + "locationName": "Bora Bora Lagoon", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-polynesia", + "ref": "jet-skiing-around-bora-bora-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_jet-skiing-around-bora-bora-lagoon.jpg" + }, + { + "name": "Black Pearl Farm Tour in Taha'a", + "description": "Delve into the fascinating world of Tahitian black pearls on a guided tour of a pearl farm. Learn about the unique cultivation process, admire the iridescent beauty of these precious gems, and even have the opportunity to purchase your own piece of Polynesian treasure.", + "locationName": "Taha'a Island", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-polynesia", + "ref": "black-pearl-farm-tour-in-taha-a", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_black-pearl-farm-tour-in-taha-a.jpg" + }, + { + "name": "Traditional Polynesian Dance Performance", + "description": "Immerse yourself in the vibrant culture of French Polynesia by attending a captivating Polynesian dance performance. Witness the graceful movements, rhythmic drumming, and colorful costumes that tell stories of ancient legends and island life.", + "locationName": "Various locations across the islands", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-polynesia", + "ref": "traditional-polynesian-dance-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_traditional-polynesian-dance-performance.jpg" + }, + { + "name": "4x4 Safari Adventure in Moorea", + "description": "Embark on a thrilling 4x4 safari adventure through the lush interior of Moorea. Traverse rugged mountain trails, discover hidden waterfalls, and enjoy panoramic views of the island's stunning coastline and volcanic peaks. This off-road experience is perfect for adventure seekers.", + "locationName": "Moorea Island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-polynesia", + "ref": "4x4-safari-adventure-in-moorea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_4x4-safari-adventure-in-moorea.jpg" + }, + { + "name": "Sunset Cocktails at a Beach Bar", + "description": "Unwind and soak up the breathtaking Polynesian sunset with a refreshing cocktail at a beachfront bar. Enjoy the laid-back atmosphere, listen to the gentle waves lapping against the shore, and create unforgettable memories as the sky transforms into a canvas of vibrant colors.", + "locationName": "Various locations across the islands", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "french-polynesia", + "ref": "sunset-cocktails-at-a-beach-bar", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_sunset-cocktails-at-a-beach-bar.jpg" + }, + { + "name": "Whale Watching Excursion", + "description": "Embark on a magical journey to witness the awe-inspiring humpback whales that migrate to the warm waters of French Polynesia between July and November. Observe these gentle giants breaching, tail-slapping, and singing their haunting songs in their natural habitat. This unforgettable experience offers a unique opportunity to connect with nature and appreciate the beauty of these majestic creatures.", + "locationName": "Various islands, including Moorea and Rurutu", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-polynesia", + "ref": "whale-watching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_whale-watching-excursion.jpg" + }, + { + "name": "Polynesian Cooking Class", + "description": "Delve into the heart of Polynesian culture by participating in a hands-on cooking class. Learn the secrets of preparing traditional dishes like poisson cru (marinated fish salad), poulet fafa (chicken with coconut milk and taro leaves), and poe (sweet pudding made from taro or banana). Discover the unique flavors and ingredients of the islands while creating delicious meals to share with your loved ones.", + "locationName": "Various resorts and cultural centers", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-polynesia", + "ref": "polynesian-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_polynesian-cooking-class.jpg" + }, + { + "name": "Stand-Up Paddleboarding in the Lagoon", + "description": "Glide across the crystal-clear waters of the lagoon on a stand-up paddleboard, enjoying the tranquility and breathtaking views of the surrounding islands. This relaxing activity is suitable for all ages and skill levels, providing a unique perspective of the marine life below and the lush landscapes above. Opt for a guided tour or explore at your own pace, discovering hidden coves and secluded beaches.", + "locationName": "Various lagoons, including Bora Bora and Moorea", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "french-polynesia", + "ref": "stand-up-paddleboarding-in-the-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_stand-up-paddleboarding-in-the-lagoon.jpg" + }, + { + "name": "Stargazing on a Secluded Beach", + "description": "Escape the city lights and experience the magic of the Polynesian night sky. Find a secluded beach, lie back on the soft sand, and gaze up at the countless stars twinkling above. With minimal light pollution, the islands offer exceptional stargazing opportunities, allowing you to marvel at constellations, shooting stars, and the Milky Way.", + "locationName": "Various secluded beaches", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "french-polynesia", + "ref": "stargazing-on-a-secluded-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_stargazing-on-a-secluded-beach.jpg" + }, + { + "name": "Hiking to Ancient Polynesian Ruins", + "description": "Embark on a journey through time by hiking to ancient Polynesian ruins scattered across the islands. Explore the remnants of marae (sacred ceremonial sites), stone temples, and traditional villages, learning about the fascinating history and culture of the Polynesian people. These hikes offer a unique blend of adventure, cultural immersion, and breathtaking scenery.", + "locationName": "Various islands, including Raiatea and Huahine", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-polynesia", + "ref": "hiking-to-ancient-polynesian-ruins", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_hiking-to-ancient-polynesian-ruins.jpg" + }, + { + "name": "Kayaking in the Turquoise Waters", + "description": "Embark on a serene kayaking adventure through the crystal-clear lagoons of Bora Bora or Moorea. Paddle at your own pace, explore hidden coves, and marvel at the vibrant marine life below. Witness the majestic Mount Otemanu as you glide across the tranquil waters, creating unforgettable memories.", + "locationName": "Bora Bora or Moorea lagoons", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-polynesia", + "ref": "kayaking-in-the-turquoise-waters", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_kayaking-in-the-turquoise-waters.jpg" + }, + { + "name": "Indulge in a Polynesian Spa Ritual", + "description": "Escape to a world of tranquility and rejuvenation with a traditional Polynesian spa ritual. Experience the healing powers of local ingredients like coconut oil, vanilla, and fragrant flowers as skilled therapists pamper you with massages, body wraps, and facials. Emerge feeling refreshed and revitalized.", + "locationName": "Various luxury resorts and spas", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-polynesia", + "ref": "indulge-in-a-polynesian-spa-ritual", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_indulge-in-a-polynesian-spa-ritual.jpg" + }, + { + "name": "Explore the Vibrant Markets of Papeete", + "description": "Immerse yourself in the bustling atmosphere of Papeete's vibrant markets. Discover a treasure trove of local handicrafts, Polynesian art, fragrant spices, and exotic fruits. Engage with friendly vendors, sample delicious street food, and find unique souvenirs to commemorate your trip.", + "locationName": "Papeete Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-polynesia", + "ref": "explore-the-vibrant-markets-of-papeete", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_explore-the-vibrant-markets-of-papeete.jpg" + }, + { + "name": "Romantic Dinner at a Lagoon-Side Restaurant", + "description": "Indulge in a magical dining experience at a lagoon-side restaurant. Savor exquisite French Polynesian cuisine, featuring fresh seafood, tropical flavors, and innovative dishes. Enjoy breathtaking sunset views, live music, and a romantic ambiance, creating a truly unforgettable evening.", + "locationName": "Various lagoon-side restaurants", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-polynesia", + "ref": "romantic-dinner-at-a-lagoon-side-restaurant", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_romantic-dinner-at-a-lagoon-side-restaurant.jpg" + }, + { + "name": "Learn the Art of Polynesian Tattooing", + "description": "Delve into the rich cultural heritage of Polynesian tattooing. Visit a local tattoo artist and learn about the symbolism, history, and techniques behind this ancient art form. Consider getting a temporary or permanent tattoo as a unique and meaningful souvenir of your Polynesian adventure.", + "locationName": "Local tattoo studios", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "french-polynesia", + "ref": "learn-the-art-of-polynesian-tattooing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-polynesia_learn-the-art-of-polynesian-tattooing.jpg" + }, + { + "name": "Stroll Along the Promenade des Anglais", + "description": "Take a leisurely walk or bike ride along the iconic Promenade des Anglais in Nice, enjoying the stunning views of the Mediterranean Sea, the vibrant atmosphere, and the beautiful architecture.", + "locationName": "Nice", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "stroll-along-the-promenade-des-anglais", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_stroll-along-the-promenade-des-anglais.jpg" + }, + { + "name": "Explore the Palais des Festivals et des Congrès", + "description": "Visit the Palais des Festivals et des Congrès in Cannes, where the prestigious Cannes Film Festival takes place. Walk the red carpet, admire the stunning architecture, and learn about the history of this iconic venue.", + "locationName": "Cannes", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-riviera", + "ref": "explore-the-palais-des-festivals-et-des-congr-s", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_explore-the-palais-des-festivals-et-des-congr-s.jpg" + }, + { + "name": "Discover the Charm of Saint-Tropez", + "description": "Wander through the charming streets of Saint-Tropez, known for its luxury boutiques, art galleries, and celebrity sightings. Visit the Vieux Port, soak up the atmosphere at a sidewalk café, and relax on the beautiful beaches.", + "locationName": "Saint-Tropez", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-riviera", + "ref": "discover-the-charm-of-saint-tropez", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_discover-the-charm-of-saint-tropez.jpg" + }, + { + "name": "Indulge in Fine Dining", + "description": "Experience the renowned culinary scene of the French Riviera. Choose from Michelin-starred restaurants, charming bistros, or waterfront seafood restaurants to savor delicious French and Mediterranean cuisine.", + "locationName": "Various", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-riviera", + "ref": "indulge-in-fine-dining", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_indulge-in-fine-dining.jpg" + }, + { + "name": "Sail the Mediterranean Sea", + "description": "Embark on a boat tour or rent a yacht to explore the stunning coastline of the French Riviera. Enjoy swimming, sunbathing, and admiring the picturesque towns and villages from the water.", + "locationName": "Various", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-riviera", + "ref": "sail-the-mediterranean-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_sail-the-mediterranean-sea.jpg" + }, + { + "name": "Hike the Coastal Trails of Cap Ferrat", + "description": "Embark on a scenic hike along the coastal trails of Cap Ferrat, a peninsula renowned for its dramatic cliffs, hidden coves, and panoramic views of the Mediterranean Sea. Breathe in the fresh sea air as you traverse the well-maintained paths, encountering secluded beaches, lush vegetation, and perhaps even glimpses of luxurious villas.", + "locationName": "Cap Ferrat", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "hike-the-coastal-trails-of-cap-ferrat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_hike-the-coastal-trails-of-cap-ferrat.jpg" + }, + { + "name": "Scuba Dive in the Lerins Islands", + "description": "Discover the underwater wonders of the Lerins Islands, a group of four islands off the coast of Cannes. Dive into the crystal-clear waters and explore vibrant coral reefs, diverse marine life, and even underwater shipwrecks. Whether you're a seasoned diver or a beginner, the Lerins Islands offer an unforgettable scuba diving experience.", + "locationName": "Lerins Islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-riviera", + "ref": "scuba-dive-in-the-lerins-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_scuba-dive-in-the-lerins-islands.jpg" + }, + { + "name": "Visit the Hilltop Village of Eze", + "description": "Step back in time with a visit to the enchanting hilltop village of Eze. Wander through its narrow medieval streets, admire the charming stone houses adorned with colorful flowers, and soak in the breathtaking views of the coastline from the Jardin Exotique. Explore the Fragonard perfume factory and discover the art of fragrance creation.", + "locationName": "Eze", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "visit-the-hilltop-village-of-eze", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_visit-the-hilltop-village-of-eze.jpg" + }, + { + "name": "Experience the Thrill of Monaco", + "description": "Take a day trip to the glamorous principality of Monaco, known for its opulent casinos, luxurious yachts, and the Formula One Grand Prix. Visit the Prince's Palace, explore the Oceanographic Museum, or try your luck at the iconic Monte Carlo Casino. In the evening, enjoy the vibrant nightlife scene with its exclusive clubs and bars.", + "locationName": "Monaco", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-riviera", + "ref": "experience-the-thrill-of-monaco", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_experience-the-thrill-of-monaco.jpg" + }, + { + "name": "Indulge in Local Flavors at a Provençal Market", + "description": "Immerse yourself in the vibrant atmosphere of a traditional Provençal market. Browse through stalls overflowing with fresh produce, local cheeses, fragrant spices, and handcrafted souvenirs. Sample regional specialties such as socca (chickpea pancake) and tapenade (olive spread), and discover the culinary delights of the region.", + "locationName": "Various towns and villages", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "indulge-in-local-flavors-at-a-proven-al-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_indulge-in-local-flavors-at-a-proven-al-market.jpg" + }, + { + "name": "Kayak Along the Mediterranean Coast", + "description": "Embark on a serene kayaking adventure along the stunning coastline of the French Riviera. Paddle through crystal-clear turquoise waters, explore hidden coves, and admire the breathtaking views of the cliffs and beaches. This activity is suitable for various skill levels and offers a unique perspective of the region's natural beauty.", + "locationName": "Various locations along the coast, such as Nice, Cannes, or Antibes", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "kayak-along-the-mediterranean-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_kayak-along-the-mediterranean-coast.jpg" + }, + { + "name": "Wine Tasting in Provence", + "description": "Discover the renowned wines of Provence with a delightful wine tasting experience. Visit charming vineyards nestled amidst rolling hills, learn about the winemaking process, and savor a selection of exquisite local wines, including rosé, red, and white varieties. Immerse yourself in the region's rich viticulture heritage and indulge in the flavors of Provence.", + "locationName": "Vineyards in the Provence region", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "french-riviera", + "ref": "wine-tasting-in-provence", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_wine-tasting-in-provence.jpg" + }, + { + "name": "Visit the Musée Picasso in Antibes", + "description": "Art enthusiasts will appreciate a visit to the Musée Picasso in Antibes. Housed in the Château Grimaldi, the museum showcases an extensive collection of Pablo Picasso's works, including paintings, ceramics, and drawings. Explore the artist's creative journey and gain insights into his connection with the French Riviera.", + "locationName": "Antibes", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "visit-the-mus-e-picasso-in-antibes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_visit-the-mus-e-picasso-in-antibes.jpg" + }, + { + "name": "Experience the Glamour of the Monaco Grand Prix", + "description": "For thrill-seekers and motorsport enthusiasts, attending the Monaco Grand Prix is an unforgettable experience. Witness the world's most prestigious Formula One race as drivers navigate the challenging street circuit of Monte Carlo. Immerse yourself in the electric atmosphere, admire the high-performance cars, and enjoy the glamorous ambiance of this iconic event.", + "locationName": "Monte Carlo, Monaco", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "french-riviera", + "ref": "experience-the-glamour-of-the-monaco-grand-prix", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_experience-the-glamour-of-the-monaco-grand-prix.jpg" + }, + { + "name": "Enjoy a Romantic Dinner Cruise", + "description": "Indulge in a romantic evening with a dinner cruise along the French Riviera. Set sail on a luxurious yacht and savor a gourmet meal while admiring the breathtaking coastal views as the sun sets over the Mediterranean Sea. Enjoy live music, dancing, and the company of your loved one for a truly unforgettable experience.", + "locationName": "Various ports along the coast", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-riviera", + "ref": "enjoy-a-romantic-dinner-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_enjoy-a-romantic-dinner-cruise.jpg" + }, + { + "name": "Paragliding over the Mediterranean", + "description": "Experience the thrill of soaring above the stunning coastline of the French Riviera with a tandem paragliding flight. Take in breathtaking panoramic views of the turquoise waters, sandy beaches, and charming towns as you glide through the air. This exhilarating adventure offers a unique perspective of the region's beauty and is perfect for adrenaline seekers.", + "locationName": "Various locations along the coast", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-riviera", + "ref": "paragliding-over-the-mediterranean", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_paragliding-over-the-mediterranean.jpg" + }, + { + "name": "Cycling the Route du Mimosa", + "description": "Embark on a scenic cycling journey along the Route du Mimosa, a picturesque route that winds through charming villages and vibrant mimosa groves. Admire the fragrant yellow blooms, enjoy the fresh air, and discover hidden gems along the way. This leisurely activity is perfect for nature lovers and those seeking a relaxing escape.", + "locationName": "Route du Mimosa", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "cycling-the-route-du-mimosa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_cycling-the-route-du-mimosa.jpg" + }, + { + "name": "Exploring the Lerins Islands", + "description": "Take a boat trip to the Lerins Islands, a small archipelago located just off the coast of Cannes. Discover the historic monastery on Saint-Honorat Island, relax on the pristine beaches of Sainte-Marguerite Island, or explore the island's diverse flora and fauna. This island escape offers a tranquil retreat from the bustling mainland.", + "locationName": "Lerins Islands", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "french-riviera", + "ref": "exploring-the-lerins-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_exploring-the-lerins-islands.jpg" + }, + { + "name": "Canyoning in the Gorges du Verdon", + "description": "Embark on an adventurous canyoning expedition in the Gorges du Verdon, a stunning natural wonder known as the 'Grand Canyon of Europe'. Rappel down waterfalls, swim through crystal-clear pools, and navigate through narrow gorges. This thrilling activity is perfect for adrenaline junkies and outdoor enthusiasts.", + "locationName": "Gorges du Verdon", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "french-riviera", + "ref": "canyoning-in-the-gorges-du-verdon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_canyoning-in-the-gorges-du-verdon.jpg" + }, + { + "name": "Stargazing at the Observatoire de la Côte d'Azur", + "description": "Discover the wonders of the night sky at the Observatoire de la Côte d'Azur, a renowned astronomical observatory. Participate in a guided stargazing session, learn about constellations and planets, and marvel at the beauty of the cosmos through powerful telescopes. This unique experience offers a glimpse into the vastness of the universe.", + "locationName": "Observatoire de la Côte d'Azur", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "french-riviera", + "ref": "stargazing-at-the-observatoire-de-la-c-te-d-azur", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/french-riviera_stargazing-at-the-observatoire-de-la-c-te-d-azur.jpg" + }, + { + "name": "Snorkeling with Sea Lions at Gardner Bay", + "description": "Immerse yourself in the turquoise waters of Gardner Bay, Española Island, and swim alongside playful sea lions. Witness their incredible agility underwater as they twirl and dart around you, creating an unforgettable experience.", + "locationName": "Gardner Bay, Española Island", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "galapagos-islands", + "ref": "snorkeling-with-sea-lions-at-gardner-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_snorkeling-with-sea-lions-at-gardner-bay.jpg" + }, + { + "name": "Hiking to the Sierra Negra Volcano", + "description": "Embark on a thrilling hike to the rim of the Sierra Negra Volcano, one of the largest volcanic craters in the world. Enjoy breathtaking panoramic views of the volcanic landscape and surrounding islands. Keep an eye out for unique volcanic features and endemic plant life along the way.", + "locationName": "Sierra Negra Volcano, Isabela Island", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "galapagos-islands", + "ref": "hiking-to-the-sierra-negra-volcano", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_hiking-to-the-sierra-negra-volcano.jpg" + }, + { + "name": "Wildlife Watching at Tortuga Bay", + "description": "Stroll along the pristine white sand beach of Tortuga Bay, a haven for wildlife. Observe marine iguanas basking in the sun, sea turtles nesting on the shore, and a variety of bird species soaring overhead. This tranquil beach offers a perfect escape to connect with nature.", + "locationName": "Tortuga Bay, Santa Cruz Island", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "galapagos-islands", + "ref": "wildlife-watching-at-tortuga-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_wildlife-watching-at-tortuga-bay.jpg" + }, + { + "name": "Scuba Diving at Gordon Rocks", + "description": "Dive into the underwater world at Gordon Rocks, a renowned dive site known for its diverse marine life. Encounter hammerhead sharks, Galapagos sharks, sea turtles, rays, and schools of colorful fish. This thrilling dive is perfect for experienced divers seeking an adrenaline rush.", + "locationName": "Gordon Rocks, off the coast of Santa Cruz Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "galapagos-islands", + "ref": "scuba-diving-at-gordon-rocks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_scuba-diving-at-gordon-rocks.jpg" + }, + { + "name": "Exploring the Charles Darwin Research Station", + "description": "Delve into the scientific and conservation efforts at the Charles Darwin Research Station. Learn about the unique flora and fauna of the Galapagos Islands, ongoing research projects, and the importance of protecting this fragile ecosystem. You can even see the famous Galapagos giant tortoises up close.", + "locationName": "Charles Darwin Research Station, Santa Cruz Island", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "galapagos-islands", + "ref": "exploring-the-charles-darwin-research-station", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_exploring-the-charles-darwin-research-station.jpg" + }, + { + "name": "Kayaking along the Coast", + "description": "Embark on a serene kayaking adventure along the stunning coastline of the Galapagos Islands. Paddle through crystal-clear waters, marvel at volcanic formations, and encounter marine life such as sea turtles, penguins, and playful sea lions. Enjoy the tranquility of the ocean and discover hidden coves and beaches.", + "locationName": "Various locations throughout the archipelago", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "galapagos-islands", + "ref": "kayaking-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_kayaking-along-the-coast.jpg" + }, + { + "name": "Birdwatching on Genovesa Island", + "description": "Genovesa Island, also known as 'Bird Island,' is a paradise for bird enthusiasts. Hike along the volcanic cliffs and witness an abundance of avian species, including red-footed boobies, Nazca boobies, frigatebirds, and swallow-tailed gulls. Capture breathtaking photos and immerse yourself in the sights and sounds of this natural aviary.", + "locationName": "Genovesa Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galapagos-islands", + "ref": "birdwatching-on-genovesa-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_birdwatching-on-genovesa-island.jpg" + }, + { + "name": "Island Hopping Adventure", + "description": "Discover the diverse landscapes and unique wildlife of the Galapagos Islands by embarking on an island-hopping adventure. Visit multiple islands, each with its own distinct ecosystem and charm. Explore volcanic craters, hike through lush forests, and relax on pristine beaches.", + "locationName": "Various islands throughout the archipelago", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "galapagos-islands", + "ref": "island-hopping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_island-hopping-adventure.jpg" + }, + { + "name": "Stargazing on a Remote Beach", + "description": "Escape the city lights and experience the magic of stargazing on a secluded beach in the Galapagos Islands. With minimal light pollution, the night sky comes alive with a breathtaking display of stars and constellations. Relax on the sand, listen to the soothing sounds of the ocean, and marvel at the wonders of the universe.", + "locationName": "Various secluded beaches throughout the archipelago", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "galapagos-islands", + "ref": "stargazing-on-a-remote-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_stargazing-on-a-remote-beach.jpg" + }, + { + "name": "Sunset Cruise with Local Cuisine", + "description": "Indulge in a romantic sunset cruise while savoring the flavors of local Ecuadorian cuisine. Sail along the coastline, witness stunning views of the islands bathed in golden light, and enjoy a delicious meal prepared with fresh, local ingredients. Create unforgettable memories as you toast to the beauty of the Galapagos Islands.", + "locationName": "Various departure points throughout the archipelago", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "galapagos-islands", + "ref": "sunset-cruise-with-local-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_sunset-cruise-with-local-cuisine.jpg" + }, + { + "name": "Horseback Riding in the Highlands", + "description": "Explore the lush highlands of Santa Cruz Island on horseback, traversing volcanic landscapes and encountering endemic flora and fauna like giant tortoises in their natural habitat. This gentle adventure offers stunning views and a unique perspective of the island's diverse ecosystems. ", + "locationName": "Santa Cruz Island", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "galapagos-islands", + "ref": "horseback-riding-in-the-highlands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_horseback-riding-in-the-highlands.jpg" + }, + { + "name": "Panga Ride Through the Mangroves", + "description": "Embark on a relaxing panga (small boat) ride through the intricate mangrove forests of the Galapagos. Observe marine life such as sea turtles, rays, and various bird species as you navigate the calm waters and learn about the ecological importance of these unique ecosystems.", + "locationName": "Various Islands (Santa Cruz, Isabela, Fernandina)", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "galapagos-islands", + "ref": "panga-ride-through-the-mangroves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_panga-ride-through-the-mangroves.jpg" + }, + { + "name": "Visit the Wall of Tears", + "description": "Delve into the history of Isabela Island with a visit to the Wall of Tears, a historical landmark built by prisoners in the 1940s and 50s. Learn about the penal colony's past and enjoy panoramic views of the island's coastline.", + "locationName": "Isabela Island", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "galapagos-islands", + "ref": "visit-the-wall-of-tears", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_visit-the-wall-of-tears.jpg" + }, + { + "name": "Biking on Isabela Island", + "description": "Rent a bike and explore the scenic landscapes of Isabela Island at your own pace. Cycle through charming villages, along coastal paths, and to secluded beaches, enjoying the freedom to discover hidden gems and connect with the island's natural beauty.", + "locationName": "Isabela Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "galapagos-islands", + "ref": "biking-on-isabela-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_biking-on-isabela-island.jpg" + }, + { + "name": "Indulge in Local Cuisine", + "description": "Experience the flavors of the Galapagos by sampling local cuisine at restaurants and markets. Savor fresh seafood dishes, traditional Ecuadorian specialties, and tropical fruits while immersing yourself in the island's culinary culture.", + "locationName": "Various Islands (Santa Cruz, San Cristobal, Isabela)", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "galapagos-islands", + "ref": "indulge-in-local-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_indulge-in-local-cuisine.jpg" + }, + { + "name": "Surfing at Tortuga Bay", + "description": "Catch some waves at the renowned Tortuga Bay, known for its consistent swells and pristine beach. Whether you're a seasoned surfer or a beginner eager to learn, Tortuga Bay offers a thrilling experience amidst stunning natural beauty. Rent a board or join a surf lesson to ride the waves like a pro.", + "locationName": "Tortuga Bay", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galapagos-islands", + "ref": "surfing-at-tortuga-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_surfing-at-tortuga-bay.jpg" + }, + { + "name": "Volunteer at a Conservation Project", + "description": "Contribute to the preservation of the Galapagos Islands by participating in a volunteer program. Assist with habitat restoration, wildlife monitoring, or community outreach initiatives. Immerse yourself in the local culture and make a meaningful impact on this unique ecosystem.", + "locationName": "Various locations across the islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galapagos-islands", + "ref": "volunteer-at-a-conservation-project", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_volunteer-at-a-conservation-project.jpg" + }, + { + "name": "Photography Expedition", + "description": "Embark on a photography expedition to capture the extraordinary biodiversity and landscapes of the Galapagos. Join a guided tour led by a professional photographer who will help you find the perfect shots of iconic wildlife, volcanic formations, and breathtaking seascapes. Enhance your skills and create lasting memories through your lens.", + "locationName": "Various islands and locations", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "galapagos-islands", + "ref": "photography-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_photography-expedition.jpg" + }, + { + "name": "Relaxation and Wellness Retreat", + "description": "Escape the hustle and bustle of everyday life and indulge in a rejuvenating wellness retreat. Choose from a variety of options, including yoga sessions on the beach, spa treatments with local ingredients, and meditation amidst the tranquil natural surroundings. Reconnect with yourself and find inner peace in this island paradise.", + "locationName": "Various resorts and retreat centers", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "galapagos-islands", + "ref": "relaxation-and-wellness-retreat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_relaxation-and-wellness-retreat.jpg" + }, + { + "name": "Island-Hopping by Yacht", + "description": "Experience the ultimate luxury and exclusivity by exploring the Galapagos Islands aboard a private yacht. Customize your itinerary to visit secluded coves, pristine beaches, and hidden gems. Enjoy personalized service, gourmet meals, and unparalleled views of the archipelago's natural wonders.", + "locationName": "Various islands and routes", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "galapagos-islands", + "ref": "island-hopping-by-yacht", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galapagos-islands_island-hopping-by-yacht.jpg" + }, + { + "name": "Hike the Camino de Santiago", + "description": "Embark on a spiritual journey along the Camino de Santiago, a network of ancient pilgrimage routes leading to the Cathedral of Santiago de Compostela. Choose from various routes, such as the popular Camino Frances or the coastal Camino del Norte, and experience the breathtaking landscapes, charming villages, and camaraderie of fellow pilgrims.", + "locationName": "Various routes throughout Galicia", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "hike-the-camino-de-santiago", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_hike-the-camino-de-santiago.jpg" + }, + { + "name": "Explore the Historic City of Santiago de Compostela", + "description": "Wander through the cobbled streets of Santiago de Compostela, a UNESCO World Heritage Site and the culmination of the Camino de Santiago. Marvel at the magnificent Cathedral, explore the charming squares and plazas, and visit the vibrant Mercado de Abastos for a taste of Galician cuisine.", + "locationName": "Santiago de Compostela", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "explore-the-historic-city-of-santiago-de-compostela", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_explore-the-historic-city-of-santiago-de-compostela.jpg" + }, + { + "name": "Discover the Cíes Islands", + "description": "Escape to the Cíes Islands, an archipelago off the coast of Galicia known for its pristine beaches, crystal-clear waters, and abundant wildlife. Relax on the white sands of Rodas Beach, hike to the lighthouse for panoramic views, and enjoy a boat trip to spot dolphins and seabirds.", + "locationName": "Cíes Islands", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galicia", + "ref": "discover-the-c-es-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_discover-the-c-es-islands.jpg" + }, + { + "name": "Indulge in Galician Cuisine", + "description": "Delight your taste buds with the fresh and flavorful cuisine of Galicia. Sample the region's famous seafood, such as octopus, scallops, and mussels, paired with local Albariño wine. Explore the charming tapas bars and traditional restaurants in towns like A Coruña and Vigo, and savor the unique culinary experience.", + "locationName": "Various locations throughout Galicia", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "galicia", + "ref": "indulge-in-galician-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_indulge-in-galician-cuisine.jpg" + }, + { + "name": "Experience the Rías Baixas Wine Region", + "description": "Embark on a wine tour through the Rías Baixas region, known for its crisp and aromatic Albariño wines. Visit charming wineries, learn about the winemaking process, and indulge in tastings of this renowned white wine. Enjoy the scenic vineyards and picturesque coastal landscapes.", + "locationName": "Rías Baixas region", + "duration": 5, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "galicia", + "ref": "experience-the-r-as-baixas-wine-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_experience-the-r-as-baixas-wine-region.jpg" + }, + { + "name": "Kayaking in the Rías Baixas", + "description": "Embark on a serene kayaking adventure through the Rías Baixas, a series of estuaries renowned for their stunning natural beauty. Paddle along calm waters, surrounded by verdant landscapes and charming coastal villages. Discover hidden coves, observe diverse marine life, and soak in the tranquility of the Galician coast.", + "locationName": "Rías Baixas", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galicia", + "ref": "kayaking-in-the-r-as-baixas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_kayaking-in-the-r-as-baixas.jpg" + }, + { + "name": "Surfing on the Atlantic Coast", + "description": "Galicia's rugged coastline boasts some of the best surfing conditions in Europe. Catch thrilling waves at renowned surf spots like Praia de Pantín or Praia de Razo. Whether you're a seasoned surfer or a beginner, you'll find the perfect wave to ride and experience the adrenaline of this exhilarating water sport.", + "locationName": "Praia de Pantín or Praia de Razo", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "galicia", + "ref": "surfing-on-the-atlantic-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_surfing-on-the-atlantic-coast.jpg" + }, + { + "name": "Whale Watching Excursion", + "description": "Embark on an unforgettable whale watching excursion off the Galician coast. Witness the majestic presence of these gentle giants as they migrate through the Atlantic waters. Observe various whale species, such as humpback whales, fin whales, and dolphins, in their natural habitat. This awe-inspiring experience is perfect for nature enthusiasts and wildlife lovers.", + "locationName": "Galician Coast", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "galicia", + "ref": "whale-watching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_whale-watching-excursion.jpg" + }, + { + "name": "Explore the Tower of Hercules", + "description": "Step back in time and visit the Tower of Hercules, an ancient Roman lighthouse and the oldest functioning lighthouse in the world. Climb to the top for breathtaking panoramic views of the city of A Coruña and the surrounding coastline. Explore the fascinating history and legends surrounding this iconic landmark.", + "locationName": "A Coruña", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "explore-the-tower-of-hercules", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_explore-the-tower-of-hercules.jpg" + }, + { + "name": "Discover the Lugo Roman Walls", + "description": "Walk along the ancient Lugo Roman Walls, a UNESCO World Heritage Site and one of the best-preserved Roman fortifications in the world. Explore the historic city center of Lugo, visit the Roman baths, and immerse yourself in the rich history of this charming Galician city.", + "locationName": "Lugo", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "discover-the-lugo-roman-walls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_discover-the-lugo-roman-walls.jpg" + }, + { + "name": "Hot Springs Relaxation", + "description": "Unwind and rejuvenate in Galicia's natural hot springs. Numerous thermal bath complexes are scattered throughout the region, offering a variety of therapeutic and relaxing experiences. Immerse yourself in the mineral-rich waters, surrounded by stunning landscapes, and let the stress melt away.", + "locationName": "Ourense", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galicia", + "ref": "hot-springs-relaxation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_hot-springs-relaxation.jpg" + }, + { + "name": "Explore the Ribeira Sacra", + "description": "Embark on a scenic journey through the Ribeira Sacra, a stunning region known for its dramatic canyons, terraced vineyards, and historic monasteries. Take a boat trip along the Sil River, hike through the vineyards, and visit ancient religious sites, enjoying breathtaking views and a taste of Galician wine culture.", + "locationName": "Ribeira Sacra", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "explore-the-ribeira-sacra", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_explore-the-ribeira-sacra.jpg" + }, + { + "name": "Visit the Castro de Santa Trega", + "description": "Step back in time at the Castro de Santa Trega, an ancient Celtic settlement perched on a hilltop overlooking the Atlantic Ocean. Explore the remains of stone houses, fortifications, and learn about the fascinating history and culture of the Celts who once inhabited this region.", + "locationName": "A Guarda", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "galicia", + "ref": "visit-the-castro-de-santa-trega", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_visit-the-castro-de-santa-trega.jpg" + }, + { + "name": "Discover the Islas Atlánticas National Park", + "description": "Embark on a boat tour to the Islas Atlánticas National Park, a stunning archipelago off the coast of Galicia. Explore the unique ecosystems of the islands, home to diverse birdlife, marine species, and breathtaking landscapes. Hike to the lighthouses, relax on secluded beaches, and enjoy the tranquility of this protected natural paradise.", + "locationName": "Islas Atlánticas", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galicia", + "ref": "discover-the-islas-atl-nticas-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_discover-the-islas-atl-nticas-national-park.jpg" + }, + { + "name": "Experience Galician Festivals", + "description": "Immerse yourself in the vibrant culture of Galicia by attending one of the many traditional festivals held throughout the year. From lively music and dance performances to religious processions and gastronomic celebrations, these events offer a unique opportunity to experience the local customs and traditions.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "galicia", + "ref": "experience-galician-festivals", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_experience-galician-festivals.jpg" + }, + { + "name": "Go horseback riding through the Galician countryside", + "description": "Embark on a scenic horseback riding adventure through Galicia's lush landscapes, taking in rolling hills, verdant forests, and charming villages. This activity is perfect for nature enthusiasts and animal lovers, offering a unique perspective of the region's beauty and tranquility.", + "locationName": "Various locations throughout Galicia", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galicia", + "ref": "go-horseback-riding-through-the-galician-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_go-horseback-riding-through-the-galician-countryside.jpg" + }, + { + "name": "Take a boat trip to the Islas Cíes", + "description": "Embark on a boat trip to the stunning Islas Cíes, an archipelago off the coast of Galicia known for its pristine beaches, crystal-clear waters, and diverse marine life. Spend the day swimming, sunbathing, and exploring the islands' natural beauty. Keep an eye out for dolphins and other marine creatures during the journey.", + "locationName": "Islas Cíes", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "galicia", + "ref": "take-a-boat-trip-to-the-islas-c-es", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_take-a-boat-trip-to-the-islas-c-es.jpg" + }, + { + "name": "Visit the Cathedral of Santiago de Compostela", + "description": "Explore the magnificent Cathedral of Santiago de Compostela, the culmination of the Camino de Santiago pilgrimage and a masterpiece of Romanesque architecture. Marvel at its intricate facade, ornate interior, and the tomb of St. James. Join a guided tour to delve into the cathedral's history and significance.", + "locationName": "Santiago de Compostela", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "visit-the-cathedral-of-santiago-de-compostela", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_visit-the-cathedral-of-santiago-de-compostela.jpg" + }, + { + "name": "Explore the fishing villages along the coast", + "description": "Discover the charming fishing villages that dot Galicia's coastline, each with its own unique character and traditions. Wander through narrow streets, admire colorful houses, and savor the freshest seafood at local restaurants. Immerse yourself in the authentic atmosphere and maritime heritage of these coastal gems.", + "locationName": "Various coastal villages in Galicia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "explore-the-fishing-villages-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_explore-the-fishing-villages-along-the-coast.jpg" + }, + { + "name": "Attend a traditional Galician festival", + "description": "Immerse yourself in the vibrant culture of Galicia by attending a traditional festival. Experience lively music, folk dances, and colorful costumes, and sample local delicacies. These festivals offer a glimpse into the region's rich heritage and provide a truly unforgettable cultural experience.", + "locationName": "Various locations throughout Galicia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "galicia", + "ref": "attend-a-traditional-galician-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/galicia_attend-a-traditional-galician-festival.jpg" + }, + { + "name": "Grand Canyon South Rim Trail", + "description": "Embark on a scenic hike along the South Rim Trail, offering breathtaking panoramic views of the canyon's vastness and geological layers. Choose from various trail segments, like the paved Rim Trail or the challenging Bright Angel Trail, catering to different fitness levels. Witness iconic landmarks such as Mather Point and Yavapai Point, capturing stunning photographs and creating unforgettable memories.", + "locationName": "Grand Canyon South Rim", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "grand-canyon", + "ref": "grand-canyon-south-rim-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_grand-canyon-south-rim-trail.jpg" + }, + { + "name": "Mule Rides into the Canyon", + "description": "Experience the thrill of descending into the canyon on a mule, traversing scenic trails and enjoying unique perspectives of the majestic landscape. Opt for a half-day or full-day ride, guided by experienced wranglers who share insights about the canyon's history and geology. This iconic Grand Canyon activity offers a memorable adventure suitable for families and nature enthusiasts.", + "locationName": "Grand Canyon Village", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "grand-canyon", + "ref": "mule-rides-into-the-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_mule-rides-into-the-canyon.jpg" + }, + { + "name": "Whitewater Rafting on the Colorado River", + "description": "Embark on an exhilarating whitewater rafting expedition down the Colorado River, navigating through the heart of the Grand Canyon. Choose from multi-day adventures camping under the stars or shorter day trips. Experience the thrill of rapids, marvel at towering canyon walls, and witness the raw power of nature. This adrenaline-pumping activity is perfect for adventure seekers and nature lovers.", + "locationName": "Colorado River", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "grand-canyon", + "ref": "whitewater-rafting-on-the-colorado-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_whitewater-rafting-on-the-colorado-river.jpg" + }, + { + "name": "Grand Canyon Skywalk", + "description": "Step onto the glass-bottom Skywalk, extending 70 feet over the canyon's edge, and experience a thrilling sensation of walking on air. Enjoy unparalleled panoramic views of the canyon floor and the Colorado River below. Capture breathtaking photos and create lasting memories of this unique and exhilarating experience.", + "locationName": "Grand Canyon West Rim", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "grand-canyon", + "ref": "grand-canyon-skywalk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_grand-canyon-skywalk.jpg" + }, + { + "name": "Grand Canyon Stargazing", + "description": "Escape the city lights and immerse yourself in the wonders of the night sky at the Grand Canyon. Join a ranger-led stargazing program or find a secluded spot to witness the brilliance of the Milky Way and constellations. The Grand Canyon's dark skies offer an exceptional opportunity to connect with the universe and appreciate the beauty of the cosmos.", + "locationName": "Various locations within the park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "grand-canyon", + "ref": "grand-canyon-stargazing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_grand-canyon-stargazing.jpg" + }, + { + "name": "Scenic Helicopter Tour over the Grand Canyon", + "description": "Embark on a breathtaking helicopter tour and witness the grandeur of the Grand Canyon from a unique aerial perspective. Soar above the rim, marvel at the intricate layers of rock formations, and capture stunning panoramic views of the vast canyon landscape. This exhilarating experience offers an unforgettable way to appreciate the immense scale and beauty of this natural wonder.", + "locationName": "Grand Canyon National Park", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "grand-canyon", + "ref": "scenic-helicopter-tour-over-the-grand-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_scenic-helicopter-tour-over-the-grand-canyon.jpg" + }, + { + "name": "Explore the Historic Grand Canyon Village", + "description": "Step back in time and discover the rich history of the Grand Canyon at the Grand Canyon Village. Visit the historic El Tovar Hotel, a landmark lodge with a fascinating past, and explore the Hopi House, a unique building showcasing Native American arts and crafts. Immerse yourself in the cultural heritage of the region through exhibits at the Yavapai Museum and Verkamp's Visitor Center. This journey through time offers insights into the people and events that shaped the Grand Canyon.", + "locationName": "Grand Canyon Village", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "grand-canyon", + "ref": "explore-the-historic-grand-canyon-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_explore-the-historic-grand-canyon-village.jpg" + }, + { + "name": "Bike the South Rim Trail", + "description": "Enjoy a leisurely bike ride along the scenic South Rim Trail, offering breathtaking views of the Grand Canyon at every turn. Rent a bicycle and explore the paved path, stopping at various viewpoints to admire the vastness and beauty of the canyon. This family-friendly activity provides a relaxing way to experience the natural splendor of the Grand Canyon at your own pace.", + "locationName": "South Rim Trail", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "grand-canyon", + "ref": "bike-the-south-rim-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_bike-the-south-rim-trail.jpg" + }, + { + "name": "Jeep Tour through the Desert Landscape", + "description": "Embark on an adventurous jeep tour through the rugged desert landscape surrounding the Grand Canyon. Explore hidden trails, discover ancient Native American ruins, and witness the unique flora and fauna of the region. This off-road experience offers a thrilling way to explore the diverse ecosystems and geological wonders beyond the canyon rim.", + "locationName": "Grand Canyon National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "grand-canyon", + "ref": "jeep-tour-through-the-desert-landscape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_jeep-tour-through-the-desert-landscape.jpg" + }, + { + "name": "Visit the Desert View Watchtower", + "description": "Journey to the eastern edge of the Grand Canyon and discover the Desert View Watchtower, a historic landmark offering panoramic views of the canyon and the Colorado River. Climb to the top of the tower for breathtaking vistas, explore the unique architecture inspired by Native American designs, and learn about the cultural significance of this iconic structure.", + "locationName": "Desert View Watchtower", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "grand-canyon", + "ref": "visit-the-desert-view-watchtower", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_visit-the-desert-view-watchtower.jpg" + }, + { + "name": "Havasupai Hike and Camping", + "description": "Embark on a challenging yet rewarding hike to the turquoise waterfalls and swimming holes of Havasupai, an indigenous village located within the Grand Canyon National Park. Camp under the stars and immerse yourself in the natural beauty of this secluded oasis. Reservations are required well in advance due to its popularity.", + "locationName": "Havasupai Indian Reservation", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "grand-canyon", + "ref": "havasupai-hike-and-camping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_havasupai-hike-and-camping.jpg" + }, + { + "name": "Grand Canyon Railway Adventure", + "description": "Take a nostalgic journey on the Grand Canyon Railway, a historic train that travels from Williams, Arizona to the South Rim of the Grand Canyon. Enjoy the scenic views and onboard entertainment, including Wild West shows and live music, as you travel back in time.", + "locationName": "Grand Canyon Railway Depot", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "grand-canyon", + "ref": "grand-canyon-railway-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_grand-canyon-railway-adventure.jpg" + }, + { + "name": "Geological Museum Exploration", + "description": "Discover the fascinating geological history of the Grand Canyon at the Yavapai Geology Museum. Learn about the formation of the canyon, the different rock layers, and the fossils that have been found in the area. Interactive exhibits and knowledgeable rangers make this a great educational experience for all ages.", + "locationName": "Yavapai Geology Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "grand-canyon", + "ref": "geological-museum-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_geological-museum-exploration.jpg" + }, + { + "name": "Sunset Viewing at Hopi Point", + "description": "Witness a breathtaking sunset over the Grand Canyon from Hopi Point, a popular viewpoint on the South Rim. The vibrant colors of the sky reflecting off the canyon walls create a truly magical experience. Arrive early to secure a good spot, as this location tends to get crowded.", + "locationName": "Hopi Point", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "grand-canyon", + "ref": "sunset-viewing-at-hopi-point", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_sunset-viewing-at-hopi-point.jpg" + }, + { + "name": "Ranger-led Programs and Nature Walks", + "description": "Join a park ranger for a guided nature walk or attend one of the many ranger-led programs offered at the Grand Canyon. Learn about the park's history, geology, flora, and fauna while gaining a deeper appreciation for this natural wonder. These programs are a great way to enhance your visit and learn from experts.", + "locationName": "Various locations within the park", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "grand-canyon", + "ref": "ranger-led-programs-and-nature-walks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_ranger-led-programs-and-nature-walks.jpg" + }, + { + "name": "Rock Climbing", + "description": "Challenge yourself with a thrilling rock climbing experience on the cliffs surrounding the Grand Canyon. With various routes for different skill levels, both beginners and experienced climbers can enjoy the breathtaking views and adrenaline rush.", + "locationName": "Grand Canyon National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "grand-canyon", + "ref": "rock-climbing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_rock-climbing.jpg" + }, + { + "name": "Grand Canyon North Rim Visit", + "description": "Escape the crowds and discover the serene beauty of the Grand Canyon's North Rim. Hike through lush forests, enjoy panoramic viewpoints, and visit the historic Grand Canyon Lodge for a peaceful retreat.", + "locationName": "Grand Canyon North Rim", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "grand-canyon", + "ref": "grand-canyon-north-rim-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_grand-canyon-north-rim-visit.jpg" + }, + { + "name": "Photography Tour", + "description": "Capture the awe-inspiring landscapes of the Grand Canyon on a guided photography tour. Learn professional tips and tricks while discovering hidden gems and iconic viewpoints, creating unforgettable memories and stunning photos.", + "locationName": "Various locations within the park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "grand-canyon", + "ref": "photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_photography-tour.jpg" + }, + { + "name": "Visit the Tusayan Museum and Ruin", + "description": "Step back in time and explore the ancient history of the Ancestral Puebloan people at the Tusayan Museum and Ruin. Discover archaeological artifacts, learn about their culture and traditions, and walk among the remnants of their dwellings.", + "locationName": "Tusayan Museum and Ruin", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "grand-canyon", + "ref": "visit-the-tusayan-museum-and-ruin", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_visit-the-tusayan-museum-and-ruin.jpg" + }, + { + "name": "Scenic Drive along Desert View Drive", + "description": "Embark on a scenic drive along Desert View Drive, stopping at various viewpoints and historical landmarks. Enjoy breathtaking panoramas, explore the Watchtower, and witness the changing colors of the canyon walls as the sun sets.", + "locationName": "Desert View Drive", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "grand-canyon", + "ref": "scenic-drive-along-desert-view-drive", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/grand-canyon_scenic-drive-along-desert-view-drive.jpg" + }, + { + "name": "Snorkeling Adventure on the Outer Reef", + "description": "Embark on a full-day snorkeling tour to the outer reef, where you'll discover vibrant coral gardens teeming with colorful fish, sea turtles, and other marine life. Explore different snorkel sites, enjoy a delicious lunch on board, and relax on the sun-drenched deck while cruising through turquoise waters.", + "locationName": "Outer Great Barrier Reef", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "snorkeling-adventure-on-the-outer-reef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_snorkeling-adventure-on-the-outer-reef.jpg" + }, + { + "name": "Scuba Diving for Certified Divers", + "description": "Dive into the underwater world of the Great Barrier Reef and witness its breathtaking beauty up close. Explore renowned dive sites, encounter diverse marine species, and experience the thrill of diving in one of the most iconic destinations on Earth. Choose from introductory dives for beginners or advanced dives for experienced divers.", + "locationName": "Various dive sites throughout the reef", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "great-barrier-reef", + "ref": "scuba-diving-for-certified-divers", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_scuba-diving-for-certified-divers.jpg" + }, + { + "name": "Scenic Helicopter Flight over the Reef", + "description": "Soar above the Great Barrier Reef on a breathtaking helicopter tour and witness its vastness and beauty from a unique perspective. Marvel at the vibrant colors of the coral reefs, spot marine life swimming below, and capture stunning aerial photographs of this natural wonder.", + "locationName": "Various departure points along the coast", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-barrier-reef", + "ref": "scenic-helicopter-flight-over-the-reef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_scenic-helicopter-flight-over-the-reef.jpg" + }, + { + "name": "Glass-Bottom Boat and Underwater Observatory Tour", + "description": "Experience the magic of the reef without getting wet on a glass-bottom boat tour. Observe the coral reefs and marine life through the glass bottom, or visit an underwater observatory for a closer look at the underwater ecosystem. This option is perfect for families with young children or those who prefer to stay dry.", + "locationName": "Green Island or Reefworld pontoon", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-barrier-reef", + "ref": "glass-bottom-boat-and-underwater-observatory-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_glass-bottom-boat-and-underwater-observatory-tour.jpg" + }, + { + "name": "Island Hopping and Beach Relaxation", + "description": "Explore the idyllic islands of the Great Barrier Reef, such as Whitsunday Island or Fitzroy Island. Relax on pristine beaches, swim in crystal-clear waters, go for a hike with stunning views, or simply soak up the tropical island vibes. Each island offers unique experiences, from luxury resorts to secluded coves.", + "locationName": "Whitsunday Islands or Fitzroy Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "island-hopping-and-beach-relaxation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_island-hopping-and-beach-relaxation.jpg" + }, + { + "name": "Whitsunday Islands Sailing Adventure", + "description": "Embark on a sailing expedition through the stunning Whitsunday Islands, a collection of 74 idyllic islands within the Great Barrier Reef. Sail turquoise waters, discover secluded beaches, and snorkel among vibrant coral reefs. Opt for a day trip or a multi-day sailing adventure with overnight stays on the boat or at island resorts.", + "locationName": "Whitsunday Islands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-barrier-reef", + "ref": "whitsunday-islands-sailing-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_whitsunday-islands-sailing-adventure.jpg" + }, + { + "name": "Indigenous Culture and Reef Exploration", + "description": "Immerse yourself in the rich cultural heritage of the Aboriginal people and their connection to the Great Barrier Reef. Join a guided tour led by Indigenous rangers who will share their knowledge of the reef's ecosystem, traditional fishing practices, and the spiritual significance of the land and sea.", + "locationName": "Various locations along the coast", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "indigenous-culture-and-reef-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_indigenous-culture-and-reef-exploration.jpg" + }, + { + "name": "Reef Sleep Experience at Reefworld", + "description": "Spend an unforgettable night on the Great Barrier Reef with the Reefsleep experience at Reefworld. Enjoy a day of snorkeling, diving, and exploring the reef, followed by a delicious dinner under the stars. Sleep in a comfortable swag on the upper deck of the pontoon, surrounded by the mesmerizing sounds of the ocean.", + "locationName": "Reefworld Pontoon", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "great-barrier-reef", + "ref": "reef-sleep-experience-at-reefworld", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_reef-sleep-experience-at-reefworld.jpg" + }, + { + "name": "Kuranda Scenic Railway and Rainforest Exploration", + "description": "Embark on a scenic journey through the lush rainforests of Queensland aboard the Kuranda Scenic Railway. Travel through the rainforest canopy, past cascading waterfalls, and into the charming village of Kuranda. Explore the local markets, visit wildlife parks, or take a thrilling Skyrail Rainforest Cableway ride for breathtaking views.", + "locationName": "Kuranda", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "kuranda-scenic-railway-and-rainforest-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_kuranda-scenic-railway-and-rainforest-exploration.jpg" + }, + { + "name": "Wildlife Encounters at Hartley's Crocodile Adventures", + "description": "Get up close to Australia's incredible wildlife at Hartley's Crocodile Adventures. Witness thrilling crocodile feeding shows, learn about cassowaries and koalas, and explore the diverse ecosystems of the park. Take a boat cruise through the melaleuca wetlands and spot native birds, reptiles, and mammals.", + "locationName": "Hartley's Crocodile Adventures", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-barrier-reef", + "ref": "wildlife-encounters-at-hartley-s-crocodile-adventures", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_wildlife-encounters-at-hartley-s-crocodile-adventures.jpg" + }, + { + "name": "Sunset Sailing Cruise", + "description": "Embark on a romantic and relaxing sunset sailing cruise along the Great Barrier Reef. Witness the breathtaking colors of the sky as the sun dips below the horizon, casting a golden glow over the turquoise waters. Enjoy a glass of sparkling wine and delicious canapés while taking in the stunning scenery and the tranquil atmosphere.", + "locationName": "Various locations along the Great Barrier Reef", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "sunset-sailing-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_sunset-sailing-cruise.jpg" + }, + { + "name": "Whitehaven Beach Picnic and Swimming", + "description": "Escape to the pristine shores of Whitehaven Beach, renowned for its powdery white sand and crystal-clear waters. Enjoy a leisurely picnic on the beach, soaking up the sun and the breathtaking views. Take a refreshing swim in the turquoise waters or simply relax and unwind in this idyllic paradise.", + "locationName": "Whitsunday Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-barrier-reef", + "ref": "whitehaven-beach-picnic-and-swimming", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_whitehaven-beach-picnic-and-swimming.jpg" + }, + { + "name": "Kayaking and Stand-Up Paddleboarding", + "description": "Explore the calm waters and hidden coves of the Great Barrier Reef at your own pace with a kayaking or stand-up paddleboarding adventure. Glide through the mangrove forests, discover secluded beaches, and encounter diverse marine life. This activity is perfect for those seeking a more active and immersive experience.", + "locationName": "Various locations along the Great Barrier Reef", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-barrier-reef", + "ref": "kayaking-and-stand-up-paddleboarding", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_kayaking-and-stand-up-paddleboarding.jpg" + }, + { + "name": "Fishing Charters", + "description": "Cast your line and experience the thrill of fishing in the Great Barrier Reef. Join a fishing charter and try your luck at catching a variety of fish species, including coral trout, red emperor, and Spanish mackerel. Whether you're a seasoned angler or a beginner, this activity offers an exciting adventure on the open water.", + "locationName": "Various locations along the Great Barrier Reef", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "fishing-charters", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_fishing-charters.jpg" + }, + { + "name": "Island Resort Stay", + "description": "Indulge in a luxurious and relaxing stay at one of the many island resorts located on the Great Barrier Reef. Enjoy world-class amenities, stunning ocean views, and access to a variety of water activities. Pamper yourself with spa treatments, savor gourmet cuisine, and create unforgettable memories in this tropical paradise.", + "locationName": "Various islands within the Great Barrier Reef", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-barrier-reef", + "ref": "island-resort-stay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_island-resort-stay.jpg" + }, + { + "name": "Whale Watching Expedition", + "description": "Embark on a thrilling journey to witness the majestic humpback whales during their annual migration (June-November). Observe these gentle giants breaching, tail-slapping, and spyhopping in the pristine waters of the Great Barrier Reef. Experienced guides provide insights into whale behavior and conservation efforts, making it an unforgettable and educational experience.", + "locationName": "Heron Island or Whitsunday Islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "whale-watching-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_whale-watching-expedition.jpg" + }, + { + "name": "Indigenous Cultural Immersion", + "description": "Connect with the rich heritage of the Aboriginal and Torres Strait Islander peoples through an immersive cultural experience. Learn about their deep connection to the reef, participate in traditional storytelling, art workshops, or dance performances. Gain a profound appreciation for their sustainable practices and ancient wisdom.", + "locationName": "Mossman Gorge Centre or various islands", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-barrier-reef", + "ref": "indigenous-cultural-immersion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_indigenous-cultural-immersion.jpg" + }, + { + "name": "Low Isles Tropical Island Escape", + "description": "Escape to the idyllic Low Isles, a picturesque coral cay surrounded by turquoise waters and teeming with marine life. Relax on pristine beaches, snorkel among colorful coral gardens, or take a leisurely glass-bottom boat tour. Enjoy a picnic lunch amidst the tropical paradise and soak up the serenity of this secluded island gem.", + "locationName": "Low Isles", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "low-isles-tropical-island-escape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_low-isles-tropical-island-escape.jpg" + }, + { + "name": "Stargazing Cruise under the Southern Sky", + "description": "Experience the magic of the night sky on a stargazing cruise. Sail away from the city lights and marvel at the brilliance of the Milky Way and constellations. Knowledgeable guides share insights into astronomy and Aboriginal starlore, making it a romantic and awe-inspiring evening.", + "locationName": "Departs from Port Douglas or Cairns", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "great-barrier-reef", + "ref": "stargazing-cruise-under-the-southern-sky", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_stargazing-cruise-under-the-southern-sky.jpg" + }, + { + "name": "Seafood Feast and Culinary Delights", + "description": "Indulge in a delectable seafood feast featuring the freshest catches of the day. Savor the flavors of locally sourced prawns, oysters, fish, and other delicacies prepared with culinary expertise. Pair your meal with regional wines and enjoy the vibrant atmosphere of waterfront restaurants or charming cafes.", + "locationName": "Port Douglas, Cairns, or various islands", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-barrier-reef", + "ref": "seafood-feast-and-culinary-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-barrier-reef_seafood-feast-and-culinary-delights.jpg" + }, + { + "name": "Grizzly Bear Viewing", + "description": "Embark on a thrilling expedition to witness the majestic grizzly bears in their natural habitat. Join a guided tour to prime viewing locations, such as the Khutzeymateen Grizzly Bear Sanctuary, where you can observe these magnificent creatures as they fish for salmon or interact with their cubs. This unforgettable experience offers a unique glimpse into the lives of these iconic animals.", + "locationName": "Khutzeymateen Grizzly Bear Sanctuary or other designated viewing areas", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-bear-rainforest", + "ref": "grizzly-bear-viewing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_grizzly-bear-viewing.jpg" + }, + { + "name": "Kayaking through the Fjords", + "description": "Paddle through the pristine waters of the Great Bear Rainforest's fjords, surrounded by towering mountains and lush forests. Explore hidden coves, encounter marine life such as seals and sea lions, and marvel at the breathtaking scenery. Kayaking tours cater to all skill levels, from beginners to experienced paddlers, offering a peaceful and immersive way to experience the rainforest's beauty.", + "locationName": "Various fjords and inlets throughout the rainforest", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "kayaking-through-the-fjords", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_kayaking-through-the-fjords.jpg" + }, + { + "name": "Whale Watching Excursions", + "description": "Set sail on a whale watching adventure to witness the awe-inspiring humpback whales, orcas, and other marine mammals that inhabit the waters of the Great Bear Rainforest. Join experienced guides who will share their knowledge about these incredible creatures and their habitat. Witness the whales breaching, tail-slapping, and socializing in their natural environment, creating memories that will last a lifetime.", + "locationName": "Departure points from various coastal towns and villages", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-bear-rainforest", + "ref": "whale-watching-excursions", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_whale-watching-excursions.jpg" + }, + { + "name": "Hiking the Rainforest Trails", + "description": "Lace up your hiking boots and explore the diverse trails that wind through the Great Bear Rainforest. From short and easy walks to challenging multi-day treks, there's a trail for every level of hiker. Discover ancient forests, cascading waterfalls, and panoramic viewpoints, immersing yourself in the tranquility and beauty of the rainforest.", + "locationName": "Various trailheads throughout the rainforest, including the Spirit Bear Trail and the West Coast Trail", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "great-bear-rainforest", + "ref": "hiking-the-rainforest-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_hiking-the-rainforest-trails.jpg" + }, + { + "name": "Indigenous Cultural Experiences", + "description": "Immerse yourself in the rich culture and traditions of the First Nations people who have called the Great Bear Rainforest home for millennia. Visit cultural centers, participate in traditional storytelling sessions, or learn about ancient art forms and spiritual practices. These experiences offer a deeper understanding of the rainforest's significance to the indigenous communities and their connection to the land.", + "locationName": "Various cultural centers and indigenous communities within the rainforest", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "indigenous-cultural-experiences", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_indigenous-cultural-experiences.jpg" + }, + { + "name": "Birdwatching in the Estuary", + "description": "Embark on a serene birdwatching experience in the heart of the Great Bear Rainforest's estuaries. Witness a mesmerizing array of avian life, from majestic bald eagles soaring above to vibrant migratory birds like the Pacific loon and the western sandpiper. Local guides can provide insights into the unique behaviors and habitats of these feathered wonders, making it an unforgettable experience for nature enthusiasts.", + "locationName": "Kitimat River Estuary or Bella Coola Estuary", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-bear-rainforest", + "ref": "birdwatching-in-the-estuary", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_birdwatching-in-the-estuary.jpg" + }, + { + "name": "Wildlife Photography Expedition", + "description": "Capture the essence of the Great Bear Rainforest's wild inhabitants on a dedicated photography expedition. Accompanied by experienced guides and professional photographers, venture into prime wildlife viewing areas, seeking encounters with black bears, wolves, orcas, and other iconic species. Learn valuable techniques for wildlife photography amidst the stunning backdrop of the rainforest.", + "locationName": "Khutzeymateen Grizzly Bear Sanctuary or various islands and inlets", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "wildlife-photography-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_wildlife-photography-expedition.jpg" + }, + { + "name": "Forest Bathing and Nature Meditation", + "description": "Immerse yourself in the tranquility of the rainforest with a rejuvenating forest bathing and nature meditation experience. Led by certified guides, engage in mindfulness practices and gentle walks amidst the towering trees and calming sounds of nature. Reconnect with your senses, reduce stress, and find inner peace in the heart of this pristine wilderness.", + "locationName": "Various rainforest trails and secluded areas", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "great-bear-rainforest", + "ref": "forest-bathing-and-nature-meditation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_forest-bathing-and-nature-meditation.jpg" + }, + { + "name": "Cultural Tour of First Nations Villages", + "description": "Embark on a respectful and enriching cultural tour to experience the heritage and traditions of the First Nations people who have inhabited the Great Bear Rainforest for millennia. Visit local villages, engage with community members, and gain insights into their art, storytelling, and deep connection to the land. Learn about their sustainable practices and the vital role they play in protecting the rainforest ecosystem.", + "locationName": "First Nations villages such as Hartley Bay or Klemtu", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "cultural-tour-of-first-nations-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_cultural-tour-of-first-nations-villages.jpg" + }, + { + "name": "Stargazing Cruise on a Silent Electric Boat", + "description": "Embark on a magical stargazing cruise aboard a silent electric boat, gliding through the calm waters of the rainforest under a canopy of stars. With minimal light pollution, marvel at the brilliance of the night sky, constellations, and the Milky Way. Knowledgeable guides can share insights into astronomy and the importance of preserving the dark sky environment.", + "locationName": "Various inlets and channels within the rainforest", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-bear-rainforest", + "ref": "stargazing-cruise-on-a-silent-electric-boat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_stargazing-cruise-on-a-silent-electric-boat.jpg" + }, + { + "name": "Heli-Hiking Adventure", + "description": "Embark on an exhilarating helicopter journey to remote alpine meadows and pristine mountain peaks. Hike through breathtaking landscapes, surrounded by towering glaciers and panoramic vistas, experiencing the raw beauty of the rainforest from a unique perspective.", + "locationName": "Various mountain ranges within the Great Bear Rainforest", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "great-bear-rainforest", + "ref": "heli-hiking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_heli-hiking-adventure.jpg" + }, + { + "name": "Wildlife Photography Workshop", + "description": "Join a professional wildlife photographer on a guided expedition to capture the incredible biodiversity of the Great Bear Rainforest. Learn valuable techniques for photographing elusive animals like bears, wolves, and eagles in their natural habitat, creating lasting memories of your wildlife encounters.", + "locationName": "Various locations throughout the rainforest, including estuaries, rivers, and forests", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "wildlife-photography-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_wildlife-photography-workshop.jpg" + }, + { + "name": "Fishing Excursion in Pristine Waters", + "description": "Cast your line into the abundant waters of the Great Bear Rainforest, teeming with salmon, halibut, and other prized fish species. Experience the thrill of sport fishing amidst stunning natural scenery, guided by experienced local fishermen who share their knowledge of the region's aquatic life.", + "locationName": "Rivers and coastal areas within the rainforest", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "fishing-excursion-in-pristine-waters", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_fishing-excursion-in-pristine-waters.jpg" + }, + { + "name": "Scenic Seaplane Flight", + "description": "Soar above the vast expanse of the Great Bear Rainforest in a seaplane, enjoying breathtaking aerial views of its rugged coastlines, ancient forests, and sparkling waterways. Witness the immensity and beauty of this unique ecosystem from a different perspective, capturing unforgettable memories from above.", + "locationName": "Departure from various coastal towns or villages", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-bear-rainforest", + "ref": "scenic-seaplane-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_scenic-seaplane-flight.jpg" + }, + { + "name": "Cultural Immersion with First Nations Communities", + "description": "Engage in a meaningful cultural exchange with the indigenous communities who have called the Great Bear Rainforest home for millennia. Learn about their traditions, art, storytelling, and deep connection to the land, gaining a profound appreciation for their way of life and the rich cultural heritage of the region.", + "locationName": "First Nations villages and cultural centers within the rainforest", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-bear-rainforest", + "ref": "cultural-immersion-with-first-nations-communities", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_cultural-immersion-with-first-nations-communities.jpg" + }, + { + "name": "Hot Springs Relaxation", + "description": "Escape to serenity with a visit to the natural hot springs nestled within the rainforest. Immerse yourself in the warm, mineral-rich waters while surrounded by lush greenery and the soothing sounds of nature. This rejuvenating experience is perfect for relaxation and unwinding after a day of exploring the rainforest.", + "locationName": "Various locations within the rainforest", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "great-bear-rainforest", + "ref": "hot-springs-relaxation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_hot-springs-relaxation.jpg" + }, + { + "name": "Bear Viewing from a Floating Lodge", + "description": "Experience the thrill of observing grizzly bears in their natural habitat from the comfort and safety of a floating lodge. These unique accommodations provide a front-row seat to witness the majestic creatures as they fish for salmon and interact with their surroundings. Expert guides will offer insights into bear behavior and the delicate ecosystem of the rainforest.", + "locationName": "Various lodges within the rainforest", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "great-bear-rainforest", + "ref": "bear-viewing-from-a-floating-lodge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_bear-viewing-from-a-floating-lodge.jpg" + }, + { + "name": "Scenic Boat Tour", + "description": "Embark on a scenic boat tour through the breathtaking fjords and channels of the Great Bear Rainforest. Witness towering waterfalls cascading down moss-covered cliffs, spot playful seals and dolphins, and marvel at the dense forests that line the shores. This leisurely excursion offers a unique perspective of the rainforest's vastness and beauty.", + "locationName": "Various departure points within the rainforest", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "scenic-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_scenic-boat-tour.jpg" + }, + { + "name": "Wildlife Photography Safari", + "description": "Capture the magic of the Great Bear Rainforest with a wildlife photography safari. Accompanied by experienced guides, venture into prime locations to photograph grizzly bears, black bears, wolves, and other fascinating creatures. Learn valuable tips and techniques to enhance your photography skills and create lasting memories of your rainforest adventure.", + "locationName": "Various locations within the rainforest", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "great-bear-rainforest", + "ref": "wildlife-photography-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_wildlife-photography-safari.jpg" + }, + { + "name": "Cultural Immersion with Coastal First Nations", + "description": "Engage in a cultural immersion experience with the Coastal First Nations communities who have inhabited the Great Bear Rainforest for centuries. Learn about their rich traditions, storytelling, art, and deep connection to the land. Participate in workshops, enjoy traditional meals, and gain a profound understanding of their way of life.", + "locationName": "Coastal First Nations villages", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "great-bear-rainforest", + "ref": "cultural-immersion-with-coastal-first-nations", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/great-bear-rainforest_cultural-immersion-with-coastal-first-nations.jpg" + }, + { + "name": "Explore the Ruins of Akrotiri on Santorini", + "description": "Step back in time and wander through the ancient ruins of Akrotiri, a Minoan Bronze Age settlement that was remarkably preserved by volcanic ash. Marvel at the advanced architecture, intricate frescoes, and everyday objects that offer a glimpse into life thousands of years ago. This archaeological wonder is often compared to Pompeii and provides a fascinating journey into the past.", + "locationName": "Akrotiri Archaeological Site, Santorini", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "greek-islands", + "ref": "explore-the-ruins-of-akrotiri-on-santorini", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_explore-the-ruins-of-akrotiri-on-santorini.jpg" + }, + { + "name": "Sail the Aegean Sea", + "description": "Embark on a sailing adventure through the turquoise waters of the Aegean Sea. Feel the refreshing sea breeze as you glide past picturesque islands, secluded coves, and volcanic landscapes. Many tours offer opportunities for swimming, snorkeling, and exploring hidden beaches, allowing you to experience the beauty of the Greek Islands from a unique perspective.", + "locationName": "Various islands and harbors", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "greek-islands", + "ref": "sail-the-aegean-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_sail-the-aegean-sea.jpg" + }, + { + "name": "Hike to the Peak of Mount Zas on Naxos", + "description": "For breathtaking panoramic views and a touch of Greek mythology, hike to the summit of Mount Zas, the highest peak in the Cyclades islands. According to legend, this mountain was the childhood home of Zeus, the king of the gods. The trail offers a challenging but rewarding experience, with stunning vistas of the surrounding islands and coastline.", + "locationName": "Mount Zas, Naxos", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "greek-islands", + "ref": "hike-to-the-peak-of-mount-zas-on-naxos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_hike-to-the-peak-of-mount-zas-on-naxos.jpg" + }, + { + "name": "Indulge in a Traditional Greek Feast", + "description": "No trip to the Greek Islands is complete without savoring the delicious local cuisine. Find a charming taverna with outdoor seating and treat your taste buds to a feast of fresh seafood, grilled meats, flavorful cheeses, and vibrant salads. Don't forget to finish your meal with a glass of ouzo or a slice of baklava for a truly authentic experience.", + "locationName": "Various tavernas and restaurants throughout the islands", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "greek-islands", + "ref": "indulge-in-a-traditional-greek-feast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_indulge-in-a-traditional-greek-feast.jpg" + }, + { + "name": "Relax on the iconic Beaches of Mykonos", + "description": "Mykonos is renowned for its stunning beaches, each with its own unique vibe. From the lively Paradise Beach with its beach clubs and water sports to the more secluded Agios Sostis, known for its natural beauty, there's a perfect spot for everyone to unwind and soak up the Mediterranean sun. Enjoy swimming in the crystal-clear waters, trying out water sports, or simply relaxing on the sand with a refreshing drink.", + "locationName": "Various beaches in Mykonos", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "greek-islands", + "ref": "relax-on-the-iconic-beaches-of-mykonos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_relax-on-the-iconic-beaches-of-mykonos.jpg" + }, + { + "name": "Go spelunking in the Melissani Cave", + "description": "Embark on an enchanting boat tour through the Melissani Cave on Kefalonia Island. Glide across the crystal-clear turquoise waters as sunlight streams through the collapsed cave ceiling, illuminating the magical underground lake. Marvel at the unique geological formations and the mystical atmosphere of this natural wonder.", + "locationName": "Melissani Cave, Kefalonia", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "greek-islands", + "ref": "go-spelunking-in-the-melissani-cave", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_go-spelunking-in-the-melissani-cave.jpg" + }, + { + "name": "Hike the Samaria Gorge", + "description": "Challenge yourself with a thrilling hike through the Samaria Gorge on Crete, the longest gorge in Europe. Trek through stunning landscapes, passing through ancient forests, towering cliffs, and refreshing streams. Keep an eye out for the elusive kri-kri, the wild goats that inhabit the gorge.", + "locationName": "Samaria Gorge, Crete", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "greek-islands", + "ref": "hike-the-samaria-gorge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_hike-the-samaria-gorge.jpg" + }, + { + "name": "Discover the ancient city of Rhodes", + "description": "Step back in time and explore the medieval city of Rhodes, a UNESCO World Heritage Site. Wander through the cobblestone streets of the Old Town, visit the Palace of the Grand Master, and admire the impressive fortifications. Don't miss the Street of the Knights, lined with medieval inns and the Archaeological Museum.", + "locationName": "Rhodes Town, Rhodes", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "greek-islands", + "ref": "discover-the-ancient-city-of-rhodes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_discover-the-ancient-city-of-rhodes.jpg" + }, + { + "name": "Scuba dive or snorkel in the Aegean Sea", + "description": "Plunge into the crystal-clear waters of the Aegean Sea and discover a vibrant underwater world. Explore colorful coral reefs, encounter diverse marine life, and discover ancient shipwrecks. Whether you're an experienced diver or a beginner snorkeler, the Greek Islands offer unforgettable underwater adventures.", + "locationName": "Various islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "greek-islands", + "ref": "scuba-dive-or-snorkel-in-the-aegean-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_scuba-dive-or-snorkel-in-the-aegean-sea.jpg" + }, + { + "name": "Experience the nightlife of Mykonos", + "description": "Dance the night away in the vibrant nightlife scene of Mykonos. Explore the numerous bars and clubs, from beachfront parties to chic cocktail lounges. Enjoy live music, DJs, and a lively atmosphere that lasts until dawn.", + "locationName": "Mykonos Town, Mykonos", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "greek-islands", + "ref": "experience-the-nightlife-of-mykonos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_experience-the-nightlife-of-mykonos.jpg" + }, + { + "name": "Kayaking to Sea Caves and Hidden Beaches", + "description": "Embark on a kayaking adventure along the dramatic coastlines of islands like Milos or Kefalonia. Paddle into secluded sea caves, discover hidden beaches inaccessible by land, and snorkel in crystal-clear waters. This active experience allows you to explore the islands' natural beauty from a unique perspective.", + "locationName": "Milos or Kefalonia", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "greek-islands", + "ref": "kayaking-to-sea-caves-and-hidden-beaches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_kayaking-to-sea-caves-and-hidden-beaches.jpg" + }, + { + "name": "Visit a Traditional Village and Learn Local Crafts", + "description": "Step back in time and immerse yourself in the authentic charm of a traditional Greek village. Explore the narrow streets, visit local shops selling handmade crafts, and perhaps even participate in a workshop to learn skills like pottery, weaving, or cheese-making. This cultural experience provides a glimpse into the islands' rich heritage.", + "locationName": "Various Islands", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "greek-islands", + "ref": "visit-a-traditional-village-and-learn-local-crafts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_visit-a-traditional-village-and-learn-local-crafts.jpg" + }, + { + "name": "Wine Tasting at a Vineyard with Stunning Views", + "description": "Indulge in the unique flavors of Greek wine with a visit to a local vineyard. Sample a variety of wines, learn about the winemaking process, and savor breathtaking views of the surrounding landscapes. Santorini and Crete are particularly renowned for their volcanic wines and picturesque vineyards.", + "locationName": "Santorini or Crete", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "greek-islands", + "ref": "wine-tasting-at-a-vineyard-with-stunning-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_wine-tasting-at-a-vineyard-with-stunning-views.jpg" + }, + { + "name": "Sunset Cruise with Dinner and Live Music", + "description": "Experience the magic of a Greek sunset on a romantic cruise along the coast. Enjoy a delicious dinner onboard, sip on cocktails, and be serenaded by live music as you witness the sky ablaze with colors. This unforgettable experience is perfect for couples or those seeking a memorable evening.", + "locationName": "Various Islands", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "greek-islands", + "ref": "sunset-cruise-with-dinner-and-live-music", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_sunset-cruise-with-dinner-and-live-music.jpg" + }, + { + "name": "Hiking or Biking Through Scenic Trails", + "description": "Explore the diverse landscapes of the islands on foot or by bike. Hike through olive groves, pine forests, and along coastal paths, enjoying panoramic views and discovering hidden gems. Many islands offer well-maintained trails suitable for different fitness levels, making it a perfect activity for nature enthusiasts.", + "locationName": "Various Islands", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "greek-islands", + "ref": "hiking-or-biking-through-scenic-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_hiking-or-biking-through-scenic-trails.jpg" + }, + { + "name": "Island Hopping Adventure", + "description": "Embark on a multi-day island hopping adventure, exploring the diverse landscapes and unique charm of each island. Ferry between popular destinations like Mykonos, Santorini, and Crete, or venture off the beaten path to discover hidden gems like Folegandros and Milos. Each island offers its own blend of history, culture, and natural beauty, allowing you to customize your itinerary to match your interests.", + "locationName": "Various Greek Islands", + "duration": 48, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "greek-islands", + "ref": "island-hopping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_island-hopping-adventure.jpg" + }, + { + "name": "Cooking Class with a Local Family", + "description": "Immerse yourself in Greek culture by participating in a cooking class hosted by a local family. Learn the secrets of traditional Greek cuisine, from fresh ingredients and time-honored recipes to the warmth of Greek hospitality. Enjoy the fruits (and vegetables) of your labor with a delicious home-cooked meal shared with your hosts.", + "locationName": "Various Islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "greek-islands", + "ref": "cooking-class-with-a-local-family", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_cooking-class-with-a-local-family.jpg" + }, + { + "name": "Volcanic Exploration on Nisyros", + "description": "Venture to the volcanic island of Nisyros and descend into the crater of an active volcano. Witness the raw power of nature as you explore the lunar-like landscape, feeling the heat beneath your feet and smelling the sulfur in the air. Learn about the island's volcanic history and unique ecosystem.", + "locationName": "Nisyros", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "greek-islands", + "ref": "volcanic-exploration-on-nisyros", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_volcanic-exploration-on-nisyros.jpg" + }, + { + "name": "Stargazing on a Secluded Beach", + "description": "Escape the city lights and find a secluded beach to experience the magic of the Greek night sky. With minimal light pollution, the stars shine brightly, offering a breathtaking view of the Milky Way and constellations. Bring a blanket and some local wine for a truly romantic and unforgettable evening.", + "locationName": "Various Islands", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "greek-islands", + "ref": "stargazing-on-a-secluded-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_stargazing-on-a-secluded-beach.jpg" + }, + { + "name": "Watersports Extravaganza", + "description": "Get your adrenaline pumping with a day of exhilarating watersports. Choose from a variety of options such as windsurfing, kitesurfing, jet skiing, or parasailing. Many islands offer rentals and lessons, allowing you to experience the thrill of riding the waves or soaring above the Aegean Sea.", + "locationName": "Various Islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "greek-islands", + "ref": "watersports-extravaganza", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greek-islands_watersports-extravaganza.jpg" + }, + { + "name": "Boat Tour of the Icefjord", + "description": "Embark on an unforgettable boat tour through the Ilulissat Icefjord, a UNESCO World Heritage site. Marvel at the towering icebergs, some as tall as skyscrapers, that have calved from the Sermeq Kujalleq glacier. Capture stunning photographs of the icy landscape and witness the raw power of nature.", + "locationName": "Ilulissat Icefjord", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "boat-tour-of-the-icefjord", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_boat-tour-of-the-icefjord.jpg" + }, + { + "name": "Hiking to the Icefjord Viewpoint", + "description": "Lace up your hiking boots and embark on a scenic trail that leads to a breathtaking viewpoint overlooking the Ilulissat Icefjord. Enjoy panoramic views of the massive icebergs and the vast expanse of the Arctic landscape. This moderate hike is suitable for those with a reasonable level of fitness.", + "locationName": "Ilulissat Icefjord", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "greenland", + "ref": "hiking-to-the-icefjord-viewpoint", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_hiking-to-the-icefjord-viewpoint.jpg" + }, + { + "name": "Kayaking Among Icebergs", + "description": "Experience the thrill of kayaking amidst the icebergs of the Ilulissat Icefjord. Paddle through the calm waters, surrounded by the towering ice formations, and feel a sense of awe and wonder. This adventure activity is suitable for experienced kayakers.", + "locationName": "Ilulissat Icefjord", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "greenland", + "ref": "kayaking-among-icebergs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_kayaking-among-icebergs.jpg" + }, + { + "name": "Visit the Ilulissat Museum", + "description": "Delve into the history and culture of Greenland at the Ilulissat Museum. Learn about the Inuit people, their traditions, and their way of life in this Arctic region. Explore exhibits on the geology of the icefjord and the impact of climate change.", + "locationName": "Ilulissat Town", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "greenland", + "ref": "visit-the-ilulissat-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_visit-the-ilulissat-museum.jpg" + }, + { + "name": "Dog Sledding Adventure", + "description": "Embark on a thrilling dog sledding adventure across the frozen landscape. Experience the traditional mode of transportation of the Inuit people and enjoy the exhilaration of being pulled by a team of huskies. This activity is available during the winter months.", + "locationName": "Ilulissat Icefjord", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "greenland", + "ref": "dog-sledding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_dog-sledding-adventure.jpg" + }, + { + "name": "Northern Lights Viewing", + "description": "Experience the magic of the Aurora Borealis dancing across the Arctic sky. Join a guided evening tour to escape the city lights and witness this breathtaking natural phenomenon. Warm beverages and local folklore add to the enchantment of this unforgettable experience.", + "locationName": "Ilulissat Icefjord and surrounding areas", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "northern-lights-viewing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_northern-lights-viewing.jpg" + }, + { + "name": "Whale Watching Excursion", + "description": "Embark on a thrilling boat trip in search of majestic whales that inhabit the waters around Ilulissat Icefjord. Witness humpback whales, minke whales, and even fin whales breaching and spouting in their natural habitat. Knowledgeable guides provide insights into these fascinating creatures and the delicate Arctic ecosystem.", + "locationName": "Disko Bay", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "greenland", + "ref": "whale-watching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_whale-watching-excursion.jpg" + }, + { + "name": "Sermermiut Eskimo Settlement Hike", + "description": "Step back in time with a hike to the abandoned Sermermiut settlement. Explore the remains of ancient Inuit dwellings and learn about the history and culture of the people who thrived in this harsh Arctic environment for centuries. The panoramic views of the Icefjord add to the allure of this historical and scenic adventure.", + "locationName": "Sermermiut", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "greenland", + "ref": "sermermiut-eskimo-settlement-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_sermermiut-eskimo-settlement-hike.jpg" + }, + { + "name": "Greenlandic Gastronomy Experience", + "description": "Indulge in the unique flavors of Greenlandic cuisine. Savor traditional dishes like suaasat (seal soup), musk ox steak, and fresh Arctic seafood. Local restaurants and cafes offer a delightful culinary journey, showcasing the region's rich food culture and reliance on seasonal ingredients.", + "locationName": "Ilulissat town", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "greenlandic-gastronomy-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_greenlandic-gastronomy-experience.jpg" + }, + { + "name": "Arctic Wildlife Photography Tour", + "description": "Capture the beauty of Greenland's wildlife through the lens of your camera. Join a photography tour led by experienced guides who will take you to prime locations for spotting reindeer, Arctic foxes, seabirds, and other fascinating creatures. Learn valuable photography tips and techniques while immersing yourself in the stunning Arctic landscapes.", + "locationName": "Ilulissat Icefjord and surrounding areas", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "greenland", + "ref": "arctic-wildlife-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_arctic-wildlife-photography-tour.jpg" + }, + { + "name": "Midnight Sun Hike", + "description": "Experience the surreal phenomenon of the midnight sun, where the sun remains visible even at night, by embarking on a guided hiking tour. Witness the ethereal glow of the sun casting long shadows on the icebergs and the surrounding landscape, creating a truly magical experience. This unique opportunity allows you to explore the Arctic wilderness under the soft light of the midnight sun, capturing breathtaking photos and creating unforgettable memories.", + "locationName": "Sermermiut Valley", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "midnight-sun-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_midnight-sun-hike.jpg" + }, + { + "name": "Ice Climbing Adventure", + "description": "For thrill-seekers, embark on an ice climbing adventure on the frozen waterfalls and cliffs surrounding the Ilulissat Icefjord. With experienced guides and proper equipment, challenge yourself with this exhilarating activity, testing your strength and agility as you ascend the icy surfaces. Enjoy breathtaking views of the icefjord and surrounding landscapes from unique vantage points.", + "locationName": "Various locations around the Ilulissat Icefjord", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "greenland", + "ref": "ice-climbing-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_ice-climbing-adventure.jpg" + }, + { + "name": "Greenlandic Culture Workshop", + "description": "Immerse yourself in the rich culture of Greenland by participating in a Greenlandic culture workshop. Learn about traditional crafts such as drum dancing, mask making, and Inuit storytelling. Engage with local artisans and gain insights into their way of life, traditions, and connection to the Arctic environment.", + "locationName": "Ilulissat Community Center", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "greenland", + "ref": "greenlandic-culture-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_greenlandic-culture-workshop.jpg" + }, + { + "name": "Arctic Wildlife Safari", + "description": "Embark on an Arctic wildlife safari by boat or jeep to explore the diverse fauna of the region. Keep an eye out for reindeer, Arctic foxes, musk oxen, and various bird species that inhabit the area. Learn about their adaptations to the harsh Arctic environment and their role in the ecosystem from knowledgeable guides.", + "locationName": "Tundra areas around Ilulissat Icefjord", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "arctic-wildlife-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_arctic-wildlife-safari.jpg" + }, + { + "name": "Kayak Fishing Expedition", + "description": "Combine the thrill of kayaking with the excitement of fishing on a kayak fishing expedition. Paddle through the calm waters of the Ilulissat Icefjord, surrounded by towering icebergs, and try your luck at catching Arctic fish species like halibut or cod. Enjoy the tranquility of the surroundings and the satisfaction of reeling in your own catch.", + "locationName": "Ilulissat Icefjord", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "kayak-fishing-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_kayak-fishing-expedition.jpg" + }, + { + "name": "Snowshoeing in the Arctic Wilderness", + "description": "Embark on a serene snowshoeing adventure through the pristine Arctic wilderness surrounding the Ilulissat Icefjord. Explore the snow-covered landscapes, breathe in the crisp air, and experience the tranquility of the Arctic winter. This activity offers a unique way to connect with nature and enjoy the peaceful beauty of Greenland.", + "locationName": "Ilulissat Icefjord surrounding area", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "snowshoeing-in-the-arctic-wilderness", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_snowshoeing-in-the-arctic-wilderness.jpg" + }, + { + "name": "Scenic Flight over the Icefjord", + "description": "Take to the skies for a breathtaking scenic flight over the Ilulissat Icefjord and witness the grandeur of the icebergs from a different perspective. Soar above the frozen landscape, marvel at the vastness of the icefjord, and capture stunning aerial photographs of this natural wonder.", + "locationName": "Ilulissat Airport", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "greenland", + "ref": "scenic-flight-over-the-icefjord", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_scenic-flight-over-the-icefjord.jpg" + }, + { + "name": "Visit the Knud Rasmussen Museum", + "description": "Delve into the history of Greenland and the Arctic at the Knud Rasmussen Museum. Learn about the famous polar explorer Knud Rasmussen, explore exhibits on Inuit culture and history, and gain insights into the region's unique heritage and way of life.", + "locationName": "Ilulissat town", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "greenland", + "ref": "visit-the-knud-rasmussen-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_visit-the-knud-rasmussen-museum.jpg" + }, + { + "name": "Greenlandic Kaffemik Experience", + "description": "Immerse yourself in Greenlandic culture by attending a traditional Kaffemik gathering. Enjoy coffee, tea, and local delicacies while socializing with local residents and learning about their customs and traditions. This is a wonderful opportunity to experience Greenlandic hospitality and connect with the community.", + "locationName": "Local homes in Ilulissat", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "greenland", + "ref": "greenlandic-kaffemik-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_greenlandic-kaffemik-experience.jpg" + }, + { + "name": "Stargazing in the Arctic Night", + "description": "Experience the magic of the Arctic night sky with a stargazing excursion. Away from the city lights, marvel at the celestial wonders, including the possibility of witnessing the mesmerizing Northern Lights. Learn about constellations and astronomical phenomena from expert guides.", + "locationName": "Ilulissat Icefjord surrounding area", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "greenland", + "ref": "stargazing-in-the-arctic-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/greenland_stargazing-in-the-arctic-night.jpg" + }, + { + "name": "Hike to Carbet Falls", + "description": "Embark on an invigorating hike through the lush rainforest to witness the breathtaking Carbet Falls, a series of three cascading waterfalls nestled amidst volcanic slopes. The trail offers varying difficulty levels, catering to both casual hikers and seasoned adventurers. Be prepared to be mesmerized by the power and beauty of nature as you immerse yourself in the sights and sounds of the rainforest.", + "locationName": "Carbet Falls", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "guadeloupe", + "ref": "hike-to-carbet-falls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_hike-to-carbet-falls.jpg" + }, + { + "name": "Discover the Charm of Pointe-à-Pitre", + "description": "Wander through the colorful streets of Pointe-à-Pitre, Guadeloupe's largest city, and soak up the vibrant atmosphere. Explore the bustling markets, admire the colonial architecture, and visit historical landmarks such as the Saint-Pierre and Saint-Paul Cathedral. Don't miss the opportunity to savor delicious Creole cuisine at local restaurants and experience the unique blend of French and Caribbean culture.", + "locationName": "Pointe-à-Pitre", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "guadeloupe", + "ref": "discover-the-charm-of-pointe-pitre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_discover-the-charm-of-pointe-pitre.jpg" + }, + { + "name": "Relax on Grande Anse Beach", + "description": "Unwind on the pristine sands of Grande Anse Beach, considered one of the most beautiful beaches in Guadeloupe. Bask in the warm Caribbean sun, take a refreshing dip in the turquoise waters, or simply enjoy the breathtaking views of the coastline. With its calm waters and gentle waves, it's an ideal spot for families with children and those seeking a tranquil escape.", + "locationName": "Grande Anse Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "guadeloupe", + "ref": "relax-on-grande-anse-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_relax-on-grande-anse-beach.jpg" + }, + { + "name": "Visit La Soufrière Volcano", + "description": "Embark on a thrilling adventure to La Soufrière, an active volcano and the highest peak in the Lesser Antilles. Hike through volcanic landscapes, witness steaming fumaroles, and enjoy panoramic views from the summit. This experience is perfect for adventure seekers and those interested in the geological wonders of the island.", + "locationName": "La Soufrière Volcano", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "guadeloupe", + "ref": "visit-la-soufri-re-volcano", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_visit-la-soufri-re-volcano.jpg" + }, + { + "name": "Island Hopping Adventure", + "description": "Embark on a boat tour to explore the surrounding islands of Guadeloupe, each offering its own unique charm. Discover the pristine beaches of Petite Terre, snorkel in the turquoise waters of Marie-Galante, or immerse yourself in the history of Les Saintes. This island-hopping adventure promises breathtaking scenery and unforgettable memories.", + "locationName": "Guadeloupe Archipelago", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "guadeloupe", + "ref": "island-hopping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_island-hopping-adventure.jpg" + }, + { + "name": "Kayaking through the Mangroves", + "description": "Paddle through the tranquil mangrove forests of Grand Cul-de-Sac Marin, a protected natural reserve. Observe the diverse ecosystem, including exotic birds, fish, and crabs, while enjoying the serenity of this unique environment. Kayaking tours offer a peaceful way to connect with nature and explore Guadeloupe's hidden gems.", + "locationName": "Grand Cul-de-Sac Marin", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "guadeloupe", + "ref": "kayaking-through-the-mangroves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_kayaking-through-the-mangroves.jpg" + }, + { + "name": "Indulge in Creole Cuisine", + "description": "Embark on a culinary journey through Guadeloupe's vibrant food scene. Savor the unique flavors of Creole cuisine, a fusion of French, African, and Indian influences. Sample local delicacies such as accras (cod fritters), colombo (curried meat or vegetables), and bokit (stuffed sandwich) at traditional restaurants or bustling markets.", + "locationName": "Various Restaurants and Markets", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "guadeloupe", + "ref": "indulge-in-creole-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_indulge-in-creole-cuisine.jpg" + }, + { + "name": "Sunset Catamaran Cruise", + "description": "Set sail on a romantic catamaran cruise as the sun dips below the horizon. Enjoy breathtaking views of the coastline, sip on cocktails, and sway to the rhythm of Caribbean music. This unforgettable experience is perfect for couples or anyone seeking a magical evening on the water.", + "locationName": "Guadeloupe Coastline", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "guadeloupe", + "ref": "sunset-catamaran-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_sunset-catamaran-cruise.jpg" + }, + { + "name": "Discover the History of Fort Delgrès", + "description": "Step back in time at Fort Delgrès, a historic landmark overlooking Basse-Terre. Explore the ruins of this 17th-century fort, which played a significant role in Guadeloupe's colonial past. Learn about the island's history and enjoy panoramic views of the surrounding landscape.", + "locationName": "Fort Delgrès", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "guadeloupe", + "ref": "discover-the-history-of-fort-delgr-s", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_discover-the-history-of-fort-delgr-s.jpg" + }, + { + "name": "Canyoning Adventure in the Jungle", + "description": "Embark on an exhilarating canyoning adventure through Guadeloupe's lush rainforests. Rappel down cascading waterfalls, slide down natural water slides, and jump into refreshing pools. This adrenaline-pumping activity is perfect for thrill-seekers and nature lovers.", + "locationName": "Guadeloupe National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "guadeloupe", + "ref": "canyoning-adventure-in-the-jungle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_canyoning-adventure-in-the-jungle.jpg" + }, + { + "name": "Horseback Riding on the Beach", + "description": "Experience the beauty of Guadeloupe's coastline on horseback. Ride along pristine beaches, through coconut groves, and enjoy breathtaking ocean views. This activity is suitable for all skill levels and offers a unique perspective of the island.", + "locationName": "Sainte-Anne Beach", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "guadeloupe", + "ref": "horseback-riding-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_horseback-riding-on-the-beach.jpg" + }, + { + "name": "Rum Distillery Tour and Tasting", + "description": "Delve into the rich history of rum production in Guadeloupe. Visit a traditional distillery, learn about the rum-making process, and indulge in a tasting of various aged rums. This cultural experience is perfect for those who appreciate fine spirits.", + "locationName": "Damoiseau Distillery", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "guadeloupe", + "ref": "rum-distillery-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_rum-distillery-tour-and-tasting.jpg" + }, + { + "name": "Stargazing on the Beach", + "description": "Escape the city lights and marvel at the celestial wonders above. Join a guided stargazing tour on a secluded beach, where you can observe constellations, planets, and the Milky Way with the help of telescopes and expert astronomers.", + "locationName": "Plage de la Caravelle", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "guadeloupe", + "ref": "stargazing-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_stargazing-on-the-beach.jpg" + }, + { + "name": "Scuba Diving at Pigeon Island", + "description": "Explore the vibrant underwater world of Pigeon Island, a protected marine reserve renowned for its diverse marine life. Discover colorful coral reefs, swim alongside tropical fish, and encounter fascinating sea creatures such as sea turtles and rays. This activity is perfect for certified scuba divers.", + "locationName": "Pigeon Island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "guadeloupe", + "ref": "scuba-diving-at-pigeon-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_scuba-diving-at-pigeon-island.jpg" + }, + { + "name": "Ziplining through the Rainforest Canopy", + "description": "Experience the thrill of soaring through the lush rainforest canopy on a zipline adventure. Enjoy breathtaking views of the island's diverse flora and fauna as you glide from platform to platform, feeling the adrenaline rush of this exhilarating activity. Several locations across Basse-Terre offer zipline courses suitable for various ages and skill levels.", + "locationName": "Rainforest Canopy", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "guadeloupe", + "ref": "ziplining-through-the-rainforest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_ziplining-through-the-rainforest-canopy.jpg" + }, + { + "name": "Explore the Local Markets", + "description": "Immerse yourself in the vibrant culture of Guadeloupe by visiting the bustling local markets. Discover a variety of fresh produce, spices, handcrafted souvenirs, and local delicacies. Engage with friendly vendors, practice your French or Creole, and experience the authentic charm of Guadeloupean life.", + "locationName": "Pointe-à-Pitre or Basse-Terre", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "guadeloupe", + "ref": "explore-the-local-markets", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_explore-the-local-markets.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Delve into the world of Creole cuisine by taking a cooking class. Learn the secrets of preparing traditional dishes like Colombo, accras, and poisson cru. Master the art of blending spices and creating flavorful sauces, and enjoy the fruits of your labor with a delicious meal.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "guadeloupe", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_take-a-cooking-class.jpg" + }, + { + "name": "Go Birdwatching in the National Park", + "description": "Embark on a birdwatching adventure in Guadeloupe National Park. With over 100 bird species, including the Guadeloupe woodpecker and the white-breasted thrasher, the park offers a haven for bird enthusiasts. Hike through diverse ecosystems, from rainforests to mangroves, and observe these feathered creatures in their natural habitat.", + "locationName": "Guadeloupe National Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "guadeloupe", + "ref": "go-birdwatching-in-the-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_go-birdwatching-in-the-national-park.jpg" + }, + { + "name": "Enjoy Watersports", + "description": "Embrace the crystal-clear waters of Guadeloupe with a variety of watersports. Try windsurfing or kitesurfing, rent a jet ski for an adrenaline rush, or go stand-up paddleboarding for a more relaxing experience. The calm lagoons and steady trade winds provide ideal conditions for beginners and experienced enthusiasts.", + "locationName": "Various beaches", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "guadeloupe", + "ref": "enjoy-watersports", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guadeloupe_enjoy-watersports.jpg" + }, + { + "name": "Kayaking on the Lake", + "description": "Embark on a serene kayaking adventure across the crystal-clear waters of Lake Atitlán. Witness breathtaking panoramic views of the surrounding volcanoes and charming villages while enjoying the tranquility of the lake. Rent a kayak and explore at your own pace, or join a guided tour to discover hidden coves and learn about the area's rich history and ecosystem.", + "locationName": "Lake Atitlán", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "guatemala", + "ref": "kayaking-on-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_kayaking-on-the-lake.jpg" + }, + { + "name": "Hiking Indian Nose", + "description": "Challenge yourself with a hike up Indian Nose, a mountain peak known for its unique profile resembling a person's face. The trail offers stunning vistas of the lake and surrounding landscapes, especially during sunrise when the golden light bathes the scenery. Be prepared for a moderate climb and pack water and snacks for the journey.", + "locationName": "Indian Nose", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "guatemala", + "ref": "hiking-indian-nose", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_hiking-indian-nose.jpg" + }, + { + "name": "Exploring Mayan Villages", + "description": "Immerse yourself in the vibrant Mayan culture by visiting the traditional villages that dot the shores of Lake Atitlán. Each village has its unique charm, from the bustling market of Santiago Atitlán to the artistic hub of San Juan la Laguna. Interact with local artisans, witness traditional weaving techniques, and learn about their customs and beliefs.", + "locationName": "Various villages around Lake Atitlán", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "guatemala", + "ref": "exploring-mayan-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_exploring-mayan-villages.jpg" + }, + { + "name": "Coffee Plantation Tour", + "description": "Delve into the world of Guatemalan coffee with a tour of a local coffee plantation. Learn about the coffee-making process, from bean to cup, and discover the unique flavors and aromas of the region's renowned coffee beans. Enjoy a tasting session and appreciate the meticulous care that goes into each brew.", + "locationName": "Various coffee plantations around Lake Atitlán", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "guatemala", + "ref": "coffee-plantation-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_coffee-plantation-tour.jpg" + }, + { + "name": "Sunset Cruise", + "description": "Conclude your day with a magical sunset cruise on Lake Atitlán. Witness the sky ablaze with vibrant colors as the sun dips below the horizon, casting long shadows over the water and surrounding volcanoes. Enjoy the peaceful ambiance and capture unforgettable moments of this breathtaking spectacle.", + "locationName": "Lake Atitlán", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "guatemala", + "ref": "sunset-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_sunset-cruise.jpg" + }, + { + "name": "Scuba Diving in Lake Atitlán", + "description": "Explore the underwater world of Lake Atitlán, including unique volcanic formations, submerged Mayan ruins, and diverse fish species. Several dive shops around the lake offer guided dives for all skill levels, allowing you to discover the hidden depths of this volcanic lake.", + "locationName": "Lake Atitlán", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "guatemala", + "ref": "scuba-diving-in-lake-atitl-n", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_scuba-diving-in-lake-atitl-n.jpg" + }, + { + "name": "Paragliding over Lake Atitlán", + "description": "Soar above the stunning landscapes of Lake Atitlán on a tandem paragliding flight. Experience breathtaking aerial views of the volcanic caldera, surrounding villages, and the glistening lake. This thrilling adventure offers a unique perspective and unforgettable memories.", + "locationName": "Lake Atitlán", + "duration": 1, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "guatemala", + "ref": "paragliding-over-lake-atitl-n", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_paragliding-over-lake-atitl-n.jpg" + }, + { + "name": "Visit the Chichicastenango Market", + "description": "Immerse yourself in the vibrant atmosphere of the Chichicastenango Market, one of the largest and most colorful markets in Central America. Browse through a vast array of handicrafts, textiles, ceramics, and local produce, while experiencing the cultural richness of the indigenous Mayan people.", + "locationName": "Chichicastenango", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "guatemala", + "ref": "visit-the-chichicastenango-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_visit-the-chichicastenango-market.jpg" + }, + { + "name": "Spanish Immersion and Homestay", + "description": "Combine language learning with cultural immersion through a Spanish immersion program and homestay experience. Live with a local family, attend language classes, and practice your Spanish while engaging in daily life and cultural activities. This is a fantastic way to gain language skills and a deeper understanding of Guatemalan culture.", + "locationName": "Lake Atitlán", + "duration": 14, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "guatemala", + "ref": "spanish-immersion-and-homestay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_spanish-immersion-and-homestay.jpg" + }, + { + "name": "Relax at a lakeside spa", + "description": "Unwind and rejuvenate at one of the many lakeside spas offering a variety of treatments, including massages, facials, and body wraps. Enjoy stunning lake views while indulging in relaxation and self-care, providing the perfect escape from the everyday hustle and bustle.", + "locationName": "Lake Atitlán", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "guatemala", + "ref": "relax-at-a-lakeside-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_relax-at-a-lakeside-spa.jpg" + }, + { + "name": "Birdwatching at the Atitlán Nature Reserve", + "description": "Embark on a serene journey through the Atitlán Nature Reserve, a sanctuary for diverse bird species. Hike through lush trails, accompanied by expert guides, and spot vibrant feathered creatures like the azure-rumped tanager and pink-headed warbler. Immerse yourself in the tranquil sounds of nature and capture stunning photos of these avian wonders.", + "locationName": "Atitlán Nature Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "guatemala", + "ref": "birdwatching-at-the-atitl-n-nature-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_birdwatching-at-the-atitl-n-nature-reserve.jpg" + }, + { + "name": "Mountain Biking Adventure", + "description": "Experience the thrill of mountain biking through the rugged landscapes surrounding Lake Atitlán. Rent a bike and explore scenic trails with varying difficulty levels, offering breathtaking views of the lake and volcanoes. Whether you're a seasoned rider or a beginner, this adventure will get your adrenaline pumping and provide a unique perspective of the region.", + "locationName": "Various trails around Lake Atitlán", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "guatemala", + "ref": "mountain-biking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_mountain-biking-adventure.jpg" + }, + { + "name": "Weaving Workshop with Local Artisans", + "description": "Immerse yourself in the rich textile traditions of Guatemala with a weaving workshop. Learn from skilled Mayan artisans in their homes or workshops, gaining insights into the intricate techniques and cultural significance of backstrap loom weaving. Create your own unique textile souvenir and support local communities.", + "locationName": "Villages around Lake Atitlán", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "guatemala", + "ref": "weaving-workshop-with-local-artisans", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_weaving-workshop-with-local-artisans.jpg" + }, + { + "name": "Stargazing by the Lake", + "description": "Escape the city lights and marvel at the celestial wonders above Lake Atitlán. Join a stargazing tour or simply find a secluded spot on the shore. With minimal light pollution, the night sky explodes with stars, constellations, and even the Milky Way. Relax under the vast expanse and contemplate the universe.", + "locationName": "Lake Atitlán shores", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "guatemala", + "ref": "stargazing-by-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_stargazing-by-the-lake.jpg" + }, + { + "name": "Stand Up Paddleboarding on the Lake", + "description": "Glide across the calm waters of Lake Atitlán on a stand-up paddleboard. Rent a board and explore the shoreline at your own pace, enjoying the panoramic views of the surrounding volcanoes and villages. This relaxing activity is perfect for all skill levels and offers a unique way to connect with nature.", + "locationName": "Lake Atitlán", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "guatemala", + "ref": "stand-up-paddleboarding-on-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_stand-up-paddleboarding-on-the-lake.jpg" + }, + { + "name": "Rock Climbing at Indian Nose", + "description": "Challenge yourself with a thrilling rock climbing adventure at Indian Nose, a prominent mountain overlooking Lake Atitlán. Experienced guides will lead you on an exhilarating ascent, offering stunning panoramic views of the lake and surrounding volcanoes as you conquer the rocky cliffs. This activity is perfect for adventure seekers looking for an adrenaline rush and a unique perspective of the breathtaking landscape.", + "locationName": "Indian Nose", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "guatemala", + "ref": "rock-climbing-at-indian-nose", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_rock-climbing-at-indian-nose.jpg" + }, + { + "name": "Visit Santiago Atitlán and its Mayan Culture", + "description": "Embark on a cultural journey to Santiago Atitlán, the largest lakeside town known for its strong Mayan heritage. Explore the vibrant local market, where you can find traditional textiles, handicrafts, and fresh produce. Visit the church of St. James the Apostle, a significant religious site, and learn about the town's unique blend of Catholicism and Mayan beliefs. Immerse yourself in the local culture and witness traditional ceremonies or rituals.", + "locationName": "Santiago Atitlán", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "guatemala", + "ref": "visit-santiago-atitl-n-and-its-mayan-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_visit-santiago-atitl-n-and-its-mayan-culture.jpg" + }, + { + "name": "Horseback Riding through the Highlands", + "description": "Experience the beauty of the Guatemalan highlands on horseback. Ride through scenic trails, passing by traditional villages, coffee plantations, and lush forests. Enjoy breathtaking views of the lake and volcanoes as you connect with nature and experience the local way of life. This activity is suitable for all skill levels and offers a unique way to explore the region.", + "locationName": "Lake Atitlán Highlands", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "guatemala", + "ref": "horseback-riding-through-the-highlands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_horseback-riding-through-the-highlands.jpg" + }, + { + "name": "Sample Local Cuisine at a Cooking Class", + "description": "Delve into the flavors of Guatemalan cuisine by participating in a cooking class. Learn to prepare traditional dishes like pepián, a rich stew, or rellenitos, sweet plantains filled with black beans. Discover the secrets of local ingredients and cooking techniques, and savor the delicious results of your culinary creations. This activity is a must for food enthusiasts and provides a deeper understanding of Guatemalan culture.", + "locationName": "Various locations around Lake Atitlán", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "guatemala", + "ref": "sample-local-cuisine-at-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_sample-local-cuisine-at-a-cooking-class.jpg" + }, + { + "name": "Catch a Live Music Performance", + "description": "Immerse yourself in the vibrant nightlife of Lake Atitlán by attending a live music performance. Several bars and restaurants around the lake host local bands and musicians, offering a diverse range of musical styles from traditional Mayan music to contemporary Latin beats. Enjoy a lively atmosphere, sip on local cocktails, and dance the night away under the stars.", + "locationName": "Various bars and restaurants around Lake Atitlán", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "guatemala", + "ref": "catch-a-live-music-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/guatemala_catch-a-live-music-performance.jpg" + }, + { + "name": "Cruise Among the Limestone Islands", + "description": "Embark on a scenic cruise through the emerald waters of Ha Long Bay, marveling at the towering limestone formations and hidden caves. Enjoy a delicious seafood lunch on board as you soak in the breathtaking views of this UNESCO World Heritage Site. Opt for a day trip or an overnight adventure on a traditional junk boat for a truly immersive experience.", + "locationName": "Ha Long Bay", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ha-long-bay", + "ref": "cruise-among-the-limestone-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_cruise-among-the-limestone-islands.jpg" + }, + { + "name": "Kayaking Adventure", + "description": "Paddle through the tranquil waters of Ha Long Bay on a kayaking excursion, exploring hidden coves, lagoons, and floating villages. Get up close to the limestone karst formations and discover secret beaches. This activity is perfect for those seeking a more active and adventurous way to experience the bay.", + "locationName": "Ha Long Bay", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "kayaking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_kayaking-adventure.jpg" + }, + { + "name": "Visit Sung Sot Cave (Surprise Cave)", + "description": "Explore the magnificent Sung Sot Cave, one of the largest and most impressive caves in Ha Long Bay. Marvel at the stunning stalactites and stalagmites, and learn about the fascinating geological history of the region. This cave offers a unique glimpse into the hidden world beneath the limestone islands.", + "locationName": "Bo Hon Island", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "visit-sung-sot-cave-surprise-cave-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_visit-sung-sot-cave-surprise-cave-.jpg" + }, + { + "name": "Explore Cat Ba Island", + "description": "Venture beyond the bay to Cat Ba Island, the largest island in the Ha Long archipelago. Hike through the lush Cat Ba National Park, home to diverse flora and fauna, including the endangered Cat Ba langur. Visit the Hospital Cave, a historical landmark used during the Vietnam War, or relax on the pristine beaches of Cat Co.", + "locationName": "Cat Ba Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "ha-long-bay", + "ref": "explore-cat-ba-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_explore-cat-ba-island.jpg" + }, + { + "name": "Indulge in Local Seafood", + "description": "Savor the freshest seafood at one of the many floating restaurants in Ha Long Bay. Enjoy a variety of dishes, including grilled fish, prawns, and crabs, while taking in the stunning views of the surrounding islands. This is a must-do experience for any foodie visiting the region.", + "locationName": "Ha Long Bay floating restaurants", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "indulge-in-local-seafood", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_indulge-in-local-seafood.jpg" + }, + { + "name": "Rock Climbing and Deep Water Soloing", + "description": "Experience the thrill of scaling Ha Long Bay's limestone cliffs with rock climbing and deep water soloing adventures. Professional guides will lead you on exhilarating climbs, allowing you to conquer challenging routes and enjoy breathtaking views of the bay. For the ultimate adrenaline rush, try deep water soloing, where you climb without ropes over the water, taking a refreshing plunge upon reaching the top.", + "locationName": "Cat Ba Island and Lan Ha Bay", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "ha-long-bay", + "ref": "rock-climbing-and-deep-water-soloing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_rock-climbing-and-deep-water-soloing.jpg" + }, + { + "name": "Floating Village Visit and Cultural Immersion", + "description": "Immerse yourself in the local culture by visiting a floating village in Ha Long Bay. Interact with the friendly residents, learn about their traditional way of life, and witness their unique fishing techniques. You can even try your hand at net fishing or pearl farming. Enjoy a home-cooked meal in a local family's home, savoring authentic Vietnamese flavors and hospitality.", + "locationName": "Cua Van Floating Village or Vung Vieng Fishing Village", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "floating-village-visit-and-cultural-immersion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_floating-village-visit-and-cultural-immersion.jpg" + }, + { + "name": "Sunset Cruise with Squid Fishing", + "description": "Embark on a romantic sunset cruise through the enchanting waters of Ha Long Bay. As the sky transforms into a canvas of vibrant colors, witness the magical beauty of the limestone islands bathed in golden light. Enjoy a delicious seafood dinner on board and try your hand at squid fishing under the starry night sky.", + "locationName": "Ha Long Bay", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "ha-long-bay", + "ref": "sunset-cruise-with-squid-fishing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_sunset-cruise-with-squid-fishing.jpg" + }, + { + "name": "Hiking and Exploring Cat Ba National Park", + "description": "Embark on a hiking adventure through the lush rainforests of Cat Ba National Park. Discover hidden trails, encounter diverse wildlife, and reach panoramic viewpoints offering breathtaking vistas of the bay and surrounding islands. Keep an eye out for the elusive Cat Ba langur, one of the world's most endangered primates.", + "locationName": "Cat Ba National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "hiking-and-exploring-cat-ba-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_hiking-and-exploring-cat-ba-national-park.jpg" + }, + { + "name": "Seaplane or Helicopter Tour", + "description": "Take to the skies for an unforgettable aerial perspective of Ha Long Bay. A seaplane or helicopter tour will provide you with stunning panoramic views of the limestone islands, hidden lagoons, and emerald waters. Capture breathtaking photos and create lasting memories of this unique and awe-inspiring landscape.", + "locationName": "Ha Long Bay", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "ha-long-bay", + "ref": "seaplane-or-helicopter-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_seaplane-or-helicopter-tour.jpg" + }, + { + "name": "Tai Chi on the Sundeck", + "description": "Start your day with a serene Tai Chi session on the sundeck of your cruise ship or at a beachfront resort. As the sun rises over the bay, breathe in the fresh air and move your body in harmony with the gentle flow of Tai Chi, setting the tone for a peaceful and mindful day.", + "locationName": "Cruise ship sundeck or beachfront resort", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "tai-chi-on-the-sundeck", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_tai-chi-on-the-sundeck.jpg" + }, + { + "name": "Cooking Class with a Local Chef", + "description": "Immerse yourself in Vietnamese culinary culture by joining a cooking class. Learn to prepare authentic dishes like fresh spring rolls, fragrant pho, or savory seafood specialties under the guidance of a local chef. This hands-on experience will tantalize your taste buds and leave you with newfound culinary skills.", + "locationName": "Local cooking school or restaurant", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "ha-long-bay", + "ref": "cooking-class-with-a-local-chef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_cooking-class-with-a-local-chef.jpg" + }, + { + "name": "Visit a Pearl Farm", + "description": "Discover the fascinating process of pearl cultivation with a visit to a local pearl farm. Learn about the different types of pearls, the meticulous techniques involved in their cultivation, and even witness the delicate art of pearl harvesting. You can also browse exquisite pearl jewelry and find the perfect souvenir to remember your trip.", + "locationName": "Pearl farm on a nearby island", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "visit-a-pearl-farm", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_visit-a-pearl-farm.jpg" + }, + { + "name": "Biking through Cat Ba Island's Countryside", + "description": "Rent a bicycle and embark on a scenic journey through the picturesque countryside of Cat Ba Island. Pedal along quiet roads, passing by rice paddies, traditional villages, and lush greenery. This leisurely activity allows you to experience the island's natural beauty and local life at your own pace.", + "locationName": "Cat Ba Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "ha-long-bay", + "ref": "biking-through-cat-ba-island-s-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_biking-through-cat-ba-island-s-countryside.jpg" + }, + { + "name": "Stargazing on the Bay", + "description": "Escape the city lights and experience the magic of stargazing on the bay. Find a secluded spot on the beach or your cruise ship deck, lie down, and gaze up at the breathtaking canopy of stars. With minimal light pollution, Ha Long Bay offers an incredible opportunity to appreciate the vastness and beauty of the night sky.", + "locationName": "Secluded beach or cruise ship deck", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "ha-long-bay", + "ref": "stargazing-on-the-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_stargazing-on-the-bay.jpg" + }, + { + "name": "Scuba Diving and Snorkeling Adventures", + "description": "Dive into the crystal-clear waters of Ha Long Bay and discover a vibrant underwater world teeming with marine life. Explore coral reefs, encounter colorful fish, and experience the thrill of discovering hidden caves beneath the surface. Whether you're a seasoned diver or a beginner snorkeler, there are options for all levels to enjoy this unforgettable experience.", + "locationName": "Various dive sites around Ha Long Bay", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "ha-long-bay", + "ref": "scuba-diving-and-snorkeling-adventures", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_scuba-diving-and-snorkeling-adventures.jpg" + }, + { + "name": "Visit Cua Van Floating Village", + "description": "Embark on a unique cultural experience by visiting Cua Van, a traditional floating village in Ha Long Bay. Interact with the local community, learn about their way of life, and witness their fishing traditions passed down through generations. You can even try your hand at rowing a traditional bamboo boat and gain insight into this fascinating way of life on the water.", + "locationName": "Cua Van Floating Village", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "visit-cua-van-floating-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_visit-cua-van-floating-village.jpg" + }, + { + "name": "Indulge in Vietnamese Cooking Classes", + "description": "Unleash your inner chef and learn the secrets of authentic Vietnamese cuisine. Join a cooking class led by a local expert and master the art of preparing traditional dishes like fresh spring rolls, fragrant pho, and flavorful stir-fries. Discover the unique blend of herbs, spices, and fresh ingredients that make Vietnamese food so delicious.", + "locationName": "Various cooking schools or restaurants in Ha Long Bay", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "indulge-in-vietnamese-cooking-classes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_indulge-in-vietnamese-cooking-classes.jpg" + }, + { + "name": "Relaxation and Wellness Retreats", + "description": "Escape the hustle and bustle of everyday life and embrace tranquility with a rejuvenating wellness retreat. Ha Long Bay offers a range of options, from luxurious spa resorts to serene yoga retreats on secluded islands. Pamper yourself with massages, meditation sessions, and holistic treatments while surrounded by the breathtaking natural beauty of the bay.", + "locationName": "Various spa resorts and retreat centers around Ha Long Bay", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "ha-long-bay", + "ref": "relaxation-and-wellness-retreats", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_relaxation-and-wellness-retreats.jpg" + }, + { + "name": "Explore the Enchanting Thien Cung Cave", + "description": "Venture into the depths of Thien Cung Cave (Heavenly Palace Cave) and be amazed by its stunning natural formations. Witness the intricate stalactites and stalagmites, illuminated by colorful lights, and learn about the legends and folklore surrounding this magical cave. It's a truly awe-inspiring experience that will leave you speechless.", + "locationName": "Thien Cung Cave", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ha-long-bay", + "ref": "explore-the-enchanting-thien-cung-cave", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ha-long-bay_explore-the-enchanting-thien-cung-cave.jpg" + }, + { + "name": "Explore the Pennsylvania State Capitol Building", + "description": "Immerse yourselves in the grandeur of the Pennsylvania State Capitol Building, a masterpiece of Beaux-Arts architecture. Take a guided tour to marvel at the opulent interiors, intricate artwork, and the stunning rotunda. Learn about the state's rich history and the workings of the government.", + "locationName": "Pennsylvania State Capitol Building", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "explore-the-pennsylvania-state-capitol-building", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_explore-the-pennsylvania-state-capitol-building.jpg" + }, + { + "name": "Enjoy Family Fun at City Island", + "description": "Escape to City Island, a recreational haven located on the Susquehanna River. Take a leisurely stroll along the riverfront, rent bikes to explore the island's trails, or have a picnic lunch in the park. Catch a baseball game at FNB Field, home to the Harrisburg Senators, or ride the City Island Railroad for a scenic journey. There's something for everyone to enjoy.", + "locationName": "City Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "enjoy-family-fun-at-city-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_enjoy-family-fun-at-city-island.jpg" + }, + { + "name": "Stroll Through the Historic Midtown Neighborhood", + "description": "Wander through the charming streets of Midtown Harrisburg, known for its Victorian-era architecture and vibrant atmosphere. Explore independent shops, art galleries, and trendy restaurants. Visit the Broad Street Market, a historic marketplace offering a diverse selection of local produce, artisanal goods, and international cuisine.", + "locationName": "Midtown Harrisburg", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "stroll-through-the-historic-midtown-neighborhood", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_stroll-through-the-historic-midtown-neighborhood.jpg" + }, + { + "name": "Cruise Along the Susquehanna River", + "description": "Embark on a scenic boat tour along the Susquehanna River and admire the city skyline from a different perspective. Enjoy the fresh air and picturesque views as you learn about Harrisburg's history and landmarks. Opt for a dinner cruise for a romantic evening or a sightseeing cruise to capture stunning photos.", + "locationName": "Susquehanna River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "harrisburg", + "ref": "cruise-along-the-susquehanna-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_cruise-along-the-susquehanna-river.jpg" + }, + { + "name": "Hiking or Biking on the Capital Area Greenbelt", + "description": "Embark on a scenic adventure along the 20-mile Capital Area Greenbelt, a paved trail perfect for hiking, biking, or rollerblading. Enjoy the fresh air and picturesque views of the Susquehanna River, Wildwood Park, and various historic landmarks.", + "locationName": "Capital Area Greenbelt", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "harrisburg", + "ref": "hiking-or-biking-on-the-capital-area-greenbelt", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_hiking-or-biking-on-the-capital-area-greenbelt.jpg" + }, + { + "name": "Indulge in Farm-Fresh Flavors at the Broad Street Market", + "description": "Immerse yourself in the vibrant atmosphere of the Broad Street Market, one of the oldest continuously operating farmers' markets in the country. Sample local produce, artisanal cheeses, baked goods, and international cuisine from a diverse array of vendors.", + "locationName": "Broad Street Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "indulge-in-farm-fresh-flavors-at-the-broad-street-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_indulge-in-farm-fresh-flavors-at-the-broad-street-market.jpg" + }, + { + "name": "Catch a Show at the Whitaker Center for Science and the Arts", + "description": "Experience the magic of live performances, captivating exhibits, and educational programs at the Whitaker Center. From Broadway shows to planetarium presentations, there's something to ignite curiosity and inspire creativity for all ages.", + "locationName": "Whitaker Center for Science and the Arts", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "harrisburg", + "ref": "catch-a-show-at-the-whitaker-center-for-science-and-the-arts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_catch-a-show-at-the-whitaker-center-for-science-and-the-arts.jpg" + }, + { + "name": "Explore the Enchanting Hershey Gardens", + "description": "Take a short drive to Hershey and discover the beauty of Hershey Gardens. Wander through themed gardens, admire the vibrant blooms, and learn about the fascinating world of horticulture. Don't miss the Butterfly House for a magical encounter with fluttering friends.", + "locationName": "Hershey Gardens", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "explore-the-enchanting-hershey-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_explore-the-enchanting-hershey-gardens.jpg" + }, + { + "name": "Savor Craft Brews on the Harrisburg Beer Trail", + "description": "Embark on a self-guided tour of Harrisburg's thriving craft beer scene. Visit local breweries like Zeroday Brewing Co., Appalachian Brewing Company, and Troegs Independent Brewing, to sample unique flavors and discover your new favorite brew.", + "locationName": "Harrisburg Beer Trail", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "harrisburg", + "ref": "savor-craft-brews-on-the-harrisburg-beer-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_savor-craft-brews-on-the-harrisburg-beer-trail.jpg" + }, + { + "name": "Wildwood Park Nature Exploration", + "description": "Embark on a journey through diverse ecosystems at Wildwood Park. Hike or bike along scenic trails, observe native wildlife in their natural habitat, and learn about the park's conservation efforts. This immersive experience is perfect for nature enthusiasts and families seeking outdoor adventure.", + "locationName": "Wildwood Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "harrisburg", + "ref": "wildwood-park-nature-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_wildwood-park-nature-exploration.jpg" + }, + { + "name": "Antique Treasure Hunt in Midtown", + "description": "Discover hidden gems and unique finds in Harrisburg's Midtown district. Explore antique shops and vintage stores, where you can browse through a diverse collection of furniture, jewelry, clothing, and more. Uncover a piece of history and add a touch of character to your home.", + "locationName": "Midtown Harrisburg", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "antique-treasure-hunt-in-midtown", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_antique-treasure-hunt-in-midtown.jpg" + }, + { + "name": "Pennsylvania National Fire Museum", + "description": "Dive into the history of firefighting at the Pennsylvania National Fire Museum. Explore exhibits showcasing antique fire engines, equipment, and memorabilia. Learn about the brave men and women who have dedicated their lives to protecting our communities from fire.", + "locationName": "Pennsylvania National Fire Museum", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "pennsylvania-national-fire-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_pennsylvania-national-fire-museum.jpg" + }, + { + "name": "Sunset Riverboat Cruise", + "description": "Experience the beauty of Harrisburg from a different perspective with a relaxing sunset riverboat cruise on the Susquehanna River. Enjoy breathtaking views of the city skyline, the rolling hills, and the picturesque waterfront as you savor a delicious meal and live entertainment.", + "locationName": "Susquehanna River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "harrisburg", + "ref": "sunset-riverboat-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_sunset-riverboat-cruise.jpg" + }, + { + "name": "Fort Hunter Mansion and Park", + "description": "Step back in time at Fort Hunter Mansion and Park, a historic landmark dating back to the 18th century. Explore the beautifully preserved mansion, stroll through the scenic park grounds, and learn about the region's rich history and culture.", + "locationName": "Fort Hunter Mansion and Park", + "duration": 2.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "fort-hunter-mansion-and-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_fort-hunter-mansion-and-park.jpg" + }, + { + "name": "Thrills at Hersheypark", + "description": "Embark on a day of excitement at Hersheypark, a renowned amusement park just a short drive from Harrisburg. Experience thrilling roller coasters, family-friendly rides, water attractions, and delectable chocolate treats. From the iconic wooden coaster, Comet, to the exhilarating Skyrush, there's something for every thrill-seeker. Don't miss the chance to explore ZooAmerica, a walk-through zoo within the park, and indulge in the sweetness of Hershey's Chocolate World.", + "locationName": "Hersheypark", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "harrisburg", + "ref": "thrills-at-hersheypark", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_thrills-at-hersheypark.jpg" + }, + { + "name": "Wine Tasting in the Susquehanna Heartland Wine Trail", + "description": "Embark on a delightful journey through the Susquehanna Heartland Wine Trail, where you can savor the flavors of local wineries. Explore charming vineyards, indulge in wine tastings, and learn about the region's viticulture. From crisp whites to bold reds, discover the perfect vintage to please your palate. Many wineries offer scenic vineyard views and cozy tasting rooms, making it an ideal experience for couples or groups of friends.", + "locationName": "Susquehanna Heartland Wine Trail", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "harrisburg", + "ref": "wine-tasting-in-the-susquehanna-heartland-wine-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_wine-tasting-in-the-susquehanna-heartland-wine-trail.jpg" + }, + { + "name": "Antique Shopping in Downtown Harrisburg", + "description": "Discover hidden treasures and unique finds while antique shopping in downtown Harrisburg. Explore charming antique shops and boutiques filled with vintage furniture, collectibles, jewelry, and more. Stroll through the historic streets and uncover one-of-a-kind pieces to add character to your home or wardrobe. Midtown Harrisburg is known for its antique stores, offering a diverse selection for every taste and budget.", + "locationName": "Downtown Harrisburg", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "antique-shopping-in-downtown-harrisburg", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_antique-shopping-in-downtown-harrisburg.jpg" + }, + { + "name": "Kayaking on the Susquehanna River", + "description": "Experience the beauty of the Susquehanna River up close with a kayaking adventure. Rent a kayak and paddle along the scenic waterways, enjoying the peaceful surroundings and observing local wildlife. Several rental companies offer guided tours and equipment rentals, catering to both beginners and experienced kayakers. Admire the city skyline from a different perspective and reconnect with nature on this memorable outdoor activity.", + "locationName": "Susquehanna River", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "kayaking-on-the-susquehanna-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_kayaking-on-the-susquehanna-river.jpg" + }, + { + "name": "Catch a Baseball Game at FNB Field", + "description": "Immerse yourself in the excitement of America's favorite pastime at FNB Field, home to the Harrisburg Senators, a Minor League Baseball team. Cheer on the home team, enjoy classic ballpark snacks, and experience the lively atmosphere of a baseball game. FNB Field offers a family-friendly environment with affordable ticket prices, making it a great option for a fun-filled evening out.", + "locationName": "FNB Field", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "harrisburg", + "ref": "catch-a-baseball-game-at-fnb-field", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/harrisburg_catch-a-baseball-game-at-fnb-field.jpg" + }, + { + "name": "Stroll Down the Malecón", + "description": "Take a leisurely walk along the iconic Malecón, Havana's famous seaside promenade. Enjoy stunning views of the ocean, admire the colorful vintage cars passing by, and soak up the vibrant atmosphere as locals chat, fish, and enjoy the sea breeze. This is a perfect activity for any time of day and a great way to experience the heart and soul of Havana.", + "locationName": "Malecón", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "havana", + "ref": "stroll-down-the-malec-n", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_stroll-down-the-malec-n.jpg" + }, + { + "name": "Explore Old Havana", + "description": "Step back in time and wander through the cobblestone streets of Old Havana, a UNESCO World Heritage Site. Marvel at the colonial architecture, visit historic plazas like Plaza Vieja and Plaza de la Catedral, and discover hidden gems around every corner. Be sure to visit the Catedral de San Cristóbal, a stunning example of Baroque architecture.", + "locationName": "Old Havana", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "havana", + "ref": "explore-old-havana", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_explore-old-havana.jpg" + }, + { + "name": "Immerse Yourself in Cuban Culture", + "description": "Experience the vibrant Cuban culture by visiting the Gran Teatro de La Habana, a stunning neo-baroque theater, or the Museo Nacional de Bellas Artes, showcasing Cuban art. In the evening, enjoy a live music performance at a local bar or catch a captivating dance show featuring traditional Cuban rhythms.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "havana", + "ref": "immerse-yourself-in-cuban-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_immerse-yourself-in-cuban-culture.jpg" + }, + { + "name": "Visit the Museum of the Revolution", + "description": "Delve into Cuba's rich history at the Museum of the Revolution, housed in the former Presidential Palace. Explore exhibits showcasing the country's struggle for independence, the revolution led by Fidel Castro, and the impact of communism on Cuban society. This is a must-visit for history buffs and those interested in understanding Cuba's complex past.", + "locationName": "Museum of the Revolution", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "havana", + "ref": "visit-the-museum-of-the-revolution", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_visit-the-museum-of-the-revolution.jpg" + }, + { + "name": "Take a Classic Car Tour", + "description": "Cruise through the streets of Havana in style with a classic car tour. Feel the wind in your hair as you ride in a vintage American convertible, taking in the sights and sounds of the city. Many tours offer customizable itineraries, allowing you to visit specific landmarks or explore different neighborhoods. This is a fun and unique way to experience Havana's charm.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "havana", + "ref": "take-a-classic-car-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_take-a-classic-car-tour.jpg" + }, + { + "name": "Dance the Night Away at a Salsa Club", + "description": "Experience the infectious rhythm of Cuban salsa at a local club. Whether you're a seasoned dancer or a beginner, you'll be swept up in the energy and passion of the music and the locals. Take a salsa lesson beforehand to learn some basic steps, or just jump in and let loose on the dance floor. It's a night of pure fun and cultural immersion.", + "locationName": "Casa de la Musica or 1830 Club", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "havana", + "ref": "dance-the-night-away-at-a-salsa-club", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_dance-the-night-away-at-a-salsa-club.jpg" + }, + { + "name": "Relax on the Beaches of Playas del Este", + "description": "Escape the city bustle and unwind on the pristine sands of Playas del Este, a string of beaches just a short drive from Havana. Soak up the sun, swim in the turquoise waters, or simply relax under the shade of a palm tree. Several beach bars and restaurants offer refreshments and local seafood, making it a perfect day trip for relaxation and rejuvenation.", + "locationName": "Playas del Este", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "havana", + "ref": "relax-on-the-beaches-of-playas-del-este", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_relax-on-the-beaches-of-playas-del-este.jpg" + }, + { + "name": "Explore the Lush Botanical Gardens", + "description": "Escape the city heat and immerse yourself in the tranquility of Havana's Botanical Gardens. Wander through diverse collections of tropical plants, orchids, and cacti. The Japanese Garden offers a serene atmosphere with its koi ponds and traditional architecture. It's a perfect place for nature lovers and those seeking a peaceful retreat.", + "locationName": "Jardin Botanico Nacional de Cuba", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "havana", + "ref": "explore-the-lush-botanical-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_explore-the-lush-botanical-gardens.jpg" + }, + { + "name": "Visit the Fortaleza de San Carlos de la Cabaña", + "description": "Step back in time at this 18th-century fortress, offering stunning views of Havana and the harbor. Explore the ramparts, tunnels, and museums within the fort, which showcase Cuba's military history. Don't miss the nightly cannon firing ceremony, a tradition dating back centuries.", + "locationName": "Fortaleza de San Carlos de la Cabaña", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "havana", + "ref": "visit-the-fortaleza-de-san-carlos-de-la-caba-a", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_visit-the-fortaleza-de-san-carlos-de-la-caba-a.jpg" + }, + { + "name": "Enjoy a Day Trip to Viñales Valley", + "description": "Embark on a scenic journey to Viñales Valley, a UNESCO World Heritage Site renowned for its dramatic limestone mountains, tobacco plantations, and traditional farming communities. Hike or horseback ride through the valley, visit a tobacco farm to learn about cigar making, and enjoy a farm-to-table lunch amidst the breathtaking scenery. It's a perfect escape into Cuba's rural beauty.", + "locationName": "Viñales Valley", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "havana", + "ref": "enjoy-a-day-trip-to-vi-ales-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_enjoy-a-day-trip-to-vi-ales-valley.jpg" + }, + { + "name": "Discover Hemingway's Haunts", + "description": "Embark on a literary pilgrimage to Ernest Hemingway's beloved Cuba. Visit Finca Vigía, his former home turned museum, and explore the rooms where he wrote some of his most famous works. Sip a daiquiri at El Floridita, his favorite bar, and try your luck at fishing in the waters he once sailed.", + "locationName": "Finca Vigía and El Floridita", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "havana", + "ref": "discover-hemingway-s-haunts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_discover-hemingway-s-haunts.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Delve into the heart of Cuban cuisine by joining a cooking class. Learn to prepare traditional dishes like ropa vieja, picadillo, and tostones, under the guidance of local chefs. Savor the fruits of your labor and gain a deeper appreciation for Cuban flavors.", + "locationName": "Various cooking schools and paladares", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "havana", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_take-a-cooking-class.jpg" + }, + { + "name": "Catch a Baseball Game", + "description": "Experience the passion of Cuban baseball at Estadio Latinoamericano. Cheer alongside enthusiastic fans as you witness the skill and athleticism of local teams. Immerse yourself in the vibrant atmosphere and understand why baseball is more than just a sport in Cuba.", + "locationName": "Estadio Latinoamericano", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "havana", + "ref": "catch-a-baseball-game", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_catch-a-baseball-game.jpg" + }, + { + "name": "Explore the Fábrica de Arte Cubano (FAC)", + "description": "Immerse yourself in Havana's contemporary art scene at the Fábrica de Arte Cubano (FAC). This unique art space housed in a former cooking oil factory showcases a diverse range of exhibitions, live music performances, film screenings, and more. Enjoy a drink at the bar and soak up the creative energy.", + "locationName": "Fábrica de Arte Cubano (FAC)", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "havana", + "ref": "explore-the-f-brica-de-arte-cubano-fac-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_explore-the-f-brica-de-arte-cubano-fac-.jpg" + }, + { + "name": "Ride in a Coco Taxi", + "description": "Zip around the city in a unique coco taxi, a three-wheeled scooter with a yellow, coconut-shaped shell. Enjoy the open air and get a different perspective of Havana's streets and sights. It's a fun and memorable way to experience local transportation.", + "locationName": "Throughout Havana", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "havana", + "ref": "ride-in-a-coco-taxi", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_ride-in-a-coco-taxi.jpg" + }, + { + "name": "Dive into the Underwater World of the Bay of Pigs", + "description": "Embark on an unforgettable scuba diving or snorkeling adventure in the Bay of Pigs, renowned for its pristine coral reefs and diverse marine life. Explore underwater caves, swim alongside colorful fish, and discover the hidden treasures of Cuba's Caribbean coast.", + "locationName": "Bay of Pigs", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "havana", + "ref": "dive-into-the-underwater-world-of-the-bay-of-pigs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_dive-into-the-underwater-world-of-the-bay-of-pigs.jpg" + }, + { + "name": "Hike to the Top of El Yunque", + "description": "Challenge yourself with a hike to the summit of El Yunque, Cuba's highest peak, located in the Sierra Maestra mountains. Enjoy breathtaking panoramic views of the surrounding landscapes, lush rainforests, and the distant coastline. This adventure is perfect for nature enthusiasts and those seeking stunning vistas.", + "locationName": "El Yunque", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "havana", + "ref": "hike-to-the-top-of-el-yunque", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_hike-to-the-top-of-el-yunque.jpg" + }, + { + "name": "Ride Horseback Through Viñales Valley", + "description": "Saddle up for a scenic horseback riding tour through the picturesque Viñales Valley. Admire the stunning mogotes (limestone hills), tobacco fields, and traditional farmhouses. This leisurely activity allows you to connect with nature and experience the authentic Cuban countryside.", + "locationName": "Viñales Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "havana", + "ref": "ride-horseback-through-vi-ales-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_ride-horseback-through-vi-ales-valley.jpg" + }, + { + "name": "Sail Away on a Catamaran Cruise", + "description": "Set sail on a relaxing catamaran cruise along the crystal-clear waters of the Caribbean Sea. Soak up the sun, enjoy refreshing sea breezes, and snorkel or swim in secluded coves. Many cruises offer delicious meals, open bars, and lively music, creating an unforgettable experience.", + "locationName": "Havana Harbor", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "havana", + "ref": "sail-away-on-a-catamaran-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_sail-away-on-a-catamaran-cruise.jpg" + }, + { + "name": "Experience Cuban Art and Music at the Callejón de Hamel", + "description": "Immerse yourself in the vibrant art and music scene of Havana at the Callejón de Hamel. This narrow alleyway is adorned with colorful murals, sculptures, and mosaics, showcasing the creativity of local artists. Enjoy live rumba performances and soak up the lively atmosphere of this unique cultural hub.", + "locationName": "Callejón de Hamel", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "havana", + "ref": "experience-cuban-art-and-music-at-the-callej-n-de-hamel", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/havana_experience-cuban-art-and-music-at-the-callej-n-de-hamel.jpg" + }, + { + "name": "Cu Chi Tunnels Tour", + "description": "Embark on a historical journey to the Cu Chi Tunnels, a vast network of underground tunnels used by the Viet Cong during the Vietnam War. Crawl through the narrow passages, learn about the tunnels' construction and significance, and gain insight into the resilience and ingenuity of the Vietnamese people.", + "locationName": "Cu Chi Tunnels", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "ho-chi-minh-city", + "ref": "cu-chi-tunnels-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_cu-chi-tunnels-tour.jpg" + }, + { + "name": "Ben Thanh Market Shopping Spree", + "description": "Immerse yourself in the vibrant atmosphere of Ben Thanh Market, a bustling hub of commerce and culture. Browse through a labyrinth of stalls selling everything from souvenirs and handicrafts to clothing, spices, and fresh produce. Practice your bargaining skills and find unique treasures to take home.", + "locationName": "Ben Thanh Market", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "ben-thanh-market-shopping-spree", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_ben-thanh-market-shopping-spree.jpg" + }, + { + "name": "Saigon Street Food Adventure", + "description": "Embark on a culinary adventure through the streets of Ho Chi Minh City, sampling a variety of delicious street food dishes. From savory banh mi sandwiches and fragrant pho noodle soup to sweet chè desserts and refreshing sugarcane juice, tantalize your taste buds with the authentic flavors of Vietnam.", + "locationName": "Various street food stalls", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "ho-chi-minh-city", + "ref": "saigon-street-food-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_saigon-street-food-adventure.jpg" + }, + { + "name": "Mekong Delta Day Trip", + "description": "Escape the bustling city and venture into the scenic Mekong Delta. Cruise along the waterways, visit floating markets, explore local villages, and witness the traditional way of life in this unique region.", + "locationName": "Mekong Delta", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "ho-chi-minh-city", + "ref": "mekong-delta-day-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_mekong-delta-day-trip.jpg" + }, + { + "name": "Golden Dragon Water Puppet Show", + "description": "Experience the magic of Vietnamese water puppetry, a unique art form dating back centuries. Watch as skilled puppeteers bring colorful puppets to life on a water stage, accompanied by traditional music and captivating storytelling.", + "locationName": "Golden Dragon Water Puppet Theatre", + "duration": 1.5, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "golden-dragon-water-puppet-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_golden-dragon-water-puppet-show.jpg" + }, + { + "name": "Notre Dame Cathedral Visit", + "description": "Step into a piece of French colonial history at the Notre Dame Cathedral. Admire the neo-Romanesque architecture, stained glass windows, and peaceful atmosphere. Capture stunning photos of this iconic landmark.", + "locationName": "Notre Dame Cathedral Basilica of Saigon", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "ho-chi-minh-city", + "ref": "notre-dame-cathedral-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_notre-dame-cathedral-visit.jpg" + }, + { + "name": "Rooftop Bar Hopping", + "description": "Savor panoramic views of the glittering cityscape while sipping on cocktails at some of Ho Chi Minh City's trendy rooftop bars. Enjoy the vibrant nightlife and soak up the energetic atmosphere.", + "locationName": "Various rooftop bars throughout the city", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "ho-chi-minh-city", + "ref": "rooftop-bar-hopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_rooftop-bar-hopping.jpg" + }, + { + "name": "Bitexco Financial Tower Observation Deck", + "description": "Ascend to the Saigon Skydeck on the 49th floor of the Bitexco Financial Tower for breathtaking 360-degree views of the city. Spot iconic landmarks, observe the bustling streets below, and capture memorable photos.", + "locationName": "Bitexco Financial Tower", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "bitexco-financial-tower-observation-deck", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_bitexco-financial-tower-observation-deck.jpg" + }, + { + "name": "Cooking Class and Local Market Tour", + "description": "Embark on a culinary adventure with a local market tour and cooking class. Learn about Vietnamese ingredients, practice traditional cooking techniques, and create delicious dishes to enjoy.", + "locationName": "Various cooking schools and markets", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "ho-chi-minh-city", + "ref": "cooking-class-and-local-market-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_cooking-class-and-local-market-tour.jpg" + }, + { + "name": "Explore the Jade Emperor Pagoda", + "description": "Step into a world of vibrant colors and intricate details at the Jade Emperor Pagoda. This Taoist temple, built in the early 20th century, is a captivating masterpiece of architecture and religious art. Admire the ornate carvings, statues of deities, and serene gardens, and immerse yourself in the spiritual atmosphere.", + "locationName": "Jade Emperor Pagoda (Phuoc Hai Tu)", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "explore-the-jade-emperor-pagoda", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_explore-the-jade-emperor-pagoda.jpg" + }, + { + "name": "Cruise the Saigon River at Sunset", + "description": "Experience the magic of Ho Chi Minh City from a different perspective with a relaxing sunset cruise on the Saigon River. Watch the city lights twinkle as you glide along the water, enjoying the cool breeze and breathtaking views of the skyline. Some cruises offer dinner or live music for an extra special evening.", + "locationName": "Saigon River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "ho-chi-minh-city", + "ref": "cruise-the-saigon-river-at-sunset", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_cruise-the-saigon-river-at-sunset.jpg" + }, + { + "name": "Catch a Show at the Saigon Opera House", + "description": "Indulge in a night of culture and elegance at the historic Saigon Opera House. This architectural gem hosts a variety of performances, from traditional Vietnamese opera and dance to international concerts and ballets. Dress up for a memorable evening and enjoy the opulent ambiance of this iconic venue.", + "locationName": "Saigon Opera House", + "duration": 2.5, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "ho-chi-minh-city", + "ref": "catch-a-show-at-the-saigon-opera-house", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_catch-a-show-at-the-saigon-opera-house.jpg" + }, + { + "name": "Unwind at a Rooftop Cafe", + "description": "Escape the bustling streets and find tranquility at one of Ho Chi Minh City's many rooftop cafes. Sip on a refreshing drink or savor a delicious meal while enjoying panoramic views of the cityscape. These rooftop havens offer a perfect blend of relaxation and stunning scenery.", + "locationName": "Various locations throughout the city", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "unwind-at-a-rooftop-cafe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_unwind-at-a-rooftop-cafe.jpg" + }, + { + "name": "Discover History at the Reunification Palace", + "description": "Step back in time at the Reunification Palace, a historical landmark that witnessed the end of the Vietnam War. Explore the opulent rooms and halls, learn about the palace's role in the country's history, and gain insights into Vietnam's journey to reunification.", + "locationName": "Reunification Palace", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "discover-history-at-the-reunification-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_discover-history-at-the-reunification-palace.jpg" + }, + { + "name": "Tao Dan Park Morning Exercise", + "description": "Start your day like a local at Tao Dan Park, a green oasis in the heart of the city. Join the community in their morning routines, from tai chi and badminton to jogging and group exercises. Immerse yourself in the local culture and enjoy the fresh air before the city awakens.", + "locationName": "Tao Dan Park", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "ho-chi-minh-city", + "ref": "tao-dan-park-morning-exercise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_tao-dan-park-morning-exercise.jpg" + }, + { + "name": "Giac Lam Pagoda Visit", + "description": "Escape the urban bustle and find serenity at Giac Lam Pagoda, the oldest Buddhist temple in Ho Chi Minh City. Explore the intricate architecture, tranquil gardens, and ornate statues. Witness the devotion of local worshippers and experience the peaceful atmosphere of this spiritual haven.", + "locationName": "Giac Lam Pagoda", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "ho-chi-minh-city", + "ref": "giac-lam-pagoda-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_giac-lam-pagoda-visit.jpg" + }, + { + "name": "Scooter Street Food Tour", + "description": "Embark on an exciting culinary adventure through the city on a scooter. Zip through the streets with a local guide, stopping at hidden gems and popular food stalls. Sample authentic Vietnamese dishes like banh mi, pho, and goi cuon, experiencing the true flavors of Ho Chi Minh City.", + "locationName": "Various locations throughout Ho Chi Minh City", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "ho-chi-minh-city", + "ref": "scooter-street-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_scooter-street-food-tour.jpg" + }, + { + "name": "Traditional Ao Dai Rental and Photoshoot", + "description": "Embrace Vietnamese culture by renting a traditional Ao Dai, the elegant national garment. Choose from a variety of colors and styles, then capture stunning photos at iconic landmarks or hidden corners of the city. This experience offers a unique souvenir and lasting memories.", + "locationName": "Ao Dai rental shops and various photo locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "traditional-ao-dai-rental-and-photoshoot", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_traditional-ao-dai-rental-and-photoshoot.jpg" + }, + { + "name": "Live Music at Yoko Cafe", + "description": "Immerse yourself in Ho Chi Minh City's vibrant nightlife scene at Yoko Cafe. Enjoy live music performances by local bands, ranging from traditional Vietnamese tunes to contemporary genres. Sip on cocktails or local beers while soaking up the energetic atmosphere and connecting with fellow music enthusiasts.", + "locationName": "Yoko Cafe", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "ho-chi-minh-city", + "ref": "live-music-at-yoko-cafe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/ho-chi-minh-city_live-music-at-yoko-cafe.jpg" + }, + { + "name": "Glacier Hiking and Ice Climbing", + "description": "Embark on a thrilling adventure across Iceland's stunning glaciers. Experienced guides will lead you on a hike across the icy terrain, teaching you basic ice climbing techniques. Marvel at the breathtaking views of crevasses, ice caves, and frozen landscapes. This activity is perfect for adventurous souls seeking a unique and unforgettable experience.", + "locationName": "Skaftafell National Park or Sólheimajökull Glacier", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "iceland", + "ref": "glacier-hiking-and-ice-climbing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_glacier-hiking-and-ice-climbing.jpg" + }, + { + "name": "Soak in the Blue Lagoon", + "description": "Indulge in a relaxing and rejuvenating experience at the world-renowned Blue Lagoon. Immerse yourself in the geothermal waters, rich in minerals, and let the warmth soothe your muscles. Enjoy the unique milky-blue color of the water and the surrounding volcanic landscape. This is a perfect activity for any time of day and a must-do for visitors to Iceland.", + "locationName": "Blue Lagoon", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "soak-in-the-blue-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_soak-in-the-blue-lagoon.jpg" + }, + { + "name": "Whale Watching Tour", + "description": "Set sail on a boat tour from Reykjavik, Akureyri, or Húsavík and witness the majestic whales in their natural habitat. Iceland's waters are home to various whale species, including humpback whales, minke whales, and orcas. Learn about these fascinating creatures from expert guides and enjoy the scenic beauty of the Icelandic coastline.", + "locationName": "Reykjavik, Akureyri, or Húsavík", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "whale-watching-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_whale-watching-tour.jpg" + }, + { + "name": "Explore the Golden Circle", + "description": "Embark on a scenic journey through Iceland's famous Golden Circle. Visit Thingvellir National Park, a UNESCO World Heritage site, and see the dramatic rift valley where the North American and Eurasian tectonic plates meet. Marvel at the Gullfoss waterfall, a powerful two-tiered cascade, and witness the Strokkur geyser erupting hot water high into the air.", + "locationName": "Thingvellir National Park, Gullfoss Waterfall, Strokkur Geyser", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "iceland", + "ref": "explore-the-golden-circle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_explore-the-golden-circle.jpg" + }, + { + "name": "Hunt for the Northern Lights", + "description": "Experience the magic of the Aurora Borealis, one of nature's most spectacular displays. During the winter months, venture out into the darkness and witness the dancing lights illuminating the night sky. This unforgettable experience is a must-do for any visitor to Iceland during the winter season.", + "locationName": "Various locations away from city lights", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "iceland", + "ref": "hunt-for-the-northern-lights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_hunt-for-the-northern-lights.jpg" + }, + { + "name": "Horseback Riding through Lava Fields", + "description": "Embark on a unique adventure exploring Iceland's rugged landscapes on horseback. Traverse ancient lava fields, volcanic craters, and scenic trails, experiencing the island's raw beauty from a different perspective. Connect with the friendly Icelandic horses, known for their strength and gentle temperament, as you ride through breathtaking scenery.", + "locationName": "Various locations throughout Iceland", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "horseback-riding-through-lava-fields", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_horseback-riding-through-lava-fields.jpg" + }, + { + "name": "Snorkeling in Silfra Fissure", + "description": "Dive into the crystal-clear waters of Silfra, a fissure between the North American and Eurasian tectonic plates. Snorkel through this underwater wonderland, marveling at the vibrant colors and incredible visibility. Experience the sensation of swimming between continents in one of the world's most unique diving and snorkeling locations.", + "locationName": "Thingvellir National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "iceland", + "ref": "snorkeling-in-silfra-fissure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_snorkeling-in-silfra-fissure.jpg" + }, + { + "name": "Caving Adventure in Vatnajökull Glacier", + "description": "Embark on a thrilling journey into the heart of Vatnajökull, Europe's largest glacier. Explore stunning ice caves adorned with mesmerizing blue ice formations, sculpted by the forces of nature. Witness the power and beauty of the glacial world as you venture deep into this icy wonderland.", + "locationName": "Vatnajökull National Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "iceland", + "ref": "caving-adventure-in-vatnaj-kull-glacier", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_caving-adventure-in-vatnaj-kull-glacier.jpg" + }, + { + "name": "Puffin Watching Boat Tour", + "description": "Set sail on a delightful boat tour to observe Iceland's adorable puffins in their natural habitat. Witness these charming seabirds with their colorful beaks nesting on coastal cliffs. Capture incredible photos and learn about the fascinating lives of these beloved creatures.", + "locationName": "Various locations along the coast", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "iceland", + "ref": "puffin-watching-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_puffin-watching-boat-tour.jpg" + }, + { + "name": "Reykjavík Food Tour", + "description": "Embark on a culinary journey through the vibrant city of Reykjavík, savoring the unique flavors of Icelandic cuisine. Sample traditional dishes like fresh seafood, lamb, and skyr, while exploring local restaurants and hidden gems. Discover the city's gastronomic scene and learn about Icelandic culinary traditions.", + "locationName": "Reykjavík", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "reykjav-k-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_reykjav-k-food-tour.jpg" + }, + { + "name": "Kayaking on Jokulsarlon Glacier Lagoon", + "description": "Embark on a serene kayaking adventure amidst the awe-inspiring Jokulsarlon Glacier Lagoon. Paddle through the tranquil waters, marveling at the floating icebergs, some as blue as sapphires, and witness the captivating beauty of this natural wonder.", + "locationName": "Jokulsarlon Glacier Lagoon", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "kayaking-on-jokulsarlon-glacier-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_kayaking-on-jokulsarlon-glacier-lagoon.jpg" + }, + { + "name": "Road Trip along the Ring Road", + "description": "Embark on an epic road trip adventure on Iceland's iconic Ring Road, Route 1. This scenic route circumnavigates the entire island, offering breathtaking landscapes, charming villages, and countless opportunities for exploration and discovery. From cascading waterfalls to dramatic coastlines, the Ring Road promises an unforgettable journey.", + "locationName": "Route 1 (Ring Road)", + "duration": 100, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "iceland", + "ref": "road-trip-along-the-ring-road", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_road-trip-along-the-ring-road.jpg" + }, + { + "name": "Visit the Westfjords", + "description": "Escape the crowds and venture into the remote and rugged beauty of the Westfjords. This region offers dramatic landscapes, towering cliffs, secluded beaches, and charming fishing villages. Hike to the Dynjandi waterfall, observe the diverse birdlife, and immerse yourself in the tranquility of this off-the-beaten-path destination.", + "locationName": "Westfjords", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "iceland", + "ref": "visit-the-westfjords", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_visit-the-westfjords.jpg" + }, + { + "name": "Relax in the Mývatn Nature Baths", + "description": "Indulge in a relaxing soak in the soothing geothermal waters of the Mývatn Nature Baths. Surrounded by volcanic landscapes, these milky-blue pools offer a tranquil escape. Unwind and rejuvenate as you soak in the mineral-rich waters and admire the stunning natural beauty of the area.", + "locationName": "Mývatn Nature Baths", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "relax-in-the-m-vatn-nature-baths", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_relax-in-the-m-vatn-nature-baths.jpg" + }, + { + "name": "Go Snowmobiling on a Glacier", + "description": "Experience the thrill of snowmobiling across the vast expanse of an Icelandic glacier. Feel the adrenaline rush as you zoom over the snow and ice, taking in the breathtaking panoramic views of the surrounding mountains and glaciers. This exhilarating adventure is perfect for thrill-seekers and winter sports enthusiasts.", + "locationName": "Various glaciers", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "iceland", + "ref": "go-snowmobiling-on-a-glacier", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_go-snowmobiling-on-a-glacier.jpg" + }, + { + "name": "Sea Kayaking Adventure", + "description": "Embark on a thrilling sea kayaking expedition along Iceland's rugged coastline. Paddle through crystal-clear waters, marvel at towering cliffs, and explore hidden coves and sea caves. Keep an eye out for playful seals and diverse birdlife as you experience the beauty of Iceland from a unique perspective.", + "locationName": "Various coastal locations", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "sea-kayaking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_sea-kayaking-adventure.jpg" + }, + { + "name": "Helicopter Tour over Volcanoes", + "description": "Take to the skies for an unforgettable helicopter tour that showcases Iceland's dramatic volcanic landscapes. Soar over active volcanoes, witness geothermal wonders like bubbling mud pools and steaming fumaroles, and enjoy breathtaking aerial views of glaciers, lava fields, and rugged mountains.", + "locationName": "Various volcanic regions", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "iceland", + "ref": "helicopter-tour-over-volcanoes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_helicopter-tour-over-volcanoes.jpg" + }, + { + "name": "Black Sand Beach Horse Riding", + "description": "Experience the unique Icelandic landscape on horseback with a memorable ride along the black sand beaches of the south coast. Feel the wind in your hair as you trot alongside the powerful Atlantic waves, admiring the dramatic cliffs and rock formations. This is a perfect activity for nature lovers and adventure seekers.", + "locationName": "Vík í Mýrdal or other black sand beaches", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "iceland", + "ref": "black-sand-beach-horse-riding", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_black-sand-beach-horse-riding.jpg" + }, + { + "name": "Reykjavík Nightlife Experience", + "description": "Discover the vibrant nightlife scene of Reykjavík, known for its friendly atmosphere and diverse music offerings. Explore the city's bars and clubs, enjoy live music performances, and experience the unique Icelandic culture of late-night revelry.", + "locationName": "Reykjavík city center", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "iceland", + "ref": "reykjav-k-nightlife-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_reykjav-k-nightlife-experience.jpg" + }, + { + "name": "Local Farm Visit and Icelandic Food Tasting", + "description": "Immerse yourself in Icelandic culture with a visit to a local farm. Learn about traditional farming practices, interact with friendly farm animals, and enjoy a tasting of authentic Icelandic food products, such as fresh dairy, smoked lamb, and homemade bread.", + "locationName": "Various rural locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "iceland", + "ref": "local-farm-visit-and-icelandic-food-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/iceland_local-farm-visit-and-icelandic-food-tasting.jpg" + }, + { + "name": "Hike the Kamikochi Valley", + "description": "Embark on a breathtaking journey through the Kamikochi Valley, a natural wonderland renowned for its pristine beauty. Stroll along well-maintained trails, surrounded by towering mountains, crystal-clear rivers, and lush forests. Witness the iconic Kappa Bridge, a picturesque symbol of the valley, and be captivated by the serenity of Taisho Pond, reflecting the majestic peaks.", + "locationName": "Kamikochi Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "japan-alps", + "ref": "hike-the-kamikochi-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_hike-the-kamikochi-valley.jpg" + }, + { + "name": "Skiing in Hakuba", + "description": "Experience the thrill of skiing or snowboarding in Hakuba, a world-class winter sports destination. With its abundant snowfall and diverse terrain, Hakuba offers something for all skill levels. Carve down powdery slopes, enjoy stunning mountain vistas, and après-ski in charming villages.", + "locationName": "Hakuba Valley", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "japan-alps", + "ref": "skiing-in-hakuba", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_skiing-in-hakuba.jpg" + }, + { + "name": "Soak in an Onsen", + "description": "Indulge in the ultimate relaxation experience by immersing yourself in a traditional Japanese onsen. Surrounded by serene landscapes, these natural hot springs offer therapeutic benefits and a sense of tranquility. Let the warm mineral-rich waters soothe your body and mind, rejuvenating you after a day of adventure.", + "locationName": "Various locations throughout the Japanese Alps", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "japan-alps", + "ref": "soak-in-an-onsen", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_soak-in-an-onsen.jpg" + }, + { + "name": "Visit Matsumoto Castle", + "description": "Step back in time and explore Matsumoto Castle, a historic landmark known as the \"Crow Castle\" for its black exterior. Admire its unique architecture, including its impressive main keep and intricate network of walls and moats. Delve into the castle's rich history and enjoy panoramic views of the surrounding city.", + "locationName": "Matsumoto City", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "japan-alps", + "ref": "visit-matsumoto-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_visit-matsumoto-castle.jpg" + }, + { + "name": "Experience Local Culture", + "description": "Immerse yourself in the unique culture of the mountain communities. Visit traditional villages, such as Shirakawa-go and Gokayama, with their distinctive gassho-zukuri farmhouses. Sample local cuisine, including soba noodles and mountain vegetables, and participate in cultural events or workshops.", + "locationName": "Various locations throughout the Japanese Alps", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "japan-alps", + "ref": "experience-local-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_experience-local-culture.jpg" + }, + { + "name": "Whitewater Rafting on the Yoshino River", + "description": "Experience the thrill of whitewater rafting on the Yoshino River, surrounded by the stunning scenery of the Japanese Alps. Navigate through rapids with experienced guides, enjoying the adrenaline rush and breathtaking views. This activity is perfect for adventure seekers and nature lovers.", + "locationName": "Yoshino River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "japan-alps", + "ref": "whitewater-rafting-on-the-yoshino-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_whitewater-rafting-on-the-yoshino-river.jpg" + }, + { + "name": "Cycling the Shimanami Kaido", + "description": "Embark on a scenic cycling journey along the Shimanami Kaido, a 70-kilometer route connecting Japan's main island of Honshu to Shikoku. Enjoy breathtaking views of the Seto Inland Sea and the surrounding islands as you pedal across bridges and through charming coastal towns. This activity is suitable for all fitness levels and offers a unique way to explore the region.", + "locationName": "Shimanami Kaido", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "japan-alps", + "ref": "cycling-the-shimanami-kaido", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_cycling-the-shimanami-kaido.jpg" + }, + { + "name": "Stargazing in the Mountains", + "description": "Escape the city lights and immerse yourself in the beauty of the night sky in the Japanese Alps. With minimal light pollution, the mountains offer exceptional stargazing opportunities. Join a guided tour or find a secluded spot to marvel at the constellations and the Milky Way.", + "locationName": "Various locations in the Japanese Alps", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "japan-alps", + "ref": "stargazing-in-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_stargazing-in-the-mountains.jpg" + }, + { + "name": "Exploring the Nakasendo Trail", + "description": "Step back in time and walk along the historic Nakasendo Trail, an ancient route that once connected Kyoto and Edo (Tokyo). Hike through charming villages, past traditional houses, and through serene forests, experiencing the rich history and culture of the region.", + "locationName": "Nakasendo Trail", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "japan-alps", + "ref": "exploring-the-nakasendo-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_exploring-the-nakasendo-trail.jpg" + }, + { + "name": "Visiting Local Craft Breweries", + "description": "Discover the growing craft beer scene in the Japanese Alps. Visit local breweries, sample unique and flavorful beers, and learn about the brewing process. Many breweries offer tours and tastings, providing a fun and educational experience for beer enthusiasts.", + "locationName": "Various locations in the Japanese Alps", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "japan-alps", + "ref": "visiting-local-craft-breweries", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_visiting-local-craft-breweries.jpg" + }, + { + "name": "Snowshoeing in the Winter Wonderland", + "description": "Strap on snowshoes and embark on a magical journey through the snow-covered forests and meadows of the Japanese Alps. Discover hidden trails, frozen waterfalls, and breathtaking panoramas, all while enjoying the peaceful serenity of the winter landscape. This activity is perfect for nature lovers and those seeking a unique winter experience.", + "locationName": "Various locations throughout the Japanese Alps", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "japan-alps", + "ref": "snowshoeing-in-the-winter-wonderland", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_snowshoeing-in-the-winter-wonderland.jpg" + }, + { + "name": "Indulge in a Traditional Tea Ceremony", + "description": "Immerse yourself in Japanese culture with an authentic tea ceremony experience. Learn about the intricate rituals and symbolism behind this ancient tradition while enjoying the delicate flavors of matcha tea and traditional sweets. This serene and enriching activity offers a glimpse into the heart of Japanese hospitality and aesthetics.", + "locationName": "Local tea houses or cultural centers", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "japan-alps", + "ref": "indulge-in-a-traditional-tea-ceremony", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_indulge-in-a-traditional-tea-ceremony.jpg" + }, + { + "name": "Go Birdwatching in Diverse Habitats", + "description": "The Japanese Alps offer a haven for birdwatchers with its diverse range of habitats, from alpine meadows to dense forests. Spot vibrant kingfishers, majestic eagles, and a variety of other bird species while enjoying the tranquility of nature. This activity is perfect for those seeking a peaceful and rewarding experience in the mountains.", + "locationName": "Kamikochi National Park, Norikura Kogen Highlands", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "japan-alps", + "ref": "go-birdwatching-in-diverse-habitats", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_go-birdwatching-in-diverse-habitats.jpg" + }, + { + "name": "Capture Stunning Landscapes on a Photography Tour", + "description": "Embark on a photography tour led by a local expert and capture the breathtaking beauty of the Japanese Alps. Learn about composition, lighting, and techniques while exploring iconic viewpoints, hidden waterfalls, and charming villages. This activity is ideal for photography enthusiasts of all levels who want to create lasting memories.", + "locationName": "Various locations with scenic viewpoints", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "japan-alps", + "ref": "capture-stunning-landscapes-on-a-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_capture-stunning-landscapes-on-a-photography-tour.jpg" + }, + { + "name": "Savor Local Delights at a Mountain Restaurant", + "description": "Treat your taste buds to the unique flavors of the Japanese Alps at a charming mountain restaurant. Sample regional specialties such as soba noodles, mountain vegetables, and fresh river fish while enjoying panoramic views of the surrounding peaks. This culinary experience offers a delicious way to connect with the local culture and cuisine.", + "locationName": "Restaurants in mountain villages or ski resorts", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "japan-alps", + "ref": "savor-local-delights-at-a-mountain-restaurant", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_savor-local-delights-at-a-mountain-restaurant.jpg" + }, + { + "name": "Climbing Mount Fuji", + "description": "Embark on an unforgettable journey to the summit of Mount Fuji, Japan's iconic and highest peak. Witness breathtaking panoramic views as you ascend through various trails, each offering unique challenges and rewards. Reach the top and be greeted by a spectacular sunrise or sunset, an experience that will stay with you forever.", + "locationName": "Mount Fuji", + "duration": 12, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "japan-alps", + "ref": "climbing-mount-fuji", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_climbing-mount-fuji.jpg" + }, + { + "name": "Kayaking on Lake Aoki", + "description": "Experience the tranquility of Lake Aoki, nestled amidst the stunning landscapes of the Japanese Alps. Rent a kayak and paddle through the crystal-clear waters, surrounded by lush forests and towering mountains. Enjoy a peaceful escape in nature and capture the beauty of the lake from a unique perspective.", + "locationName": "Lake Aoki", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "japan-alps", + "ref": "kayaking-on-lake-aoki", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_kayaking-on-lake-aoki.jpg" + }, + { + "name": "Exploring the Jigokudani Monkey Park", + "description": "Discover the fascinating world of Japanese macaques, also known as snow monkeys, at the Jigokudani Monkey Park. Observe these intelligent primates in their natural habitat as they bathe in the onsen hot springs and interact with each other. Capture adorable photos and learn about their unique behaviors and adaptations to the mountain environment.", + "locationName": "Jigokudani Monkey Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "japan-alps", + "ref": "exploring-the-jigokudani-monkey-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_exploring-the-jigokudani-monkey-park.jpg" + }, + { + "name": "Paragliding over the Mountains", + "description": "Soar through the skies and experience the thrill of paragliding over the majestic Japanese Alps. Enjoy breathtaking aerial views of the mountains, valleys, and forests below. Feel the rush of adrenaline as you glide through the air, accompanied by experienced instructors who ensure your safety and provide guidance throughout the flight.", + "locationName": "Various locations throughout the Japanese Alps", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "japan-alps", + "ref": "paragliding-over-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_paragliding-over-the-mountains.jpg" + }, + { + "name": "Visiting Shirakawa-go", + "description": "Step back in time and explore the charming village of Shirakawa-go, a UNESCO World Heritage Site known for its traditional gassho-zukuri houses with their distinctive steep thatched roofs. Wander through the village's narrow streets, learn about its unique history and culture, and admire the picturesque landscapes that surround it.", + "locationName": "Shirakawa-go", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "japan-alps", + "ref": "visiting-shirakawa-go", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/japan-alps_visiting-shirakawa-go.jpg" + }, + { + "name": "Hike Mount Hallasan", + "description": "Embark on an unforgettable journey to the summit of Mount Hallasan, the highest peak in South Korea. Witness breathtaking panoramic views of the island, volcanic craters, and lush forests as you ascend through diverse trails. This challenging hike offers a rewarding experience for adventure seekers and nature enthusiasts.", + "locationName": "Hallasan National Park", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "jeju-island", + "ref": "hike-mount-hallasan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_hike-mount-hallasan.jpg" + }, + { + "name": "Explore the Manjanggul Lava Tube", + "description": "Delve into the mysterious depths of the Manjanggul Lava Tube, one of the longest lava tubes in the world. Marvel at the unique geological formations, including lava stalactites and stalagmites, and learn about the volcanic history of Jeju Island. This subterranean adventure offers a fascinating glimpse into the island's hidden wonders.", + "locationName": "Manjanggul Lava Tube", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "explore-the-manjanggul-lava-tube", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_explore-the-manjanggul-lava-tube.jpg" + }, + { + "name": "Relax on Hyeopjae Beach", + "description": "Escape to the pristine shores of Hyeopjae Beach, renowned for its white sand, crystal-clear turquoise waters, and stunning coastal views. Bask in the sun, swim in the refreshing ocean, or simply stroll along the beach and enjoy the tranquil atmosphere. This idyllic beach destination is perfect for relaxation and rejuvenation.", + "locationName": "Hyeopjae Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "jeju-island", + "ref": "relax-on-hyeopjae-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_relax-on-hyeopjae-beach.jpg" + }, + { + "name": "Visit the Jeju Folk Village Museum", + "description": "Step back in time at the Jeju Folk Village Museum, a living history museum showcasing traditional Korean life. Explore authentic thatched-roof houses, observe skilled artisans practicing traditional crafts, and learn about the unique culture and customs of Jeju Island. This immersive experience offers a fascinating glimpse into the island's rich heritage.", + "locationName": "Jeju Folk Village Museum", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "visit-the-jeju-folk-village-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_visit-the-jeju-folk-village-museum.jpg" + }, + { + "name": "Indulge in Local Cuisine", + "description": "Embark on a culinary journey through Jeju Island's diverse gastronomic scene. Sample fresh seafood delicacies, savor traditional Korean dishes with a local twist, and discover unique island specialties. From cozy family-run restaurants to upscale dining establishments, Jeju Island offers a delightful array of flavors to tantalize your taste buds.", + "locationName": "Various restaurants and markets", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "indulge-in-local-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_indulge-in-local-cuisine.jpg" + }, + { + "name": "Horseback Riding on Jeju's Coast", + "description": "Embark on a scenic horseback riding adventure along the picturesque coastline of Jeju Island. Several ranches offer guided tours suitable for all skill levels, allowing you to trot through verdant fields, sandy beaches, and volcanic landscapes while enjoying the fresh ocean breeze and breathtaking views.", + "locationName": "Various ranches along the coast", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jeju-island", + "ref": "horseback-riding-on-jeju-s-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_horseback-riding-on-jeju-s-coast.jpg" + }, + { + "name": "Delve into the O'sulloc Tea Museum and Green Tea Fields", + "description": "Immerse yourself in the world of Korean tea culture at the O'sulloc Tea Museum. Learn about the history and process of tea production, explore the lush green tea fields, and indulge in a delightful tea tasting experience. Don't miss the opportunity to savor unique tea-infused treats and shop for exquisite tea products.", + "locationName": "O'sulloc Tea Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "delve-into-the-o-sulloc-tea-museum-and-green-tea-fields", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_delve-into-the-o-sulloc-tea-museum-and-green-tea-fields.jpg" + }, + { + "name": "Go on a Submarine Tour", + "description": "Embark on an unforgettable underwater adventure with a submarine tour. Descend into the depths of the ocean and witness the vibrant marine life of Jeju Island. Marvel at colorful fish, coral reefs, and other fascinating sea creatures as you explore the underwater realm.", + "locationName": "Seogwipo Submarine", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "jeju-island", + "ref": "go-on-a-submarine-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_go-on-a-submarine-tour.jpg" + }, + { + "name": "Chase Waterfalls: Jeongbang and Cheonjiyeon", + "description": "Discover the mesmerizing beauty of Jeju's waterfalls. Visit Jeongbang Waterfall, cascading directly into the ocean, and Cheonjiyeon Waterfall, surrounded by lush greenery and folklore. Hike the scenic trails, capture stunning photos, and enjoy the refreshing mist and tranquility of these natural wonders.", + "locationName": "Jeongbang and Cheonjiyeon Waterfalls", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "jeju-island", + "ref": "chase-waterfalls-jeongbang-and-cheonjiyeon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_chase-waterfalls-jeongbang-and-cheonjiyeon.jpg" + }, + { + "name": "Kayaking or Stand-Up Paddleboarding", + "description": "Explore the crystal-clear waters of Jeju Island at your own pace with kayaking or stand-up paddleboarding. Rent equipment and venture along the coastline, discovering hidden coves, secluded beaches, and breathtaking views. This activity is perfect for enjoying the serenity of the ocean and getting some exercise.", + "locationName": "Various beaches and coastal areas", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "kayaking-or-stand-up-paddleboarding", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_kayaking-or-stand-up-paddleboarding.jpg" + }, + { + "name": "Stargazing at Seongsan Ilchulbong Peak", + "description": "Escape the city lights and venture to Seongsan Ilchulbong Peak, also known as Sunrise Peak, for a breathtaking stargazing experience. This volcanic cone offers minimal light pollution, making it an ideal spot to marvel at the constellations and Milky Way. Pack a blanket, some snacks, and enjoy a peaceful night under the stars.", + "locationName": "Seongsan Ilchulbong Peak", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "jeju-island", + "ref": "stargazing-at-seongsan-ilchulbong-peak", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_stargazing-at-seongsan-ilchulbong-peak.jpg" + }, + { + "name": "Immerse Yourself in Art at Jeju Museum of Art", + "description": "Delve into the vibrant art scene of Jeju Island at the Jeju Museum of Art. Admire a diverse collection of contemporary and traditional works by Korean and international artists. The museum's architecture is also a sight to behold, blending seamlessly with the surrounding natural landscape.", + "locationName": "Jeju Museum of Art", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "immerse-yourself-in-art-at-jeju-museum-of-art", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_immerse-yourself-in-art-at-jeju-museum-of-art.jpg" + }, + { + "name": "Visit the Spirited Garden", + "description": "Embark on a tranquil journey through the Spirited Garden, a meticulously designed bonsai garden showcasing the harmony between nature and art. Stroll along winding paths, admire miniature landscapes, and find inner peace amidst the serene atmosphere. The garden also features a traditional Korean tea house where you can enjoy a cup of locally grown tea.", + "locationName": "Spirited Garden", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jeju-island", + "ref": "visit-the-spirited-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_visit-the-spirited-garden.jpg" + }, + { + "name": "Discover the Mysterious Yongmeori Coast", + "description": "Embark on a scenic coastal walk along the Yongmeori Coast, known for its unique rock formations and dramatic cliffs carved by volcanic activity. Explore hidden caves, witness the power of the waves crashing against the shore, and capture stunning photographs of this geological wonder.", + "locationName": "Yongmeori Coast", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "jeju-island", + "ref": "discover-the-mysterious-yongmeori-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_discover-the-mysterious-yongmeori-coast.jpg" + }, + { + "name": "Shop for Local Treasures at Jeju Dongmun Market", + "description": "Immerse yourself in the bustling atmosphere of Jeju Dongmun Market, a traditional Korean market overflowing with local goods and culinary delights. Browse through stalls selling fresh produce, seafood, handicrafts, souvenirs, and clothing. Don't forget to sample some of the island's famous street food!", + "locationName": "Jeju Dongmun Market", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "shop-for-local-treasures-at-jeju-dongmun-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_shop-for-local-treasures-at-jeju-dongmun-market.jpg" + }, + { + "name": "Island Hopping Adventure", + "description": "Embark on a boat tour to explore the cluster of smaller islands surrounding Jeju. Discover hidden coves, snorkel in crystal-clear waters, and soak up the sun on secluded beaches. Some tours even offer fishing opportunities or visits to unique island villages.", + "locationName": "Jeju's surrounding islands (e.g., Udo, Gapado, Biyangdo)", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jeju-island", + "ref": "island-hopping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_island-hopping-adventure.jpg" + }, + { + "name": "Cycling the Scenic Coastal Roads", + "description": "Rent a bicycle and embark on a leisurely ride along Jeju's picturesque coastal roads. Enjoy breathtaking ocean views, stop at charming cafes, and discover hidden beaches along the way. Several designated cycling paths offer safe and enjoyable routes for all skill levels.", + "locationName": "Jeju's coastal roads", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jeju-island", + "ref": "cycling-the-scenic-coastal-roads", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_cycling-the-scenic-coastal-roads.jpg" + }, + { + "name": "Soak in the Healing Waters of a Traditional Spa", + "description": "Indulge in a rejuvenating experience at one of Jeju's traditional Korean spas, known as jjimjilbang. Relax in various saunas and hot tubs, enjoy a body scrub, and experience unique treatments like jade stone therapy. Many spas also offer swimming pools, fitness centers, and dining options.", + "locationName": "Various jjimjilbangs throughout Jeju", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jeju-island", + "ref": "soak-in-the-healing-waters-of-a-traditional-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_soak-in-the-healing-waters-of-a-traditional-spa.jpg" + }, + { + "name": "Tee Off at a World-Class Golf Course", + "description": "Jeju boasts several world-renowned golf courses with stunning landscapes and challenging layouts. Whether you're a seasoned golfer or a beginner, enjoy a round of golf amidst volcanic scenery and ocean views.", + "locationName": "Various golf courses across Jeju", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "jeju-island", + "ref": "tee-off-at-a-world-class-golf-course", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_tee-off-at-a-world-class-golf-course.jpg" + }, + { + "name": "Discover the Wonders of Jeju's Underwater World", + "description": "Explore the vibrant marine life and unique underwater landscapes of Jeju through scuba diving or snorkeling. Numerous dive sites offer opportunities to encounter colorful fish, coral reefs, and even shipwrecks.", + "locationName": "Various dive sites around Jeju", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jeju-island", + "ref": "discover-the-wonders-of-jeju-s-underwater-world", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jeju-island_discover-the-wonders-of-jeju-s-underwater-world.jpg" + }, + { + "name": "Explore Petra, the Rose City", + "description": "Step back in time and discover the ancient Nabataean city of Petra, carved into the rose-colored sandstone cliffs. Explore the iconic Treasury, Monastery, and Royal Tombs, and marvel at the architectural genius of this UNESCO World Heritage site.", + "locationName": "Petra", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "jordan", + "ref": "explore-petra-the-rose-city", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_explore-petra-the-rose-city.jpg" + }, + { + "name": "Camp Under the Stars in Wadi Rum", + "description": "Embark on a desert adventure in the vast Wadi Rum, known for its dramatic landscapes of sandstone mountains and red sand dunes. Spend a night camping under the starry sky, enjoy traditional Bedouin hospitality, and experience the magic of the desert.", + "locationName": "Wadi Rum", + "duration": 24, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "jordan", + "ref": "camp-under-the-stars-in-wadi-rum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_camp-under-the-stars-in-wadi-rum.jpg" + }, + { + "name": "Discover the Roman Ruins of Jerash", + "description": "Explore the well-preserved Roman city of Jerash, known as the \"Pompeii of the East.\" Walk through the colonnaded streets, admire the impressive Hadrian's Arch, and visit the Oval Plaza and the South Theatre. Jerash offers a fascinating glimpse into Roman history and architecture.", + "locationName": "Jerash", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jordan", + "ref": "discover-the-roman-ruins-of-jerash", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_discover-the-roman-ruins-of-jerash.jpg" + }, + { + "name": "Snorkel or Scuba Dive in the Red Sea", + "description": "Discover the underwater world of the Red Sea at Aqaba. Go snorkeling or scuba diving to explore vibrant coral reefs, encounter colorful fish, and experience the beauty of marine life.", + "locationName": "Aqaba", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "jordan", + "ref": "snorkel-or-scuba-dive-in-the-red-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_snorkel-or-scuba-dive-in-the-red-sea.jpg" + }, + { + "name": "Hike the Dana Biosphere Reserve", + "description": "Embark on a scenic hike through the Dana Biosphere Reserve, a stunning natural landscape with diverse ecosystems ranging from sandstone cliffs to lush valleys. Encounter rare wildlife, explore hidden canyons, and enjoy breathtaking views of the surrounding mountains.", + "locationName": "Dana Biosphere Reserve", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "jordan", + "ref": "hike-the-dana-biosphere-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_hike-the-dana-biosphere-reserve.jpg" + }, + { + "name": "Indulge in a Traditional Cooking Class", + "description": "Immerse yourself in Jordanian culture with a hands-on cooking class. Learn the secrets of preparing local dishes like mansaf (lamb cooked in yogurt sauce) and maqluba (upside-down rice and vegetable casserole) under the guidance of experienced chefs. Enjoy your delicious creations afterward.", + "locationName": "Amman or other major cities", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "jordan", + "ref": "indulge-in-a-traditional-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_indulge-in-a-traditional-cooking-class.jpg" + }, + { + "name": "Explore the Vibrant Souqs of Amman", + "description": "Get lost in the bustling atmosphere of Amman's traditional souqs. Wander through narrow alleyways filled with colorful stalls selling spices, textiles, handicrafts, and souvenirs. Practice your bargaining skills and discover unique treasures to take home.", + "locationName": "Amman", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "jordan", + "ref": "explore-the-vibrant-souqs-of-amman", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_explore-the-vibrant-souqs-of-amman.jpg" + }, + { + "name": "Relax in a Hammam", + "description": "Experience the ultimate relaxation with a traditional hammam experience. Enjoy a steam bath, body scrub, and massage, leaving you feeling refreshed and rejuvenated. This is a perfect way to unwind after a day of exploring Jordan's historical sites.", + "locationName": "Amman or other major cities", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "jordan", + "ref": "relax-in-a-hammam", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_relax-in-a-hammam.jpg" + }, + { + "name": "Visit the Umm Qais Archaeological Site", + "description": "Step back in time at the Umm Qais archaeological site, boasting impressive Roman ruins with panoramic views of the Sea of Galilee and the Golan Heights. Explore the well-preserved theater, basilica, and other structures, and imagine life in this ancient city.", + "locationName": "Umm Qais", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jordan", + "ref": "visit-the-umm-qais-archaeological-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_visit-the-umm-qais-archaeological-site.jpg" + }, + { + "name": "Horseback Riding in Wadi Rum", + "description": "Embark on a unique desert adventure by exploring the vast landscapes of Wadi Rum on horseback. Traverse the red sands, canyons, and rock formations, following ancient Bedouin trails and feeling a sense of connection with the nomadic culture. Whether you're a seasoned rider or a beginner, experienced guides will lead you through breathtaking scenery, offering an unforgettable perspective of Wadi Rum's beauty.", + "locationName": "Wadi Rum", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jordan", + "ref": "horseback-riding-in-wadi-rum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_horseback-riding-in-wadi-rum.jpg" + }, + { + "name": "Birdwatching at Azraq Wetland Reserve", + "description": "Escape the desert landscapes and discover a haven for birdlife at the Azraq Wetland Reserve. This oasis, fed by a natural spring, attracts a diverse array of migratory and resident birds. Embark on a guided birdwatching tour to spot species like herons, eagles, and songbirds, while learning about the reserve's conservation efforts and unique ecosystem.", + "locationName": "Azraq Wetland Reserve", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "jordan", + "ref": "birdwatching-at-azraq-wetland-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_birdwatching-at-azraq-wetland-reserve.jpg" + }, + { + "name": "Hike to the Monastery at Petra by Night", + "description": "Experience the magic of Petra under the starry sky with a night hike to the Monastery. As the path is illuminated by hundreds of candles, follow the ancient trail and marvel at the architectural wonder of the Monastery bathed in soft light. The serene atmosphere and the unique perspective create an unforgettable and romantic experience.", + "locationName": "Petra", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "jordan", + "ref": "hike-to-the-monastery-at-petra-by-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_hike-to-the-monastery-at-petra-by-night.jpg" + }, + { + "name": "Enjoy a Traditional Jordanian Meal with a Local Family", + "description": "Immerse yourself in Jordanian culture and hospitality by sharing a traditional meal with a local family. Experience the warmth of Jordanian homes, learn about their customs and traditions, and savor authentic home-cooked dishes like mansaf, maqluba, and knafeh. This cultural exchange offers a unique opportunity to connect with locals and create lasting memories.", + "locationName": "Various locations (Amman, Madaba, etc.)", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "jordan", + "ref": "enjoy-a-traditional-jordanian-meal-with-a-local-family", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_enjoy-a-traditional-jordanian-meal-with-a-local-family.jpg" + }, + { + "name": "Shop for Handicrafts at the Jordan River Foundation Showroom", + "description": "Discover the beauty of Jordanian craftsmanship at the Jordan River Foundation Showroom. This non-profit organization supports local artisans, particularly women, by showcasing their traditional handicrafts. Browse through a collection of hand-woven rugs, pottery, embroidery, and other unique items, knowing that your purchase empowers local communities and preserves cultural heritage.", + "locationName": "Amman", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "jordan", + "ref": "shop-for-handicrafts-at-the-jordan-river-foundation-showroom", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_shop-for-handicrafts-at-the-jordan-river-foundation-showroom.jpg" + }, + { + "name": "Hot Air Balloon Ride Over Wadi Rum", + "description": "Experience the breathtaking beauty of Wadi Rum from a whole new perspective with a hot air balloon ride. Soar above the towering sandstone cliffs, vast desert landscapes, and witness a stunning sunrise or sunset. This once-in-a-lifetime adventure offers panoramic views and unforgettable memories.", + "locationName": "Wadi Rum", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "jordan", + "ref": "hot-air-balloon-ride-over-wadi-rum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_hot-air-balloon-ride-over-wadi-rum.jpg" + }, + { + "name": "Canyoning Adventure in Wadi Mujib", + "description": "Embark on a thrilling canyoning adventure through the Wadi Mujib, a stunning river canyon with cascading waterfalls and natural pools. Hike, swim, and rappel your way through this natural waterpark, surrounded by dramatic cliffs and lush vegetation. This activity is perfect for adventurous travelers seeking an adrenaline rush.", + "locationName": "Wadi Mujib", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "jordan", + "ref": "canyoning-adventure-in-wadi-mujib", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_canyoning-adventure-in-wadi-mujib.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Escape the city lights and experience the magic of the desert night sky. Join a stargazing tour in Wadi Rum or another remote location and marvel at the Milky Way, constellations, and shooting stars. Learn about the celestial wonders from expert guides and enjoy the tranquility of the desert.", + "locationName": "Wadi Rum or other desert locations", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "jordan", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_stargazing-in-the-desert.jpg" + }, + { + "name": "Visit the Jordan River Baptism Site", + "description": "Explore the Jordan River Baptism Site, a significant religious and historical landmark believed to be the place where Jesus was baptized. Visit the archaeological remains, churches, and chapels, and learn about the site's importance to Christianity. The serene atmosphere and spiritual significance make it a meaningful experience.", + "locationName": "Bethany Beyond the Jordan", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jordan", + "ref": "visit-the-jordan-river-baptism-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_visit-the-jordan-river-baptism-site.jpg" + }, + { + "name": "Explore the Ajloun Castle", + "description": "Discover the Ajloun Castle, a 12th-century Muslim fortress perched on a hilltop overlooking the Jordan Valley. Explore the castle's towers, courtyards, and underground passages, and learn about its role in defending against Crusader attacks. Enjoy breathtaking views of the surrounding landscapes and immerse yourself in Jordan's rich history.", + "locationName": "Ajloun", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "jordan", + "ref": "explore-the-ajloun-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/jordan_explore-the-ajloun-castle.jpg" + }, + { + "name": "Napali Coast Boat Tour", + "description": "Embark on an unforgettable journey along the majestic Napali Coast, renowned for its towering sea cliffs, hidden sea caves, and pristine beaches. Witness the dramatic beauty of this natural wonder from the comfort of a boat, with opportunities to spot marine life such as dolphins and sea turtles.", + "locationName": "Napali Coast", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "kauai", + "ref": "napali-coast-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_napali-coast-boat-tour.jpg" + }, + { + "name": "Hiking the Kalalau Trail", + "description": "Challenge yourself with a hike on the legendary Kalalau Trail, traversing 11 miles of rugged coastline along the Napali Coast. Experience breathtaking views of the Pacific Ocean, lush valleys, and cascading waterfalls. This strenuous hike is best suited for experienced adventurers.", + "locationName": "Napali Coast State Wilderness Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "kauai", + "ref": "hiking-the-kalalau-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_hiking-the-kalalau-trail.jpg" + }, + { + "name": "Snorkeling at Tunnels Beach", + "description": "Discover the vibrant underwater world at Tunnels Beach, a renowned snorkeling destination. Explore the coral reefs teeming with colorful fish, sea turtles, and other marine life. The calm, clear waters make it an ideal spot for beginners and experienced snorkelers alike.", + "locationName": "Tunnels Beach", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "kauai", + "ref": "snorkeling-at-tunnels-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_snorkeling-at-tunnels-beach.jpg" + }, + { + "name": "Waimea Canyon State Park", + "description": "Explore the vast and awe-inspiring Waimea Canyon, often referred to as the \"Grand Canyon of the Pacific.\" Hike along the canyon rim, enjoying panoramic views of its colorful layers and cascading waterfalls. Visit the Koke'e State Park nearby for additional hiking trails and scenic overlooks.", + "locationName": "Waimea Canyon State Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kauai", + "ref": "waimea-canyon-state-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_waimea-canyon-state-park.jpg" + }, + { + "name": "Kayaking the Wailua River", + "description": "Embark on a peaceful kayaking adventure along the Wailua River, paddling through lush rainforests and past ancient Hawaiian temples. Explore hidden waterfalls, secret swimming holes, and the Fern Grotto, a natural lava cave adorned with hanging ferns.", + "locationName": "Wailua River", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "kauai", + "ref": "kayaking-the-wailua-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_kayaking-the-wailua-river.jpg" + }, + { + "name": "Poipu Beach Park", + "description": "Spend a relaxing day at Poipu Beach Park, known for its calm waters, golden sand, and excellent swimming conditions. The protected bay is perfect for families with young children, and lifeguards are on duty for added safety. Enjoy sunbathing, building sandcastles, or simply soaking up the stunning ocean views.", + "locationName": "Poipu Beach Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "kauai", + "ref": "poipu-beach-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_poipu-beach-park.jpg" + }, + { + "name": "Kilauea Lighthouse and Wildlife Refuge", + "description": "Embark on a scenic drive to the Kilauea Lighthouse and Wildlife Refuge, perched on a rugged clifftop. Witness breathtaking panoramic views of the coastline and observe native seabirds like albatrosses, boobies, and shearwaters. Explore the historic lighthouse and learn about its fascinating maritime history.", + "locationName": "Kilauea Point National Wildlife Refuge", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kauai", + "ref": "kilauea-lighthouse-and-wildlife-refuge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_kilauea-lighthouse-and-wildlife-refuge.jpg" + }, + { + "name": "Spouting Horn Blowhole", + "description": "Marvel at the natural wonder of the Spouting Horn Blowhole, a unique coastal formation where waves crash into a lava tube, creating a geyser-like eruption of water. Capture stunning photos of the powerful spray and enjoy the dramatic ocean scenery. Browse the nearby shops for local crafts and souvenirs.", + "locationName": "Spouting Horn", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "kauai", + "ref": "spouting-horn-blowhole", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_spouting-horn-blowhole.jpg" + }, + { + "name": "Hanalei Valley Lookout", + "description": "Take a scenic drive to the Hanalei Valley Lookout and be captivated by the breathtaking panoramic vistas of the lush taro fields, meandering rivers, and the majestic mountains in the distance. Capture postcard-worthy photos and immerse yourself in the serene beauty of Kauai's countryside.", + "locationName": "Hanalei Valley Lookout", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "kauai", + "ref": "hanalei-valley-lookout", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_hanalei-valley-lookout.jpg" + }, + { + "name": "Mountain Tubing Adventure", + "description": "Embark on a thrilling mountain tubing adventure through Kauai's historic irrigation system. Float down gentle waterways, passing through lush landscapes and tunnels, and enjoy the unique perspective of the island's interior. This family-friendly activity offers a fun and refreshing way to experience Kauai's natural beauty.", + "locationName": "Lihue Plantation", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "kauai", + "ref": "mountain-tubing-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_mountain-tubing-adventure.jpg" + }, + { + "name": "Ziplining through the Rainforest", + "description": "Soar through the lush Kauai rainforest on a thrilling zipline adventure. Experience breathtaking views of waterfalls, valleys, and the Pacific Ocean as you fly through the air on multiple ziplines. This exhilarating activity is perfect for adrenaline seekers and nature enthusiasts alike.", + "locationName": "Multiple locations throughout Kauai", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "kauai", + "ref": "ziplining-through-the-rainforest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_ziplining-through-the-rainforest.jpg" + }, + { + "name": "Luau Feast and Polynesian Show", + "description": "Immerse yourself in the vibrant culture of Hawaii at a traditional luau. Indulge in a delicious feast of Hawaiian dishes while enjoying captivating Polynesian music and dance performances. Witness the mesmerizing fire knife dance and learn about the rich history and traditions of the islands. This unforgettable experience is perfect for families and those seeking a taste of authentic Hawaiian culture.", + "locationName": "Various resorts and cultural centers", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "kauai", + "ref": "luau-feast-and-polynesian-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_luau-feast-and-polynesian-show.jpg" + }, + { + "name": "Helicopter Tour over the Napali Coast", + "description": "Embark on a breathtaking helicopter tour over the majestic Napali Coast. Witness the dramatic cliffs, cascading waterfalls, and hidden sea caves from a unique aerial perspective. This once-in-a-lifetime experience offers unparalleled views and is perfect for photography enthusiasts or anyone seeking a truly unforgettable adventure.", + "locationName": "Lihue Airport", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "kauai", + "ref": "helicopter-tour-over-the-napali-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_helicopter-tour-over-the-napali-coast.jpg" + }, + { + "name": "Explore Hanalei Town", + "description": "Wander through the charming town of Hanalei, known for its historic buildings, art galleries, and local boutiques. Discover unique souvenirs, indulge in delicious food at local cafes, or simply relax and soak up the laid-back atmosphere. This picturesque town offers a glimpse into the island's local culture and is perfect for a leisurely afternoon stroll.", + "locationName": "Hanalei Town", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kauai", + "ref": "explore-hanalei-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_explore-hanalei-town.jpg" + }, + { + "name": "Sunset Catamaran Cruise", + "description": "Sail along the stunning Kauai coastline on a romantic sunset catamaran cruise. Enjoy breathtaking views of the setting sun as you sip on tropical cocktails and savor delicious appetizers. This relaxing and picturesque experience is perfect for couples or anyone looking to unwind and enjoy the beauty of the island.", + "locationName": "Multiple locations along the coast", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "kauai", + "ref": "sunset-catamaran-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_sunset-catamaran-cruise.jpg" + }, + { + "name": "Horseback Riding Adventure", + "description": "Saddle up for an unforgettable horseback riding adventure through Kauai's lush interior. Explore hidden trails, traverse rolling hills, and soak in breathtaking views of the island's diverse landscapes. Whether you're an experienced rider or a beginner, this activity offers a unique and immersive way to connect with Kauai's natural beauty.", + "locationName": "Silver Falls Ranch or Princeville Ranch", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "kauai", + "ref": "horseback-riding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_horseback-riding-adventure.jpg" + }, + { + "name": "Secret Beach Exploration", + "description": "Embark on a quest to discover Kauai's hidden gems – its secret beaches. Hike through lush jungles, navigate rocky coastlines, and be rewarded with secluded stretches of sand where you can relax, swim, and soak up the tranquility away from the crowds. Some popular options include Mahaulepu Heritage Trail and Polihale State Park.", + "locationName": "Mahaulepu Heritage Trail or Polihale State Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "kauai", + "ref": "secret-beach-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_secret-beach-exploration.jpg" + }, + { + "name": "Koke'e State Park Hiking and Scenic Drives", + "description": "Immerse yourself in the stunning landscapes of Koke'e State Park. Hike through diverse trails offering panoramic views of the Napali Coast, Waimea Canyon, and lush valleys. Alternatively, embark on a scenic drive along Koke'e Road, stopping at lookout points to capture breathtaking vistas and witness the island's natural wonders.", + "locationName": "Koke'e State Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "kauai", + "ref": "koke-e-state-park-hiking-and-scenic-drives", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_koke-e-state-park-hiking-and-scenic-drives.jpg" + }, + { + "name": "Attend a Farmers Market", + "description": "Immerse yourself in Kauai's local culture and flavors by visiting one of the island's vibrant farmers markets. Browse through stalls overflowing with fresh produce, tropical fruits, handcrafted goods, and unique souvenirs. Engage with local farmers and artisans, savor delicious food, and experience the island's authentic charm.", + "locationName": "Various locations throughout Kauai", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "kauai", + "ref": "attend-a-farmers-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_attend-a-farmers-market.jpg" + }, + { + "name": "Sunset at Hanalei Bay", + "description": "Witness the magic of a Hawaiian sunset at Hanalei Bay. Relax on the golden sand, take a leisurely stroll along the shore, or paddle out on a kayak to enjoy the breathtaking views of the sky ablaze with colors. Capture unforgettable photos and create lasting memories of this iconic Kauai experience.", + "locationName": "Hanalei Bay", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "kauai", + "ref": "sunset-at-hanalei-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kauai_sunset-at-hanalei-bay.jpg" + }, + { + "name": "Masai Mara National Reserve Safari", + "description": "Embark on an exhilarating game drive through the iconic Masai Mara National Reserve, renowned for its abundance of wildlife. Witness the breathtaking spectacle of the Great Migration, where millions of wildebeest and zebras traverse the plains. Spot majestic lions, graceful giraffes, powerful elephants, and elusive leopards in their natural habitat.", + "locationName": "Masai Mara National Reserve", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "kenya", + "ref": "masai-mara-national-reserve-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_masai-mara-national-reserve-safari.jpg" + }, + { + "name": "Amboseli National Park Elephant Encounter", + "description": "Venture into Amboseli National Park, famous for its large elephant herds and breathtaking views of Mount Kilimanjaro. Observe these gentle giants as they roam freely against the backdrop of Africa's highest peak. Capture incredible photos and learn about elephant conservation efforts.", + "locationName": "Amboseli National Park", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "kenya", + "ref": "amboseli-national-park-elephant-encounter", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_amboseli-national-park-elephant-encounter.jpg" + }, + { + "name": "Lake Nakuru Flamingo Spectacle", + "description": "Visit Lake Nakuru National Park, a haven for birdwatchers. Marvel at the mesmerizing sight of thousands of pink flamingos flocking to the lake's alkaline waters. Explore the park's diverse ecosystems, home to rhinos, lions, giraffes, and a variety of bird species.", + "locationName": "Lake Nakuru National Park", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "kenya", + "ref": "lake-nakuru-flamingo-spectacle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_lake-nakuru-flamingo-spectacle.jpg" + }, + { + "name": "Maasai Village Cultural Immersion", + "description": "Immerse yourself in the vibrant culture of the Maasai people. Visit a traditional Maasai village and interact with the locals. Learn about their customs, traditions, and way of life. Witness their impressive jumping dances and intricate beadwork.", + "locationName": "Maasai Village", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kenya", + "ref": "maasai-village-cultural-immersion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_maasai-village-cultural-immersion.jpg" + }, + { + "name": "Nairobi City Exploration", + "description": "Discover the bustling capital city of Nairobi. Visit the Karen Blixen Museum, the former home of the famous author of 'Out of Africa.' Explore the Nairobi National Museum, showcasing Kenya's rich history and culture. Indulge in the city's vibrant nightlife and diverse culinary scene.", + "locationName": "Nairobi City", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "kenya", + "ref": "nairobi-city-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_nairobi-city-exploration.jpg" + }, + { + "name": "Mount Kenya Climbing Expedition", + "description": "Embark on a thrilling adventure to conquer the majestic Mount Kenya, Africa's second-highest peak. Hike through diverse ecosystems, from lush rainforests to alpine meadows, and witness breathtaking panoramic views from the summit. This challenging yet rewarding experience is perfect for adventurous souls seeking an unforgettable climb.", + "locationName": "Mount Kenya National Park", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "kenya", + "ref": "mount-kenya-climbing-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_mount-kenya-climbing-expedition.jpg" + }, + { + "name": "Diani Beach Relaxation", + "description": "Unwind on the pristine sands of Diani Beach, a tropical paradise along Kenya's coastline. Soak up the sun, swim in the crystal-clear waters, and indulge in water sports like snorkeling and diving. With its luxurious resorts, vibrant nightlife, and stunning coral reefs, Diani Beach offers the perfect blend of relaxation and adventure.", + "locationName": "Diani Beach", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "kenya", + "ref": "diani-beach-relaxation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_diani-beach-relaxation.jpg" + }, + { + "name": "Lamu Island Cultural Exploration", + "description": "Step back in time on Lamu Island, a UNESCO World Heritage Site known for its rich history and Swahili culture. Explore the narrow streets of Lamu Old Town, visit ancient mosques and fortresses, and witness the traditional dhow sailing boats. Immerse yourself in the island's unique blend of African, Arabic, and Indian influences.", + "locationName": "Lamu Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kenya", + "ref": "lamu-island-cultural-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_lamu-island-cultural-exploration.jpg" + }, + { + "name": "Tsavo National Park Rhino Tracking", + "description": "Embark on a thrilling rhino tracking experience in Tsavo National Park, home to one of the largest populations of black rhinos in Kenya. Join experienced guides on a bush walk to observe these magnificent creatures in their natural habitat and learn about conservation efforts to protect them. This unique adventure offers an unforgettable encounter with endangered wildlife.", + "locationName": "Tsavo National Park", + "duration": 7, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "kenya", + "ref": "tsavo-national-park-rhino-tracking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_tsavo-national-park-rhino-tracking.jpg" + }, + { + "name": "Hot Air Balloon Safari over the Masai Mara", + "description": "Experience the breathtaking beauty of the Masai Mara from a unique perspective with a hot air balloon safari. Ascend at dawn and witness the stunning sunrise over the vast savanna, spotting wildlife like lions, elephants, and giraffes from above. This unforgettable experience offers a serene and magical way to witness the wonders of Kenya's wildlife.", + "locationName": "Masai Mara National Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "kenya", + "ref": "hot-air-balloon-safari-over-the-masai-mara", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_hot-air-balloon-safari-over-the-masai-mara.jpg" + }, + { + "name": "Samburu National Reserve Cultural Safari", + "description": "Explore the Samburu National Reserve, known for its unique wildlife and rich cultural heritage. Encounter the Samburu people, a semi-nomadic tribe with vibrant traditions and distinctive attire. Learn about their customs, way of life, and connection to the land. Observe Grevy's zebras, reticulated giraffes, and other rare species that thrive in this arid region.", + "locationName": "Samburu National Reserve", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "kenya", + "ref": "samburu-national-reserve-cultural-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_samburu-national-reserve-cultural-safari.jpg" + }, + { + "name": "Kisite-Mpunguti Marine National Park Snorkeling Adventure", + "description": "Discover the vibrant underwater world of Kisite-Mpunguti Marine National Park. Embark on a snorkeling adventure to encounter colorful coral reefs, diverse fish species, and even dolphins and sea turtles. Explore the marine ecosystem and enjoy the crystal-clear waters of the Indian Ocean.", + "locationName": "Kisite-Mpunguti Marine National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kenya", + "ref": "kisite-mpunguti-marine-national-park-snorkeling-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_kisite-mpunguti-marine-national-park-snorkeling-adventure.jpg" + }, + { + "name": "Hike and Camp on Mount Longonot", + "description": "Embark on a challenging yet rewarding hike to the summit of Mount Longonot, a dormant volcano with breathtaking views of the Great Rift Valley. Explore the crater rim and enjoy panoramic landscapes. Camp overnight under the stars and experience the serenity of the Kenyan wilderness.", + "locationName": "Mount Longonot National Park", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "kenya", + "ref": "hike-and-camp-on-mount-longonot", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_hike-and-camp-on-mount-longonot.jpg" + }, + { + "name": "Explore the Karen Blixen Museum", + "description": "Step back in time at the Karen Blixen Museum, the former home of the famous Danish author of \"Out of Africa.\" Explore the colonial farmhouse and its surrounding gardens, gaining insights into Kenya's colonial history and Blixen's life and literary works.", + "locationName": "Nairobi", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "kenya", + "ref": "explore-the-karen-blixen-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_explore-the-karen-blixen-museum.jpg" + }, + { + "name": "White Water Rafting on Tana River", + "description": "Experience the thrill of white water rafting down the Tana River, Kenya's longest river. Navigate through exhilarating rapids, surrounded by stunning landscapes and lush vegetation. This adventure offers an adrenaline-pumping experience for both beginners and seasoned rafters.", + "locationName": "Tana River", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "kenya", + "ref": "white-water-rafting-on-tana-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_white-water-rafting-on-tana-river.jpg" + }, + { + "name": "Explore the Aberdare Ranges", + "description": "Discover the breathtaking beauty of the Aberdare Ranges, a mountain range with diverse ecosystems, including bamboo forests, moorlands, and waterfalls. Hike through scenic trails, encounter unique wildlife like the black rhino and bongo antelope, and enjoy stunning views of the surrounding landscapes.", + "locationName": "Aberdare National Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kenya", + "ref": "explore-the-aberdare-ranges", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_explore-the-aberdare-ranges.jpg" + }, + { + "name": "Birdwatching in Kakamega Forest", + "description": "Immerse yourself in the vibrant world of birds at Kakamega Forest, known for its exceptional avian diversity. Spot rare and endemic species, including the Great Blue Turaco and the Turner's Eremomela, while enjoying the tranquility of this ancient rainforest.", + "locationName": "Kakamega Forest National Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "kenya", + "ref": "birdwatching-in-kakamega-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_birdwatching-in-kakamega-forest.jpg" + }, + { + "name": "Relax at Lake Naivasha", + "description": "Unwind by the serene shores of Lake Naivasha, a freshwater lake teeming with birdlife and surrounded by lush landscapes. Take a boat ride to Crescent Island, enjoy a nature walk, or simply relax and soak up the peaceful atmosphere.", + "locationName": "Lake Naivasha", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kenya", + "ref": "relax-at-lake-naivasha", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_relax-at-lake-naivasha.jpg" + }, + { + "name": "Stargazing in the Chyulu Hills", + "description": "Escape the city lights and experience the magic of stargazing in the Chyulu Hills. With minimal light pollution, the night sky comes alive with countless stars, offering a breathtaking spectacle for astronomy enthusiasts and nature lovers alike.", + "locationName": "Chyulu Hills", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "kenya", + "ref": "stargazing-in-the-chyulu-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kenya_stargazing-in-the-chyulu-hills.jpg" + }, + { + "name": "Temple Hopping in the Eastern Mountains", + "description": "Embark on a serene journey through Kyoto's eastern mountains, home to some of Japan's most iconic temples. Explore the tranquil Kiyomizu-dera Temple with its stunning wooden stage and panoramic city views. Wander through the moss-covered gardens of Nanzen-ji Temple, and discover the vibrant red gates of Fushimi Inari-taisha Shrine, winding up the hillside.", + "locationName": "Eastern Kyoto", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "temple-hopping-in-the-eastern-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_temple-hopping-in-the-eastern-mountains.jpg" + }, + { + "name": "Geisha Spotting and Cultural Immersion in Gion", + "description": "Step back in time and immerse yourself in the enchanting district of Gion. Wander through its narrow streets lined with traditional wooden machiya houses, and keep an eye out for the elusive geishas in their elegant kimonos. Experience a traditional tea ceremony, learn about the geisha culture, and enjoy a kaiseki dinner for a truly authentic cultural immersion.", + "locationName": "Gion District", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "kyoto", + "ref": "geisha-spotting-and-cultural-immersion-in-gion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_geisha-spotting-and-cultural-immersion-in-gion.jpg" + }, + { + "name": "Arashiyama Bamboo Grove and Sagano Scenic Railway", + "description": "Escape the city bustle and venture to the enchanting Arashiyama Bamboo Grove. Stroll through the towering bamboo stalks, creating a surreal and peaceful atmosphere. Afterward, take a scenic train ride on the Sagano Romantic Train, enjoying breathtaking views of the Hozugawa River and the surrounding mountains.", + "locationName": "Arashiyama", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "kyoto", + "ref": "arashiyama-bamboo-grove-and-sagano-scenic-railway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_arashiyama-bamboo-grove-and-sagano-scenic-railway.jpg" + }, + { + "name": "Nishiki Market Foodie Adventure", + "description": "Indulge your senses in the vibrant Nishiki Market, known as 'Kyoto's Kitchen.' Explore the bustling stalls offering a wide array of fresh seafood, local produce, and traditional Japanese sweets. Sample delicious street food, discover unique culinary ingredients, and experience the authentic flavors of Kyoto.", + "locationName": "Nishiki Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "nishiki-market-foodie-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_nishiki-market-foodie-adventure.jpg" + }, + { + "name": "Golden Pavilion and Zen Garden Serenity", + "description": "Marvel at the Golden Pavilion (Kinkaku-ji Temple), a shimmering golden structure reflected in a serene pond. Explore the surrounding zen gardens, meticulously designed to inspire tranquility and contemplation. Witness the harmony of nature and architecture, and experience a moment of peace in the heart of Kyoto.", + "locationName": "Kinkaku-ji Temple", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "golden-pavilion-and-zen-garden-serenity", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_golden-pavilion-and-zen-garden-serenity.jpg" + }, + { + "name": "Fushimi Inari-taisha Shrine Hike", + "description": "Embark on a captivating hike through thousands of vibrant orange torii gates that wind their way up the mountainside at Fushimi Inari-taisha Shrine. This iconic landmark offers stunning views of the city and a glimpse into the Shinto religion. **Tags:** Hiking, Sightseeing, Cultural experiences, Instagrammable", + "locationName": "Fushimi Inari-taisha Shrine", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "fushimi-inari-taisha-shrine-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_fushimi-inari-taisha-shrine-hike.jpg" + }, + { + "name": "Kiyomizu-dera Temple and the Philosopher's Path", + "description": "Visit the historic Kiyomizu-dera Temple, known for its wooden stage and breathtaking views of the city. Afterwards, take a leisurely stroll along the Philosopher's Path, a serene stone path lined with cherry blossom trees and traditional shops. **Tags:** Sightseeing, Cultural experiences, Relaxing, Instagrammable, Spring destination", + "locationName": "Eastern Kyoto", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "kiyomizu-dera-temple-and-the-philosopher-s-path", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_kiyomizu-dera-temple-and-the-philosopher-s-path.jpg" + }, + { + "name": "Pontocho Alley and Kamogawa River", + "description": "Wander through the charming Pontocho Alley, a narrow lane filled with traditional teahouses and restaurants. Enjoy a delicious meal while overlooking the picturesque Kamogawa River, especially enchanting in the evening with illuminated riverside dining. **Tags:** Food tours, Nightlife, Cultural experiences, Romantic", + "locationName": "Central Kyoto", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "kyoto", + "ref": "pontocho-alley-and-kamogawa-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_pontocho-alley-and-kamogawa-river.jpg" + }, + { + "name": "Arashiyama Monkey Park Iwatayama", + "description": "Take a short hike up Mt. Arashiyama to the Monkey Park Iwatayama, home to over 100 playful monkeys. Enjoy panoramic views of the city and the opportunity to observe these fascinating creatures in their natural habitat. **Tags:** Hiking, Wildlife watching, Family-friendly", + "locationName": "Arashiyama", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "arashiyama-monkey-park-iwatayama", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_arashiyama-monkey-park-iwatayama.jpg" + }, + { + "name": "Nijo Castle", + "description": "Explore the opulent Nijo Castle, a UNESCO World Heritage Site and former residence of the Tokugawa shoguns. Discover its impressive architecture, including the Ninomaru Palace with its 'nightingale floors' and stunning gardens. **Tags:** Sightseeing, Historic, Cultural experiences", + "locationName": "Central Kyoto", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "kyoto", + "ref": "nijo-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_nijo-castle.jpg" + }, + { + "name": "Tea Ceremony Experience at Ensian", + "description": "Immerse yourself in the graceful art of the Japanese tea ceremony at Ensian. Dressed in a traditional kimono, learn the intricate steps of preparing and serving matcha tea from a tea master. Experience the tranquility and cultural significance of this ancient ritual in a serene tatami-mat room.", + "locationName": "Ensian", + "duration": 1.5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "kyoto", + "ref": "tea-ceremony-experience-at-ensian", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_tea-ceremony-experience-at-ensian.jpg" + }, + { + "name": "Kimono Forest at Randen Arashiyama Station", + "description": "Step into a magical world of color and light at the Kimono Forest. Wander through a pathway lined with hundreds of illuminated kimono-clad poles, each representing a unique pattern and design. Capture stunning photos and enjoy the enchanting atmosphere, especially beautiful in the evening.", + "locationName": "Randen Arashiyama Station", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "kyoto", + "ref": "kimono-forest-at-randen-arashiyama-station", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_kimono-forest-at-randen-arashiyama-station.jpg" + }, + { + "name": "Sake Brewery Tour and Tasting at Gekkeikan Okura Sake Museum", + "description": "Delve into the fascinating world of sake brewing with a tour of the Gekkeikan Okura Sake Museum. Learn about the history and process of sake production, explore traditional brewing tools and equipment, and enjoy a guided tasting of different sake varieties. Discover the unique flavors and cultural significance of this beloved Japanese beverage.", + "locationName": "Gekkeikan Okura Sake Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "kyoto", + "ref": "sake-brewery-tour-and-tasting-at-gekkeikan-okura-sake-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_sake-brewery-tour-and-tasting-at-gekkeikan-okura-sake-museum.jpg" + }, + { + "name": "Toei Kyoto Studio Park", + "description": "Embark on a journey through the world of Japanese cinema at Toei Kyoto Studio Park. Explore authentic film sets depicting historical periods, witness live ninja and samurai shows, and even participate in a costume experience. This interactive theme park offers a fun and engaging way to learn about Japan's rich cinematic history.", + "locationName": "Toei Kyoto Studio Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "kyoto", + "ref": "toei-kyoto-studio-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_toei-kyoto-studio-park.jpg" + }, + { + "name": "Day Trip to Nara Park", + "description": "Escape the city bustle with a day trip to Nara Park, a sprawling green space renowned for its friendly wild deer. Interact with these gentle creatures, visit the Todai-ji Temple housing a giant bronze Buddha statue, and explore the Kasuga Taisha Shrine with its thousands of stone and bronze lanterns. Enjoy a relaxing stroll through the park's serene natural beauty.", + "locationName": "Nara Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "day-trip-to-nara-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_day-trip-to-nara-park.jpg" + }, + { + "name": "Kifune Shrine and the Enchanting Kibune Village", + "description": "Embark on a scenic journey to the northern mountains of Kyoto and discover the mystical Kifune Shrine, nestled amidst lush greenery. Stroll through the charming Kibune village, known for its traditional ryokans with balconies overlooking the Kibune River. Indulge in a unique dining experience by enjoying nagashi-somen, where cold noodles flow down bamboo chutes.", + "locationName": "Kibune Village", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "kyoto", + "ref": "kifune-shrine-and-the-enchanting-kibune-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_kifune-shrine-and-the-enchanting-kibune-village.jpg" + }, + { + "name": "Philosophical Ponderings at Nanzen-ji Temple and Aqueduct", + "description": "Explore the expansive Nanzen-ji Temple complex, renowned for its stunning architecture and serene gardens. Marvel at the impressive brick aqueduct, a historic landmark that transported water to the city. Immerse yourself in the Zen atmosphere and contemplate the profound teachings of Buddhism.", + "locationName": "Nanzen-ji Temple", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "kyoto", + "ref": "philosophical-ponderings-at-nanzen-ji-temple-and-aqueduct", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_philosophical-ponderings-at-nanzen-ji-temple-and-aqueduct.jpg" + }, + { + "name": "Arashiyama Bamboo Grove Bike Tour", + "description": "Embark on an exciting bike tour through the enchanting Arashiyama Bamboo Grove. Cycle through the towering bamboo stalks, creating an unforgettable visual and auditory experience. Explore the surrounding areas, including the picturesque Togetsukyo Bridge and the Tenryuji Temple, at your own pace.", + "locationName": "Arashiyama Bamboo Grove", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "kyoto", + "ref": "arashiyama-bamboo-grove-bike-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_arashiyama-bamboo-grove-bike-tour.jpg" + }, + { + "name": "Pontocho Evening Food Tour", + "description": "Embark on a culinary adventure through Pontocho Alley, a historic entertainment district renowned for its traditional restaurants and teahouses. Sample a variety of authentic Kyoto dishes, from delicate kaiseki to hearty ramen, while experiencing the vibrant nightlife atmosphere.", + "locationName": "Pontocho Alley", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "kyoto", + "ref": "pontocho-evening-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_pontocho-evening-food-tour.jpg" + }, + { + "name": "Gion Corner Cultural Show", + "description": "Immerse yourself in traditional Japanese arts at the Gion Corner, a renowned venue showcasing various cultural performances. Witness the elegance of Kyomai dance, the artistry of tea ceremony, and the captivating sounds of the koto, a traditional stringed instrument.", + "locationName": "Gion Corner", + "duration": 1.5, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "kyoto", + "ref": "gion-corner-cultural-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/kyoto_gion-corner-cultural-show.jpg" + }, + { + "name": "Row a Pletna Boat to Bled Island", + "description": "Embark on a traditional pletna boat, a wooden rowboat unique to Lake Bled, and glide across the emerald waters to Bled Island. Explore the charming island, visit the Church of the Assumption, and ring the wishing bell for good luck. The picturesque views and serene atmosphere make this a truly romantic experience.", + "locationName": "Lake Bled", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-bled", + "ref": "row-a-pletna-boat-to-bled-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_row-a-pletna-boat-to-bled-island.jpg" + }, + { + "name": "Hike to Ojstrica for Panoramic Views", + "description": "Embark on a moderate hike up Ojstrica hill for breathtaking panoramic views of Lake Bled, the island, and the surrounding Julian Alps. The trail is well-maintained and offers several viewpoints along the way. Pack a picnic and enjoy the scenery from the summit, capturing stunning photos of the iconic landscape.", + "locationName": "Ojstrica Hill", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "lake-bled", + "ref": "hike-to-ojstrica-for-panoramic-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_hike-to-ojstrica-for-panoramic-views.jpg" + }, + { + "name": "Indulge in Bled Cream Cake", + "description": "Treat yourself to a slice of the famous Bled cream cake, a local delicacy known as Kremšnita. This delicious dessert features layers of crispy pastry, creamy vanilla custard, and a dusting of powdered sugar. Enjoy it at a lakeside cafe while soaking up the views and ambiance.", + "locationName": "Park Cafe", + "duration": 1, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-bled", + "ref": "indulge-in-bled-cream-cake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_indulge-in-bled-cream-cake.jpg" + }, + { + "name": "Explore Bled Castle", + "description": "Step back in time with a visit to Bled Castle, perched high on a cliff overlooking the lake. Explore the medieval architecture, museum exhibits, and castle printing works. Enjoy stunning views from the castle walls and indulge in a meal at the castle restaurant for a truly memorable experience.", + "locationName": "Bled Castle", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-bled", + "ref": "explore-bled-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_explore-bled-castle.jpg" + }, + { + "name": "Relax at the Thermal Spa", + "description": "Unwind and rejuvenate at the Bled Thermal Spa, known for its healing thermal waters. Enjoy a variety of spa treatments, swim in the indoor and outdoor pools, and relax in the saunas and steam rooms. The spa offers a perfect escape for relaxation and wellness.", + "locationName": "Bled Thermal Spa", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-bled", + "ref": "relax-at-the-thermal-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_relax-at-the-thermal-spa.jpg" + }, + { + "name": "Vintgar Gorge Adventure", + "description": "Embark on a breathtaking journey through the Vintgar Gorge, a natural wonder carved by the Radovna River. Walk along wooden walkways suspended above the turquoise waters, marvel at cascading waterfalls, and feel the refreshing mist on your face. This family-friendly adventure offers stunning views and a connection with nature.", + "locationName": "Vintgar Gorge", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-bled", + "ref": "vintgar-gorge-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_vintgar-gorge-adventure.jpg" + }, + { + "name": "Biking Around the Lake", + "description": "Rent a bike and enjoy a leisurely ride around the picturesque Lake Bled. Cycle through charming villages, past lush meadows, and along the lakeshore, taking in the breathtaking scenery. Stop for a picnic lunch with panoramic views or enjoy a refreshing swim in the lake. This activity is perfect for a relaxing and active day out.", + "locationName": "Lake Bled", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-bled", + "ref": "biking-around-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_biking-around-the-lake.jpg" + }, + { + "name": "Stand Up Paddleboarding on the Lake", + "description": "Experience the tranquility of Lake Bled from a unique perspective with stand-up paddleboarding. Glide across the calm waters, surrounded by stunning mountain views and the iconic island church. Enjoy a peaceful workout while taking in the beauty of your surroundings.", + "locationName": "Lake Bled", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-bled", + "ref": "stand-up-paddleboarding-on-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_stand-up-paddleboarding-on-the-lake.jpg" + }, + { + "name": "Wine Tasting in the Countryside", + "description": "Discover the local flavors of Slovenia with a wine tasting tour in the surrounding countryside. Visit family-run wineries, learn about the winemaking process, and indulge in a variety of delicious Slovenian wines. Enjoy the scenic landscapes and charming atmosphere of the wine region.", + "locationName": "Goriska Brda or Vipava Valley", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-bled", + "ref": "wine-tasting-in-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_wine-tasting-in-the-countryside.jpg" + }, + { + "name": "Traditional Slovenian Dinner with Folk Music", + "description": "Immerse yourself in Slovenian culture with a traditional dinner accompanied by live folk music. Savor authentic dishes like Kranjska klobasa (Carniolan sausage), žlikrofi (dumplings), and potica (nut roll) while enjoying the lively atmosphere and traditional music.", + "locationName": "Local restaurants or guesthouses", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-bled", + "ref": "traditional-slovenian-dinner-with-folk-music", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_traditional-slovenian-dinner-with-folk-music.jpg" + }, + { + "name": "Soar Above the Lake in a Hot Air Balloon", + "description": "Experience the breathtaking beauty of Lake Bled from a unique perspective with a hot air balloon ride. Drift silently over the emerald waters, the island church, and the surrounding mountains as you soak in the panoramic views. This unforgettable experience is perfect for a romantic occasion or a special treat.", + "locationName": "Lake Bled", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-bled", + "ref": "soar-above-the-lake-in-a-hot-air-balloon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_soar-above-the-lake-in-a-hot-air-balloon.jpg" + }, + { + "name": "Canyoning Adventure in the Bohinj Valley", + "description": "Embark on an exhilarating canyoning adventure in the nearby Bohinj Valley. Rappel down waterfalls, slide down natural water slides, and jump into crystal-clear pools. This action-packed activity is perfect for thrill-seekers and nature lovers.", + "locationName": "Bohinj Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-bled", + "ref": "canyoning-adventure-in-the-bohinj-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_canyoning-adventure-in-the-bohinj-valley.jpg" + }, + { + "name": "Visit the Beekeeping Museum", + "description": "Discover the fascinating world of Slovenian beekeeping at the Beekeeping Museum in Radovljica. Learn about the history and traditions of beekeeping, see different types of beehives, and sample delicious local honey. This educational and sweet experience is perfect for families.", + "locationName": "Radovljica", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-bled", + "ref": "visit-the-beekeeping-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_visit-the-beekeeping-museum.jpg" + }, + { + "name": "Explore the Charming Town of Radovljica", + "description": "Take a leisurely stroll through the charming medieval town of Radovljica, located just a short drive from Lake Bled. Admire the well-preserved architecture, browse the local shops, and enjoy a coffee or a meal at one of the cozy cafes. This is a perfect way to experience the local culture and atmosphere.", + "locationName": "Radovljica", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "lake-bled", + "ref": "explore-the-charming-town-of-radovljica", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_explore-the-charming-town-of-radovljica.jpg" + }, + { + "name": "Horseback Riding Through the Countryside", + "description": "Experience the beauty of the Slovenian countryside on horseback. Several riding schools around Lake Bled offer guided tours through meadows, forests, and along the Sava River. This is a relaxing and scenic way to enjoy the outdoors and connect with nature.", + "locationName": "Lake Bled surroundings", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-bled", + "ref": "horseback-riding-through-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_horseback-riding-through-the-countryside.jpg" + }, + { + "name": "Kayaking on Lake Bled", + "description": "Experience the tranquility of Lake Bled from a different perspective by kayaking on its crystal-clear waters. Rent a kayak and paddle at your own pace, enjoying the stunning views of the island, castle, and surrounding mountains. This is a perfect activity for a peaceful morning or afternoon on the water.", + "locationName": "Lake Bled", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-bled", + "ref": "kayaking-on-lake-bled", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_kayaking-on-lake-bled.jpg" + }, + { + "name": "Hiking to Mala Osojnica", + "description": "For breathtaking panoramic views of Lake Bled, embark on a hike to Mala Osojnica. The trail is moderately challenging and rewards hikers with stunning vistas of the lake, island, castle, and surrounding Julian Alps. This is a perfect activity for adventure seekers and photography enthusiasts.", + "locationName": "Mala Osojnica", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "lake-bled", + "ref": "hiking-to-mala-osojnica", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_hiking-to-mala-osojnica.jpg" + }, + { + "name": "Visit the Church of the Assumption on Bled Island", + "description": "Take a traditional Pletna boat ride to Bled Island and visit the iconic Church of the Assumption. Explore the church's history and architecture, ring the wishing bell for good luck, and enjoy the peaceful atmosphere of the island. This is a must-do activity for any visitor to Lake Bled.", + "locationName": "Bled Island", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-bled", + "ref": "visit-the-church-of-the-assumption-on-bled-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_visit-the-church-of-the-assumption-on-bled-island.jpg" + }, + { + "name": "Enjoy a Romantic Dinner with Lake Views", + "description": "Indulge in a romantic dinner at one of the many restaurants with stunning views of Lake Bled. Savor delicious Slovenian cuisine while admiring the illuminated island and castle in the evening. This is a perfect way to celebrate a special occasion or simply enjoy a memorable evening with your loved one. ", + "locationName": "Restaurants around Lake Bled", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-bled", + "ref": "enjoy-a-romantic-dinner-with-lake-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_enjoy-a-romantic-dinner-with-lake-views.jpg" + }, + { + "name": "Go Swimming or Sunbathing at Grajska Beach", + "description": "Relax and soak up the sun at Grajska Beach, the main swimming area on Lake Bled. Enjoy a refreshing swim in the clear waters, or simply lay back on the beach and admire the picturesque surroundings. This is a perfect activity for a warm summer day. ", + "locationName": "Grajska Beach", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "lake-bled", + "ref": "go-swimming-or-sunbathing-at-grajska-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-bled_go-swimming-or-sunbathing-at-grajska-beach.jpg" + }, + { + "name": "Lake Como Boat Tour", + "description": "Embark on a scenic boat tour across the glistening waters of Lake Como. Admire the opulent villas clinging to the hillsides, the charming villages dotting the shoreline, and the breathtaking mountain vistas. Opt for a private tour for a romantic experience or join a group tour to meet fellow travelers.", + "locationName": "Lake Como", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-como", + "ref": "lake-como-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_lake-como-boat-tour.jpg" + }, + { + "name": "Villa Carlotta Exploration", + "description": "Step into a world of botanical beauty at Villa Carlotta, a neoclassical villa boasting stunning gardens. Wander through the terraced landscape, marveling at vibrant flowerbeds, sculptures, and fountains. Don't miss the museum within the villa, showcasing artwork and historical artifacts.", + "locationName": "Tremezzo", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-como", + "ref": "villa-carlotta-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_villa-carlotta-exploration.jpg" + }, + { + "name": "Bellagio Stroll and Shopping", + "description": "Meander through the enchanting village of Bellagio, known as the 'Pearl of Lake Como.' Explore the narrow cobblestone streets lined with boutiques, cafes, and gelaterias. Indulge in some souvenir shopping or simply soak up the charming atmosphere of this lakeside gem.", + "locationName": "Bellagio", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-como", + "ref": "bellagio-stroll-and-shopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_bellagio-stroll-and-shopping.jpg" + }, + { + "name": "Brunate Funicular Ride", + "description": "Take a thrilling funicular ride up to the village of Brunate, perched high above Lake Como. Enjoy panoramic views of the lake, surrounding mountains, and the city of Como below. Explore the charming village, visit the Volta Lighthouse, or simply relax at a café with a view.", + "locationName": "Como", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-como", + "ref": "brunate-funicular-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_brunate-funicular-ride.jpg" + }, + { + "name": "Culinary Delights in Varenna", + "description": "Embark on a culinary adventure in the charming village of Varenna. Savor authentic Italian dishes at lakeside restaurants, indulge in freshly made gelato, and sample local wines. Enjoy a leisurely dinner with breathtaking views of the sunset over Lake Como.", + "locationName": "Varenna", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-como", + "ref": "culinary-delights-in-varenna", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_culinary-delights-in-varenna.jpg" + }, + { + "name": "Hiking in the Grigna Mountains", + "description": "Embark on a scenic hike in the Grigna Mountains, offering breathtaking panoramic views of Lake Como and the surrounding landscape. Choose from various trails catering to different skill levels, allowing you to immerse yourself in the natural beauty of the region.", + "locationName": "Grigna Mountains", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-como", + "ref": "hiking-in-the-grigna-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_hiking-in-the-grigna-mountains.jpg" + }, + { + "name": "Kayaking or Paddleboarding on the Lake", + "description": "Experience the tranquility of Lake Como by gliding across its crystal-clear waters in a kayak or on a paddleboard. Enjoy the stunning scenery, explore hidden coves, and discover the lakeside villages from a unique perspective.", + "locationName": "Lake Como", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-como", + "ref": "kayaking-or-paddleboarding-on-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_kayaking-or-paddleboarding-on-the-lake.jpg" + }, + { + "name": "Greenway del Lago di Como Bike Ride", + "description": "Embark on a cycling adventure along the Greenway del Lago di Como, a scenic path that follows the lake's shoreline. Explore charming villages, lush gardens, and historic sites while enjoying the fresh air and picturesque views.", + "locationName": "Greenway del Lago di Como", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-como", + "ref": "greenway-del-lago-di-como-bike-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_greenway-del-lago-di-como-bike-ride.jpg" + }, + { + "name": "Villa del Balbianello and Gardens Exploration", + "description": "Visit the enchanting Villa del Balbianello, a historic villa renowned for its stunning architecture, lush gardens, and breathtaking lake views. Explore the villa's opulent interiors and wander through the terraced gardens, offering a glimpse into the region's rich history and cultural heritage.", + "locationName": "Villa del Balbianello", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-como", + "ref": "villa-del-balbianello-and-gardens-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_villa-del-balbianello-and-gardens-exploration.jpg" + }, + { + "name": "Wine Tasting in the Valtellina Valley", + "description": "Indulge in a wine tasting experience in the Valtellina Valley, known for its terraced vineyards and production of Nebbiolo wines. Visit local wineries, learn about the winemaking process, and savor the unique flavors of the region.", + "locationName": "Valtellina Valley", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-como", + "ref": "wine-tasting-in-the-valtellina-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_wine-tasting-in-the-valtellina-valley.jpg" + }, + { + "name": "Seaplane Flight over Lake Como", + "description": "Experience the breathtaking beauty of Lake Como from a unique perspective with a scenic seaplane flight. Soar above the sparkling waters, charming villages, and majestic mountains, capturing unforgettable aerial views. This exhilarating adventure offers a truly unforgettable way to appreciate the lake's splendor.", + "locationName": "Lake Como", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-como", + "ref": "seaplane-flight-over-lake-como", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_seaplane-flight-over-lake-como.jpg" + }, + { + "name": "Cooking Class with a Local Chef", + "description": "Immerse yourself in the culinary traditions of Italy by joining a cooking class led by a local chef. Learn the secrets of preparing authentic Italian dishes, from fresh pasta to regional specialties, using local ingredients. This hands-on experience is perfect for food enthusiasts and provides a delicious way to connect with the local culture.", + "locationName": "Various locations in Lake Como", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-como", + "ref": "cooking-class-with-a-local-chef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_cooking-class-with-a-local-chef.jpg" + }, + { + "name": "Explore the Castello di Vezio", + "description": "Step back in time with a visit to the Castello di Vezio, a medieval castle perched on a hilltop overlooking Varenna. Discover the castle's fascinating history, explore its ancient towers and ramparts, and enjoy panoramic views of the lake and surrounding landscape. The castle also features a falconry show, offering a unique opportunity to witness these majestic birds up close.", + "locationName": "Varenna", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-como", + "ref": "explore-the-castello-di-vezio", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_explore-the-castello-di-vezio.jpg" + }, + { + "name": "Relax at a Lakeside Spa", + "description": "Indulge in a pampering spa experience at one of the luxurious lakeside resorts. Choose from a variety of treatments, including massages, facials, and body wraps, designed to rejuvenate your body and mind. Enjoy the serene atmosphere and stunning lake views as you unwind and escape the stresses of everyday life.", + "locationName": "Various luxury hotels around Lake Como", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-como", + "ref": "relax-at-a-lakeside-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_relax-at-a-lakeside-spa.jpg" + }, + { + "name": "Take a Day Trip to Lugano, Switzerland", + "description": "Venture beyond the Italian border and explore the charming city of Lugano in Switzerland. Discover its picturesque old town, stroll along the lakeside promenade, and admire the stunning views of the Swiss Alps. Lugano offers a blend of Italian and Swiss culture, making it a delightful destination for a day trip.", + "locationName": "Lugano, Switzerland", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-como", + "ref": "take-a-day-trip-to-lugano-switzerland", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_take-a-day-trip-to-lugano-switzerland.jpg" + }, + { + "name": "Explore the Silk History of Como", + "description": "Delve into the fascinating history of silk production in Como, dating back centuries. Visit the Silk Museum to learn about the intricate process, from silkworm farming to weaving exquisite fabrics. Explore artisan workshops and boutiques to witness the creation of luxurious silk products and perhaps find a unique souvenir.", + "locationName": "Como", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-como", + "ref": "explore-the-silk-history-of-como", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_explore-the-silk-history-of-como.jpg" + }, + { + "name": "Villa Melzi Gardens and Art Museum", + "description": "Step into a world of botanical beauty and artistic treasures at Villa Melzi. Stroll through the enchanting gardens, adorned with sculptures, exotic plants, and vibrant flowers. Visit the on-site museum to admire a collection of sculptures, paintings, and historical artifacts.", + "locationName": "Bellagio", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-como", + "ref": "villa-melzi-gardens-and-art-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_villa-melzi-gardens-and-art-museum.jpg" + }, + { + "name": "Hike to the Lighthouse of Lenno", + "description": "Embark on a scenic hike to the Lighthouse of Lenno, offering breathtaking panoramic views of Lake Como and the surrounding mountains. The trail winds through lush forests and charming villages, providing a perfect blend of nature and culture. Pack a picnic and enjoy a peaceful lunch at the top.", + "locationName": "Lenno", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 1, + "destinationRef": "lake-como", + "ref": "hike-to-the-lighthouse-of-lenno", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_hike-to-the-lighthouse-of-lenno.jpg" + }, + { + "name": "Enjoy a Romantic Dinner with a View", + "description": "Indulge in a memorable dining experience at a lakeside restaurant with stunning views. Savor delicious Italian cuisine, accompanied by fine wines and impeccable service. Many restaurants offer outdoor terraces where you can soak in the romantic ambiance and admire the shimmering lake.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-como", + "ref": "enjoy-a-romantic-dinner-with-a-view", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_enjoy-a-romantic-dinner-with-a-view.jpg" + }, + { + "name": "Take a Ferry to Explore Lakeside Villages", + "description": "Hop on a ferry and embark on a journey to discover the charming villages that dot the shores of Lake Como. Each village has its own unique character, offering historic sites, quaint shops, and local restaurants. Explore the colorful houses of Varenna, the gardens of Tremezzo, or the historic center of Menaggio.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-como", + "ref": "take-a-ferry-to-explore-lakeside-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-como_take-a-ferry-to-explore-lakeside-villages.jpg" + }, + { + "name": "Conquer Scafell Pike", + "description": "Embark on an exhilarating hike to the summit of Scafell Pike, England's highest peak. The challenging yet rewarding trail offers stunning panoramic views of the surrounding mountains, valleys, and lakes. Pack a picnic lunch to enjoy at the top and make sure to wear sturdy hiking boots.", + "locationName": "Scafell Pike", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-district", + "ref": "conquer-scafell-pike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_conquer-scafell-pike.jpg" + }, + { + "name": "Cruise on Lake Windermere", + "description": "Experience the tranquility of Lake Windermere, the largest natural lake in England, on a scenic boat cruise. Relax and soak in the picturesque views of the surrounding fells and villages. Opt for a guided tour to learn about the history and ecology of the lake or rent a private boat for a more intimate experience.", + "locationName": "Lake Windermere", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "cruise-on-lake-windermere", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_cruise-on-lake-windermere.jpg" + }, + { + "name": "Discover Beatrix Potter's World", + "description": "Step into the enchanting world of Beatrix Potter at Hill Top, her former farmhouse and now a museum. Explore the charming rooms filled with her personal belongings and original illustrations. Afterwards, visit the World of Beatrix Potter Attraction in Bowness-on-Windermere for interactive exhibits and a delightful garden.", + "locationName": "Hill Top & World of Beatrix Potter Attraction", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "discover-beatrix-potter-s-world", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_discover-beatrix-potter-s-world.jpg" + }, + { + "name": "Indulge in Local Flavors", + "description": "Treat your taste buds to the culinary delights of the Lake District. Sample Cumberland sausage, a regional specialty, or savor a traditional roast dinner at a cozy pub. Don't miss the opportunity to try sticky toffee pudding, a delectable local dessert. Explore local farmers markets for fresh produce and artisanal cheeses.", + "locationName": "Various pubs and restaurants", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-district", + "ref": "indulge-in-local-flavors", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_indulge-in-local-flavors.jpg" + }, + { + "name": "Explore Dove Cottage and Wordsworth Museum", + "description": "Delve into the life and works of renowned poet William Wordsworth at Dove Cottage, his former residence. Explore the meticulously preserved rooms and gardens, and visit the Wordsworth Museum to discover manuscripts, letters, and other artifacts that offer insights into his creative process.", + "locationName": "Dove Cottage & Wordsworth Museum", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "explore-dove-cottage-and-wordsworth-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_explore-dove-cottage-and-wordsworth-museum.jpg" + }, + { + "name": "Go Ghyll Scrambling", + "description": "Embark on an exhilarating adventure through the Lake District's ghylls (narrow mountain streams). Ghyll scrambling involves navigating waterfalls, rocks, and pools, often requiring wading, climbing, and sometimes even jumping. It's a thrilling way to experience the rugged beauty of the region and challenge yourself physically.", + "locationName": "Various locations throughout the Lake District", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-district", + "ref": "go-ghyll-scrambling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_go-ghyll-scrambling.jpg" + }, + { + "name": "Ride the Ravenglass and Eskdale Railway", + "description": "Take a nostalgic journey through the stunning scenery of the Lake District on the Ravenglass and Eskdale Railway. This heritage steam railway, affectionately known as La'al Ratty, winds its way through seven miles of picturesque landscapes, offering breathtaking views of mountains, valleys, and the coast. Enjoy a relaxing ride and soak in the beauty of the surrounding nature.", + "locationName": "Ravenglass", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "ride-the-ravenglass-and-eskdale-railway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_ride-the-ravenglass-and-eskdale-railway.jpg" + }, + { + "name": "Visit Muncaster Castle", + "description": "Step back in time with a visit to Muncaster Castle, a historic gem with over 800 years of history. Explore the castle's grand rooms, admire its stunning gardens, and learn about its fascinating past. The castle also features a Hawk & Owl Centre, where you can witness impressive birds of prey displays.", + "locationName": "Ravenglass", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-district", + "ref": "visit-muncaster-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_visit-muncaster-castle.jpg" + }, + { + "name": "Explore Grizedale Forest", + "description": "Immerse yourself in the natural beauty of Grizedale Forest, a haven for outdoor enthusiasts. Hike or bike through the extensive network of trails, discover hidden sculptures amidst the trees, and enjoy panoramic views of the surrounding fells. The forest also offers various adventure activities, such as Go Ape and Segway tours.", + "locationName": "Grizedale Forest", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "explore-grizedale-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_explore-grizedale-forest.jpg" + }, + { + "name": "Visit the Lakes Distillery", + "description": "Indulge in a unique experience at the Lakes Distillery, where you can discover the art of whisky, gin, and vodka production. Take a tour of the distillery, learn about the distilling process, and enjoy a tasting session of their award-winning spirits. The distillery also offers a bistro and shop, where you can savor delicious local cuisine and purchase unique souvenirs.", + "locationName": "Bassenthwaite Lake", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-district", + "ref": "visit-the-lakes-distillery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_visit-the-lakes-distillery.jpg" + }, + { + "name": "Wild Swimming in Tarn Blea", + "description": "Experience the invigorating sensation of wild swimming in the crystal-clear waters of Tarn Blea, a secluded lake nestled amidst the fells. Surrounded by dramatic scenery, this off-the-beaten-path gem offers a truly refreshing and immersive experience in nature. Take a picnic and make it a memorable day out.", + "locationName": "Tarn Blea", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "lake-district", + "ref": "wild-swimming-in-tarn-blea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_wild-swimming-in-tarn-blea.jpg" + }, + { + "name": "Stargazing at Low Gillerthwaite Field Centre", + "description": "Escape the city lights and immerse yourself in the wonders of the night sky at Low Gillerthwaite Field Centre. Join an astronomy evening and marvel at the constellations, planets, and distant galaxies through powerful telescopes. Learn about the celestial bodies and enjoy the tranquility of the dark skies.", + "locationName": "Low Gillerthwaite Field Centre", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "stargazing-at-low-gillerthwaite-field-centre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_stargazing-at-low-gillerthwaite-field-centre.jpg" + }, + { + "name": "Paddleboarding on Derwentwater", + "description": "Embark on a serene paddleboarding adventure on the tranquil waters of Derwentwater. Enjoy breathtaking views of the surrounding mountains and lush landscapes as you glide across the lake. This activity is perfect for all skill levels and offers a unique perspective of the Lake District's beauty.", + "locationName": "Derwentwater", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-district", + "ref": "paddleboarding-on-derwentwater", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_paddleboarding-on-derwentwater.jpg" + }, + { + "name": "Mountain Biking in Whinlatter Forest", + "description": "Get your adrenaline pumping with an exhilarating mountain biking experience in Whinlatter Forest. Explore the extensive network of trails, ranging from gentle family-friendly routes to challenging technical descents. Enjoy the thrill of the ride while surrounded by stunning forest scenery.", + "locationName": "Whinlatter Forest", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "lake-district", + "ref": "mountain-biking-in-whinlatter-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_mountain-biking-in-whinlatter-forest.jpg" + }, + { + "name": "Photography Tour of the Langdale Valley", + "description": "Capture the breathtaking beauty of the Lake District on a photography tour of the Langdale Valley. Led by a local expert, discover hidden gems and iconic viewpoints, learning tips and techniques to enhance your photography skills. This tour is perfect for both amateur and experienced photographers seeking to capture the essence of this stunning region.", + "locationName": "Langdale Valley", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-district", + "ref": "photography-tour-of-the-langdale-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_photography-tour-of-the-langdale-valley.jpg" + }, + { + "name": "Kayaking on Coniston Water", + "description": "Embark on a serene kayaking adventure on the tranquil waters of Coniston Water, surrounded by stunning mountain scenery. Glide along the lake's surface, exploring hidden coves and enjoying the peaceful ambiance. This activity is perfect for all skill levels and offers a unique perspective of the Lake District's beauty.", + "locationName": "Coniston Water", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "kayaking-on-coniston-water", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_kayaking-on-coniston-water.jpg" + }, + { + "name": "Rock Climbing and Abseiling in Borrowdale", + "description": "Experience the thrill of rock climbing and abseiling in the dramatic landscape of Borrowdale. With expert guides, challenge yourself on the rugged cliffs and enjoy breathtaking views of the valley. This adventurous activity is perfect for adrenaline seekers and offers a memorable experience in the heart of the Lake District.", + "locationName": "Borrowdale", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-district", + "ref": "rock-climbing-and-abseiling-in-borrowdale", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_rock-climbing-and-abseiling-in-borrowdale.jpg" + }, + { + "name": "Afternoon Tea at Lindeth Howe", + "description": "Indulge in a quintessentially English experience with a delightful afternoon tea at Lindeth Howe, a charming country house hotel once owned by Beatrix Potter. Savor a selection of delicate sandwiches, freshly baked scones, and delectable pastries, all while enjoying the elegant ambiance and stunning views of the surrounding gardens.", + "locationName": "Lindeth Howe", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-district", + "ref": "afternoon-tea-at-lindeth-howe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_afternoon-tea-at-lindeth-howe.jpg" + }, + { + "name": "Visit the World of Beatrix Potter Attraction", + "description": "Step into the enchanting world of Beatrix Potter at this family-friendly attraction. Explore interactive exhibits, charming gardens, and delightful displays that bring her beloved characters to life. This immersive experience is perfect for children and adults alike, offering a nostalgic journey through the tales of Peter Rabbit and his friends.", + "locationName": "The World of Beatrix Potter Attraction", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-district", + "ref": "visit-the-world-of-beatrix-potter-attraction", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_visit-the-world-of-beatrix-potter-attraction.jpg" + }, + { + "name": "Enjoy a scenic drive along the Kirkstone Pass", + "description": "Embark on a breathtaking drive along the Kirkstone Pass, one of the highest and most scenic mountain passes in the Lake District. Enjoy panoramic views of the surrounding valleys, rugged mountains, and shimmering lakes. Stop at viewpoints along the way to capture stunning photographs and soak in the beauty of the landscape.", + "locationName": "Kirkstone Pass", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "lake-district", + "ref": "enjoy-a-scenic-drive-along-the-kirkstone-pass", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-district_enjoy-a-scenic-drive-along-the-kirkstone-pass.jpg" + }, + { + "name": "Windsurfing on Lake Garda", + "description": "Experience the thrill of gliding across the crystal-clear waters of Lake Garda, propelled by the wind in your sails. Whether you're a seasoned windsurfer or a beginner eager to learn, the lake offers ideal conditions and stunning scenery. Rent equipment from one of the many windsurfing schools or centers dotted along the shoreline and embrace the invigorating sensation of harnessing the power of nature.", + "locationName": "Torbole", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-garda", + "ref": "windsurfing-on-lake-garda", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_windsurfing-on-lake-garda.jpg" + }, + { + "name": "Hiking in the Mountains", + "description": "Lace up your hiking boots and embark on an adventure through the breathtaking mountain trails surrounding Lake Garda. Explore the scenic landscapes of Monte Baldo, offering panoramic views of the lake and surrounding valleys. Hike amidst lush forests, discover hidden waterfalls, and breathe in the fresh mountain air. Choose from a variety of trails, catering to different fitness levels and interests.", + "locationName": "Monte Baldo", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-garda", + "ref": "hiking-in-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_hiking-in-the-mountains.jpg" + }, + { + "name": "Romantic Boat Tour", + "description": "Indulge in a romantic escape with a private boat tour on Lake Garda. Cruise along the shimmering waters, surrounded by picturesque villages and stunning natural landscapes. Savor a glass of local wine as you admire the breathtaking views and create unforgettable memories with your loved one. Opt for a sunset tour to witness the magical colors painting the sky as the sun dips below the horizon.", + "locationName": "Lake Garda", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-garda", + "ref": "romantic-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_romantic-boat-tour.jpg" + }, + { + "name": "Exploring Charming Towns", + "description": "Embark on a journey through the charming towns that dot the shores of Lake Garda. Wander through the narrow streets of Sirmione, known for its Scaliger Castle and thermal baths. Discover the colorful houses and lively atmosphere of Riva del Garda. Explore the historic center of Malcesine, with its medieval castle and cable car ride to Monte Baldo. Each town offers a unique blend of history, culture, and local charm.", + "locationName": "Sirmione, Riva del Garda, Malcesine", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-garda", + "ref": "exploring-charming-towns", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_exploring-charming-towns.jpg" + }, + { + "name": "Wine Tasting Experience", + "description": "Indulge in the flavors of the region with a delightful wine tasting experience. Visit local vineyards and wineries, where you can sample a variety of exquisite wines, from crisp whites to full-bodied reds. Learn about the winemaking process, the unique characteristics of the grapes grown in the area, and the passion that goes into every bottle. Pair your wine with delicious local cheeses and cured meats for a truly unforgettable culinary experience.", + "locationName": "Bardolino, Lugana", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-garda", + "ref": "wine-tasting-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_wine-tasting-experience.jpg" + }, + { + "name": "Paragliding Over Lake Garda", + "description": "Experience the thrill of soaring high above the stunning landscape of Lake Garda on a tandem paragliding flight. Enjoy breathtaking panoramic views of the crystal-clear lake, surrounding mountains, and charming villages as you glide peacefully through the air. This unforgettable adventure is perfect for thrill-seekers and nature lovers alike.", + "locationName": "Monte Baldo", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-garda", + "ref": "paragliding-over-lake-garda", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_paragliding-over-lake-garda.jpg" + }, + { + "name": "Canyoning in the Dolomites", + "description": "Embark on an exhilarating canyoning adventure in the rugged canyons of the Dolomites near Lake Garda. Descend through cascading waterfalls, rappel down rocky cliffs, and swim through crystal-clear pools. This action-packed activity is perfect for adventurous travelers seeking an adrenaline rush.", + "locationName": "Dolomites", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-garda", + "ref": "canyoning-in-the-dolomites", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_canyoning-in-the-dolomites.jpg" + }, + { + "name": "Kayaking on Lake Garda", + "description": "Explore the tranquil waters of Lake Garda at your own pace with a leisurely kayak tour. Paddle along the scenic shoreline, discover hidden coves, and enjoy the peacefulness of the surrounding nature. Kayaking is a great way to experience the beauty of the lake while getting some exercise.", + "locationName": "Various locations around the lake", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-garda", + "ref": "kayaking-on-lake-garda", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_kayaking-on-lake-garda.jpg" + }, + { + "name": "Visit the Medieval Scaliger Castle", + "description": "Step back in time with a visit to the impressive Scaliger Castle in Sirmione. Explore the historic fortress, climb the tower for panoramic views of the lake, and learn about the fascinating history of the region. This cultural experience is perfect for history buffs and architecture enthusiasts.", + "locationName": "Sirmione", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-garda", + "ref": "visit-the-medieval-scaliger-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_visit-the-medieval-scaliger-castle.jpg" + }, + { + "name": "Indulge in Gelato and Italian Cuisine", + "description": "No trip to Italy is complete without indulging in delicious gelato and authentic Italian cuisine. Explore the charming towns around Lake Garda and discover local gelaterias, trattorias, and pizzerias. Savor the flavors of fresh pasta, regional specialties, and of course, creamy gelato.", + "locationName": "Various towns around the lake", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-garda", + "ref": "indulge-in-gelato-and-italian-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_indulge-in-gelato-and-italian-cuisine.jpg" + }, + { + "name": "Swimming and Sunbathing at Baia delle Sirene", + "description": "Spend a relaxing day soaking up the Mediterranean sun and taking refreshing dips in the crystal-clear waters of Baia delle Sirene. This picturesque bay, known as the \"Bay of the Sirens,\" offers stunning views, calm waters, and a serene atmosphere, making it an ideal spot for swimming, sunbathing, and simply unwinding.", + "locationName": "Baia delle Sirene", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "lake-garda", + "ref": "swimming-and-sunbathing-at-baia-delle-sirene", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_swimming-and-sunbathing-at-baia-delle-sirene.jpg" + }, + { + "name": "Cycling Along the Lakeside", + "description": "Embark on a scenic cycling adventure along the picturesque shores of Lake Garda. Rent a bike and explore the dedicated cycling paths that wind through charming villages, offering breathtaking views of the lake and surrounding mountains. Stop for a picnic lunch amidst the vineyards or enjoy a refreshing gelato in a local cafe.", + "locationName": "Lake Garda", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-garda", + "ref": "cycling-along-the-lakeside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_cycling-along-the-lakeside.jpg" + }, + { + "name": "Visit the Vittoriale degli Italiani", + "description": "Immerse yourself in history and culture at the Vittoriale degli Italiani, the former estate of the renowned Italian poet Gabriele d'Annunzio. Explore the opulent villa, its extensive gardens, and unique museum collections, including a warship and an open-air theater. This fascinating complex offers a glimpse into the life and legacy of a prominent figure in Italian history.", + "locationName": "Gardone Riviera", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-garda", + "ref": "visit-the-vittoriale-degli-italiani", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_visit-the-vittoriale-degli-italiani.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Discover the secrets of Italian cuisine by taking a cooking class. Learn to prepare traditional dishes like fresh pasta, risotto, and regional specialties under the guidance of a local chef. Enjoy the fruits of your labor with a delicious meal paired with regional wines, and take home newfound culinary skills to impress your friends and family.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-garda", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_take-a-cooking-class.jpg" + }, + { + "name": "Explore Grotte di Catullo", + "description": "Step back in time and explore the ruins of Grotte di Catullo, an ancient Roman villa dating back to the 1st century BC. Wander through the remains of this once-luxurious residence, marvel at its impressive architecture, and enjoy panoramic views of Lake Garda. This archaeological site offers a fascinating glimpse into the region's rich history.", + "locationName": "Sirmione", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-garda", + "ref": "explore-grotte-di-catullo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_explore-grotte-di-catullo.jpg" + }, + { + "name": "Horseback Riding in the Hills", + "description": "Embark on a scenic horseback riding adventure through the rolling hills surrounding Lake Garda. Experienced guides will lead you on trails offering breathtaking views of the lake and surrounding landscapes. This activity is perfect for nature lovers and those seeking a unique way to explore the region.", + "locationName": "Various stables around Lake Garda", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-garda", + "ref": "horseback-riding-in-the-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_horseback-riding-in-the-hills.jpg" + }, + { + "name": "Visit Gardaland Amusement Park", + "description": "Experience thrills and excitement at Gardaland, one of Europe's most popular amusement parks. Enjoy a variety of rides, shows, and attractions suitable for all ages. From thrilling roller coasters to enchanting fantasy lands, Gardaland offers a fun-filled day for the whole family.", + "locationName": "Castelnuovo del Garda", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-garda", + "ref": "visit-gardaland-amusement-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_visit-gardaland-amusement-park.jpg" + }, + { + "name": "Take a Day Trip to Verona", + "description": "Explore the romantic city of Verona, famous for being the setting of Shakespeare's Romeo and Juliet. Visit Juliet's balcony, marvel at the ancient Roman Arena, and wander through charming piazzas. Verona is a must-visit destination for history buffs and hopeless romantics alike.", + "locationName": "Verona", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-garda", + "ref": "take-a-day-trip-to-verona", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_take-a-day-trip-to-verona.jpg" + }, + { + "name": "Indulge in a Spa Day", + "description": "Unwind and rejuvenate with a luxurious spa day at one of Lake Garda's many wellness centers. Enjoy a variety of treatments, such as massages, facials, and body wraps, while taking in the serene surroundings. This is the perfect way to relax and recharge during your vacation.", + "locationName": "Various spa resorts around Lake Garda", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-garda", + "ref": "indulge-in-a-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_indulge-in-a-spa-day.jpg" + }, + { + "name": "Go on a Wine Tour and Tasting", + "description": "Discover the rich winemaking traditions of the Lake Garda region. Visit local vineyards, learn about the winemaking process, and indulge in tastings of renowned Italian wines. This experience is perfect for wine enthusiasts and those looking to savor the flavors of the region.", + "locationName": "Various wineries around Lake Garda", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-garda", + "ref": "go-on-a-wine-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-garda_go-on-a-wine-tour-and-tasting.jpg" + }, + { + "name": "Hiking the Rubicon Trail", + "description": "Embark on a breathtaking journey along the Rubicon Trail, a moderate 4.5-mile hike offering panoramic views of the lake and surrounding mountains. Discover hidden coves, cascading waterfalls, and the iconic Emerald Bay. Pack a picnic and enjoy lunch with a view.", + "locationName": "D.L. Bliss State Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "hiking-the-rubicon-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_hiking-the-rubicon-trail.jpg" + }, + { + "name": "Kayaking or Paddleboarding on the Lake", + "description": "Experience the tranquility of Lake Tahoe from a kayak or paddleboard. Glide across the crystal-clear water, surrounded by stunning mountain scenery. Rent equipment from various locations around the lake and explore hidden coves or simply relax and soak up the sun.", + "locationName": "Various locations around Lake Tahoe", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "kayaking-or-paddleboarding-on-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_kayaking-or-paddleboarding-on-the-lake.jpg" + }, + { + "name": "Scenic Gondola Ride at Heavenly Mountain Resort", + "description": "Soar above the treetops in a scenic gondola ride at Heavenly Mountain Resort. Enjoy panoramic views of Lake Tahoe and the surrounding Sierra Nevada mountains. At the observation deck, capture breathtaking photos and learn about the area's history and ecology.", + "locationName": "Heavenly Mountain Resort", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "scenic-gondola-ride-at-heavenly-mountain-resort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_scenic-gondola-ride-at-heavenly-mountain-resort.jpg" + }, + { + "name": "Exploring Emerald Bay State Park", + "description": "Discover the jewel of Lake Tahoe, Emerald Bay State Park. Visit Vikingsholm, a Scandinavian-inspired castle, and learn about its fascinating history. Hike down to the shore of Emerald Bay and take a dip in the refreshing water or simply relax on the beach and enjoy the views.", + "locationName": "Emerald Bay State Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "exploring-emerald-bay-state-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_exploring-emerald-bay-state-park.jpg" + }, + { + "name": "Indulging in Local Cuisine and Craft Beer", + "description": "After a day of adventure, treat yourself to Lake Tahoe's culinary scene. Explore the diverse restaurants offering fresh seafood, farm-to-table dishes, and international flavors. Sample local craft beers at breweries with stunning lake views and enjoy live music at vibrant bars and pubs.", + "locationName": "Various locations around Lake Tahoe", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "indulging-in-local-cuisine-and-craft-beer", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_indulging-in-local-cuisine-and-craft-beer.jpg" + }, + { + "name": "Biking the Flume Trail", + "description": "Embark on an unforgettable mountain biking experience along the Flume Trail, renowned for its breathtaking vistas of Lake Tahoe. This 14-mile singletrack trail winds through scenic forests and along dramatic cliffs, offering thrilling challenges and rewarding panoramas for intermediate to advanced riders.", + "locationName": "Flume Trail", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "biking-the-flume-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_biking-the-flume-trail.jpg" + }, + { + "name": "Sunset Cruise on Lake Tahoe", + "description": "Experience the magic of Lake Tahoe at twilight with a relaxing sunset cruise. Sail across the pristine waters as the sky transforms into a canvas of vibrant colors, casting a golden glow on the surrounding mountains. Many cruises offer dinner and drinks, creating a romantic and unforgettable evening.", + "locationName": "Lake Tahoe", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-tahoe", + "ref": "sunset-cruise-on-lake-tahoe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_sunset-cruise-on-lake-tahoe.jpg" + }, + { + "name": "Exploring Vikingsholm Castle", + "description": "Step back in time with a visit to Vikingsholm, a unique Scandinavian-inspired castle nestled on the shores of Emerald Bay. Explore the historic mansion, admire its intricate architecture and period furnishings, and learn about its fascinating history. The surrounding gardens and stunning views of the bay add to the enchanting experience.", + "locationName": "Emerald Bay State Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "exploring-vikingsholm-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_exploring-vikingsholm-castle.jpg" + }, + { + "name": "Stargazing at the Heavenly Mountain Observatory", + "description": "Escape the city lights and delve into the wonders of the cosmos at the Heavenly Mountain Observatory. Join a guided stargazing tour and observe celestial objects through powerful telescopes, learning about constellations, planets, and galaxies from expert astronomers. The clear mountain air and high altitude provide exceptional viewing conditions.", + "locationName": "Heavenly Mountain Resort", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "stargazing-at-the-heavenly-mountain-observatory", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_stargazing-at-the-heavenly-mountain-observatory.jpg" + }, + { + "name": "Visiting the Tallac Historic Site", + "description": "Immerse yourself in the rich history of Lake Tahoe at the Tallac Historic Site. Explore the preserved estates of wealthy families from the early 20th century, including the Pope Estate, Baldwin Estate, and Valhalla Estate. Learn about the region's logging and tourism industries, and enjoy captivating views of the lake.", + "locationName": "Tallac Historic Site", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "visiting-the-tallac-historic-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_visiting-the-tallac-historic-site.jpg" + }, + { + "name": "Horseback Riding in the Sierras", + "description": "Embark on a scenic horseback riding adventure through the picturesque trails of the Sierra Nevada mountains. Explore alpine meadows, dense forests, and enjoy breathtaking views of Lake Tahoe. Several stables in the area offer guided tours for all skill levels, making it a perfect activity for families and nature lovers.", + "locationName": "Camp Richardson Corral or Zephyr Cove Stables", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "horseback-riding-in-the-sierras", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_horseback-riding-in-the-sierras.jpg" + }, + { + "name": "Rock Climbing and Bouldering", + "description": "Challenge yourself with rock climbing and bouldering at one of the many renowned climbing areas around Lake Tahoe. Whether you're a beginner or an experienced climber, you'll find routes that suit your skill level. Donner Summit, Lover's Leap, and the Tahoe Basin offer stunning natural landscapes and thrilling climbing experiences.", + "locationName": "Donner Summit, Lover's Leap, or Tahoe Basin", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "rock-climbing-and-bouldering", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_rock-climbing-and-bouldering.jpg" + }, + { + "name": "Hot Air Balloon Ride over Lake Tahoe", + "description": "Experience the magic of Lake Tahoe from a unique perspective with a hot air balloon ride. Soar above the crystal-clear waters and enjoy panoramic views of the surrounding mountains and forests. This unforgettable experience is perfect for a romantic getaway or a special occasion.", + "locationName": "Lake Tahoe Balloons or Tahoe Hot Air Balloons", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-tahoe", + "ref": "hot-air-balloon-ride-over-lake-tahoe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_hot-air-balloon-ride-over-lake-tahoe.jpg" + }, + { + "name": "Relaxation and Rejuvenation at a Spa Resort", + "description": "Indulge in a day of pampering and relaxation at one of Lake Tahoe's luxurious spa resorts. Choose from a variety of treatments, including massages, facials, and body wraps, while enjoying the serene ambiance and breathtaking views. Several resorts offer wellness packages with yoga classes, meditation sessions, and healthy dining options.", + "locationName": "The Ritz-Carlton, Lake Tahoe or Hyatt Regency Lake Tahoe Resort, Spa and Casino", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "lake-tahoe", + "ref": "relaxation-and-rejuvenation-at-a-spa-resort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_relaxation-and-rejuvenation-at-a-spa-resort.jpg" + }, + { + "name": "Gaming Fun at the Casinos", + "description": "Experience the excitement of casino gaming in South Lake Tahoe. Try your luck at slot machines, table games, or poker tournaments. The casinos also offer live entertainment, nightclubs, and fine dining restaurants, providing a vibrant nightlife scene.", + "locationName": "Harrah's Lake Tahoe or Hard Rock Hotel & Casino Lake Tahoe", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "gaming-fun-at-the-casinos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_gaming-fun-at-the-casinos.jpg" + }, + { + "name": "Skiing and Snowboarding at World-Class Resorts", + "description": "Experience the thrill of gliding down the slopes at renowned ski resorts like Palisades Tahoe, Heavenly, and Northstar. With diverse terrain for all skill levels, enjoy powdery snow, stunning views, and après-ski activities.", + "locationName": "Various ski resorts around Lake Tahoe", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "lake-tahoe", + "ref": "skiing-and-snowboarding-at-world-class-resorts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_skiing-and-snowboarding-at-world-class-resorts.jpg" + }, + { + "name": "Scenic Drives and Photography Tours", + "description": "Embark on a scenic drive along the lake's shoreline, capturing breathtaking vistas and iconic landmarks. Consider a photography tour to learn tips and tricks for capturing the perfect shot of Emerald Bay, Sand Harbor, or Zephyr Cove.", + "locationName": "Lake Tahoe Scenic Drive", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "scenic-drives-and-photography-tours", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_scenic-drives-and-photography-tours.jpg" + }, + { + "name": "Fishing Adventures on the Lake", + "description": "Cast your line and try your luck at catching trout, salmon, or kokanee salmon. Charter a fishing boat with a local guide or enjoy a relaxing day of fishing from the shore.", + "locationName": "Various locations around Lake Tahoe", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "lake-tahoe", + "ref": "fishing-adventures-on-the-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_fishing-adventures-on-the-lake.jpg" + }, + { + "name": "Exploring the Charming Towns", + "description": "Discover the unique character of towns like Tahoe City, South Lake Tahoe, and Truckee. Explore local shops, art galleries, and historical sites, and enjoy the vibrant atmosphere of these mountain communities.", + "locationName": "Tahoe City, South Lake Tahoe, Truckee", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "exploring-the-charming-towns", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_exploring-the-charming-towns.jpg" + }, + { + "name": "Snowshoeing and Cross-Country Skiing", + "description": "Venture into the winter wonderland on snowshoes or cross-country skis. Explore serene trails through snow-covered forests, enjoying the tranquility of nature and the crisp mountain air.", + "locationName": "Various trails around Lake Tahoe", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lake-tahoe", + "ref": "snowshoeing-and-cross-country-skiing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lake-tahoe_snowshoeing-and-cross-country-skiing.jpg" + }, + { + "name": "Explore the UNESCO World Heritage City of Luang Prabang", + "description": "Step back in time and wander through the charming streets of Luang Prabang, a UNESCO World Heritage city renowned for its well-preserved architecture, gilded temples, and serene atmosphere. Visit the magnificent Wat Xieng Thong, a 16th-century temple complex adorned with intricate mosaics and carvings, and climb Mount Phousi for panoramic views of the city at sunset.", + "locationName": "Luang Prabang", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "laos", + "ref": "explore-the-unesco-world-heritage-city-of-luang-prabang", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_explore-the-unesco-world-heritage-city-of-luang-prabang.jpg" + }, + { + "name": "Kayak Down the Mekong River", + "description": "Embark on a scenic kayaking adventure down the Mekong River, the lifeblood of Laos. Paddle through tranquil waters, passing by lush landscapes, traditional villages, and hidden caves. Opt for a half-day or full-day trip, and immerse yourself in the natural beauty and local life along the riverbanks.", + "locationName": "Mekong River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "kayak-down-the-mekong-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_kayak-down-the-mekong-river.jpg" + }, + { + "name": "Discover the Kuang Si Falls", + "description": "Escape to the breathtaking Kuang Si Falls, a multi-tiered waterfall cascading through turquoise pools in the heart of the jungle. Take a refreshing dip in the cool waters, hike to the top of the falls for stunning views, and visit the nearby bear rescue center.", + "locationName": "Kuang Si Falls", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "laos", + "ref": "discover-the-kuang-si-falls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_discover-the-kuang-si-falls.jpg" + }, + { + "name": "Immerse Yourself in Local Culture at a Traditional Village", + "description": "Venture beyond the tourist trail and visit a traditional Laotian village to experience authentic local life. Learn about traditional crafts like weaving and pottery, sample delicious home-cooked Lao cuisine, and engage with friendly villagers to gain insights into their customs and traditions.", + "locationName": "Various villages near Luang Prabang or Vang Vieng", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "laos", + "ref": "immerse-yourself-in-local-culture-at-a-traditional-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_immerse-yourself-in-local-culture-at-a-traditional-village.jpg" + }, + { + "name": "Trekking in the Northern Mountains", + "description": "Embark on a multi-day trek through the remote mountains of northern Laos, home to diverse ethnic minority groups and breathtaking landscapes. Experience the thrill of hiking through lush jungles, rice paddies, and traditional villages, while encountering unique cultures and breathtaking vistas.", + "locationName": "Northern Laos (Luang Namtha, Muang Sing)", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "laos", + "ref": "trekking-in-the-northern-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_trekking-in-the-northern-mountains.jpg" + }, + { + "name": "Biking the Bolaven Plateau", + "description": "Explore the Bolaven Plateau by bicycle, a scenic region known for its coffee plantations, waterfalls, and ethnic minority villages. Enjoy the fresh air and stunning views as you pedal through rolling hills, stopping to sample delicious local coffee and immerse yourself in the unique culture of the region.", + "locationName": "Bolaven Plateau (Pakse, Tad Lo)", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "biking-the-bolaven-plateau", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_biking-the-bolaven-plateau.jpg" + }, + { + "name": "Living Land Farm Rice Experience", + "description": "Get your hands dirty and learn about traditional rice farming at the Living Land Farm near Luang Prabang. Participate in activities like planting, harvesting, and threshing rice, gaining insight into the importance of rice cultivation in Lao culture and the sustainable practices employed by local farmers.", + "locationName": "Living Land Farm (Luang Prabang)", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "laos", + "ref": "living-land-farm-rice-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_living-land-farm-rice-experience.jpg" + }, + { + "name": "Sunset Cruise on the Mekong River", + "description": "Embark on a relaxing sunset cruise along the Mekong River, enjoying panoramic views of the city, lush landscapes, and traditional villages. Sip on refreshing drinks and savor delicious local snacks as you witness the magical transformation of the sky at dusk.", + "locationName": "Mekong River (Luang Prabang, Vientiane)", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "sunset-cruise-on-the-mekong-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_sunset-cruise-on-the-mekong-river.jpg" + }, + { + "name": "Cooking Class and Market Tour", + "description": "Delve into the world of Lao cuisine with a cooking class and market tour. Visit a bustling local market to discover fresh ingredients and learn about traditional cooking techniques, then prepare and enjoy a delicious meal under the guidance of a skilled chef.", + "locationName": "Luang Prabang, Vientiane", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "cooking-class-and-market-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_cooking-class-and-market-tour.jpg" + }, + { + "name": "Elephant Encounter at Mandalao Elephant Conservation", + "description": "Embark on a responsible and ethical elephant experience at Mandalao Elephant Conservation. Learn about elephant behavior, observe these gentle giants in their natural habitat, and even assist with their care during bath time. This unforgettable encounter supports the conservation and well-being of elephants in Laos.", + "locationName": "Mandalao Elephant Conservation", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "elephant-encounter-at-mandalao-elephant-conservation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_elephant-encounter-at-mandalao-elephant-conservation.jpg" + }, + { + "name": "Alms Giving Ceremony in Luang Prabang", + "description": "Rise early to witness the sacred Buddhist tradition of alms giving in Luang Prabang. Observe saffron-clad monks walk barefoot through the streets as locals offer them sticky rice and other food. This serene and spiritual experience provides a glimpse into Lao culture and religious practices.", + "locationName": "Luang Prabang", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "laos", + "ref": "alms-giving-ceremony-in-luang-prabang", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_alms-giving-ceremony-in-luang-prabang.jpg" + }, + { + "name": "Tham Kong Lo Cave Exploration", + "description": "Venture into the depths of Tham Kong Lo, one of Southeast Asia's most impressive caves. Take a boat ride through the cave's cavernous chambers, marvel at the stunning stalactites and stalagmites, and witness the emerald-colored pool illuminated by sunlight. This adventurous experience is perfect for those seeking natural wonders.", + "locationName": "Tham Kong Lo", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "tham-kong-lo-cave-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_tham-kong-lo-cave-exploration.jpg" + }, + { + "name": "Relaxing Herbal Sauna and Massage", + "description": "Indulge in a traditional Lao herbal sauna and massage for the ultimate relaxation experience. Enjoy the therapeutic benefits of local herbs in a steam sauna followed by a soothing massage that will rejuvenate your body and mind. This is the perfect way to unwind after a day of exploring.", + "locationName": "Various spas and wellness centers", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "laos", + "ref": "relaxing-herbal-sauna-and-massage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_relaxing-herbal-sauna-and-massage.jpg" + }, + { + "name": "Night Market Shopping in Vientiane", + "description": "Immerse yourself in the vibrant atmosphere of the Vientiane Night Market. Browse through a wide array of handicrafts, souvenirs, textiles, and local street food. This bustling market offers a unique opportunity to experience Lao culture and find unique treasures to take home.", + "locationName": "Vientiane Night Market", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "laos", + "ref": "night-market-shopping-in-vientiane", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_night-market-shopping-in-vientiane.jpg" + }, + { + "name": "Jungle Zipline Adventure", + "description": "Soar through the lush rainforest canopy on a thrilling zipline adventure! Experience the exhilaration of flying between platforms, enjoying breathtaking views of the jungle landscape below. This activity is perfect for adrenaline seekers and nature enthusiasts looking for a unique perspective of Laos' natural beauty.", + "locationName": "Northern Laos", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "jungle-zipline-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_jungle-zipline-adventure.jpg" + }, + { + "name": " Gibbon Experience Treehouse Stay", + "description": "Embark on an unforgettable overnight adventure in the Bokeo Nature Reserve, staying in a luxurious treehouse nestled high above the jungle floor. Trek through pristine forests, encounter gibbons and other wildlife, and wake up to the sounds of nature in this truly immersive experience.", + "locationName": "Bokeo Nature Reserve", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "laos", + "ref": "-gibbon-experience-treehouse-stay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_-gibbon-experience-treehouse-stay.jpg" + }, + { + "name": "Traditional Lao Pottery Workshop", + "description": "Get hands-on with Lao culture by participating in a traditional pottery workshop. Learn the ancient techniques of shaping clay, creating intricate designs, and firing your own unique piece of pottery to take home as a souvenir.", + "locationName": "Luang Prabang", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "laos", + "ref": "traditional-lao-pottery-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_traditional-lao-pottery-workshop.jpg" + }, + { + "name": "Beerlao Brewery Tour", + "description": "Discover the secrets behind Laos' most famous beer, Beerlao, with a visit to the brewery. Learn about the brewing process, from the selection of ingredients to bottling, and enjoy a tasting of different Beerlao varieties. This tour is perfect for beer enthusiasts and those curious about local industries.", + "locationName": "Vientiane", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "laos", + "ref": "beerlao-brewery-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_beerlao-brewery-tour.jpg" + }, + { + "name": "Explore the Plain of Jars", + "description": "Journey to the mysterious Plain of Jars in Xieng Khouang Province, a unique archaeological site with thousands of ancient stone jars scattered across the landscape. Learn about the theories surrounding their origin and purpose, and marvel at the breathtaking scenery of the surrounding plains.", + "locationName": "Xieng Khouang Province", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "laos", + "ref": "explore-the-plain-of-jars", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/laos_explore-the-plain-of-jars.jpg" + }, + { + "name": "Hike to Reinebringen's Peak", + "description": "Embark on a challenging yet rewarding hike to the summit of Reinebringen, offering panoramic views of the Reinefjord, fishing villages, and surrounding mountains. Capture stunning photos of the iconic Lofoten landscape.", + "locationName": "Reinebringen Mountain", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "hike-to-reinebringen-s-peak", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_hike-to-reinebringen-s-peak.jpg" + }, + { + "name": "Kayak in the Fjords", + "description": "Paddle through the tranquil waters of the Lofoten fjords, surrounded by towering cliffs and dramatic scenery. Explore hidden coves, observe marine life, and experience the serenity of the Arctic wilderness.", + "locationName": "Nusfjord or Reinefjord", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "kayak-in-the-fjords", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_kayak-in-the-fjords.jpg" + }, + { + "name": "Visit the Lofotr Viking Museum", + "description": "Step back in time at the Lofotr Viking Museum, featuring a reconstructed Viking longhouse and exhibits showcasing Viking history, culture, and daily life. Participate in interactive activities and learn about the fascinating legacy of the Vikings in the Lofoten Islands.", + "locationName": "Borg", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "visit-the-lofotr-viking-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_visit-the-lofotr-viking-museum.jpg" + }, + { + "name": "Chase the Northern Lights", + "description": "Experience the magical spectacle of the Aurora Borealis dancing across the night sky. Join a guided tour or find a secluded spot away from light pollution for optimal viewing. Witness the vibrant colors and ethereal beauty of this natural phenomenon.", + "locationName": "Various locations away from light pollution", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "chase-the-northern-lights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_chase-the-northern-lights.jpg" + }, + { + "name": "Indulge in Fresh Seafood", + "description": "Savor the taste of the freshest seafood at local restaurants or fishing villages. Sample Lofoten's specialties, such as stockfish, cod, salmon, and Arctic char. Enjoy the unique culinary experience of the islands.", + "locationName": "Various restaurants and villages", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "indulge-in-fresh-seafood", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_indulge-in-fresh-seafood.jpg" + }, + { + "name": "Go on a RIB Boat Safari", + "description": "Embark on a thrilling RIB (rigid inflatable boat) safari through the stunning Lofoten archipelago. Zip across the waves, feeling the wind in your hair as you explore hidden coves, dramatic cliffs, and encounter diverse marine life like seals, sea eagles, and even whales.", + "locationName": "Various locations around the islands", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "go-on-a-rib-boat-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_go-on-a-rib-boat-safari.jpg" + }, + { + "name": "Take a Photography Tour", + "description": "Capture the breathtaking beauty of the Lofoten Islands on a guided photography tour. Learn tips and tricks from a professional photographer while visiting iconic locations like Hamnøy, Reine, and Sakrisøy. Capture the perfect shot of charming fishing villages, dramatic mountains, and the mesmerizing Northern Lights (depending on the season).", + "locationName": "Various locations around the islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "take-a-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_take-a-photography-tour.jpg" + }, + { + "name": "Visit the Lofoten Aquarium", + "description": "Discover the fascinating marine life of the Arctic at the Lofoten Aquarium. Observe playful seals, colorful fish, and other intriguing creatures native to the region. Learn about the ecosystem of the Lofoten Islands and the importance of ocean conservation.", + "locationName": "Kabelvåg", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "lofoten-islands", + "ref": "visit-the-lofoten-aquarium", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_visit-the-lofoten-aquarium.jpg" + }, + { + "name": "Experience the Magic of the Lofoten International Art Festival", + "description": "Immerse yourself in the vibrant art scene of the Lofoten Islands during the annual Lofoten International Art Festival (LIAF). Explore exhibitions showcasing contemporary art from local and international artists, attend workshops, and enjoy cultural events in unique venues across the islands.", + "locationName": "Various locations around the islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "experience-the-magic-of-the-lofoten-international-art-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_experience-the-magic-of-the-lofoten-international-art-festival.jpg" + }, + { + "name": "Go Fishing with Local Fishermen", + "description": "Embark on an authentic fishing adventure with experienced local fishermen. Learn traditional fishing techniques, try your hand at catching cod, haddock, or other species, and experience the thrill of reeling in your own fresh seafood.", + "locationName": "Various locations around the islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "go-fishing-with-local-fishermen", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_go-fishing-with-local-fishermen.jpg" + }, + { + "name": "Go horseback riding on the beach", + "description": "Experience the thrill of horseback riding along the pristine beaches of the Lofoten Islands. Feel the wind in your hair as you gallop across the sand, taking in the breathtaking views of the surrounding mountains and ocean. Several local stables offer guided tours for all skill levels, making it a perfect activity for families or solo travelers.", + "locationName": "Gimsøya Island", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "go-horseback-riding-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_go-horseback-riding-on-the-beach.jpg" + }, + { + "name": "Explore charming fishing villages", + "description": "Wander through the picturesque fishing villages that dot the Lofoten Islands. Each village boasts its unique charm, with colorful wooden houses, traditional fishing boats, and friendly locals. Visit Henningsvær, known as the Venice of the North, or Nusfjord, a UNESCO World Heritage Site, to experience the authentic culture and history of the islands. ", + "locationName": "Henningsvær, Nusfjord", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "lofoten-islands", + "ref": "explore-charming-fishing-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_explore-charming-fishing-villages.jpg" + }, + { + "name": "Take a scenic bike ride", + "description": "Embark on a scenic bike ride along the National Tourist Route Lofoten, which stretches across the archipelago. Enjoy the fresh air and stunning landscapes as you pedal past towering mountains, dramatic fjords, and charming villages. Rent a bike from various rental shops and choose a route that suits your fitness level and interests.", + "locationName": "National Tourist Route Lofoten", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "take-a-scenic-bike-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_take-a-scenic-bike-ride.jpg" + }, + { + "name": "Visit the Lofoten War Memorial Museum", + "description": "Delve into the history of World War II at the Lofoten War Memorial Museum. Learn about the German occupation of Norway and the resistance movement that fought for liberation. The museum exhibits artifacts, photographs, and documents that provide a glimpse into the wartime experiences of the Lofoten people.", + "locationName": "Svolvær", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "visit-the-lofoten-war-memorial-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_visit-the-lofoten-war-memorial-museum.jpg" + }, + { + "name": "Indulge in local craft beer", + "description": "Discover the burgeoning craft beer scene in the Lofoten Islands. Visit local breweries like Lofotpils and Svolvær Ølkompani to sample a variety of unique and flavorful beers. Take a brewery tour to learn about the brewing process and enjoy a tasting session with fellow beer enthusiasts.", + "locationName": "Svolvær, Henningsvær", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "indulge-in-local-craft-beer", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_indulge-in-local-craft-beer.jpg" + }, + { + "name": "Join a Whale Watching Excursion", + "description": "Embark on an unforgettable whale watching adventure in the crystal-clear waters surrounding the Lofoten Islands. Witness majestic humpback whales, orcas, and other marine life as they breach, tail-slap, and play in their natural habitat. Knowledgeable guides provide insights into these fascinating creatures and the delicate ecosystem they inhabit.", + "locationName": "Andenes or Stø", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "join-a-whale-watching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_join-a-whale-watching-excursion.jpg" + }, + { + "name": "Experience Midnight Sun Phenomenon", + "description": "During the summer months, witness the magical phenomenon of the midnight sun. The sun remains above the horizon even at midnight, casting a surreal glow over the dramatic landscapes. Hike to a scenic viewpoint, enjoy a picnic under the golden light, or simply soak in the ethereal atmosphere.", + "locationName": "Reinebringen or Ryten", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "lofoten-islands", + "ref": "experience-midnight-sun-phenomenon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_experience-midnight-sun-phenomenon.jpg" + }, + { + "name": "Go on a Sea Eagle Safari", + "description": "Embark on a thrilling sea eagle safari, where you'll witness the majestic white-tailed eagles soaring through the sky. These magnificent birds of prey are a sight to behold, and you'll have the opportunity to capture stunning photos as they hunt for fish and glide effortlessly above the rugged coastline.", + "locationName": "Trollfjord or Raftsundet", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "go-on-a-sea-eagle-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_go-on-a-sea-eagle-safari.jpg" + }, + { + "name": "Unwind in a Traditional Sauna", + "description": "Experience the ultimate relaxation in a traditional Norwegian sauna. Immerse yourself in the warmth and let the steam soothe your muscles and melt away stress. Many saunas offer breathtaking views of the surrounding landscapes, allowing you to unwind in complete tranquility.", + "locationName": "Various locations throughout the islands", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "lofoten-islands", + "ref": "unwind-in-a-traditional-sauna", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_unwind-in-a-traditional-sauna.jpg" + }, + { + "name": "Learn to Surf in Unstad", + "description": "Catch a wave and experience the thrill of surfing in Unstad, a renowned surfing destination. Whether you're a beginner or an experienced surfer, the pristine beaches and consistent waves offer the perfect setting to ride the waves. Surf schools and equipment rentals are readily available.", + "locationName": "Unstad Beach", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lofoten-islands", + "ref": "learn-to-surf-in-unstad", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lofoten-islands_learn-to-surf-in-unstad.jpg" + }, + { + "name": "Mount Rinjani Trekking", + "description": "Embark on an unforgettable adventure by trekking up Mount Rinjani, an active volcano and the second-highest peak in Indonesia. Witness breathtaking sunrises, camp under the stars, and take a dip in the stunning crater lake. This challenging hike offers incredible rewards for those seeking an adventurous experience.", + "locationName": "Mount Rinjani National Park", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "lombok", + "ref": "mount-rinjani-trekking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_mount-rinjani-trekking.jpg" + }, + { + "name": "Island Hopping in the Gili Islands", + "description": "Escape to paradise by exploring the three Gili Islands: Gili Trawangan, Gili Meno, and Gili Air. Each island offers a unique atmosphere, from the lively bars and restaurants of Gili Trawangan to the serene beaches and crystal-clear waters of Gili Meno. Enjoy snorkeling, diving, kayaking, or simply relaxing on the beach.", + "locationName": "Gili Islands", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lombok", + "ref": "island-hopping-in-the-gili-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_island-hopping-in-the-gili-islands.jpg" + }, + { + "name": "Surfing in Kuta Lombok", + "description": "Catch some waves in Kuta Lombok, a haven for surfers of all levels. With consistent swells and a variety of breaks, you'll find the perfect spot to ride the waves. Take a lesson from a local surf school or rent a board and explore the coastline.", + "locationName": "Kuta Lombok", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "surfing-in-kuta-lombok", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_surfing-in-kuta-lombok.jpg" + }, + { + "name": "Exploring Sasak Culture", + "description": "Immerse yourself in the rich culture of the Sasak people, the indigenous inhabitants of Lombok. Visit traditional villages like Sade and Rambitan to see their unique architecture, weaving techniques, and way of life. Learn about their customs and traditions, and perhaps even try some local delicacies.", + "locationName": "Sade and Rambitan villages", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "exploring-sasak-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_exploring-sasak-culture.jpg" + }, + { + "name": "Chasing Waterfalls", + "description": "Discover the enchanting waterfalls hidden throughout Lombok. Hike through lush jungles to reach cascading falls like Sendang Gile and Tiu Kelep, where you can take a refreshing dip in the cool pools below. These natural wonders offer a perfect escape from the heat and a chance to reconnect with nature.", + "locationName": "Sendang Gile and Tiu Kelep waterfalls", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "lombok", + "ref": "chasing-waterfalls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_chasing-waterfalls.jpg" + }, + { + "name": "Scuba Diving and Snorkeling in the Gili Islands", + "description": "Dive into the crystal-clear waters of the Gili Islands and discover a vibrant underwater world teeming with marine life. Explore colorful coral reefs, swim alongside tropical fish, and encounter majestic sea turtles. Whether you're a seasoned diver or a beginner snorkeler, the Gili Islands offer unforgettable underwater adventures.", + "locationName": "Gili Islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "lombok", + "ref": "scuba-diving-and-snorkeling-in-the-gili-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_scuba-diving-and-snorkeling-in-the-gili-islands.jpg" + }, + { + "name": "Sunset Horseback Riding on the Beach", + "description": "Experience the magic of Lombok's coastline with a romantic horseback ride as the sun dips below the horizon. Trot along pristine beaches, feel the gentle sea breeze, and witness breathtaking views of the ocean painted in hues of orange and pink. This unforgettable experience is perfect for couples or anyone seeking a tranquil escape.", + "locationName": "Senggigi Beach or Kuta Beach", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "sunset-horseback-riding-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_sunset-horseback-riding-on-the-beach.jpg" + }, + { + "name": "Traditional Cooking Class", + "description": "Delve into the heart of Lombok's culinary scene with a hands-on cooking class. Learn the secrets of authentic Sasak dishes from local chefs, using fresh, aromatic ingredients. Master the art of creating flavorful curries, fragrant rice dishes, and spicy sambals. This immersive experience is a must for food enthusiasts and cultural explorers.", + "locationName": "Local villages or cooking schools", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "traditional-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_traditional-cooking-class.jpg" + }, + { + "name": "Visit the Narmada Water Palace", + "description": "Step back in time at the Narmada Water Palace, a historic royal garden built in the 18th century. Explore the intricate Hindu temples, serene pools, and lush gardens that once served as a summer retreat for the Balinese kings. Discover the fascinating legends and cultural significance of this architectural gem.", + "locationName": "Narmada Water Palace", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "lombok", + "ref": "visit-the-narmada-water-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_visit-the-narmada-water-palace.jpg" + }, + { + "name": "Explore the Traditional Markets", + "description": "Immerse yourself in the vibrant atmosphere of Lombok's traditional markets. Wander through bustling stalls overflowing with exotic fruits, aromatic spices, handcrafted textiles, and unique souvenirs. Engage with friendly locals, practice your bargaining skills, and discover the authentic flavors and crafts of the island.", + "locationName": "Mandalika Market or Pasar Seni Senggigi", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "lombok", + "ref": "explore-the-traditional-markets", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_explore-the-traditional-markets.jpg" + }, + { + "name": "Kayaking in the Mangroves", + "description": "Embark on a serene kayaking adventure through the lush mangrove forests of Sekotong. Glide through the calm waters, surrounded by the vibrant ecosystem and diverse birdlife. This eco-friendly activity allows you to connect with nature and witness the unique beauty of Lombok's coastal landscapes.", + "locationName": "Sekotong", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "kayaking-in-the-mangroves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_kayaking-in-the-mangroves.jpg" + }, + { + "name": "Visit the Pink Beach", + "description": "Discover the natural wonder of Pink Beach, located on the southeastern coast of Lombok. The sand gets its rosy hue from microscopic red coral fragments, creating a breathtaking spectacle. Relax on the beach, swim in the crystal-clear waters, or go snorkeling to explore the vibrant underwater world.", + "locationName": "Tangsi Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "visit-the-pink-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_visit-the-pink-beach.jpg" + }, + { + "name": "Cycling through the Rice Paddies", + "description": "Experience the authentic charm of Lombok's countryside by taking a leisurely bike ride through the verdant rice paddies. Pedal along scenic paths, witness local farmers tending to their crops, and immerse yourself in the peaceful atmosphere of rural life. This activity offers a unique perspective on Lombok's natural beauty and cultural heritage.", + "locationName": "Tetebatu", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "lombok", + "ref": "cycling-through-the-rice-paddies", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_cycling-through-the-rice-paddies.jpg" + }, + { + "name": "Indulge in a Spa Treatment", + "description": "Escape the hustle and bustle and treat yourself to a rejuvenating spa experience. Lombok offers a variety of wellness retreats and traditional spas where you can enjoy massages, body scrubs, and other relaxing treatments. Unwind and revitalize your mind, body, and soul amidst the tranquil ambiance.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "lombok", + "ref": "indulge-in-a-spa-treatment", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_indulge-in-a-spa-treatment.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Venture into the desert landscapes of Lombok and experience the magic of stargazing. Away from the city lights, the night sky comes alive with countless stars. Join a guided tour or find a secluded spot to marvel at the constellations and enjoy the tranquility of the desert night.", + "locationName": "South Lombok", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_stargazing-in-the-desert.jpg" + }, + { + "name": "Learn to Weave with Sasak Artisans", + "description": "Immerse yourself in the rich cultural heritage of Lombok by learning the art of weaving from skilled Sasak artisans. Visit a traditional village and witness the intricate process of creating beautiful textiles, from dyeing threads with natural pigments to weaving them into vibrant fabrics. Try your hand at the loom and create your own unique souvenir to take home.", + "locationName": "Sasak Village", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "lombok", + "ref": "learn-to-weave-with-sasak-artisans", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_learn-to-weave-with-sasak-artisans.jpg" + }, + { + "name": "Visit the Islamic Center Mosque", + "description": "Discover the architectural beauty and spiritual significance of the Islamic Center Mosque, one of the largest and most impressive mosques in Lombok. Admire its intricate design, ornate decorations, and soaring minaret. Learn about Islamic culture and traditions, and enjoy the peaceful atmosphere of this religious landmark.", + "locationName": "Islamic Center Mosque", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "lombok", + "ref": "visit-the-islamic-center-mosque", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_visit-the-islamic-center-mosque.jpg" + }, + { + "name": "Embark on a Wildlife Safari", + "description": "Venture into the lush jungles of Lombok on a thrilling wildlife safari. Spot exotic animals like monkeys, deer, and birds in their natural habitat. Learn about the island's diverse ecosystem and conservation efforts. This adventure offers a unique opportunity to connect with nature and create unforgettable memories.", + "locationName": "Rinjani National Park or Monkey Forest", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "lombok", + "ref": "embark-on-a-wildlife-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_embark-on-a-wildlife-safari.jpg" + }, + { + "name": "Gili Islands Party Hopper Boat Trip", + "description": "Experience the vibrant nightlife of the Gili Islands with a party hopper boat trip. Cruise between the islands, enjoying stunning sunset views and lively music on board. Stop at each island to explore the beachfront bars and clubs, dance the night away, and mingle with fellow travelers. This is the perfect way to let loose and experience the energetic side of Lombok.", + "locationName": "Gili Trawangan, Gili Meno, Gili Air", + "duration": 6, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "lombok", + "ref": "gili-islands-party-hopper-boat-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_gili-islands-party-hopper-boat-trip.jpg" + }, + { + "name": "Explore the Underwater World with a Seawalker Helmet Dive", + "description": "Discover the wonders of the underwater world without needing scuba diving experience. With a seawalker helmet dive, you can walk along the seabed, surrounded by colorful fish and coral reefs. Breathe normally through the helmet as you observe the marine life up close. This unique and accessible activity is perfect for families and non-swimmers.", + "locationName": "Gili Islands or Senggigi Beach", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "lombok", + "ref": "explore-the-underwater-world-with-a-seawalker-helmet-dive", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/lombok_explore-the-underwater-world-with-a-seawalker-helmet-dive.jpg" + }, + { + "name": "Alms Giving Ceremony", + "description": "Witness the captivating daily ritual of saffron-clad monks collecting alms (food offerings) from locals at dawn. Experience the serenity and cultural significance of this tradition, offering a glimpse into the spiritual heart of Luang Prabang. Remember to dress respectfully and maintain a quiet demeanor.", + "locationName": "Streets of Luang Prabang", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "luang-prabang", + "ref": "alms-giving-ceremony", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_alms-giving-ceremony.jpg" + }, + { + "name": "Kuang Si Falls Excursion", + "description": "Embark on a refreshing journey to the turquoise cascades of Kuang Si Falls. Hike through the lush jungle, swim in the cool pools, and marvel at the natural beauty of this multi-tiered waterfall. Visit the nearby bear rescue center to encounter rescued Asiatic black bears.", + "locationName": "Kuang Si Falls", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "kuang-si-falls-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_kuang-si-falls-excursion.jpg" + }, + { + "name": "Mekong River Cruise", + "description": "Embark on a scenic cruise down the Mekong River, the lifeblood of Laos. Admire the picturesque landscapes, observe local life along the riverbanks, and visit traditional villages. Opt for a sunset cruise for a romantic experience with breathtaking views.", + "locationName": "Mekong River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "luang-prabang", + "ref": "mekong-river-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_mekong-river-cruise.jpg" + }, + { + "name": "Mount Phousi Climb and Sunset Views", + "description": "Ascend the steps to the summit of Mount Phousi for panoramic views of Luang Prabang and the surrounding mountains. Explore Wat Chom Si, a small temple at the peak, and witness a magical sunset that paints the sky in vibrant hues.", + "locationName": "Mount Phousi", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "luang-prabang", + "ref": "mount-phousi-climb-and-sunset-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_mount-phousi-climb-and-sunset-views.jpg" + }, + { + "name": "Luang Prabang Night Market", + "description": "Immerse yourself in the vibrant atmosphere of the Luang Prabang Night Market. Browse through a diverse array of handicrafts, textiles, souvenirs, and local delicacies. This bustling market offers a glimpse into the region's artistic traditions and culinary delights.", + "locationName": "Luang Prabang Night Market", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "luang-prabang-night-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_luang-prabang-night-market.jpg" + }, + { + "name": "Traditional Lao Cooking Class", + "description": "Embark on a culinary journey with a hands-on cooking class, where you'll learn to prepare authentic Lao dishes like laap, papaya salad, and sticky rice. Discover the secrets of local ingredients and techniques, and savor the delicious results of your efforts.", + "locationName": "Luang Prabang Cooking School", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "luang-prabang", + "ref": "traditional-lao-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_traditional-lao-cooking-class.jpg" + }, + { + "name": "Pak Ou Caves Exploration", + "description": "Embark on a boat trip up the Mekong River to the Pak Ou Caves, two limestone grottoes filled with thousands of Buddha statues left by devoted pilgrims over centuries. Witness the spiritual significance of this sacred site and enjoy the scenic journey along the river.", + "locationName": "Pak Ou Caves", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "pak-ou-caves-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_pak-ou-caves-exploration.jpg" + }, + { + "name": "Living Land Rice Farm Experience", + "description": "Immerse yourself in the rural life of Laos at the Living Land Farm. Learn about traditional rice cultivation methods, participate in hands-on activities like planting and harvesting, and gain a deeper understanding of the importance of rice in Lao culture.", + "locationName": "Living Land Farm", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "living-land-rice-farm-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_living-land-rice-farm-experience.jpg" + }, + { + "name": "Royal Palace Museum", + "description": "Step back in time at the Royal Palace Museum, once home to the Lao royal family. Explore the opulent halls and chambers, admire the intricate architecture and royal artifacts, and learn about the history and cultural significance of the Lao monarchy.", + "locationName": "Royal Palace Museum", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "royal-palace-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_royal-palace-museum.jpg" + }, + { + "name": "Traditional Lao Massage", + "description": "Indulge in a relaxing and rejuvenating traditional Lao massage. Experience the unique techniques and stretches that have been passed down for generations, and let the skilled therapists ease away your tension and stress.", + "locationName": "Local spas and wellness centers", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "luang-prabang", + "ref": "traditional-lao-massage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_traditional-lao-massage.jpg" + }, + { + "name": "Tat Kuang Si Bear Rescue Center", + "description": "Visit the Tat Kuang Si Bear Rescue Center, a sanctuary for Asiatic black bears rescued from illegal wildlife trade. Learn about conservation efforts, observe these majestic creatures in a natural habitat, and support ethical wildlife tourism.", + "locationName": "Tat Kuang Si Bear Rescue Center", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "tat-kuang-si-bear-rescue-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_tat-kuang-si-bear-rescue-center.jpg" + }, + { + "name": "Bicycle Tour Through Rural Villages", + "description": "Embark on a scenic bicycle tour through the countryside surrounding Luang Prabang. Pedal along quiet roads, passing by traditional villages, rice paddies, and local farms. Interact with friendly villagers, experience rural life, and enjoy the fresh air and beautiful landscapes.", + "locationName": "Luang Prabang Countryside", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "luang-prabang", + "ref": "bicycle-tour-through-rural-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_bicycle-tour-through-rural-villages.jpg" + }, + { + "name": "Sunset Kayak on the Mekong River", + "description": "Paddle along the tranquil Mekong River as the sun sets, casting a golden glow over the water and surrounding landscape. Enjoy breathtaking views of the city and mountains, observe local fishermen, and experience the serenity of the river at dusk.", + "locationName": "Mekong River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "luang-prabang", + "ref": "sunset-kayak-on-the-mekong-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_sunset-kayak-on-the-mekong-river.jpg" + }, + { + "name": "Ock Pop Tok Living Crafts Centre", + "description": "Immerse yourself in the world of Lao textiles at the Ock Pop Tok Living Crafts Centre. Learn about traditional weaving techniques, natural dyeing processes, and the cultural significance of textiles in Laos. Participate in a workshop, create your own souvenir, and support local artisans.", + "locationName": "Ock Pop Tok Living Crafts Centre", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "ock-pop-tok-living-crafts-centre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_ock-pop-tok-living-crafts-centre.jpg" + }, + { + "name": "Morning Alms Giving Ceremony Participation", + "description": "Rise early and participate in the sacred Buddhist tradition of alms giving. Witness the procession of saffron-robed monks as they walk through the streets collecting offerings from locals. Immerse yourself in the spiritual atmosphere and gain a deeper understanding of Lao culture.", + "locationName": "Luang Prabang streets", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "luang-prabang", + "ref": "morning-alms-giving-ceremony-participation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_morning-alms-giving-ceremony-participation.jpg" + }, + { + "name": "Jungle Trekking and Waterfall Hiking", + "description": "Embark on a thrilling jungle trek through the lush landscapes surrounding Luang Prabang. Hike to hidden waterfalls, discover diverse flora and fauna, and immerse yourself in the natural beauty of Laos. Experienced guides will lead you through scenic trails, sharing insights about the local ecosystem and cultural significance of the area.", + "locationName": "Luang Prabang mountains", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "luang-prabang", + "ref": "jungle-trekking-and-waterfall-hiking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_jungle-trekking-and-waterfall-hiking.jpg" + }, + { + "name": "Elephant Sanctuary Visit", + "description": "Spend a heartwarming day at an ethical elephant sanctuary, where you can interact with these gentle giants in a responsible and sustainable way. Learn about elephant conservation efforts, observe their natural behaviors, and even assist with feeding and bathing them. This unforgettable experience offers a unique opportunity to connect with these majestic creatures.", + "locationName": "Mandalao Elephant Conservation", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "luang-prabang", + "ref": "elephant-sanctuary-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_elephant-sanctuary-visit.jpg" + }, + { + "name": "Traditional Weaving Workshop", + "description": "Immerse yourself in the rich textile traditions of Laos with a hands-on weaving workshop. Learn about the intricate techniques and cultural significance of Lao textiles from skilled artisans. Create your own unique piece using a traditional loom and gain a deeper appreciation for this ancient craft.", + "locationName": "Ock Pop Tok Living Crafts Centre", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "traditional-weaving-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_traditional-weaving-workshop.jpg" + }, + { + "name": "Sunset Cruise on the Nam Khan River", + "description": "Enjoy a serene sunset cruise along the tranquil Nam Khan River. Witness the golden hues of the setting sun paint the sky as you glide past picturesque landscapes and charming villages. This relaxing experience offers a different perspective of Luang Prabang's beauty and allows you to unwind amidst the peaceful ambiance.", + "locationName": "Nam Khan River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "sunset-cruise-on-the-nam-khan-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_sunset-cruise-on-the-nam-khan-river.jpg" + }, + { + "name": "Luang Prabang Film Festival", + "description": "If you're visiting in December, don't miss the Luang Prabang Film Festival. This annual event showcases a diverse selection of Southeast Asian films, offering a unique glimpse into the region's culture and storytelling traditions. Attend screenings, workshops, and panel discussions, and immerse yourself in the world of cinema.", + "locationName": "Various venues in Luang Prabang", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 2, + "destinationRef": "luang-prabang", + "ref": "luang-prabang-film-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/luang-prabang_luang-prabang-film-festival.jpg" + }, + { + "name": "Explore Ranomafana National Park", + "description": "Embark on a guided hike through the lush rainforests of Ranomafana National Park, a haven for diverse wildlife. Spot lemurs leaping through the trees, colorful chameleons blending into the foliage, and a myriad of bird species flitting through the canopy. Immerse yourself in the sights and sounds of this pristine ecosystem, learning about the park's conservation efforts and the unique flora and fauna that call it home.", + "locationName": "Ranomafana National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "madagascar", + "ref": "explore-ranomafana-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_explore-ranomafana-national-park.jpg" + }, + { + "name": "Discover Isalo National Park's Jurassic Landscape", + "description": "Venture into Isalo National Park, renowned for its dramatic sandstone canyons, deep gorges, and unique rock formations that resemble a prehistoric landscape. Hike through the park's diverse terrain, encountering natural swimming pools, cascading waterfalls, and hidden caves. Learn about the Bara people, who inhabit the region, and their fascinating cultural traditions.", + "locationName": "Isalo National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "madagascar", + "ref": "discover-isalo-national-park-s-jurassic-landscape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_discover-isalo-national-park-s-jurassic-landscape.jpg" + }, + { + "name": "Relax on the Beaches of Nosy Be", + "description": "Escape to the idyllic island of Nosy Be, where pristine white-sand beaches meet turquoise waters. Bask in the sun, swim in the crystal-clear ocean, or try your hand at water sports like snorkeling or scuba diving to explore the vibrant coral reefs teeming with marine life. In the evening, indulge in a delicious seafood dinner at a beachfront restaurant and witness a breathtaking sunset over the horizon.", + "locationName": "Nosy Be", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "madagascar", + "ref": "relax-on-the-beaches-of-nosy-be", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_relax-on-the-beaches-of-nosy-be.jpg" + }, + { + "name": "Embark on a Whale Watching Expedition", + "description": "Embark on an unforgettable whale watching excursion off the coast of Île Sainte-Marie during the humpback whale migration season (July to September). Witness these majestic creatures breaching and tail-slapping as they make their annual journey to warmer waters. Learn about their fascinating behaviors and the importance of marine conservation.", + "locationName": "Île Sainte-Marie", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "madagascar", + "ref": "embark-on-a-whale-watching-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_embark-on-a-whale-watching-expedition.jpg" + }, + { + "name": "Immerse Yourself in the Culture of Antananarivo", + "description": "Explore the vibrant capital city of Antananarivo, a melting pot of Malagasy culture and history. Visit the Rova of Antananarivo, a historic royal palace complex offering panoramic views of the city. Wander through the bustling Analakely Market, a sensory feast of local crafts, spices, and fresh produce. Discover the city's rich architectural heritage, including colonial buildings and traditional wooden houses.", + "locationName": "Antananarivo", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "immerse-yourself-in-the-culture-of-antananarivo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_immerse-yourself-in-the-culture-of-antananarivo.jpg" + }, + { + "name": "Hike to the Top of Pic Boby", + "description": "Embark on a challenging but rewarding hike to the summit of Pic Boby, the highest peak in Madagascar. Trek through diverse landscapes, from lush rainforests to rocky terrain, and be rewarded with breathtaking panoramic views of the surrounding mountains and valleys. This adventure is perfect for experienced hikers seeking a thrilling experience.", + "locationName": "Andringitra National Park", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "madagascar", + "ref": "hike-to-the-top-of-pic-boby", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_hike-to-the-top-of-pic-boby.jpg" + }, + { + "name": "Go Scuba Diving or Snorkeling in the Indian Ocean", + "description": "Dive into the vibrant underwater world surrounding Madagascar. Explore coral reefs teeming with colorful fish, encounter majestic sea turtles, and perhaps even spot dolphins or whale sharks. Whether you're an experienced diver or a beginner snorkeler, Madagascar's waters offer an unforgettable marine experience.", + "locationName": "Nosy Be, Ile Sainte Marie", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "madagascar", + "ref": "go-scuba-diving-or-snorkeling-in-the-indian-ocean", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_go-scuba-diving-or-snorkeling-in-the-indian-ocean.jpg" + }, + { + "name": "Visit the Tsingy de Bemaraha National Park", + "description": "Explore the unique and otherworldly landscapes of Tsingy de Bemaraha National Park, a UNESCO World Heritage Site. Marvel at the towering limestone formations, known as 'tsingy,' which create a labyrinth of sharp pinnacles and canyons. Hike through this geological wonder and discover the diverse flora and fauna that call it home.", + "locationName": "Tsingy de Bemaraha National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "madagascar", + "ref": "visit-the-tsingy-de-bemaraha-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_visit-the-tsingy-de-bemaraha-national-park.jpg" + }, + { + "name": "Take a Cultural Tour of Antsirabe", + "description": "Step back in time and experience the colonial charm of Antsirabe, known as the 'Vichy of Madagascar.' Explore the city's thermal springs, visit the local market, and admire the French architecture. Take a pousse-pousse ride through the streets and soak up the relaxed atmosphere of this historic town.", + "locationName": "Antsirabe", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "take-a-cultural-tour-of-antsirabe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_take-a-cultural-tour-of-antsirabe.jpg" + }, + { + "name": "Cruise Down the Tsiribihina River", + "description": "Embark on a relaxing river journey down the Tsiribihina River, experiencing the heart of Madagascar's wilderness. Drift past lush landscapes, spot diverse wildlife along the riverbanks, and witness stunning sunsets over the water. This tranquil adventure allows you to connect with nature and observe rural life in Madagascar.", + "locationName": "Tsiribihina River", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "madagascar", + "ref": "cruise-down-the-tsiribihina-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_cruise-down-the-tsiribihina-river.jpg" + }, + { + "name": "Visit the Avenue of the Baobabs", + "description": "Witness the iconic Avenue of the Baobabs, a stunning natural corridor lined with majestic baobab trees. Capture breathtaking photos of these giants at sunset or sunrise, and learn about their significance in Malagasy culture. This is a must-see for any visitor to Madagascar.", + "locationName": "Morondava", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "visit-the-avenue-of-the-baobabs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_visit-the-avenue-of-the-baobabs.jpg" + }, + { + "name": "Explore the Masoala National Park", + "description": "Embark on a jungle adventure in Masoala National Park, a haven of biodiversity. Hike through lush rainforests, spot rare lemurs, chameleons, and birds, and discover hidden waterfalls. This park offers a truly immersive experience in Madagascar's unique ecosystem.", + "locationName": "Masoala Peninsula", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "madagascar", + "ref": "explore-the-masoala-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_explore-the-masoala-national-park.jpg" + }, + { + "name": "Learn about Lemur Conservation at a Sanctuary", + "description": "Visit a lemur sanctuary and learn about the conservation efforts to protect these endangered primates. Observe various lemur species up close, learn about their behaviors and habitats, and support the crucial work of these sanctuaries.", + "locationName": "Multiple locations across Madagascar", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "learn-about-lemur-conservation-at-a-sanctuary", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_learn-about-lemur-conservation-at-a-sanctuary.jpg" + }, + { + "name": "Experience Local Life in a Rural Village", + "description": "Immerse yourself in the authentic culture of Madagascar by visiting a rural village. Interact with locals, learn about their traditions and way of life, and gain a deeper understanding of the island's rich cultural heritage.", + "locationName": "Various rural villages throughout Madagascar", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "experience-local-life-in-a-rural-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_experience-local-life-in-a-rural-village.jpg" + }, + { + "name": "Shop for Unique Crafts and Souvenirs", + "description": "Discover the vibrant arts and crafts scene in Madagascar. Explore local markets and shops for unique souvenirs, including handwoven textiles, wood carvings, and semi-precious stones. Find the perfect treasures to remember your trip by.", + "locationName": "Antananarivo, Antsirabe, and other major towns", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "shop-for-unique-crafts-and-souvenirs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_shop-for-unique-crafts-and-souvenirs.jpg" + }, + { + "name": "Kite Surfing in Emerald Waters", + "description": "Harness the power of the wind and glide across the crystal-clear waters of Madagascar's lagoons. Whether you're a beginner or a seasoned pro, numerous spots offer ideal conditions for kite surfing. Feel the adrenaline rush as you soar through the air, surrounded by stunning coastal landscapes. Sakalava Bay, Diego Suarez, and Fort Dauphin are renowned for their consistent winds and vibrant kite surfing communities. This activity is best enjoyed during the windy season, typically between April and October.", + "locationName": "Sakalava Bay, Diego Suarez, or Fort Dauphin", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "madagascar", + "ref": "kite-surfing-in-emerald-waters", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_kite-surfing-in-emerald-waters.jpg" + }, + { + "name": "Indulge in a Malagasy Cooking Class", + "description": "Embark on a culinary journey and learn the secrets of Malagasy cuisine. Join a cooking class led by local chefs who will guide you through traditional recipes and techniques. Discover the unique blend of flavors influenced by African, Asian, and European cultures. Master the art of preparing dishes like ravitoto (cassava leaves with pork) or romazava (a flavorful meat and vegetable stew). Savor the fruits of your labor as you enjoy a delicious meal with newfound friends. This immersive experience offers a deeper understanding of Malagasy culture and its culinary traditions.", + "locationName": "Antananarivo or Nosy Be", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "indulge-in-a-malagasy-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_indulge-in-a-malagasy-cooking-class.jpg" + }, + { + "name": "Go Caving in the Ankarana National Park", + "description": "Venture into the depths of the Ankarana National Park, known for its dramatic limestone formations and extensive cave systems. Explore the otherworldly underground realm, adorned with stalactites, stalagmites, and unique geological features. Discover hidden chambers, underground rivers, and diverse bat species. Guided tours offer insights into the geological history and cultural significance of these caves. This adventure is perfect for those seeking an off-the-beaten-path experience and a glimpse into Madagascar's hidden wonders.", + "locationName": "Ankarana National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "madagascar", + "ref": "go-caving-in-the-ankarana-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_go-caving-in-the-ankarana-national-park.jpg" + }, + { + "name": "Take a Scenic Train Ride on the Fianarantsoa-Côte Est Railway", + "description": "Embark on a nostalgic journey through the heart of Madagascar aboard the Fianarantsoa-Côte Est Railway. This historic railway line winds through breathtaking landscapes, offering panoramic views of lush rainforests, terraced rice fields, and charming villages. Experience the rhythm of local life as you interact with fellow passengers and witness the beauty of the countryside unfold. The train journey provides a unique perspective on Madagascar's diverse topography and cultural heritage.", + "locationName": "Fianarantsoa to Manakara", + "duration": 12, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "madagascar", + "ref": "take-a-scenic-train-ride-on-the-fianarantsoa-c-te-est-railway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_take-a-scenic-train-ride-on-the-fianarantsoa-c-te-est-railway.jpg" + }, + { + "name": "Stargaze in the Remote Wilderness", + "description": "Escape the city lights and immerse yourself in the celestial wonders of Madagascar's night sky. Head to remote areas away from light pollution, such as the Isalo National Park or the Tsingy de Bemaraha National Park, where the Milky Way and countless stars shine brightly. Join a guided stargazing tour or simply lie back and marvel at the constellations. This experience offers a sense of tranquility and a deeper connection with the natural world. Capture stunning astrophotography or simply enjoy the awe-inspiring beauty of the cosmos.", + "locationName": "Isalo National Park or Tsingy de Bemaraha National Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "madagascar", + "ref": "stargaze-in-the-remote-wilderness", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/madagascar_stargaze-in-the-remote-wilderness.jpg" + }, + { + "name": "Scuba Diving in the North Malé Atoll", + "description": "Embark on an underwater adventure exploring the vibrant coral reefs of the North Malé Atoll. Encounter diverse marine life, including colorful fish, graceful manta rays, and majestic sharks. Dive sites like Manta Point and Banana Reef offer unforgettable experiences for both beginner and experienced divers.", + "locationName": "North Malé Atoll", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "maldives", + "ref": "scuba-diving-in-the-north-mal-atoll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_scuba-diving-in-the-north-mal-atoll.jpg" + }, + { + "name": "Island Hopping Tour", + "description": "Discover the beauty and diversity of the Maldivian islands with an island hopping tour. Visit local islands, experience the Maldivian culture, and enjoy swimming, snorkeling, or simply relaxing on pristine beaches.", + "locationName": "Various islands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "maldives", + "ref": "island-hopping-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_island-hopping-tour.jpg" + }, + { + "name": "Sunset Cruise with Dolphin Watching", + "description": "Sail across the turquoise waters as the sun sets, painting the sky with vibrant colors. Keep an eye out for playful dolphins as they frolic alongside the boat. Enjoy the breathtaking views and create unforgettable memories on this romantic and relaxing cruise.", + "locationName": "Departure from various resorts", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "maldives", + "ref": "sunset-cruise-with-dolphin-watching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_sunset-cruise-with-dolphin-watching.jpg" + }, + { + "name": "Underwater Dining Experience", + "description": "Indulge in a unique and unforgettable dining experience at an underwater restaurant. Surrounded by marine life, savor delicious cuisine while marveling at the beauty of the coral reef. This is a perfect option for a special occasion or a romantic evening.", + "locationName": "Conrad Maldives Rangali Island", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "maldives", + "ref": "underwater-dining-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_underwater-dining-experience.jpg" + }, + { + "name": "Relaxation at a Spa Resort", + "description": "Escape to a luxurious spa resort and indulge in rejuvenating treatments. Enjoy massages, facials, and body wraps inspired by traditional Maldivian techniques and natural ingredients. Unwind in a serene atmosphere and let your worries melt away.", + "locationName": "Various spa resorts", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "maldives", + "ref": "relaxation-at-a-spa-resort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_relaxation-at-a-spa-resort.jpg" + }, + { + "name": "Surfing in the North Malé Atoll", + "description": "Experience the thrill of riding the waves in the turquoise waters of the North Malé Atoll. Several surf breaks cater to different skill levels, from beginners to experienced surfers. Rent a board and catch some waves, or take a lesson from a local instructor to improve your technique.", + "locationName": "North Malé Atoll", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "maldives", + "ref": "surfing-in-the-north-mal-atoll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_surfing-in-the-north-mal-atoll.jpg" + }, + { + "name": "Local Island Experience", + "description": "Immerse yourself in the Maldivian culture by visiting a local island. Explore the traditional way of life, interact with friendly locals, and discover hidden gems away from the tourist resorts. Visit local markets, try authentic Maldivian cuisine, and learn about the island's history and traditions.", + "locationName": "Maafushi, Fulidhoo, or Thoddoo", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "maldives", + "ref": "local-island-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_local-island-experience.jpg" + }, + { + "name": "Snorkeling with Manta Rays", + "description": "Embark on an unforgettable snorkeling adventure to encounter the majestic manta rays. Witness these gentle giants glide gracefully through the water as you swim alongside them. Several tour operators offer snorkeling trips to manta ray cleaning stations, where you can observe their feeding habits.", + "locationName": "Hanifaru Bay or Addu Atoll", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "maldives", + "ref": "snorkeling-with-manta-rays", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_snorkeling-with-manta-rays.jpg" + }, + { + "name": "Sunset Fishing Trip", + "description": "Experience the Maldivian tradition of handline fishing on a sunset cruise. Learn about local fishing techniques, try your luck at catching some fish, and enjoy the stunning views of the sun setting over the Indian Ocean. Many excursions offer the option to grill your catch for a fresh and delicious dinner.", + "locationName": "Various locations throughout the Maldives", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "maldives", + "ref": "sunset-fishing-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_sunset-fishing-trip.jpg" + }, + { + "name": "Bioluminescent Plankton Tour", + "description": "Witness the magical phenomenon of bioluminescent plankton on a night tour. As you move through the water, the plankton illuminates, creating a mesmerizing spectacle of sparkling blue light. This unique experience is a must-do for nature enthusiasts and photographers.", + "locationName": "Vaadhoo Island or Mudhdhoo Island", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "maldives", + "ref": "bioluminescent-plankton-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_bioluminescent-plankton-tour.jpg" + }, + { + "name": "Kayaking in the Turquoise Lagoons", + "description": "Embark on a serene kayaking adventure through the crystal-clear turquoise lagoons of the Maldives. Paddle at your own pace, exploring hidden coves, mangrove forests, and small, deserted islands. Witness the vibrant marine life below and soak in the tranquility of the surrounding nature. This activity is perfect for a relaxing and eco-friendly exploration of the Maldivian waters.", + "locationName": "Various atolls and islands", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "maldives", + "ref": "kayaking-in-the-turquoise-lagoons", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_kayaking-in-the-turquoise-lagoons.jpg" + }, + { + "name": "Sandbank Picnic and Stargazing", + "description": "Escape to a secluded sandbank for a romantic and unforgettable experience. Enjoy a private picnic with delicious Maldivian cuisine as the sun sets over the horizon. As darkness falls, marvel at the breathtaking view of the starlit sky, away from any light pollution. This intimate activity is perfect for couples or anyone seeking a moment of tranquility and wonder.", + "locationName": "Sandbanks near resort islands", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "maldives", + "ref": "sandbank-picnic-and-stargazing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_sandbank-picnic-and-stargazing.jpg" + }, + { + "name": "Hydrofoil Trip to a Local Village", + "description": "Experience the authentic Maldivian culture with a hydrofoil trip to a nearby local island. Immerse yourself in the daily life of the islanders, visit traditional markets, and interact with friendly locals. Learn about their customs, traditions, and way of life. This cultural excursion provides a unique perspective beyond the resort experience.", + "locationName": "Local islands near resort areas", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "maldives", + "ref": "hydrofoil-trip-to-a-local-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_hydrofoil-trip-to-a-local-village.jpg" + }, + { + "name": "Windsurfing and Kitesurfing Adventures", + "description": "For thrill-seekers, the Maldives offers ideal conditions for windsurfing and kitesurfing. Harness the power of the wind and glide across the turquoise waters, surrounded by breathtaking scenery. Lessons and equipment rentals are available for all skill levels, making it a perfect activity for both beginners and experienced riders.", + "locationName": "Various atolls and islands with water sports centers", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "maldives", + "ref": "windsurfing-and-kitesurfing-adventures", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_windsurfing-and-kitesurfing-adventures.jpg" + }, + { + "name": "Maldivian Cooking Class", + "description": "Delve into the world of Maldivian cuisine with a hands-on cooking class. Learn to prepare traditional dishes using fresh, local ingredients, and discover the unique flavors and spices that characterize Maldivian food. This immersive experience allows you to take a piece of Maldivian culture home with you.", + "locationName": "Resorts or local islands offering cooking classes", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "maldives", + "ref": "maldivian-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_maldivian-cooking-class.jpg" + }, + { + "name": "Submarine Dive", + "description": "Embark on an unforgettable underwater adventure aboard a submarine, descending into the depths of the Indian Ocean to witness the vibrant marine life and coral reefs without getting wet. Marvel at colorful fish, graceful manta rays, and even elusive sharks as you explore the hidden wonders of the Maldivian waters.", + "locationName": "Malé Atoll", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "maldives", + "ref": "submarine-dive", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_submarine-dive.jpg" + }, + { + "name": "Whale Shark Excursion", + "description": "Join a thrilling excursion to swim alongside gentle giants – whale sharks. These majestic creatures frequent the Maldivian waters, offering a once-in-a-lifetime opportunity to witness their awe-inspiring size and graceful movements. Experienced guides will ensure a safe and unforgettable encounter.", + "locationName": "South Ari Atoll", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "maldives", + "ref": "whale-shark-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_whale-shark-excursion.jpg" + }, + { + "name": "Seaplane Photo Flight", + "description": "Take to the skies for a breathtaking seaplane photo flight, capturing the stunning aerial views of the Maldives' turquoise lagoons, white-sand beaches, and lush islands. This experience provides unparalleled perspectives and the perfect opportunity to create lasting memories through photography.", + "locationName": "Various Atolls", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "maldives", + "ref": "seaplane-photo-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_seaplane-photo-flight.jpg" + }, + { + "name": "Local Market Visit and Cooking Class", + "description": "Immerse yourself in the local culture with a visit to a vibrant Maldivian market. Explore the sights and smells of fresh produce, spices, and local crafts. Then, participate in a hands-on cooking class to learn the secrets of Maldivian cuisine, creating delicious dishes to savor.", + "locationName": "Malé or Maafushi", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "maldives", + "ref": "local-market-visit-and-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maldives_local-market-visit-and-cooking-class.jpg" + }, + { + "name": "Explore the Historic City of Palma", + "description": "Wander through the charming streets of Palma, the capital city of Mallorca. Visit the iconic Palma Cathedral, a stunning Gothic masterpiece, and explore the Royal Palace of La Almudaina. Discover the Arab Baths, a historic hammam dating back to the Moorish era, and lose yourself in the labyrinthine alleyways of the Old Town. Enjoy tapas and local wines at a sidewalk cafe, and soak up the vibrant atmosphere of this historic city.", + "locationName": "Palma", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mallorca", + "ref": "explore-the-historic-city-of-palma", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_explore-the-historic-city-of-palma.jpg" + }, + { + "name": "Hike the Serra de Tramuntana", + "description": "Embark on a scenic hike through the Serra de Tramuntana mountain range, a UNESCO World Heritage Site. Choose from various trails, ranging from easy to challenging, and enjoy breathtaking views of the coastline, hidden coves, and charming villages. Discover ancient monasteries, such as Lluc Monastery, and experience the tranquility of the mountains.", + "locationName": "Serra de Tramuntana", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "mallorca", + "ref": "hike-the-serra-de-tramuntana", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_hike-the-serra-de-tramuntana.jpg" + }, + { + "name": "Relax on Beautiful Beaches", + "description": "Unwind on the pristine beaches of Mallorca, known for their turquoise waters and soft sand. Choose from popular beaches like Cala Millor and Playa de Palma, or discover secluded coves like Cala Mesquida and Cala Agulla. Enjoy swimming, sunbathing, and water sports, or simply relax and enjoy the Mediterranean sunshine.", + "locationName": "Various Beaches", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "mallorca", + "ref": "relax-on-beautiful-beaches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_relax-on-beautiful-beaches.jpg" + }, + { + "name": "Discover the Caves of Drach", + "description": "Explore the fascinating Caves of Drach, a series of four caves known for their impressive stalactites, stalagmites, and underground lake. Take a boat ride across Lake Martel, one of the largest underground lakes in the world, and enjoy a classical music concert inside the cave.", + "locationName": "Caves of Drach", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mallorca", + "ref": "discover-the-caves-of-drach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_discover-the-caves-of-drach.jpg" + }, + { + "name": "Indulge in Mallorcan Cuisine", + "description": "Experience the delicious flavors of Mallorcan cuisine. Sample local specialties such as sobrasada (cured sausage), tumbet (vegetable stew), and ensaimada (spiral pastry). Visit traditional markets and local restaurants to savor the authentic tastes of the island. Don't forget to try the local wines, such as Binissalem and Pla i Llevant.", + "locationName": "Various Restaurants and Markets", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "mallorca", + "ref": "indulge-in-mallorcan-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_indulge-in-mallorcan-cuisine.jpg" + }, + { + "name": "Soar Above the Island in a Hot Air Balloon", + "description": "Experience the breathtaking beauty of Mallorca from a unique perspective with a hot air balloon ride. As you gently ascend, marvel at panoramic views of the island's diverse landscapes, from the azure waters of the Mediterranean to the rolling hills and charming villages. This serene and unforgettable experience is perfect for a romantic getaway or a special occasion.", + "locationName": "Various locations across the island", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "mallorca", + "ref": "soar-above-the-island-in-a-hot-air-balloon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_soar-above-the-island-in-a-hot-air-balloon.jpg" + }, + { + "name": "Embark on a Catamaran Cruise to Secluded Coves", + "description": "Set sail on a catamaran adventure to discover hidden coves and pristine beaches inaccessible by land. Dive into crystal-clear waters for a refreshing swim, snorkel among vibrant marine life, or simply relax on deck and soak up the Mediterranean sun. Many cruises include delicious meals and drinks, making for a perfect day trip.", + "locationName": "Departs from various ports", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mallorca", + "ref": "embark-on-a-catamaran-cruise-to-secluded-coves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_embark-on-a-catamaran-cruise-to-secluded-coves.jpg" + }, + { + "name": "Visit the Picturesque Villages of Valldemossa and Deià", + "description": "Escape the bustling city and explore the charming villages nestled in the Tramuntana mountains. Valldemossa, with its historic monastery and cobbled streets, offers a glimpse into Mallorca's rich past. Deià, a haven for artists and writers, boasts stunning coastal views and a bohemian atmosphere. Enjoy local crafts, art galleries, and delicious cuisine.", + "locationName": "Valldemossa and Deià", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mallorca", + "ref": "visit-the-picturesque-villages-of-valldemossa-and-dei-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_visit-the-picturesque-villages-of-valldemossa-and-dei-.jpg" + }, + { + "name": "Go Kayaking or Stand-Up Paddleboarding along the Coast", + "description": "Explore Mallorca's coastline at your own pace with a kayaking or stand-up paddleboarding excursion. Paddle through turquoise waters, discover hidden caves and secluded beaches, and admire the dramatic cliffs. This active adventure is perfect for nature enthusiasts and water sports lovers.", + "locationName": "Various beaches and coves", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mallorca", + "ref": "go-kayaking-or-stand-up-paddleboarding-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_go-kayaking-or-stand-up-paddleboarding-along-the-coast.jpg" + }, + { + "name": "Experience the Thrill of Caving in the Coves del Hams", + "description": "Embark on an underground adventure through the Coves del Hams, a network of stunning caves adorned with stalactites, stalagmites, and an underground lake. Take a guided tour to learn about the geological formations and enjoy a magical musical boat ride on the lake. This unique experience is perfect for families and adventure seekers.", + "locationName": "Porto Cristo", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mallorca", + "ref": "experience-the-thrill-of-caving-in-the-coves-del-hams", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_experience-the-thrill-of-caving-in-the-coves-del-hams.jpg" + }, + { + "name": "Cycling Through Scenic Landscapes", + "description": "Embark on a cycling adventure through Mallorca's diverse landscapes. Pedal along coastal roads with breathtaking sea views, meander through charming villages, or challenge yourself with mountain climbs in the Serra de Tramuntana. With various routes for all levels, cycling offers a unique way to explore the island's beauty.", + "locationName": "Various routes throughout Mallorca", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "mallorca", + "ref": "cycling-through-scenic-landscapes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_cycling-through-scenic-landscapes.jpg" + }, + { + "name": "Wine Tasting in the Binissalem Region", + "description": "Delve into the world of Mallorcan wines with a visit to the Binissalem region. Explore family-run vineyards, learn about the island's winemaking traditions, and indulge in tastings of local varieties like Manto Negro and Callet. Enjoy the scenic beauty of the vineyards and savor the flavors of Mallorca.", + "locationName": "Binissalem region", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "mallorca", + "ref": "wine-tasting-in-the-binissalem-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_wine-tasting-in-the-binissalem-region.jpg" + }, + { + "name": "Stargazing in the Tramuntana Mountains", + "description": "Escape the city lights and experience the magic of stargazing in the Tramuntana Mountains. Away from light pollution, the clear night sky offers a breathtaking view of constellations and shooting stars. Join a guided tour or find a secluded spot to marvel at the celestial wonders above.", + "locationName": "Serra de Tramuntana", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "mallorca", + "ref": "stargazing-in-the-tramuntana-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_stargazing-in-the-tramuntana-mountains.jpg" + }, + { + "name": "Horseback Riding through Rural Landscapes", + "description": "Explore the heart of Mallorca on horseback, traversing rural paths and picturesque landscapes. Whether you're a seasoned rider or a beginner, there are options for all levels. Enjoy the tranquility of nature, discover hidden trails, and experience the island from a unique perspective.", + "locationName": "Rural areas of Mallorca", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mallorca", + "ref": "horseback-riding-through-rural-landscapes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_horseback-riding-through-rural-landscapes.jpg" + }, + { + "name": "Explore the Palma Aquarium", + "description": "Dive into the fascinating underwater world at Palma Aquarium. Discover a diverse array of marine life, from colorful fish and majestic sharks to playful sea turtles and graceful jellyfish. Learn about marine conservation efforts and enjoy interactive exhibits that are both educational and entertaining for all ages.", + "locationName": "Palma", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "mallorca", + "ref": "explore-the-palma-aquarium", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_explore-the-palma-aquarium.jpg" + }, + { + "name": "Scuba Diving in Marine Reserves", + "description": "Explore the underwater wonders of Mallorca's marine reserves, such as El Toro or Cabrera Archipelago. Discover vibrant coral reefs, diverse marine life, and even underwater caves, making for an unforgettable diving experience.", + "locationName": "El Toro Marine Reserve or Cabrera Archipelago", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "mallorca", + "ref": "scuba-diving-in-marine-reserves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_scuba-diving-in-marine-reserves.jpg" + }, + { + "name": "Sunset Horseback Riding", + "description": "Embark on a magical horseback riding adventure as the sun sets over the Mallorcan countryside. Enjoy breathtaking views of rolling hills, vineyards, and the distant Mediterranean Sea, creating a romantic and unforgettable experience.", + "locationName": "Rural Mallorca", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "mallorca", + "ref": "sunset-horseback-riding", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_sunset-horseback-riding.jpg" + }, + { + "name": "Take a Cooking Class and Learn to Make Paella", + "description": "Immerse yourself in Mallorcan culture by taking a cooking class and learning how to prepare the island's iconic dish, paella. Master the art of creating the perfect blend of rice, seafood, and spices, and savor the delicious results of your culinary efforts.", + "locationName": "Palma or other towns", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "mallorca", + "ref": "take-a-cooking-class-and-learn-to-make-paella", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_take-a-cooking-class-and-learn-to-make-paella.jpg" + }, + { + "name": "Go Cliff Jumping at Cala S'Almunia", + "description": "For the adventurous souls, head to Cala S'Almunia, a secluded cove known for its dramatic cliffs and crystal-clear waters. Take the plunge and experience the thrill of cliff jumping into the refreshing Mediterranean Sea.", + "locationName": "Cala S'Almunia", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "mallorca", + "ref": "go-cliff-jumping-at-cala-s-almunia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_go-cliff-jumping-at-cala-s-almunia.jpg" + }, + { + "name": "Enjoy Live Music at a Jazz Club", + "description": "Experience the vibrant nightlife of Mallorca by catching live music at a jazz club in Palma or other towns. Enjoy the soulful sounds of local and international musicians while sipping on cocktails and soaking up the atmosphere.", + "locationName": "Palma or other towns", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "mallorca", + "ref": "enjoy-live-music-at-a-jazz-club", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mallorca_enjoy-live-music-at-a-jazz-club.jpg" + }, + { + "name": "Explore the Historic City of Valletta", + "description": "Step back in time as you wander through the charming streets of Valletta, a UNESCO World Heritage Site. Admire the Baroque architecture, visit St. John's Co-Cathedral with its opulent interior, and enjoy panoramic views of the Grand Harbour from the Upper Barrakka Gardens. History buffs will be enthralled by the rich past of this fortified city.", + "locationName": "Valletta", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "malta", + "ref": "explore-the-historic-city-of-valletta", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_explore-the-historic-city-of-valletta.jpg" + }, + { + "name": "Dive into the Blue Lagoon", + "description": "Escape to the island of Comino and discover the breathtaking Blue Lagoon. Dive into the crystal-clear turquoise waters, perfect for swimming, snorkeling, and scuba diving. Relax on the white sandy beach or explore the nearby caves and coves. This is a must-do for water enthusiasts and those seeking a slice of paradise.", + "locationName": "Comino", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "malta", + "ref": "dive-into-the-blue-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_dive-into-the-blue-lagoon.jpg" + }, + { + "name": "Discover the Ancient Megalithic Temples", + "description": "Embark on a journey through Malta's prehistoric past by visiting the Megalithic Temples, some of the oldest freestanding structures in the world. Explore the UNESCO-listed Ħaġar Qim and Mnajdra temples, marveling at their intricate construction and mysterious origins. This is a unique experience for history and archaeology enthusiasts.", + "locationName": "Ħaġar Qim and Mnajdra", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "malta", + "ref": "discover-the-ancient-megalithic-temples", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_discover-the-ancient-megalithic-temples.jpg" + }, + { + "name": "Indulge in Maltese Cuisine", + "description": "Tantalize your taste buds with the delicious flavors of Maltese cuisine. Sample traditional dishes like pastizzi (savory pastries), rabbit stew, and lampuki pie (fish pie). Explore the vibrant food markets and dine at charming local restaurants. Food tours are a great way to experience the culinary delights of Malta.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "malta", + "ref": "indulge-in-maltese-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_indulge-in-maltese-cuisine.jpg" + }, + { + "name": "Experience the Nightlife in Paceville", + "description": "When the sun goes down, head to Paceville, Malta's vibrant nightlife hub. Dance the night away at clubs, enjoy live music at bars, and try your luck at the casinos. With a diverse range of venues and a lively atmosphere, Paceville offers something for everyone looking for evening entertainment.", + "locationName": "Paceville", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "malta", + "ref": "experience-the-nightlife-in-paceville", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_experience-the-nightlife-in-paceville.jpg" + }, + { + "name": "Gozo Island Adventure", + "description": "Embark on a day trip to Gozo, Malta's sister island, renowned for its tranquil countryside and dramatic coastline. Explore the charming Citadel in Victoria, visit the stunning Azure Window (collapsed natural arch), and relax on the red sands of Ramla Bay. Hike or bike through the picturesque landscapes, discovering hidden coves and historical sites. Gozo offers a slower pace of life and a taste of authentic Maltese culture.", + "locationName": "Gozo Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "malta", + "ref": "gozo-island-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_gozo-island-adventure.jpg" + }, + { + "name": "Sailing & Snorkeling in Comino's Blue Lagoon", + "description": "Set sail on a boat trip to Comino, a small island between Malta and Gozo, famed for its Blue Lagoon. Immerse yourself in the crystal-clear turquoise waters, ideal for swimming, snorkeling, and diving. Discover the vibrant marine life and underwater caves, or simply soak up the sun on the pristine white sand beaches. Enjoy a leisurely lunch on board and breathtaking views of the Mediterranean coastline.", + "locationName": "Comino", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "malta", + "ref": "sailing-snorkeling-in-comino-s-blue-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_sailing-snorkeling-in-comino-s-blue-lagoon.jpg" + }, + { + "name": "Marsaxlokk Fishing Village & Market", + "description": "Experience the charm of Marsaxlokk, a traditional fishing village with a vibrant Sunday market. Stroll along the waterfront, admiring the colorful luzzu boats and enjoying the fresh sea breeze. Browse the stalls overflowing with local produce, handicrafts, and souvenirs. Savor a delicious seafood lunch at one of the many waterfront restaurants, indulging in the authentic flavors of Malta.", + "locationName": "Marsaxlokk", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "malta", + "ref": "marsaxlokk-fishing-village-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_marsaxlokk-fishing-village-market.jpg" + }, + { + "name": "Mdina: The Silent City", + "description": "Step back in time in Mdina, Malta's ancient capital, known as the \"Silent City.\" Wander through its narrow, winding streets, admiring the medieval and baroque architecture. Explore the imposing bastions, offering panoramic views of the island. Visit St. Paul's Cathedral and the Mdina Dungeons, delving into the city's rich history. Enjoy a peaceful escape from the bustling modern world.", + "locationName": "Mdina", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "malta", + "ref": "mdina-the-silent-city", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_mdina-the-silent-city.jpg" + }, + { + "name": "Hiking & History on Dingli Cliffs", + "description": "Embark on a scenic hike along the Dingli Cliffs, the highest point in Malta, offering breathtaking views of the Mediterranean Sea. Explore the rugged coastline, discovering hidden caves and historical sites, including the Clapham Junction cart ruts and the prehistoric Misqa Tanks. Immerse yourself in the natural beauty and learn about Malta's geological and cultural heritage. This adventurous experience is perfect for nature lovers and history enthusiasts.", + "locationName": "Dingli Cliffs", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "malta", + "ref": "hiking-history-on-dingli-cliffs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_hiking-history-on-dingli-cliffs.jpg" + }, + { + "name": "Sunset Kayak Tour of Golden Bay", + "description": "Embark on a magical kayaking adventure as the sun dips below the horizon, casting a golden glow on the picturesque Golden Bay. Paddle through the tranquil waters, exploring hidden caves and dramatic cliffs while enjoying the breathtaking views of the Maltese coastline. This serene experience is perfect for nature lovers and those seeking a romantic evening activity.", + "locationName": "Golden Bay", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "malta", + "ref": "sunset-kayak-tour-of-golden-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_sunset-kayak-tour-of-golden-bay.jpg" + }, + { + "name": "Wine Tasting in the Maltese Countryside", + "description": "Indulge in the flavors of Malta with a delightful wine tasting experience at a local vineyard. Discover the unique characteristics of Maltese wines, from crisp whites to robust reds, while learning about the island's rich viticulture history. Enjoy the scenic views of rolling vineyards and charming villages as you savor the tastes of Malta.", + "locationName": "Maltese Countryside", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "malta", + "ref": "wine-tasting-in-the-maltese-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_wine-tasting-in-the-maltese-countryside.jpg" + }, + { + "name": "Horseback Riding through Gozo's Countryside", + "description": "Explore the idyllic countryside of Gozo on horseback, trotting along scenic trails and enjoying the peaceful atmosphere. This activity is suitable for all experience levels, allowing you to connect with nature and discover hidden corners of the island at your own pace. The stunning landscapes and charming villages will create unforgettable memories.", + "locationName": "Gozo", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "malta", + "ref": "horseback-riding-through-gozo-s-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_horseback-riding-through-gozo-s-countryside.jpg" + }, + { + "name": "Rock Climbing Adventure in Wied il-Għasri", + "description": "Challenge yourself with an exhilarating rock climbing experience in Wied il-Għasri, a breathtaking valley with towering cliffs. With routes for various skill levels, both beginners and experienced climbers can enjoy the thrill of conquering the rock face while taking in the stunning views of the Mediterranean Sea. This adventurous activity is perfect for adrenaline seekers.", + "locationName": "Wied il-Għasri", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "malta", + "ref": "rock-climbing-adventure-in-wied-il-g-asri", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_rock-climbing-adventure-in-wied-il-g-asri.jpg" + }, + { + "name": "Spa Day at a Luxury Resort", + "description": "Unwind and rejuvenate with a pampering spa day at one of Malta's luxurious resorts. Indulge in a variety of treatments, including massages, facials, and body wraps, designed to relax your mind and body. Enjoy the serene ambiance and breathtaking views as you escape the stresses of everyday life.", + "locationName": "Various Luxury Resorts", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "malta", + "ref": "spa-day-at-a-luxury-resort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_spa-day-at-a-luxury-resort.jpg" + }, + { + "name": "Birdwatching at Għadira Nature Reserve", + "description": "Embark on a tranquil birdwatching experience at Għadira Nature Reserve, a haven for migratory birds. Observe various species, including flamingos, herons, and ospreys, in their natural habitat. Enjoy the serene atmosphere and learn about Malta's diverse avian population.", + "locationName": "Għadira Nature Reserve", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "malta", + "ref": "birdwatching-at-g-adira-nature-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_birdwatching-at-g-adira-nature-reserve.jpg" + }, + { + "name": "Explore the Three Cities", + "description": "Step back in time and explore the charming Three Cities: Vittoriosa, Senglea, and Cospicua. Wander through narrow streets, admire historical architecture, and visit the Inquisitor's Palace. Enjoy breathtaking views of the Grand Harbour and immerse yourself in Malta's rich maritime history.", + "locationName": "The Three Cities (Vittoriosa, Senglea, Cospicua)", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "malta", + "ref": "explore-the-three-cities", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_explore-the-three-cities.jpg" + }, + { + "name": "Stargazing on Comino Island", + "description": "Escape the city lights and experience the magic of stargazing on Comino Island. With minimal light pollution, the night sky comes alive with a breathtaking display of stars. Relax on the beach, identify constellations, and marvel at the wonders of the universe.", + "locationName": "Comino Island", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "malta", + "ref": "stargazing-on-comino-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_stargazing-on-comino-island.jpg" + }, + { + "name": "Visit the Malta National Aquarium", + "description": "Embark on an underwater adventure at the Malta National Aquarium. Discover a diverse range of marine life from the Mediterranean Sea and beyond. Explore themed zones, walk through a tunnel surrounded by sharks, and learn about the importance of ocean conservation.", + "locationName": "Malta National Aquarium", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "malta", + "ref": "visit-the-malta-national-aquarium", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_visit-the-malta-national-aquarium.jpg" + }, + { + "name": "Traditional Maltese Cooking Class", + "description": "Immerse yourself in Maltese culture with a hands-on cooking class. Learn to prepare traditional dishes like rabbit stew, pastizzi, and lampuki pie. Discover the secrets of Maltese cuisine and enjoy the fruits of your labor with a delicious meal.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "malta", + "ref": "traditional-maltese-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/malta_traditional-maltese-cooking-class.jpg" + }, + { + "name": "Explore the Jemaa el-Fna Square", + "description": "Immerse yourself in the vibrant heart of Marrakech at the Jemaa el-Fna Square. Witness the captivating spectacle of snake charmers, storytellers, musicians, and food vendors. As the day transitions into evening, the square transforms with the aromas of local delicacies and the mesmerizing energy of street performers. This cultural experience is a must for any visitor to Marrakech.", + "locationName": "Jemaa el-Fna Square", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "marrakech", + "ref": "explore-the-jemaa-el-fna-square", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_explore-the-jemaa-el-fna-square.jpg" + }, + { + "name": "Wander through the Souks", + "description": "Embark on a sensory adventure through the labyrinthine alleyways of the Marrakech souks. Discover a treasure trove of handcrafted goods, from intricately woven carpets and vibrant ceramics to aromatic spices and dazzling jewelry. Practice your bargaining skills and find unique souvenirs to commemorate your trip.", + "locationName": "Marrakech Souks", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "marrakech", + "ref": "wander-through-the-souks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_wander-through-the-souks.jpg" + }, + { + "name": "Visit the Majorelle Garden", + "description": "Escape the city bustle and find serenity in the enchanting Majorelle Garden. Stroll through lush pathways adorned with vibrant blue buildings, exotic plants, and tranquil pools. This botanical oasis offers a peaceful retreat and a perfect opportunity for photography enthusiasts.", + "locationName": "Majorelle Garden", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "visit-the-majorelle-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_visit-the-majorelle-garden.jpg" + }, + { + "name": "Indulge in a Traditional Hammam Experience", + "description": "Treat yourself to a rejuvenating hammam experience, a quintessential part of Moroccan culture. Relax and unwind in a steam bath, followed by a thorough exfoliation and massage. Emerge feeling refreshed and revitalized, ready to continue your Marrakech adventure.", + "locationName": "Various Hammams throughout the city", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "marrakech", + "ref": "indulge-in-a-traditional-hammam-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_indulge-in-a-traditional-hammam-experience.jpg" + }, + { + "name": "Savor Moroccan Cuisine", + "description": "Embark on a culinary journey through the flavors of Morocco. Sample traditional dishes like tagine, couscous, and pastilla. Explore the Djemaa el-Fna night market for an array of street food options or enjoy a fine dining experience at a rooftop restaurant with stunning city views.", + "locationName": "Various restaurants and food stalls throughout the city", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "savor-moroccan-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_savor-moroccan-cuisine.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Atlas Mountains", + "description": "Embark on an unforgettable adventure with a sunrise hot air balloon ride over the majestic Atlas Mountains. Witness breathtaking panoramic views of the rugged landscape, traditional Berber villages, and the vast desert as you gently float above it all. This once-in-a-lifetime experience offers a unique perspective of Morocco's natural beauty and is perfect for capturing stunning photos.", + "locationName": "Atlas Mountains", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "marrakech", + "ref": "hot-air-balloon-ride-over-the-atlas-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_hot-air-balloon-ride-over-the-atlas-mountains.jpg" + }, + { + "name": "Day Trip to Essaouira", + "description": "Escape the bustling city life and embark on a day trip to the charming coastal town of Essaouira. Known for its laid-back atmosphere, beautiful beaches, and vibrant art scene, Essaouira offers a refreshing change of pace. Explore the historic ramparts, wander through the colourful medina, or relax on the sandy shores while enjoying the cool ocean breeze.", + "locationName": "Essaouira", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "day-trip-to-essaouira", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_day-trip-to-essaouira.jpg" + }, + { + "name": "Quad Biking in the Agafay Desert", + "description": "Experience the thrill of adventure with a quad biking excursion through the Agafay Desert. Feel the adrenaline rush as you navigate the rocky terrain and sandy dunes, surrounded by stunning desert landscapes. This exciting activity offers a unique way to explore the Moroccan desert and is perfect for those seeking an adrenaline-pumping adventure.", + "locationName": "Agafay Desert", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "marrakech", + "ref": "quad-biking-in-the-agafay-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_quad-biking-in-the-agafay-desert.jpg" + }, + { + "name": "Visit the Bahia Palace", + "description": "Immerse yourself in Moroccan history and architecture with a visit to the Bahia Palace. This stunning 19th-century palace is a masterpiece of intricate design and craftsmanship, featuring beautiful courtyards, ornate rooms, and lush gardens. Explore the palace's rich history and marvel at its exquisite details, offering a glimpse into the opulent lifestyle of Moroccan royalty.", + "locationName": "Bahia Palace", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "marrakech", + "ref": "visit-the-bahia-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_visit-the-bahia-palace.jpg" + }, + { + "name": "Enjoy a Cooking Class", + "description": "Delve into the world of Moroccan cuisine with a hands-on cooking class. Learn the secrets of traditional dishes from experienced local chefs, using fresh, aromatic ingredients. Master the art of preparing tagines, couscous, and other culinary delights, and gain a deeper appreciation for Moroccan culture through its food.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "enjoy-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_enjoy-a-cooking-class.jpg" + }, + { + "name": "Atlas Mountains Trek", + "description": "Embark on a breathtaking journey through the rugged landscapes of the Atlas Mountains. Hike through picturesque valleys, encounter Berber villages, and witness panoramic views from towering peaks. Choose from various trails suitable for different fitness levels and durations, allowing you to connect with nature and experience the serenity of the mountains.", + "locationName": "Atlas Mountains", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "atlas-mountains-trek", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_atlas-mountains-trek.jpg" + }, + { + "name": "Ouzoud Waterfalls Excursion", + "description": "Escape the city bustle and visit the mesmerizing Ouzoud Waterfalls, cascading down a series of tiers amidst lush greenery. Take a refreshing dip in the natural pools, witness playful monkeys swinging through the trees, and enjoy a scenic boat ride for a closer look at the falls' beauty. This natural wonder offers a perfect retreat for nature lovers and photographers.", + "locationName": "Ouzoud", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "marrakech", + "ref": "ouzoud-waterfalls-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_ouzoud-waterfalls-excursion.jpg" + }, + { + "name": "Sunset Camel Ride in the Agafay Desert", + "description": "Experience the magic of the desert with a captivating camel ride as the sun sets over the Agafay Desert. Traverse the undulating dunes, witness the changing hues of the sky, and immerse yourself in the tranquility of the landscape. This romantic and unforgettable adventure offers a unique perspective of Morocco's natural beauty.", + "locationName": "Agafay Desert", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "sunset-camel-ride-in-the-agafay-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_sunset-camel-ride-in-the-agafay-desert.jpg" + }, + { + "name": "Jardin Secret Discovery", + "description": "Step into a hidden oasis in the heart of the Medina at Le Jardin Secret. Explore the beautifully restored Islamic gardens, featuring intricate water features, lush vegetation, and serene courtyards. Discover the fascinating history of the gardens and admire the traditional Moroccan architecture, offering a peaceful escape from the city's vibrant streets.", + "locationName": "Le Jardin Secret", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "marrakech", + "ref": "jardin-secret-discovery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_jardin-secret-discovery.jpg" + }, + { + "name": "Live Music at a Traditional Riad", + "description": "Immerse yourself in the enchanting atmosphere of a traditional riad and enjoy an evening of live Moroccan music. Listen to the mesmerizing melodies of local musicians, experience the rhythmic beats of Gnawa music, or sway to the soulful tunes of Andalusian sounds. This cultural experience offers a glimpse into the rich musical heritage of Morocco.", + "locationName": "Various Riads", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "marrakech", + "ref": "live-music-at-a-traditional-riad", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_live-music-at-a-traditional-riad.jpg" + }, + { + "name": "Horse-Drawn Carriage Ride through Marrakech", + "description": "Embark on a charming horse-drawn carriage ride through the enchanting streets of Marrakech. Clip-clop your way past iconic landmarks, hidden squares, and vibrant neighbourhoods, experiencing the city's charm from a unique perspective. This leisurely tour offers a relaxing way to soak in the sights and sounds of Marrakech.", + "locationName": "Marrakech City Center", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "marrakech", + "ref": "horse-drawn-carriage-ride-through-marrakech", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_horse-drawn-carriage-ride-through-marrakech.jpg" + }, + { + "name": "Visit the Saadian Tombs", + "description": "Step back in time and discover the opulent Saadian Tombs, a historical necropolis dating back to the Saadian dynasty. Marvel at the intricate carvings, colourful mosaics, and peaceful courtyards that adorn the tombs of sultans, their families, and close advisors. This cultural experience offers a glimpse into Morocco's rich history and architectural grandeur.", + "locationName": "Saadian Tombs", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "marrakech", + "ref": "visit-the-saadian-tombs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_visit-the-saadian-tombs.jpg" + }, + { + "name": "Explore the Mellah (Jewish Quarter)", + "description": "Delve into the historical Mellah, the Jewish Quarter of Marrakech, and uncover its unique cultural heritage. Wander through its narrow streets, visit the synagogues, and explore the spice markets. Learn about the Jewish community's history and traditions in Morocco, gaining a deeper understanding of the city's diverse cultural tapestry.", + "locationName": "Mellah (Jewish Quarter)", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "marrakech", + "ref": "explore-the-mellah-jewish-quarter-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_explore-the-mellah-jewish-quarter-.jpg" + }, + { + "name": "Enjoy a Rooftop Dinner with Views", + "description": "As the sun sets over Marrakech, ascend to a rooftop restaurant and savour a delectable dinner with panoramic views of the city. Indulge in traditional Moroccan cuisine or international flavours, while enjoying the cool evening breeze and the twinkling city lights. This romantic experience offers a memorable way to end a day of exploration.", + "locationName": "Various rooftop restaurants", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "enjoy-a-rooftop-dinner-with-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_enjoy-a-rooftop-dinner-with-views.jpg" + }, + { + "name": "Attend a Fantasia Show", + "description": "Immerse yourself in the vibrant spectacle of a Fantasia show, a traditional Moroccan equestrian performance. Witness skilled horsemen charging on horseback, performing daring stunts, and showcasing their horsemanship prowess. The show often includes music, acrobatics, and colourful costumes, creating a captivating cultural experience.", + "locationName": "Chez Ali or other Fantasia venues", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "marrakech", + "ref": "attend-a-fantasia-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/marrakech_attend-a-fantasia-show.jpg" + }, + { + "name": "Road to Hana", + "description": "Embark on a legendary road trip along the winding Road to Hana, stopping at cascading waterfalls, secluded beaches, and lush rainforests. Discover hidden gems like the Twin Falls, Waimoku Falls, and the black sand beach at Waiʻanapanapa State Park. Pack a picnic lunch and enjoy the breathtaking scenery along the way.", + "locationName": "Hana Highway", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "maui", + "ref": "road-to-hana", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_road-to-hana.jpg" + }, + { + "name": "Haleakala Sunrise", + "description": "Witness the awe-inspiring sunrise from the summit of Haleakala, a dormant volcano and the highest point on Maui. As the sun peeks over the horizon, casting a golden glow over the crater and the clouds below, you'll feel like you're standing above the world. Make sure to book your sunrise reservation in advance.", + "locationName": "Haleakala National Park", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "maui", + "ref": "haleakala-sunrise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_haleakala-sunrise.jpg" + }, + { + "name": "Molokini Crater Snorkeling", + "description": "Dive into the crystal-clear waters of Molokini Crater, a partially submerged volcanic caldera teeming with marine life. Snorkel or scuba dive among colorful fish, sea turtles, and vibrant coral reefs. Boat tours often include breakfast, lunch, and snorkeling equipment, making it a convenient and unforgettable experience.", + "locationName": "Molokini Crater", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "maui", + "ref": "molokini-crater-snorkeling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_molokini-crater-snorkeling.jpg" + }, + { + "name": "Whale Watching", + "description": "During whale watching season (typically November to April), embark on a boat tour to witness the majestic humpback whales that migrate to Maui's warm waters. Marvel at their acrobatic breaches, tail slaps, and haunting songs. Knowledgeable guides will share insights about these gentle giants and their fascinating behaviors.", + "locationName": "Auau Channel", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "maui", + "ref": "whale-watching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_whale-watching.jpg" + }, + { + "name": "Sunset at Ka'anapali Beach", + "description": "Unwind with a breathtaking sunset at Ka'anapali Beach, one of Maui's most famous stretches of sand. Relax on the beach, take a dip in the ocean, or enjoy a romantic stroll along the shore as the sky explodes with vibrant colors. Consider enjoying a delicious meal at a beachfront restaurant while soaking in the magical ambiance.", + "locationName": "Ka'anapali Beach", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "maui", + "ref": "sunset-at-ka-anapali-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_sunset-at-ka-anapali-beach.jpg" + }, + { + "name": "Iao Valley State Park Hike", + "description": "Immerse yourself in the lush beauty of Iao Valley State Park. Hike through the rainforest to the iconic Iao Needle, a towering rock formation shrouded in legend. Explore the park's diverse flora and fauna, and learn about its cultural significance to the Hawaiian people. Enjoy breathtaking views of the valley and the surrounding mountains.", + "locationName": "Iao Valley State Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "maui", + "ref": "iao-valley-state-park-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_iao-valley-state-park-hike.jpg" + }, + { + "name": "Ziplining Adventure", + "description": "Soar through the Maui rainforest on a thrilling zipline adventure. Experience the island's natural beauty from a unique perspective as you zip through the treetops. Choose from various zipline courses, offering different levels of intensity and stunning views.", + "locationName": "Various locations throughout Maui", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "maui", + "ref": "ziplining-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_ziplining-adventure.jpg" + }, + { + "name": "Maui Ocean Center", + "description": "Embark on an underwater journey at the Maui Ocean Center. Discover the diverse marine life of Hawaii through interactive exhibits, underwater tunnels, and touch pools. Learn about conservation efforts and the importance of protecting the ocean's ecosystem.", + "locationName": "Maui Ocean Center", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "maui", + "ref": "maui-ocean-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_maui-ocean-center.jpg" + }, + { + "name": "Old Lahaina Luau", + "description": "Immerse yourself in Hawaiian culture at the Old Lahaina Luau. Enjoy a traditional feast, featuring local delicacies and tropical cocktails. Witness captivating hula performances, fire dancers, and live music, while learning about Hawaiian history and traditions.", + "locationName": "Old Lahaina Luau", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "maui", + "ref": "old-lahaina-luau", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_old-lahaina-luau.jpg" + }, + { + "name": "Surfing Lessons", + "description": "Catch a wave and learn to surf on the beautiful beaches of Maui. Take a surfing lesson from experienced instructors and experience the thrill of riding the waves. Enjoy the warm waters and the stunning ocean views as you master the art of surfing.", + "locationName": "Various beaches throughout Maui", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "maui", + "ref": "surfing-lessons", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_surfing-lessons.jpg" + }, + { + "name": "Hike the Pipiwai Trail", + "description": "Embark on a breathtaking journey through bamboo forests, past cascading waterfalls, and to a stunning banyan tree on the Pipiwai Trail in Haleakala National Park. This moderate hike offers incredible views and a chance to immerse yourself in Maui's lush rainforest.", + "locationName": "Haleakala National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "maui", + "ref": "hike-the-pipiwai-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_hike-the-pipiwai-trail.jpg" + }, + { + "name": "Explore the Maui Tropical Plantation", + "description": "Discover the agricultural beauty of Maui at the Maui Tropical Plantation. Take a tram tour through fields of pineapple, sugarcane, and coffee, learn about the island's farming history, and indulge in delicious farm-to-table cuisine at the Mill House Restaurant.", + "locationName": "Maui Tropical Plantation", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "maui", + "ref": "explore-the-maui-tropical-plantation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_explore-the-maui-tropical-plantation.jpg" + }, + { + "name": "Stargazing at Haleakala", + "description": "Experience the magic of the night sky from atop Haleakala. Join a stargazing tour or find a secluded spot to marvel at the constellations, planets, and Milky Way. The high altitude and clear skies of Haleakala offer unparalleled views of the celestial wonders.", + "locationName": "Haleakala National Park", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "maui", + "ref": "stargazing-at-haleakala", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_stargazing-at-haleakala.jpg" + }, + { + "name": "Kayaking and Snorkeling Adventure", + "description": "Embark on a kayaking and snorkeling adventure along the Maui coastline. Paddle through crystal-clear waters, explore hidden coves, and discover vibrant coral reefs teeming with marine life. This activity offers a unique perspective of Maui's natural beauty.", + "locationName": "Various locations along the Maui coastline", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "maui", + "ref": "kayaking-and-snorkeling-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_kayaking-and-snorkeling-adventure.jpg" + }, + { + "name": "Attend a Traditional Hawaiian Luau", + "description": "Immerse yourself in Hawaiian culture at a traditional luau. Enjoy a feast of local cuisine, watch captivating hula performances, and learn about the island's history and traditions. This is a perfect way to experience the spirit of Aloha.", + "locationName": "Various resorts and cultural centers", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "maui", + "ref": "attend-a-traditional-hawaiian-luau", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_attend-a-traditional-hawaiian-luau.jpg" + }, + { + "name": "Helicopter Tour over Maui", + "description": "Embark on an exhilarating helicopter tour that unveils Maui's breathtaking landscapes from a unique perspective. Soar over volcanic craters, cascading waterfalls, and hidden valleys, capturing panoramic views of the island's diverse beauty.", + "locationName": "Kahului Heliport", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "maui", + "ref": "helicopter-tour-over-maui", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_helicopter-tour-over-maui.jpg" + }, + { + "name": "Biking Down Haleakala", + "description": "Experience an unforgettable adventure by biking down the slopes of Haleakala. Witness the stunning sunrise from the summit, then coast down the winding roads, enjoying breathtaking views and the thrill of the descent.", + "locationName": "Haleakala National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "maui", + "ref": "biking-down-haleakala", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_biking-down-haleakala.jpg" + }, + { + "name": "Sunset Sail with Cocktails", + "description": "Set sail on a romantic sunset cruise along the Maui coastline. Sip on handcrafted cocktails as you admire the vibrant hues of the sky, listen to live music, and enjoy the gentle ocean breeze.", + "locationName": "Lahaina Harbor", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "maui", + "ref": "sunset-sail-with-cocktails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_sunset-sail-with-cocktails.jpg" + }, + { + "name": "Maui Arts & Cultural Center", + "description": "Immerse yourself in the vibrant arts scene of Maui at the Maui Arts & Cultural Center. Enjoy live music performances, theater productions, art exhibitions, and cultural workshops that showcase the island's rich heritage.", + "locationName": "Maui Arts & Cultural Center", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "maui", + "ref": "maui-arts-cultural-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_maui-arts-cultural-center.jpg" + }, + { + "name": "Upcountry Farmers Market Hopping", + "description": "Embark on a culinary journey through Maui's Upcountry region, visiting charming farmers markets. Sample fresh local produce, artisanal cheeses, baked goods, and handcrafted treats while soaking up the relaxed atmosphere.", + "locationName": "Upcountry Maui", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "maui", + "ref": "upcountry-farmers-market-hopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/maui_upcountry-farmers-market-hopping.jpg" + }, + { + "name": "Scenic Cruise through Milford Sound", + "description": "Embark on a breathtaking boat journey through the heart of Milford Sound. Marvel at the towering Mitre Peak, cascading waterfalls, and lush rainforests as you glide along the pristine waters. Keep an eye out for playful dolphins, fur seals, and Fiordland penguins that call this area home.", + "locationName": "Milford Sound", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "milford-sound", + "ref": "scenic-cruise-through-milford-sound", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_scenic-cruise-through-milford-sound.jpg" + }, + { + "name": "Kayaking Adventure", + "description": "Paddle through the tranquil waters of Milford Sound at your own pace, getting up close to the dramatic cliffs and waterfalls. Explore hidden coves and experience the serenity of this natural wonder from a unique perspective. Kayaking tours cater to different skill levels, making it an enjoyable activity for both beginners and experienced paddlers.", + "locationName": "Milford Sound", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "milford-sound", + "ref": "kayaking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_kayaking-adventure.jpg" + }, + { + "name": "Milford Track Hike", + "description": "Embark on a multi-day trekking adventure along the world-renowned Milford Track. This 53.5 km trail winds through stunning landscapes, including valleys, mountains, and waterfalls. Experience the thrill of crossing suspension bridges, staying in backcountry huts, and immersing yourself in the untouched beauty of Fiordland National Park.", + "locationName": "Fiordland National Park", + "duration": 48, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "milford-sound", + "ref": "milford-track-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_milford-track-hike.jpg" + }, + { + "name": "Underwater Observatory", + "description": "Descend into the depths of Milford Sound at the Milford Discovery Centre and Underwater Observatory. Observe the unique marine life, including black coral trees, sponges, and colorful fish, through large viewing windows. Learn about the fiord's ecosystem and the importance of conservation efforts.", + "locationName": "Milford Discovery Centre and Underwater Observatory", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "milford-sound", + "ref": "underwater-observatory", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_underwater-observatory.jpg" + }, + { + "name": "Scenic Flight", + "description": "Take to the skies for a breathtaking aerial perspective of Milford Sound and the surrounding Fiordland National Park. Soar above towering peaks, glaciers, and hidden valleys, capturing stunning panoramic views. This unforgettable experience offers a unique way to appreciate the grandeur of this natural wonder.", + "locationName": "Milford Sound Airport", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "milford-sound", + "ref": "scenic-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_scenic-flight.jpg" + }, + { + "name": "Fiordland Discovery Centre and Underwater Observatory", + "description": "Dive into the underwater world of Milford Sound without getting wet at the Fiordland Discovery Centre and Underwater Observatory. Descend 10 meters below the surface to observe the unique marine life, including black coral, through large viewing windows. Learn about the fiord's formation, history, and delicate ecosystem through interactive exhibits. This family-friendly activity offers a fascinating glimpse into the hidden depths of Milford Sound.", + "locationName": "Fiordland Discovery Centre", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "milford-sound", + "ref": "fiordland-discovery-centre-and-underwater-observatory", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_fiordland-discovery-centre-and-underwater-observatory.jpg" + }, + { + "name": "Scenic Drive along Milford Road", + "description": "Embark on a breathtaking road trip along Milford Road, considered one of the world's most scenic drives. Wind through valleys, alongside towering mountains, and past cascading waterfalls like The Chasm and Stirling Falls. Capture stunning photos at designated lookout points, such as Eglinton Valley and Mirror Lakes. Keep an eye out for native wildlife, including kea parrots and cheeky weka birds. This self-guided adventure allows you to explore the beauty of Fiordland National Park at your own pace.", + "locationName": "Milford Road", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "milford-sound", + "ref": "scenic-drive-along-milford-road", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_scenic-drive-along-milford-road.jpg" + }, + { + "name": "Nature Walk to Lady Bowen Falls", + "description": "Immerse yourself in the lush rainforest scenery with a short and accessible walk to the base of Lady Bowen Falls. The well-maintained track leads you through vibrant native flora and offers stunning views of the fiord. Feel the refreshing spray of the falls as you approach the viewing platform. This easy walk is perfect for families and those looking for a gentle nature experience.", + "locationName": "Lady Bowen Falls Track", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "milford-sound", + "ref": "nature-walk-to-lady-bowen-falls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_nature-walk-to-lady-bowen-falls.jpg" + }, + { + "name": "Discover Maori Culture at Milford Sound Lodge", + "description": "Delve into the rich cultural heritage of the Maori people with a visit to the Milford Sound Lodge. Experience a traditional welcome ceremony, learn about Maori legends and history, and admire intricate carvings and artwork. Participate in interactive activities like weaving or carving demonstrations. This immersive cultural experience provides a deeper understanding of the Maori connection to Milford Sound and the surrounding Fiordland region.", + "locationName": "Milford Sound Lodge", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "milford-sound", + "ref": "discover-maori-culture-at-milford-sound-lodge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_discover-maori-culture-at-milford-sound-lodge.jpg" + }, + { + "name": "Stargazing in the Sounds", + "description": "Escape the city lights and marvel at the breathtaking night sky above Milford Sound. With minimal light pollution, the fiord offers exceptional stargazing opportunities. Join a guided astronomy tour to learn about constellations, planets, and the Milky Way, or simply lie back and enjoy the celestial show. This awe-inspiring experience is perfect for a romantic evening or a unique family adventure.", + "locationName": "Milford Sound", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "milford-sound", + "ref": "stargazing-in-the-sounds", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_stargazing-in-the-sounds.jpg" + }, + { + "name": "Dive into the Depths with Scuba Diving", + "description": "Experience the magic of Milford Sound beneath the surface with a scuba diving adventure. Plunge into the deep fiord and discover a hidden world teeming with marine life, including black coral trees, colorful fish, and playful seals. Dive operators offer guided excursions for all levels, from beginners to experienced divers, ensuring a safe and unforgettable underwater journey.", + "locationName": "Various dive sites within Milford Sound", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "milford-sound", + "ref": "dive-into-the-depths-with-scuba-diving", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_dive-into-the-depths-with-scuba-diving.jpg" + }, + { + "name": "Fly Fishing in Pristine Waters", + "description": "Cast your line amidst the stunning scenery of Milford Sound and try your hand at fly fishing. The area is renowned for its brown and rainbow trout, providing an exciting challenge for anglers of all skill levels. Local guides can lead you to the best fishing spots and offer expert advice, making for a rewarding and tranquil experience in nature.", + "locationName": "Cleddau River or Lake Te Anau", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "milford-sound", + "ref": "fly-fishing-in-pristine-waters", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_fly-fishing-in-pristine-waters.jpg" + }, + { + "name": "Picnic with a View at Mitre Peak", + "description": "Pack a delightful picnic basket and head to the base of the iconic Mitre Peak for an unforgettable dining experience. Find a scenic spot along the shoreline or amidst the lush greenery, and savor your meal while marveling at the towering peak and the surrounding natural beauty. It's the perfect way to relax and soak in the tranquility of Milford Sound.", + "locationName": "Mitre Peak", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "milford-sound", + "ref": "picnic-with-a-view-at-mitre-peak", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_picnic-with-a-view-at-mitre-peak.jpg" + }, + { + "name": "Birdwatching Paradise", + "description": "Embark on a birdwatching expedition and discover the diverse avian species that call Milford Sound home. Keep an eye out for rare birds like the Fiordland penguin, the kea (a playful alpine parrot), and the South Island robin. Explore the various walking trails and hidden coves to spot these feathered wonders in their natural habitat.", + "locationName": "Fiordland National Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "milford-sound", + "ref": "birdwatching-paradise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_birdwatching-paradise.jpg" + }, + { + "name": "Capture the Beauty: Photography Tour", + "description": "Join a photography tour led by a local expert and learn how to capture the breathtaking landscapes of Milford Sound. Discover the best vantage points, lighting techniques, and composition tips to create stunning images that will preserve your memories of this magical place. Whether you're a seasoned photographer or a novice, this tour offers a unique perspective and an opportunity to hone your skills.", + "locationName": "Various locations throughout Milford Sound", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "milford-sound", + "ref": "capture-the-beauty-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_capture-the-beauty-photography-tour.jpg" + }, + { + "name": "Canyoning Adventure", + "description": "Embark on a thrilling canyoning experience in the heart of Fiordland National Park. Rappel down cascading waterfalls, plunge into crystal-clear pools, and navigate through narrow gorges, surrounded by breathtaking scenery. This adrenaline-pumping activity is perfect for adventure seekers.", + "locationName": "Cleddau Canyon", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "milford-sound", + "ref": "canyoning-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_canyoning-adventure.jpg" + }, + { + "name": "Milford Sound Foreshore Walk", + "description": "Take a leisurely stroll along the Milford Sound foreshore and immerse yourself in the tranquility of nature. This easy walking trail offers stunning views of the fiord, lush rainforest, and Mitre Peak. Keep an eye out for native birds and marine life, including seals and penguins.", + "locationName": "Milford Sound Foreshore", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "milford-sound", + "ref": "milford-sound-foreshore-walk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_milford-sound-foreshore-walk.jpg" + }, + { + "name": "Te Anau Glowworm Caves", + "description": "Embark on a magical journey through the Te Anau Glowworm Caves, a subterranean wonderland illuminated by thousands of tiny glowworms. Take a boat ride through the darkness and marvel at the twinkling lights, while learning about the unique ecosystem of these fascinating creatures.", + "locationName": "Te Anau", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "milford-sound", + "ref": "te-anau-glowworm-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_te-anau-glowworm-caves.jpg" + }, + { + "name": "Horseback Riding through Fiordland", + "description": "Explore the stunning landscapes of Fiordland National Park on horseback. Ride through native forests, alongside pristine rivers, and enjoy panoramic views of the surrounding mountains. This activity is suitable for all levels of experience and offers a unique perspective of the area.", + "locationName": "Fiordland National Park", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "milford-sound", + "ref": "horseback-riding-through-fiordland", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_horseback-riding-through-fiordland.jpg" + }, + { + "name": "Relaxing Spa Day", + "description": "Indulge in a day of pampering and rejuvenation at a luxurious spa. Choose from a range of treatments, including massages, facials, and body wraps, and let your stress melt away amidst the serene surroundings. This is the perfect way to unwind after a day of exploring.", + "locationName": "Milford Sound Lodge", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "milford-sound", + "ref": "relaxing-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/milford-sound_relaxing-spa-day.jpg" + }, + { + "name": "Hiking in Arches National Park", + "description": "Embark on a breathtaking hike through Arches National Park, home to over 2,000 natural sandstone arches. Explore iconic formations like Delicate Arch, Landscape Arch, and Double Arch, and witness the awe-inspiring power of nature. Trails range from easy to challenging, offering options for all fitness levels.", + "locationName": "Arches National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "moab", + "ref": "hiking-in-arches-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_hiking-in-arches-national-park.jpg" + }, + { + "name": "Mountain Biking the Slickrock Trail", + "description": "Experience the thrill of mountain biking on the world-renowned Slickrock Trail. This challenging route features steep inclines, slickrock surfaces, and stunning views of the Moab landscape. Test your skills and endurance as you navigate this iconic trail.", + "locationName": "Slickrock Bike Trail", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "moab", + "ref": "mountain-biking-the-slickrock-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_mountain-biking-the-slickrock-trail.jpg" + }, + { + "name": "White-Water Rafting on the Colorado River", + "description": "Embark on an exhilarating white-water rafting adventure on the Colorado River. Navigate through rapids, admire the towering canyon walls, and experience the thrill of this iconic river. Choose from various trip lengths and difficulty levels to suit your preferences.", + "locationName": "Colorado River", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "moab", + "ref": "white-water-rafting-on-the-colorado-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_white-water-rafting-on-the-colorado-river.jpg" + }, + { + "name": "Off-Roading in Canyonlands National Park", + "description": "Explore the rugged backcountry of Canyonlands National Park on an off-roading adventure. Discover hidden canyons, ancient ruins, and breathtaking viewpoints as you navigate the challenging terrain. This thrilling experience offers a unique perspective of the park's vast landscapes.", + "locationName": "Canyonlands National Park", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "moab", + "ref": "off-roading-in-canyonlands-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_off-roading-in-canyonlands-national-park.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Escape the city lights and experience the magic of stargazing in the Moab desert. With minimal light pollution, the night sky comes alive with countless stars, constellations, and even the Milky Way. Join a guided stargazing tour or find a secluded spot to marvel at the celestial wonders above.", + "locationName": "Moab Desert", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "moab", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_stargazing-in-the-desert.jpg" + }, + { + "name": "Canyoneering", + "description": "Embark on a thrilling canyoneering adventure, rappelling down sandstone cliffs, navigating slot canyons, and exploring hidden waterfalls. This activity offers a unique perspective of Moab's rugged landscapes and is perfect for adrenaline seekers.", + "locationName": "Various canyons around Moab", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "moab", + "ref": "canyoneering", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_canyoneering.jpg" + }, + { + "name": "Scenic Drives", + "description": "Take a leisurely drive along scenic byways like the Potash Road or La Sal Mountain Loop, offering breathtaking views of red rock formations, canyons, and the La Sal Mountains. Enjoy photo opportunities and picnics at designated stops.", + "locationName": "Potash Road, La Sal Mountain Loop", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "moab", + "ref": "scenic-drives", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_scenic-drives.jpg" + }, + { + "name": "Rock Climbing", + "description": "Challenge yourself with rock climbing on Moab's iconic sandstone cliffs. With routes for all skill levels, from beginner to expert, experience the thrill of scaling vertical walls and enjoying panoramic views.", + "locationName": "Various climbing areas around Moab", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "moab", + "ref": "rock-climbing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_rock-climbing.jpg" + }, + { + "name": "Dinosaur Museum", + "description": "Explore the Moab Museum, which houses fascinating exhibits on the region's rich paleontological history. Discover dinosaur fossils, learn about ancient cultures, and delve into the geological wonders of the area.", + "locationName": "Moab Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "moab", + "ref": "dinosaur-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_dinosaur-museum.jpg" + }, + { + "name": "Hot Air Balloon Ride", + "description": "Experience the magic of a hot air balloon ride over Moab's breathtaking landscapes. Soar above red rock formations, canyons, and the Colorado River, enjoying panoramic views and a unique perspective of the desert.", + "locationName": "Moab Valley", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "moab", + "ref": "hot-air-balloon-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_hot-air-balloon-ride.jpg" + }, + { + "name": "Horseback Riding in the Desert", + "description": "Embark on a scenic horseback riding adventure through the rugged desert landscape surrounding Moab. Local outfitters offer guided tours suitable for all skill levels, allowing you to explore hidden canyons, ancient ruins, and panoramic vistas at a relaxed pace. This activity is a unique way to connect with nature and experience the Old West charm of Moab.", + "locationName": "Various locations around Moab", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "moab", + "ref": "horseback-riding-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_horseback-riding-in-the-desert.jpg" + }, + { + "name": "Scenic Flight Over Canyonlands National Park", + "description": "Take to the skies for a breathtaking aerial tour of Canyonlands National Park. Soar above the vast canyons, mesas, and rivers, gaining a unique perspective of the park's iconic landmarks like Mesa Arch, the Green River Overlook, and the Needles district. This unforgettable experience offers stunning photo opportunities and a chance to appreciate the sheer scale and beauty of the desert landscape.", + "locationName": "Canyonlands National Park", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "moab", + "ref": "scenic-flight-over-canyonlands-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_scenic-flight-over-canyonlands-national-park.jpg" + }, + { + "name": "Relaxation and Rejuvenation at a Spa", + "description": "After a day of adventure, unwind and indulge in a pampering spa experience. Moab offers several wellness centers and spas where you can enjoy a variety of treatments, including massages, facials, body wraps, and hydrotherapy. Some spas even incorporate local elements like red rock clay or desert botanicals into their treatments, providing a unique and rejuvenating experience.", + "locationName": "Various spas in Moab", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "moab", + "ref": "relaxation-and-rejuvenation-at-a-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_relaxation-and-rejuvenation-at-a-spa.jpg" + }, + { + "name": "Explore Moab's Culinary Scene", + "description": "Discover the diverse flavors of Moab's culinary scene. From casual cafes and breweries to fine dining establishments, Moab offers a range of options to satisfy any palate. Sample Southwestern specialties, indulge in wood-fired pizzas, or savor fresh, locally sourced ingredients. Be sure to try the craft beers brewed in Moab and explore the charming cafes and restaurants along Main Street.", + "locationName": "Various restaurants and cafes in Moab", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "moab", + "ref": "explore-moab-s-culinary-scene", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_explore-moab-s-culinary-scene.jpg" + }, + { + "name": "Attend a Moab Music Festival Performance", + "description": "Immerse yourself in the vibrant arts and culture scene of Moab by attending a performance at the Moab Music Festival. This renowned festival features world-class musicians performing chamber music, jazz, and other genres in stunning outdoor settings amidst the red rock landscapes. Enjoy an evening of exceptional music under the stars, surrounded by the natural beauty of Moab.", + "locationName": "Various locations in Moab", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "moab", + "ref": "attend-a-moab-music-festival-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_attend-a-moab-music-festival-performance.jpg" + }, + { + "name": "Jeep Safari Tour to Dead Horse Point State Park", + "description": "Embark on a thrilling jeep safari tour to Dead Horse Point State Park, renowned for its breathtaking panoramic views of the Colorado River and Canyonlands National Park. Traverse rugged trails, learn about the area's geology and history, and capture stunning photographs of the iconic landscapes.", + "locationName": "Dead Horse Point State Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "moab", + "ref": "jeep-safari-tour-to-dead-horse-point-state-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_jeep-safari-tour-to-dead-horse-point-state-park.jpg" + }, + { + "name": "Stand Up Paddleboarding on the Colorado River", + "description": "Experience the serenity of the Colorado River from a unique perspective with stand-up paddleboarding. Glide along calm stretches of the river, surrounded by towering red rock cliffs, and enjoy the tranquility of nature. This activity is suitable for all skill levels and offers a relaxing way to explore the waterways.", + "locationName": "Colorado River", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "moab", + "ref": "stand-up-paddleboarding-on-the-colorado-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_stand-up-paddleboarding-on-the-colorado-river.jpg" + }, + { + "name": "Visit the Moab Museum", + "description": "Delve into the rich history and culture of Moab at the Moab Museum. Discover exhibits that showcase the region's Native American heritage, pioneer settlements, uranium mining boom, and the development of Moab as an adventure tourism destination. Gain insights into the area's unique past and present.", + "locationName": "Moab Museum", + "duration": 1.5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "moab", + "ref": "visit-the-moab-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_visit-the-moab-museum.jpg" + }, + { + "name": "Sunset Horseback Riding Adventure", + "description": "Saddle up for a magical horseback riding adventure as the sun sets over the Moab desert. Traverse scenic trails, witness the vibrant colors of the sky, and enjoy the peaceful ambiance of the evening. This experience is perfect for creating lasting memories.", + "locationName": "Moab desert trails", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "moab", + "ref": "sunset-horseback-riding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_sunset-horseback-riding-adventure.jpg" + }, + { + "name": "Moab Brewery Tour and Tasting", + "description": "Indulge in the local craft beer scene with a tour and tasting at Moab Brewery. Learn about the brewing process, sample a variety of beers, and discover the unique flavors of Moab. This activity is ideal for beer enthusiasts and those seeking a relaxed evening experience.", + "locationName": "Moab Brewery", + "duration": 1.5, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "moab", + "ref": "moab-brewery-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/moab_moab-brewery-tour-and-tasting.jpg" + }, + { + "name": "Explore the Bay of Kotor", + "description": "Embark on a scenic boat tour around the Bay of Kotor, a UNESCO World Heritage Site. Marvel at the dramatic landscapes, charming coastal towns, and historical landmarks like Our Lady of the Rocks and the ancient city walls of Kotor.", + "locationName": "Bay of Kotor", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "montenegro", + "ref": "explore-the-bay-of-kotor", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_explore-the-bay-of-kotor.jpg" + }, + { + "name": "Hiking in Durmitor National Park", + "description": "Lace up your hiking boots and venture into the stunning Durmitor National Park. Hike through pristine forests, glacial lakes, and rugged peaks, including Bobotov Kuk, the highest peak in Montenegro. Enjoy breathtaking views and immerse yourself in nature.", + "locationName": "Durmitor National Park", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "montenegro", + "ref": "hiking-in-durmitor-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_hiking-in-durmitor-national-park.jpg" + }, + { + "name": "Relax on the Beaches of Budva", + "description": "Soak up the sun on the beautiful beaches of Budva, a popular coastal town known for its vibrant atmosphere. Enjoy swimming, sunbathing, or trying out water sports like kayaking and paddleboarding. In the evening, explore the charming Old Town and enjoy the lively nightlife.", + "locationName": "Budva", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "montenegro", + "ref": "relax-on-the-beaches-of-budva", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_relax-on-the-beaches-of-budva.jpg" + }, + { + "name": "Discover the Historic City of Kotor", + "description": "Step back in time and explore the historic city of Kotor. Wander through the labyrinthine streets of the Old Town, visit the Cathedral of Saint Tryphon, and climb the ancient city walls for panoramic views of the bay. Immerse yourself in the rich culture and history of this charming town.", + "locationName": "Kotor", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "montenegro", + "ref": "discover-the-historic-city-of-kotor", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_discover-the-historic-city-of-kotor.jpg" + }, + { + "name": "Experience Local Cuisine and Wine", + "description": "Indulge in the delicious flavors of Montenegrin cuisine. Sample fresh seafood specialties, hearty meat dishes, and local cheeses. Pair your meal with a glass of Montenegrin wine, known for its unique varietals and rich flavors. Visit a local winery or enjoy a traditional meal at a family-run restaurant.", + "locationName": "Various", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "montenegro", + "ref": "experience-local-cuisine-and-wine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_experience-local-cuisine-and-wine.jpg" + }, + { + "name": "Whitewater Rafting on the Tara River", + "description": "Embark on an exhilarating adventure through Europe's deepest canyon, the Tara River Canyon. Navigate thrilling rapids, surrounded by stunning landscapes, and experience the power of nature up close. Choose from various difficulty levels and enjoy a day of adrenaline and breathtaking scenery.", + "locationName": "Tara River Canyon", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "montenegro", + "ref": "whitewater-rafting-on-the-tara-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_whitewater-rafting-on-the-tara-river.jpg" + }, + { + "name": "Kayaking in the Bay of Kotor", + "description": "Explore the tranquil waters of the Bay of Kotor from a different perspective. Paddle along the coastline, admiring the picturesque villages, historic fortifications, and dramatic mountains that enclose the bay. Discover hidden coves, secluded beaches, and enjoy a peaceful escape surrounded by natural beauty.", + "locationName": "Bay of Kotor", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "montenegro", + "ref": "kayaking-in-the-bay-of-kotor", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_kayaking-in-the-bay-of-kotor.jpg" + }, + { + "name": "Wine Tasting Tour in Crmnica Region", + "description": "Indulge in the rich flavors of Montenegro's wine culture with a visit to the Crmnica region. Explore local vineyards, learn about traditional winemaking techniques, and sample a variety of indigenous grape varieties. Discover the unique characteristics of Vranac, Krstač, and other local wines, while enjoying the scenic beauty of the countryside.", + "locationName": "Crmnica Region", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "montenegro", + "ref": "wine-tasting-tour-in-crmnica-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_wine-tasting-tour-in-crmnica-region.jpg" + }, + { + "name": "Paragliding over Budva Riviera", + "description": "Soar above the stunning Budva Riviera and experience breathtaking panoramic views of the Adriatic coastline. Take off from the mountains and glide through the air, enjoying the sensation of freedom and admiring the beauty of the beaches, islands, and surrounding landscapes. This unforgettable adventure offers a unique perspective of Montenegro's coastal charm.", + "locationName": "Budva Riviera", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "montenegro", + "ref": "paragliding-over-budva-riviera", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_paragliding-over-budva-riviera.jpg" + }, + { + "name": "Exploring Skadar Lake National Park", + "description": "Discover the natural wonders of Skadar Lake National Park, the largest lake in the Balkans. Take a boat trip to explore the lake's diverse ecosystem, home to numerous bird species, including pelicans and herons. Visit traditional fishing villages, ancient monasteries, and hidden beaches, and immerse yourself in the tranquility of this unique natural haven.", + "locationName": "Skadar Lake National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "montenegro", + "ref": "exploring-skadar-lake-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_exploring-skadar-lake-national-park.jpg" + }, + { + "name": "Canyoning in Nevidio Canyon", + "description": "Embark on an exhilarating canyoning adventure through the Nevidio Canyon, known for its narrow passages, cascading waterfalls, and stunning natural beauty. This activity involves rappelling, swimming, and jumping through the canyon, providing an unforgettable adrenaline rush. ", + "locationName": "Nevidio Canyon", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "montenegro", + "ref": "canyoning-in-nevidio-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_canyoning-in-nevidio-canyon.jpg" + }, + { + "name": "Horseback Riding in the Mountains", + "description": "Explore the scenic landscapes of Montenegro's mountains on horseback, enjoying breathtaking views and a peaceful connection with nature. Choose from various trails suitable for all levels, from gentle rides through meadows to more challenging routes with panoramic vistas.", + "locationName": "Durmitor National Park or Lovcen National Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "montenegro", + "ref": "horseback-riding-in-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_horseback-riding-in-the-mountains.jpg" + }, + { + "name": "Visit the Ostrog Monastery", + "description": "Discover the spiritual and architectural marvel of Ostrog Monastery, a Serbian Orthodox monastery carved into a cliff face. Witness stunning views, explore the monastery complex, and learn about its religious significance and history.", + "locationName": "Ostrog Monastery", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "montenegro", + "ref": "visit-the-ostrog-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_visit-the-ostrog-monastery.jpg" + }, + { + "name": "Explore the Old Town of Budva", + "description": "Wander through the charming streets of Budva's Old Town, a historic fortified city with Venetian-era architecture, quaint shops, and lively cafes. Discover hidden squares, ancient churches, and the Citadel for panoramic views of the Adriatic Sea.", + "locationName": "Budva Old Town", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "montenegro", + "ref": "explore-the-old-town-of-budva", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_explore-the-old-town-of-budva.jpg" + }, + { + "name": "Enjoy the Nightlife in Budva or Kotor", + "description": "Experience Montenegro's vibrant nightlife scene in Budva or Kotor. Choose from a variety of bars, clubs, and restaurants offering live music, DJs, and entertainment. Dance the night away or relax with a drink while enjoying the coastal ambiance.", + "locationName": "Budva or Kotor", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "montenegro", + "ref": "enjoy-the-nightlife-in-budva-or-kotor", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_enjoy-the-nightlife-in-budva-or-kotor.jpg" + }, + { + "name": "Ziplining in Lovcen National Park", + "description": "Experience an adrenaline rush as you soar through the treetops of Lovcen National Park on a thrilling zipline adventure. Take in breathtaking views of the surrounding mountains and valleys as you zip from platform to platform. This activity is perfect for adventure seekers and nature lovers.", + "locationName": "Lovcen National Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "montenegro", + "ref": "ziplining-in-lovcen-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_ziplining-in-lovcen-national-park.jpg" + }, + { + "name": "Scuba Diving in the Adriatic Sea", + "description": "Dive into the crystal-clear waters of the Adriatic Sea and discover a vibrant underwater world teeming with marine life. Explore shipwrecks, reefs, and caves, and encounter colorful fish, octopuses, and other fascinating creatures.", + "locationName": "Adriatic Sea", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "montenegro", + "ref": "scuba-diving-in-the-adriatic-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_scuba-diving-in-the-adriatic-sea.jpg" + }, + { + "name": "Visit the Njagara Waterfalls", + "description": "Embark on a scenic hike to the Njagara Waterfalls, a hidden gem nestled amidst lush greenery. Witness the cascading water as it plunges into a picturesque pool below, and enjoy a refreshing dip in the cool waters.", + "locationName": "Njagara Waterfalls", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "montenegro", + "ref": "visit-the-njagara-waterfalls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_visit-the-njagara-waterfalls.jpg" + }, + { + "name": "Take a Boat Trip to Sveti Stefan", + "description": "Embark on a boat trip to the exclusive island of Sveti Stefan, a luxurious resort known for its stunning beaches and historical architecture. Explore the island's narrow streets, relax on the beach, and soak up the glamorous atmosphere.", + "locationName": "Sveti Stefan", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "montenegro", + "ref": "take-a-boat-trip-to-sveti-stefan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_take-a-boat-trip-to-sveti-stefan.jpg" + }, + { + "name": "Birdwatching in Lake Skadar National Park", + "description": "Discover the diverse avian population of Lake Skadar National Park, a haven for birdwatchers. Spot pelicans, herons, egrets, and other species as you explore the wetlands, marshes, and open waters of the park.", + "locationName": "Lake Skadar National Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "montenegro", + "ref": "birdwatching-in-lake-skadar-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/montenegro_birdwatching-in-lake-skadar-national-park.jpg" + }, + { + "name": "Riesling Wine Tour and Tasting", + "description": "Embark on a delightful journey through the renowned vineyards of the Mosel Valley. Visit charming local wineries, meet passionate winemakers, and indulge in tastings of the region's celebrated Riesling wines. Learn about the unique terroir and winemaking traditions that contribute to the exceptional quality of Mosel wines.", + "locationName": "Various wineries along the Mosel River", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "mosel-valley", + "ref": "riesling-wine-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_riesling-wine-tour-and-tasting.jpg" + }, + { + "name": "Cochem Castle Exploration", + "description": "Step back in time with a visit to the majestic Cochem Castle, perched high above the Mosel River. Explore the medieval architecture, wander through historic halls, and enjoy panoramic views of the surrounding valley. Immerse yourself in the rich history and captivating legends of this iconic landmark.", + "locationName": "Cochem Castle", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "cochem-castle-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_cochem-castle-exploration.jpg" + }, + { + "name": "Scenic Hiking along the Mosel River", + "description": "Lace up your hiking boots and embark on a picturesque journey along the Mosel River. Follow well-maintained trails that wind through rolling vineyards, charming villages, and breathtaking natural landscapes. Enjoy panoramic views of the river valley and immerse yourself in the tranquility of the surrounding nature.", + "locationName": "Moselsteig Trail", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "mosel-valley", + "ref": "scenic-hiking-along-the-mosel-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_scenic-hiking-along-the-mosel-river.jpg" + }, + { + "name": "Relaxing River Cruise", + "description": "Sit back, relax, and soak in the beauty of the Mosel Valley on a leisurely river cruise. Glide along the tranquil waters, admiring the picturesque vineyards, charming villages, and historic castles that line the riverbanks. Enjoy onboard commentary and learn about the region's history and culture while indulging in delicious local cuisine and wine.", + "locationName": "Mosel River", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mosel-valley", + "ref": "relaxing-river-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_relaxing-river-cruise.jpg" + }, + { + "name": "Beilstein Village Stroll", + "description": "Wander through the enchanting village of Beilstein, known as the \"Sleeping Beauty of the Mosel.\" Explore its narrow cobblestone streets, admire the half-timbered houses, and discover hidden courtyards and charming cafes. Enjoy the peaceful atmosphere and soak in the timeless beauty of this historic village.", + "locationName": "Beilstein Village", + "duration": 1, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "mosel-valley", + "ref": "beilstein-village-stroll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_beilstein-village-stroll.jpg" + }, + { + "name": "Kayaking on the Mosel River", + "description": "Experience the Mosel Valley's beauty from a unique perspective by kayaking down the serene Mosel River. Paddle past rolling vineyards, charming villages, and towering castles, immersing yourself in the tranquility of the surrounding nature. Rent a kayak for a few hours or embark on a guided tour to explore hidden coves and learn about the region's rich history and ecology. This activity is suitable for various skill levels and offers a refreshing way to enjoy the outdoors.", + "locationName": "Mosel River", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "kayaking-on-the-mosel-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_kayaking-on-the-mosel-river.jpg" + }, + { + "name": "Cycling through the Vineyards", + "description": "Embark on a scenic cycling adventure through the picturesque vineyards of the Mosel Valley. Rent a bike and follow well-maintained paths that wind through rolling hills, offering breathtaking views of the river and surrounding landscapes. Stop at local wineries for tastings, savor delicious regional cuisine at charming cafes, and discover hidden gems along the way. This activity allows you to explore the region at your own pace and soak in the beauty of the vineyards.", + "locationName": "Mosel Valley vineyards", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "cycling-through-the-vineyards", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_cycling-through-the-vineyards.jpg" + }, + { + "name": "Burg Eltz Exploration", + "description": "Step back in time with a visit to the enchanting Burg Eltz, a medieval castle nestled amidst the forested hills above the Mosel River. Explore the castle's impressive architecture, admire its well-preserved interiors, and learn about its fascinating history dating back to the 12th century. Take a guided tour or wander through the castle's chambers, armory, and treasury at your own pace. The surrounding forest offers scenic hiking trails with breathtaking views of the castle and valley.", + "locationName": "Burg Eltz", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mosel-valley", + "ref": "burg-eltz-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_burg-eltz-exploration.jpg" + }, + { + "name": "Indulge in German Cuisine", + "description": "Embark on a culinary journey through the Mosel Valley, savoring authentic German dishes and local specialties. Visit traditional restaurants and cozy taverns to experience the region's rich gastronomic heritage. Sample hearty meat dishes, fresh seafood, and seasonal vegetables, paired with locally produced wines. Don't miss the opportunity to try regional favorites like Zwiebelkuchen (onion cake) and Kartoffelpuffer (potato pancakes).", + "locationName": "Various restaurants and taverns throughout the Mosel Valley", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "mosel-valley", + "ref": "indulge-in-german-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_indulge-in-german-cuisine.jpg" + }, + { + "name": "Thermal Baths and Wellness Retreats", + "description": "Unwind and rejuvenate at one of the Mosel Valley's renowned thermal baths or wellness retreats. Immerse yourself in the healing mineral waters, indulge in spa treatments, and experience relaxation like never before. Many facilities offer a range of services, including massages, saunas, and beauty treatments. Whether you seek a day of pampering or a complete wellness getaway, the Mosel Valley offers options for every preference.", + "locationName": "Various thermal baths and wellness centers throughout the Mosel Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "mosel-valley", + "ref": "thermal-baths-and-wellness-retreats", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_thermal-baths-and-wellness-retreats.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Vineyards", + "description": "Experience the breathtaking beauty of the Mosel Valley from a unique perspective with a hot air balloon ride. Soar above the rolling vineyards, charming villages, and meandering river as you enjoy panoramic views of the picturesque landscape. This unforgettable experience offers a romantic and serene way to appreciate the region's charm.", + "locationName": "Various locations along the Mosel Valley", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "mosel-valley", + "ref": "hot-air-balloon-ride-over-the-vineyards", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_hot-air-balloon-ride-over-the-vineyards.jpg" + }, + { + "name": "Photography Tour of the Mosel Valley", + "description": "Capture the essence of the Mosel Valley's beauty on a photography tour led by a local expert. Discover hidden gems, perfect vantage points, and charming details as you explore the vineyards, villages, and riverbanks. Learn about composition, lighting, and storytelling through photography while creating lasting memories of your trip. #Great for photography #Instagrammable", + "locationName": "Various locations along the Mosel Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mosel-valley", + "ref": "photography-tour-of-the-mosel-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_photography-tour-of-the-mosel-valley.jpg" + }, + { + "name": "Birdwatching in the Mosel Forests", + "description": "Escape the bustling towns and immerse yourself in the tranquility of the Mosel forests. Embark on a guided birdwatching tour to spot diverse avian species, including woodpeckers, owls, and songbirds. Learn about the region's ecosystem and the importance of conservation while enjoying the peaceful sounds of nature. #Wildlife watching", + "locationName": "Forests surrounding the Mosel Valley", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "birdwatching-in-the-mosel-forests", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_birdwatching-in-the-mosel-forests.jpg" + }, + { + "name": "Folklore and Fairytale Evening", + "description": "Delve into the rich cultural heritage of the Mosel Valley with an enchanting evening of folklore and fairytales. Gather around a bonfire as local storytellers share captivating legends and myths passed down through generations. Enjoy traditional music, dance, and perhaps even a taste of regional delicacies for a truly immersive experience. #Cultural experiences", + "locationName": "Various villages in the Mosel Valley", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "folklore-and-fairytale-evening", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_folklore-and-fairytale-evening.jpg" + }, + { + "name": "E-bike Vineyard Adventure", + "description": "Explore the Mosel Valley's vineyards with ease and excitement on an e-bike adventure. Rent an e-bike and follow designated routes through the vineyards, stopping at charming villages and wineries along the way. Enjoy the flexibility to explore at your own pace while taking in the stunning scenery and fresh air. #Adventure sports", + "locationName": "Vineyards throughout the Mosel Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "mosel-valley", + "ref": "e-bike-vineyard-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_e-bike-vineyard-adventure.jpg" + }, + { + "name": "Underground History and Mystery", + "description": "Embark on a captivating journey into the depths of the Mosel Valley, exploring the region's hidden underground world. Visit ancient Roman wine cellars, medieval mining tunnels, and mysterious underground fortifications. Discover the secrets and stories buried beneath the surface, and gain a unique perspective on the Mosel Valley's rich history.", + "locationName": "Various locations throughout the Mosel Valley", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "underground-history-and-mystery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_underground-history-and-mystery.jpg" + }, + { + "name": "Culinary Delights: Cooking Class and Market Tour", + "description": "Immerse yourself in the flavors of the Mosel Valley with a hands-on cooking class and local market tour. Join a skilled chef to learn the art of preparing traditional German dishes, using fresh, seasonal ingredients sourced from the vibrant markets. Discover the secrets of regional specialties and enjoy the fruits (and vegetables) of your labor with a delicious meal.", + "locationName": "Various towns and villages along the Mosel River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "mosel-valley", + "ref": "culinary-delights-cooking-class-and-market-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_culinary-delights-cooking-class-and-market-tour.jpg" + }, + { + "name": "Art and Culture: Visit Local Galleries and Museums", + "description": "Delve into the artistic and cultural heritage of the Mosel Valley by exploring its charming galleries and museums. Discover a diverse range of art forms, from contemporary paintings and sculptures to historical artifacts and regional crafts. Immerse yourself in the creative spirit of the region and gain insights into its rich cultural tapestry.", + "locationName": "Various towns and villages along the Mosel River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "art-and-culture-visit-local-galleries-and-museums", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_art-and-culture-visit-local-galleries-and-museums.jpg" + }, + { + "name": "Stargazing on the Mosel", + "description": "Escape the city lights and experience the magic of the night sky over the Mosel Valley. Join a guided stargazing tour or find a secluded spot along the riverbank to marvel at the constellations. Learn about the mythology and science behind the stars, and enjoy the tranquility of the night.", + "locationName": "Various locations along the Mosel River", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "mosel-valley", + "ref": "stargazing-on-the-mosel", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_stargazing-on-the-mosel.jpg" + }, + { + "name": "Festival Fun: Experience Local Traditions", + "description": "Immerse yourself in the vibrant culture of the Mosel Valley by attending one of the many local festivals throughout the year. From wine festivals and harvest celebrations to traditional folk events and Christmas markets, there's always something happening in the region. Enjoy live music, delicious food, and a festive atmosphere as you experience the local traditions and customs.", + "locationName": "Various towns and villages along the Mosel River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mosel-valley", + "ref": "festival-fun-experience-local-traditions", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mosel-valley_festival-fun-experience-local-traditions.jpg" + }, + { + "name": "Sunrise over Bagan", + "description": "Witness the breathtaking sight of hundreds of ancient temples bathed in the golden glow of dawn. Take a hot air balloon ride or climb to the top of a temple for panoramic views of the plains dotted with these historical marvels. This unforgettable experience is a photographer's dream and a must-do for any visitor to Myanmar.", + "locationName": "Bagan Archaeological Zone", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "myanmar", + "ref": "sunrise-over-bagan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_sunrise-over-bagan.jpg" + }, + { + "name": "Explore Shwedagon Pagoda", + "description": "Immerse yourself in the spiritual heart of Myanmar at the iconic Shwedagon Pagoda. Marvel at the gold-plated stupa, adorned with thousands of diamonds and precious stones. Wander around the complex, observing locals in prayer and learning about Buddhist traditions. The serene atmosphere and intricate architecture offer a glimpse into Myanmar's rich religious heritage.", + "locationName": "Yangon", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "myanmar", + "ref": "explore-shwedagon-pagoda", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_explore-shwedagon-pagoda.jpg" + }, + { + "name": "Cruise the Irrawaddy River", + "description": "Embark on a scenic journey along the Irrawaddy River, the lifeblood of Myanmar. Sail past rural villages, verdant landscapes, and ancient temples. Opt for a multi-day cruise to explore remote areas and experience the local way of life. This relaxing adventure allows you to witness the beauty and cultural diversity of Myanmar from a unique perspective.", + "locationName": "Irrawaddy River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "myanmar", + "ref": "cruise-the-irrawaddy-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_cruise-the-irrawaddy-river.jpg" + }, + { + "name": "Trekking in Hsipaw", + "description": "Escape the tourist trail and venture into the scenic hills of Hsipaw. Embark on a multi-day trek through lush rice paddies, remote villages, and stunning waterfalls. Stay overnight in local homestays, experiencing the warm hospitality of the Shan people. This off-the-beaten-path adventure offers a unique insight into rural life in Myanmar.", + "locationName": "Hsipaw", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "myanmar", + "ref": "trekking-in-hsipaw", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_trekking-in-hsipaw.jpg" + }, + { + "name": "Discover Inle Lake", + "description": "Explore the serene beauty of Inle Lake, a vast freshwater lake surrounded by mountains and floating gardens. Take a boat trip to observe the unique leg-rowing fishermen and visit stilt villages where local artisans practice traditional crafts. Immerse yourself in the tranquility of this picturesque landscape and learn about the fascinating culture of the Intha people.", + "locationName": "Inle Lake", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "myanmar", + "ref": "discover-inle-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_discover-inle-lake.jpg" + }, + { + "name": "Visit the Golden Rock", + "description": "Embark on a pilgrimage to the Kyaiktiyo Pagoda, also known as the Golden Rock, a gravity-defying boulder covered in gold leaf and perched precariously on a cliff edge. The journey involves a truck ride up the mountain and a short walk to the pagoda, offering breathtaking views and a unique spiritual experience.", + "locationName": "Kyaiktiyo", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "myanmar", + "ref": "visit-the-golden-rock", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_visit-the-golden-rock.jpg" + }, + { + "name": "Explore Mandalay", + "description": "Discover the cultural heart of Myanmar in Mandalay. Visit the Royal Palace, climb Mandalay Hill for panoramic views, and explore the Kuthodaw Pagoda, home to the world's largest book. Immerse yourself in the local life at bustling markets and enjoy traditional puppet shows.", + "locationName": "Mandalay", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "myanmar", + "ref": "explore-mandalay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_explore-mandalay.jpg" + }, + { + "name": "Relax on Ngapali Beach", + "description": "Escape to the pristine shores of Ngapali Beach, known for its turquoise waters, soft sand, and swaying palm trees. Enjoy swimming, sunbathing, or simply unwinding with a good book. Indulge in fresh seafood at beachside restaurants and experience the laid-back charm of this coastal paradise.", + "locationName": "Ngapali Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "myanmar", + "ref": "relax-on-ngapali-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_relax-on-ngapali-beach.jpg" + }, + { + "name": "Trekking in Kalaw", + "description": "Embark on a scenic trek through the rolling hills and tribal villages surrounding Kalaw. Immerse yourself in the local culture, interact with ethnic minority communities, and witness breathtaking landscapes. Choose from various trekking routes and durations to suit your fitness level and interests.", + "locationName": "Kalaw", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "myanmar", + "ref": "trekking-in-kalaw", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_trekking-in-kalaw.jpg" + }, + { + "name": "Visit Mrauk U", + "description": "Step back in time at Mrauk U, an ancient city known for its remarkable temples and pagodas. Explore the archaeological wonders, wander through the atmospheric ruins, and discover the rich history of this once-powerful kingdom.", + "locationName": "Mrauk U", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "myanmar", + "ref": "visit-mrauk-u", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_visit-mrauk-u.jpg" + }, + { + "name": "Kayaking on Inle Lake", + "description": "Embark on a serene kayaking adventure on Inle Lake, gliding through the tranquil waters surrounded by floating gardens, stilt villages, and local fishermen practicing their unique leg-rowing technique. Witness the breathtaking scenery, observe the daily life of the Intha people, and immerse yourself in the peaceful atmosphere of this iconic lake.", + "locationName": "Inle Lake", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "myanmar", + "ref": "kayaking-on-inle-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_kayaking-on-inle-lake.jpg" + }, + { + "name": "Meditation Retreat in a Buddhist Monastery", + "description": "Find inner peace and tranquility with a meditation retreat at a traditional Buddhist monastery. Learn the art of mindfulness from experienced monks, participate in guided meditation sessions, and immerse yourself in the spiritual atmosphere of these sacred spaces. This experience offers a unique opportunity for self-reflection and personal growth.", + "locationName": "Various monasteries throughout Myanmar", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "myanmar", + "ref": "meditation-retreat-in-a-buddhist-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_meditation-retreat-in-a-buddhist-monastery.jpg" + }, + { + "name": "Hot Air Balloon Ride over Bagan", + "description": "Soar above the ancient temples of Bagan in a hot air balloon, witnessing the breathtaking panoramic views of the archaeological wonder at sunrise. Capture stunning aerial photographs of the pagodas and stupas as the golden light bathes the landscape, creating an unforgettable and magical experience.", + "locationName": "Bagan", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "myanmar", + "ref": "hot-air-balloon-ride-over-bagan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_hot-air-balloon-ride-over-bagan.jpg" + }, + { + "name": "Explore the Pindaya Caves", + "description": "Venture into the mystical Pindaya Caves, a labyrinthine network of caverns housing thousands of Buddha images. Marvel at the intricate carvings and sculptures, learn about the spiritual significance of the site, and experience the unique atmosphere of this hidden gem.", + "locationName": "Pindaya", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "myanmar", + "ref": "explore-the-pindaya-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_explore-the-pindaya-caves.jpg" + }, + { + "name": "Cooking Class with a Local Family", + "description": "Delve into the world of Burmese cuisine with a hands-on cooking class hosted by a local family. Learn the secrets of traditional dishes, discover the unique flavors and ingredients of Myanmar, and enjoy a delicious home-cooked meal with your hosts. This experience offers a glimpse into the local culture and culinary traditions.", + "locationName": "Various locations throughout Myanmar", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "myanmar", + "ref": "cooking-class-with-a-local-family", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_cooking-class-with-a-local-family.jpg" + }, + { + "name": "Volunteer at an Elephant Sanctuary", + "description": "Immerse yourself in the ethical treatment of elephants at a sanctuary like Green Hill Valley Elephant Camp. Observe these gentle giants in their natural habitat, learn about their care and conservation efforts, and even assist with feeding and bathing them. This heartwarming experience provides a responsible way to interact with elephants and support their well-being.", + "locationName": "Green Hill Valley Elephant Camp or similar sanctuaries", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "myanmar", + "ref": "volunteer-at-an-elephant-sanctuary", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_volunteer-at-an-elephant-sanctuary.jpg" + }, + { + "name": "Explore the Mergui Archipelago", + "description": "Embark on an island-hopping adventure through the untouched beauty of the Mergui Archipelago. Discover secluded beaches, snorkel in crystal-clear waters teeming with marine life, and kayak along pristine coastlines. This remote paradise offers a unique opportunity to escape the crowds and connect with nature's wonders.", + "locationName": "Mergui Archipelago", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "myanmar", + "ref": "explore-the-mergui-archipelago", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_explore-the-mergui-archipelago.jpg" + }, + { + "name": "Visit a Local Market", + "description": "Delve into the vibrant atmosphere of a local market, such as Bogyoke Aung San Market in Yangon. Browse through stalls overflowing with handcrafted souvenirs, textiles, jewelry, and fresh produce. Engage with friendly vendors, practice your bargaining skills, and discover unique treasures to take home.", + "locationName": "Bogyoke Aung San Market or other local markets", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "myanmar", + "ref": "visit-a-local-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_visit-a-local-market.jpg" + }, + { + "name": "Take a Burmese Cooking Class", + "description": "Learn the art of Burmese cuisine by taking a cooking class. Discover the unique flavors and spices used in traditional dishes, and master the techniques of creating popular recipes like Mohinga (fish noodle soup) or Lahpet Thoke (pickled tea leaf salad). This hands-on experience will tantalize your taste buds and leave you with newfound culinary skills.", + "locationName": "Various cooking schools or local homes", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "myanmar", + "ref": "take-a-burmese-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_take-a-burmese-cooking-class.jpg" + }, + { + "name": "Enjoy a Traditional Puppet Show", + "description": "Experience the magic of Burmese puppetry at a traditional show. Marvel at the intricate marionettes and their graceful movements as they depict ancient legends and folktales. This cultural performance offers a glimpse into Myanmar's rich artistic heritage and storytelling traditions.", + "locationName": "Htwe Oo Myanmar Puppet Theatre or other venues", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "myanmar", + "ref": "enjoy-a-traditional-puppet-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/myanmar_enjoy-a-traditional-puppet-show.jpg" + }, + { + "name": "Soak Up the Sun on Paradise Beach", + "description": "Spend a relaxing day on the golden sands of Paradise Beach, one of Mykonos' most famous and vibrant shores. Enjoy swimming in the crystal-clear turquoise waters, try exciting water sports like jet skiing or parasailing, or simply unwind on a sunbed with a refreshing cocktail from a beachfront bar. The lively atmosphere and stunning scenery make it a perfect beach escape.", + "locationName": "Paradise Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mykonos", + "ref": "soak-up-the-sun-on-paradise-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_soak-up-the-sun-on-paradise-beach.jpg" + }, + { + "name": "Explore the Picturesque Mykonos Town", + "description": "Wander through the charming labyrinthine streets of Mykonos Town, also known as Chora. Admire the iconic whitewashed houses with blue accents, discover hidden boutiques and art galleries, and visit historical landmarks like the windmills and the Paraportiani Church. Enjoy a delightful meal at a traditional taverna and soak up the vibrant atmosphere of this picturesque town.", + "locationName": "Mykonos Town (Chora)", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "mykonos", + "ref": "explore-the-picturesque-mykonos-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_explore-the-picturesque-mykonos-town.jpg" + }, + { + "name": "Experience the Legendary Mykonos Nightlife", + "description": "As the sun sets, immerse yourself in Mykonos' electrifying nightlife scene. Dance the night away at world-renowned beach clubs like Paradise Club or Cavo Paradiso, enjoy live music performances at bars and restaurants, or sip cocktails at chic lounge bars overlooking the Aegean Sea. Mykonos offers a diverse and unforgettable nightlife experience for every taste.", + "locationName": "Various locations in Mykonos", + "duration": 5, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "mykonos", + "ref": "experience-the-legendary-mykonos-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_experience-the-legendary-mykonos-nightlife.jpg" + }, + { + "name": "Discover Ancient Delos", + "description": "Embark on a historical journey to the nearby island of Delos, a UNESCO World Heritage Site and one of the most important archaeological sites in Greece. Explore the ancient ruins of temples, houses, and theaters, and learn about the island's rich history and mythology. Delos offers a fascinating glimpse into the past and a unique cultural experience.", + "locationName": "Delos Island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "mykonos", + "ref": "discover-ancient-delos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_discover-ancient-delos.jpg" + }, + { + "name": "Indulge in Delicious Greek Cuisine", + "description": "Tantalize your taste buds with the authentic flavors of Greek cuisine. Enjoy fresh seafood dishes at waterfront tavernas, savor traditional Greek specialties like moussaka and souvlaki, or indulge in gourmet dining experiences at upscale restaurants. Mykonos offers a wide range of culinary options to satisfy every palate.", + "locationName": "Various restaurants and tavernas in Mykonos", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "mykonos", + "ref": "indulge-in-delicious-greek-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_indulge-in-delicious-greek-cuisine.jpg" + }, + { + "name": "Set Sail on a Catamaran Cruise", + "description": "Embark on a luxurious catamaran cruise around the Aegean Sea, soaking in the breathtaking views of the coastline and nearby islands. Swim and snorkel in crystal-clear waters, bask in the sun on deck, and enjoy a delicious meal prepared on board. This is the perfect way to experience the beauty of Mykonos from a different perspective. #Beach #Island #Sailing #Luxury #Romantic #Family-friendly", + "locationName": "Mykonos Harbor", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "mykonos", + "ref": "set-sail-on-a-catamaran-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_set-sail-on-a-catamaran-cruise.jpg" + }, + { + "name": "Go Windsurfing or Kitesurfing at Kalafatis Beach", + "description": "Feel the adrenaline rush as you harness the power of the wind and glide across the waves. Kalafatis Beach is renowned for its ideal wind conditions, making it a haven for windsurfing and kitesurfing enthusiasts. Whether you're a beginner or an experienced rider, there are lessons and equipment rentals available to ensure an unforgettable experience. #Beach #Adventure #sports #Summer #destination", + "locationName": "Kalafatis Beach", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "mykonos", + "ref": "go-windsurfing-or-kitesurfing-at-kalafatis-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_go-windsurfing-or-kitesurfing-at-kalafatis-beach.jpg" + }, + { + "name": "Hike to the Armenistis Lighthouse", + "description": "Embark on a scenic hike to the historic Armenistis Lighthouse, offering panoramic views of the island and the Aegean Sea. The trail winds through rugged landscapes and charming villages, providing a glimpse into the island's natural beauty and local life. #Hiking #Off-the-beaten-path #Cultural #experiences #Great #for #photography #Instagrammable", + "locationName": "Fanari", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "mykonos", + "ref": "hike-to-the-armenistis-lighthouse", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_hike-to-the-armenistis-lighthouse.jpg" + }, + { + "name": "Visit the Monastery of Panagia Tourliani", + "description": "Step back in time at the Monastery of Panagia Tourliani, a beautiful example of Cycladic architecture dating back to the 16th century. Admire the intricate marble carvings, ornate iconostasis, and peaceful atmosphere of this historic religious site. #Historic #Cultural #experiences #Secluded", + "locationName": "Ano Mera village", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "mykonos", + "ref": "visit-the-monastery-of-panagia-tourliani", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_visit-the-monastery-of-panagia-tourliani.jpg" + }, + { + "name": "Take a Cooking Class and Learn to Make Traditional Greek Dishes", + "description": "Immerse yourself in the flavors of Greece by taking a cooking class and learning to prepare authentic dishes like moussaka, souvlaki, and baklava. Discover the secrets of Greek cuisine from local chefs and enjoy the fruits of your labor with a delicious meal. #Cultural #experiences #Foodie #Family-friendly", + "locationName": "Mykonos Town", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "mykonos", + "ref": "take-a-cooking-class-and-learn-to-make-traditional-greek-dishes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_take-a-cooking-class-and-learn-to-make-traditional-greek-dishes.jpg" + }, + { + "name": "Horseback Riding at Ano Mera", + "description": "Embark on a serene horseback riding adventure through the charming village of Ano Mera and its surrounding countryside. Experience the island's natural beauty from a unique perspective as you trot past traditional houses, olive groves, and hidden chapels. This activity is suitable for all skill levels and offers a peaceful escape from the bustling beaches.", + "locationName": "Ano Mera", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mykonos", + "ref": "horseback-riding-at-ano-mera", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_horseback-riding-at-ano-mera.jpg" + }, + { + "name": "Little Venice Sunset Stroll", + "description": "Capture the enchanting beauty of Little Venice, a picturesque neighborhood known for its colorful houses perched on the edge of the Aegean Sea. As the sun begins its descent, take a leisurely stroll along the waterfront, admiring the golden hues reflecting on the water and the charming architecture. Find a cozy spot to savor a glass of local wine and witness a breathtaking Mykonos sunset.", + "locationName": "Little Venice", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "mykonos", + "ref": "little-venice-sunset-stroll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_little-venice-sunset-stroll.jpg" + }, + { + "name": "Scuba Diving Adventure", + "description": "Dive into the crystal-clear waters surrounding Mykonos and discover a vibrant underwater world. Explore fascinating reefs, shipwrecks, and underwater caves teeming with marine life. Whether you're a seasoned diver or a beginner, there are numerous diving centers offering guided excursions and courses, allowing you to experience the thrill of exploring the Aegean Sea's hidden depths.", + "locationName": "Various diving centers around Mykonos", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "mykonos", + "ref": "scuba-diving-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_scuba-diving-adventure.jpg" + }, + { + "name": "Mykonos Farmers Market Visit", + "description": "Immerse yourself in the local culture and flavors at the Mykonos Farmers Market. Discover a vibrant array of fresh produce, local cheeses, honey, herbs, and handmade crafts. Engage with friendly vendors, sample delicious treats, and find unique souvenirs to take home. This is a perfect opportunity to experience the authentic side of Mykonos and support local businesses.", + "locationName": "Mykonos Town", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "mykonos", + "ref": "mykonos-farmers-market-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_mykonos-farmers-market-visit.jpg" + }, + { + "name": "Private Yacht Excursion to Rhenia Island", + "description": "Embark on a luxurious private yacht excursion to the secluded island of Rhenia. Escape the crowds and discover pristine beaches, turquoise waters, and unspoiled landscapes. Enjoy swimming, snorkeling, and sunbathing in complete privacy. Some excursions offer gourmet meals and water sports activities for an unforgettable day trip.", + "locationName": "Rhenia Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 5, + "destinationRef": "mykonos", + "ref": "private-yacht-excursion-to-rhenia-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_private-yacht-excursion-to-rhenia-island.jpg" + }, + { + "name": "Jeep Safari Adventure", + "description": "Embark on an exhilarating jeep safari tour that takes you off the beaten path to discover Mykonos' hidden gems. Traverse rugged terrains, visit secluded beaches, and witness breathtaking panoramic views of the island. This adventure offers a unique perspective of Mykonos beyond the typical tourist spots.", + "locationName": "Mykonos Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "mykonos", + "ref": "jeep-safari-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_jeep-safari-adventure.jpg" + }, + { + "name": "Wine Tasting at a Local Vineyard", + "description": "Indulge in the flavors of Mykonos with a visit to a local vineyard. Learn about the island's unique grape varieties and winemaking traditions while enjoying a guided tasting of their exquisite wines. Savor the distinct notes and aromas of Mykonos' wines amidst picturesque vineyard landscapes.", + "locationName": "Mykonos Vineyards", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "mykonos", + "ref": "wine-tasting-at-a-local-vineyard", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_wine-tasting-at-a-local-vineyard.jpg" + }, + { + "name": "Kayaking and Snorkeling Tour", + "description": "Explore the crystal-clear waters of Mykonos on a kayaking and snorkeling adventure. Paddle along the coastline, discovering hidden coves and beaches inaccessible by land. Dive beneath the surface to snorkel amidst vibrant marine life and explore the underwater world of the Aegean Sea.", + "locationName": "Mykonos Coastline", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "mykonos", + "ref": "kayaking-and-snorkeling-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_kayaking-and-snorkeling-tour.jpg" + }, + { + "name": "Sunset Yoga Session", + "description": "Find your inner peace and connect with nature during a magical sunset yoga session. Practice yoga poses on a secluded beach or a rooftop terrace overlooking the Aegean Sea as the sun dips below the horizon, painting the sky with vibrant hues. This experience offers a perfect blend of relaxation and rejuvenation.", + "locationName": "Various Locations", + "duration": 1.5, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 2, + "destinationRef": "mykonos", + "ref": "sunset-yoga-session", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_sunset-yoga-session.jpg" + }, + { + "name": "Art and Culture Tour", + "description": "Immerse yourself in the artistic and cultural heritage of Mykonos. Visit local art galleries showcasing works by renowned Greek artists, explore historical churches and archaeological sites, and discover the island's rich history and traditions through guided tours and interactive experiences.", + "locationName": "Mykonos Town and surrounding areas", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "mykonos", + "ref": "art-and-culture-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/mykonos_art-and-culture-tour.jpg" + }, + { + "name": "David Sheldrick Elephant Orphanage", + "description": "Witness the heartwarming efforts of this sanctuary as they care for orphaned baby elephants. Observe feeding time, learn about conservation efforts, and even foster an elephant.", + "locationName": "David Sheldrick Elephant Orphanage", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "david-sheldrick-elephant-orphanage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_david-sheldrick-elephant-orphanage.jpg" + }, + { + "name": "Karen Blixen Museum", + "description": "Step back in time at the former home of the famous author of 'Out of Africa.' Explore the colonial farmhouse, lush gardens, and coffee farm, and delve into Kenya's history.", + "locationName": "Karen Blixen Museum", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "karen-blixen-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_karen-blixen-museum.jpg" + }, + { + "name": "Nairobi National Park Safari", + "description": "Embark on a thrilling safari adventure just outside the city limits. Spot iconic African wildlife like lions, rhinos, giraffes, and zebras against the backdrop of the city skyline.", + "locationName": "Nairobi National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "nairobi", + "ref": "nairobi-national-park-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_nairobi-national-park-safari.jpg" + }, + { + "name": "Kazuri Beads Women's Cooperative", + "description": "Visit this inspiring workshop and witness the creation of beautiful handcrafted ceramic beads. Learn about the women's empowerment project and support local artisans by purchasing unique souvenirs.", + "locationName": "Kazuri Beads Women's Cooperative", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "nairobi", + "ref": "kazuri-beads-women-s-cooperative", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_kazuri-beads-women-s-cooperative.jpg" + }, + { + "name": "Carnivore Restaurant Experience", + "description": "Indulge in a unique dining experience at Carnivore, famed for its all-you-can-eat meat feast. Sample exotic meats like ostrich, crocodile, and camel, cooked over a charcoal grill.", + "locationName": "Carnivore Restaurant", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "nairobi", + "ref": "carnivore-restaurant-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_carnivore-restaurant-experience.jpg" + }, + { + "name": "Giraffe Centre", + "description": "Get up close and personal with endangered Rothschild's giraffes at the Giraffe Centre. You can feed them, learn about conservation efforts, and even kiss one if you're feeling adventurous! This is a perfect family-friendly activity that allows you to interact with these gentle giants in a safe and educational environment.", + "locationName": "Giraffe Centre", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "giraffe-centre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_giraffe-centre.jpg" + }, + { + "name": "Maasai Market", + "description": "Immerse yourself in the vibrant culture of the Maasai people at the Maasai Market. Browse through stalls overflowing with colorful handcrafted jewelry, textiles, and souvenirs. Bargaining is expected, so hone your negotiation skills and find unique treasures to take home.", + "locationName": "Various locations in Nairobi", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "maasai-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_maasai-market.jpg" + }, + { + "name": "Karura Forest", + "description": "Escape the city bustle and explore the serene Karura Forest. Hike or bike through the lush trails, discover hidden waterfalls, and visit the Mau Mau caves, which hold historical significance. This is a perfect escape for nature lovers and those seeking a moment of tranquility.", + "locationName": "Karura Forest", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "nairobi", + "ref": "karura-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_karura-forest.jpg" + }, + { + "name": "Bomas of Kenya", + "description": "Experience the diverse cultural heritage of Kenya at the Bomas of Kenya. Witness traditional dances, music performances, and homesteads representing different ethnic groups. It's an engaging and educational way to learn about the country's rich cultural tapestry.", + "locationName": "Bomas of Kenya", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "nairobi", + "ref": "bomas-of-kenya", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_bomas-of-kenya.jpg" + }, + { + "name": "Nairobi National Museum", + "description": "Delve into the history and art of Kenya at the Nairobi National Museum. Explore exhibits on archaeology, paleontology, and contemporary art. You can also visit the Snake Park within the museum grounds and see a variety of reptiles.", + "locationName": "Nairobi National Museum", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "nairobi-national-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_nairobi-national-museum.jpg" + }, + { + "name": "Hike Ngong Hills", + "description": "Embark on a scenic hike up the Ngong Hills, a series of rolling hills offering breathtaking panoramic views of the Great Rift Valley and the Nairobi skyline. Choose from various trails catering to different fitness levels, and enjoy a picnic lunch amidst the serene natural beauty.", + "locationName": "Ngong Hills", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "hike-ngong-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_hike-ngong-hills.jpg" + }, + { + "name": "Shop at the Maasai Market", + "description": "Immerse yourself in the vibrant atmosphere of the Maasai Market, a rotating market showcasing authentic Kenyan crafts and souvenirs. Find unique handmade jewelry, textiles, wood carvings, and more, while supporting local artisans and experiencing the rich cultural heritage of the Maasai people.", + "locationName": "Maasai Market (various locations)", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "nairobi", + "ref": "shop-at-the-maasai-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_shop-at-the-maasai-market.jpg" + }, + { + "name": "Visit the Kazuri Beads Women's Cooperative", + "description": "Discover the inspiring work of the Kazuri Beads Women's Cooperative, where disadvantaged women create beautiful handcrafted ceramic beads and pottery. Take a tour of the workshop, learn about the process, and purchase unique souvenirs while supporting women's empowerment and economic independence.", + "locationName": "Kazuri Beads Women's Cooperative", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "visit-the-kazuri-beads-women-s-cooperative", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_visit-the-kazuri-beads-women-s-cooperative.jpg" + }, + { + "name": "Experience Kenyan Cuisine", + "description": "Embark on a culinary journey through Kenyan cuisine, known for its diverse flavors and influences. Sample traditional dishes like nyama choma (grilled meat), ugali (maize porridge), and sukuma wiki (collard greens), and explore the vibrant street food scene or dine at upscale restaurants offering modern interpretations of Kenyan classics.", + "locationName": "Various restaurants and street food vendors", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "nairobi", + "ref": "experience-kenyan-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_experience-kenyan-cuisine.jpg" + }, + { + "name": "Enjoy Nairobi's Nightlife", + "description": "Experience the vibrant nightlife of Nairobi, with a diverse range of bars, clubs, and live music venues. Dance the night away to Afrobeat rhythms, enjoy live bands playing local and international music, or unwind with a cocktail at a rooftop bar overlooking the city skyline.", + "locationName": "Various bars, clubs, and live music venues", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "nairobi", + "ref": "enjoy-nairobi-s-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_enjoy-nairobi-s-nightlife.jpg" + }, + { + "name": "Hot Air Balloon Safari Over the Maasai Mara", + "description": "Embark on an unforgettable hot air balloon safari over the Maasai Mara National Reserve. Witness the breathtaking sunrise as you soar above the vast savanna, observing wildlife like lions, elephants, and giraffes in their natural habitat. Enjoy a champagne breakfast upon landing, creating a truly magical experience.", + "locationName": "Maasai Mara National Reserve", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "nairobi", + "ref": "hot-air-balloon-safari-over-the-maasai-mara", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_hot-air-balloon-safari-over-the-maasai-mara.jpg" + }, + { + "name": "Visit the Giraffe Manor", + "description": "Experience a unique stay at the Giraffe Manor, a charming boutique hotel known for its resident Rothschild giraffes. Enjoy breakfast or afternoon tea on the terrace as these gentle giants poke their heads through the windows, creating unforgettable memories and photo opportunities.", + "locationName": "Giraffe Manor", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "nairobi", + "ref": "visit-the-giraffe-manor", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_visit-the-giraffe-manor.jpg" + }, + { + "name": "Explore the Ngong Hills", + "description": "Embark on a scenic hike or bike ride through the Ngong Hills, a series of peaks offering panoramic views of the Great Rift Valley and Nairobi National Park. Enjoy the fresh air, diverse birdlife, and stunning landscapes, making it a perfect escape from the city.", + "locationName": "Ngong Hills", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "nairobi", + "ref": "explore-the-ngong-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_explore-the-ngong-hills.jpg" + }, + { + "name": "Discover Kenyan Art at the Nairobi Gallery", + "description": "Immerse yourself in Kenyan art and culture at the Nairobi Gallery. Housed in a historic building, the gallery showcases contemporary and traditional art pieces, sculptures, and photography. Learn about the country's rich artistic heritage and support local artists.", + "locationName": "Nairobi Gallery", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "nairobi", + "ref": "discover-kenyan-art-at-the-nairobi-gallery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_discover-kenyan-art-at-the-nairobi-gallery.jpg" + }, + { + "name": "Unwind at the Oloolua Nature Trail", + "description": "Escape the city bustle and reconnect with nature at the Oloolua Nature Trail. Hike through the lush indigenous forest, discover hidden waterfalls, and spot diverse bird species. Enjoy a peaceful picnic by the river, making it a perfect retreat for nature lovers.", + "locationName": "Oloolua Nature Trail", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "nairobi", + "ref": "unwind-at-the-oloolua-nature-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nairobi_unwind-at-the-oloolua-nature-trail.jpg" + }, + { + "name": "Etosha National Park Safari", + "description": "Embark on an unforgettable safari adventure in Etosha National Park, one of Africa's premier wildlife sanctuaries. Witness incredible biodiversity, including elephants, lions, rhinos, giraffes, and countless bird species, as you traverse the vast savannas and gather around watering holes. Capture stunning photographs and create lasting memories in this wildlife paradise.", + "locationName": "Etosha National Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "namibia", + "ref": "etosha-national-park-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_etosha-national-park-safari.jpg" + }, + { + "name": "Sossusvlei Dune Climbing and Deadvlei Exploration", + "description": "Challenge yourself with an exhilarating climb up the towering red sand dunes of Sossusvlei, some of the highest in the world. Marvel at the surreal landscapes of Deadvlei, a white clay pan dotted with ancient, skeletal camelthorn trees, creating a photographer's dream. Capture the contrasting colors and unique textures of this otherworldly desert environment.", + "locationName": "Sossusvlei and Deadvlei", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "namibia", + "ref": "sossusvlei-dune-climbing-and-deadvlei-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_sossusvlei-dune-climbing-and-deadvlei-exploration.jpg" + }, + { + "name": "Skeleton Coast Adventure", + "description": "Explore the rugged and remote Skeleton Coast, known for its shipwrecks, seal colonies, and desolate beauty. Embark on a guided tour to discover the history and stories behind the shipwrecks, observe the playful seals basking on the shores, and witness the raw power of the Atlantic Ocean crashing against the coastline.", + "locationName": "Skeleton Coast", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "namibia", + "ref": "skeleton-coast-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_skeleton-coast-adventure.jpg" + }, + { + "name": "Himba Cultural Experience", + "description": "Immerse yourself in the rich culture of the Himba people, a semi-nomadic tribe known for their unique traditions and distinctive appearance. Visit a Himba village and learn about their way of life, customs, and beliefs. Engage with the locals, witness their intricate hairstyles and jewelry, and gain a deeper understanding of their fascinating culture.", + "locationName": "Kaokoland", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "himba-cultural-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_himba-cultural-experience.jpg" + }, + { + "name": "Stargazing in the Namib Desert", + "description": "Experience the magic of the Namib Desert night sky, renowned for its exceptional clarity and minimal light pollution. Join a stargazing tour or simply lay back under the blanket of stars and marvel at the Milky Way, constellations, and celestial wonders. Learn about astronomy and constellations from expert guides or enjoy the tranquility of the desert night.", + "locationName": "Namib Desert", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "stargazing-in-the-namib-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_stargazing-in-the-namib-desert.jpg" + }, + { + "name": "Kayaking with Seals in Walvis Bay", + "description": "Embark on a thrilling kayaking adventure in the calm waters of Walvis Bay, where you'll have the opportunity to paddle alongside playful Cape fur seals. Witness these curious creatures up close as they swim, dive, and bask in the sun. This eco-friendly activity allows you to experience the marine life of Namibia in a unique and unforgettable way.", + "locationName": "Walvis Bay", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "namibia", + "ref": "kayaking-with-seals-in-walvis-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_kayaking-with-seals-in-walvis-bay.jpg" + }, + { + "name": "Quad Biking in the Namib Desert", + "description": "Experience the thrill of quad biking across the vast and scenic landscapes of the Namib Desert. Feel the adrenaline rush as you navigate the sandy terrain, surrounded by towering dunes and breathtaking views. This exhilarating activity is perfect for adventure seekers looking for an unforgettable desert experience.", + "locationName": "Namib Desert", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "namibia", + "ref": "quad-biking-in-the-namib-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_quad-biking-in-the-namib-desert.jpg" + }, + { + "name": "Sandboarding and Dune Skiing in Swakopmund", + "description": "Get your adrenaline pumping with sandboarding and dune skiing in the coastal town of Swakopmund. Glide down the steep slopes of the dunes, feeling the rush of wind against your face. Whether you're a beginner or an experienced thrill-seeker, this activity offers an exciting way to experience the unique desert landscape.", + "locationName": "Swakopmund", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "namibia", + "ref": "sandboarding-and-dune-skiing-in-swakopmund", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_sandboarding-and-dune-skiing-in-swakopmund.jpg" + }, + { + "name": "Explore the German Colonial Town of Lüderitz", + "description": "Step back in time with a visit to the charming coastal town of Lüderitz. Explore the well-preserved German colonial architecture, including the iconic Felsenkirche church perched on a rocky outcrop. Discover the town's rich history and enjoy the unique blend of German and Namibian culture.", + "locationName": "Lüderitz", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "explore-the-german-colonial-town-of-l-deritz", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_explore-the-german-colonial-town-of-l-deritz.jpg" + }, + { + "name": "Visit the Cheetah Conservation Fund", + "description": "Learn about cheetah conservation efforts at the Cheetah Conservation Fund, a research and education center dedicated to protecting these magnificent animals. Take a guided tour to observe cheetahs up close, learn about their behavior and threats they face, and support the organization's mission to ensure their survival in the wild.", + "locationName": "Cheetah Conservation Fund", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "visit-the-cheetah-conservation-fund", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_visit-the-cheetah-conservation-fund.jpg" + }, + { + "name": "Fish River Canyon Hiking", + "description": "Embark on a multi-day hiking adventure through the second largest canyon in the world, the Fish River Canyon. Hike along the rim, enjoying breathtaking views of the rugged landscape, or descend into the canyon for a challenging and rewarding experience. Camp under the stars and reconnect with nature in this awe-inspiring setting.", + "locationName": "Fish River Canyon", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "namibia", + "ref": "fish-river-canyon-hiking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_fish-river-canyon-hiking.jpg" + }, + { + "name": "Spitzkoppe Climbing and Camping", + "description": "Challenge yourself with rock climbing and bouldering on the granite peaks of Spitzkoppe, also known as the 'Matterhorn of Namibia'. With various routes for all skill levels, it's a paradise for climbers. Camp at the base and enjoy stunning sunsets and starry nights in this unique landscape.", + "locationName": "Spitzkoppe", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "namibia", + "ref": "spitzkoppe-climbing-and-camping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_spitzkoppe-climbing-and-camping.jpg" + }, + { + "name": "Cape Cross Seal Colony Visit", + "description": "Witness one of the largest colonies of Cape fur seals in the world at Cape Cross. Observe these fascinating creatures in their natural habitat, learn about their behavior and conservation efforts, and capture unforgettable photos of this wildlife spectacle.", + "locationName": "Cape Cross", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "cape-cross-seal-colony-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_cape-cross-seal-colony-visit.jpg" + }, + { + "name": "Twyfelfontein Rock Art Exploration", + "description": "Step back in time and explore the ancient rock engravings at Twyfelfontein, a UNESCO World Heritage Site. Discover thousands of petroglyphs depicting animals, human figures, and abstract designs, offering a glimpse into the lives and beliefs of early hunter-gatherer societies.", + "locationName": "Twyfelfontein", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "twyfelfontein-rock-art-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_twyfelfontein-rock-art-exploration.jpg" + }, + { + "name": "Kolmanskop Ghost Town Photography", + "description": "Explore the eerie abandoned diamond mining town of Kolmanskop, swallowed by the Namib Desert sands. Capture haunting images of the decaying buildings, once opulent homes and facilities, now reclaimed by nature. This unique location offers a photographer's dream with its contrasting colors and textures.", + "locationName": "Kolmanskop", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "kolmanskop-ghost-town-photography", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_kolmanskop-ghost-town-photography.jpg" + }, + { + "name": "Hot Air Balloon Safari over the Namib Desert", + "description": "Embark on an unforgettable hot air balloon safari over the mesmerizing Namib Desert. Drift silently above the towering dunes, witnessing the breathtaking landscapes bathed in the golden hues of sunrise. Spot wildlife from a unique perspective as you soar through the clear desert air, creating memories that will last a lifetime.", + "locationName": "Namib Desert", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "namibia", + "ref": "hot-air-balloon-safari-over-the-namib-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_hot-air-balloon-safari-over-the-namib-desert.jpg" + }, + { + "name": "Dolphin and Whale Watching Cruise", + "description": "Set sail on a thrilling marine adventure along the Namibian coast, where you can encounter playful dolphins and majestic whales. Witness these incredible creatures in their natural habitat as they breach, tail slap, and glide through the waves. Learn about marine conservation efforts and enjoy the fresh ocean breeze.", + "locationName": "Walvis Bay", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "namibia", + "ref": "dolphin-and-whale-watching-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_dolphin-and-whale-watching-cruise.jpg" + }, + { + "name": "Township Cultural Tour in Katutura", + "description": "Immerse yourself in the vibrant culture of Namibia's capital city with a township tour in Katutura. Interact with local residents, learn about their daily lives, and discover the rich history and traditions of the community. Visit local markets, sample traditional cuisine, and gain a deeper understanding of Namibian culture.", + "locationName": "Windhoek", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "namibia", + "ref": "township-cultural-tour-in-katutura", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_township-cultural-tour-in-katutura.jpg" + }, + { + "name": "Scenic Flight over the Skeleton Coast", + "description": "Take to the skies for a breathtaking scenic flight over the rugged Skeleton Coast. Marvel at the dramatic coastline, shipwrecks scattered along the shore, and vast seal colonies. Capture stunning aerial photographs of this unique and desolate landscape.", + "locationName": "Skeleton Coast", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "namibia", + "ref": "scenic-flight-over-the-skeleton-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_scenic-flight-over-the-skeleton-coast.jpg" + }, + { + "name": "Living Desert Tour", + "description": "Embark on a fascinating journey into the heart of the Namib Desert with a Living Desert Tour. Learn about the unique adaptations of desert flora and fauna, discover hidden creatures such as the dancing white lady spider and the palmato gecko, and gain a deeper appreciation for the delicate desert ecosystem.", + "locationName": "Namib Desert", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "namibia", + "ref": "living-desert-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/namibia_living-desert-tour.jpg" + }, + { + "name": "Wine Tasting Tour", + "description": "Embark on a delightful journey through Napa Valley's renowned wineries. Visit charming vineyards, learn about the winemaking process, and indulge in tastings of exquisite Cabernet Sauvignon, Chardonnay, and other varietals. Knowledgeable guides will share insights into the region's history and terroir, making it an unforgettable experience for wine enthusiasts.", + "locationName": "Various wineries throughout Napa Valley", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "napa-valley", + "ref": "wine-tasting-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_wine-tasting-tour.jpg" + }, + { + "name": "Gourmet Food Tour", + "description": "Tantalize your taste buds with a culinary adventure through Napa Valley's acclaimed restaurants. Sample delectable dishes prepared by renowned chefs, paired with local wines. Explore the vibrant culinary scene, from farm-to-table experiences to Michelin-starred establishments, and discover the region's gastronomic delights.", + "locationName": "Various restaurants in Napa Valley", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "napa-valley", + "ref": "gourmet-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_gourmet-food-tour.jpg" + }, + { + "name": "Hot Air Balloon Ride", + "description": "Soar above the picturesque vineyards of Napa Valley in a hot air balloon. Witness breathtaking panoramic views of rolling hills, sprawling estates, and the distant Mayacamas Mountains. Enjoy a serene and unforgettable experience as you float gently through the air, capturing stunning photos and creating lasting memories.", + "locationName": "Napa Valley Aloft or Balloons Above the Valley", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "napa-valley", + "ref": "hot-air-balloon-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_hot-air-balloon-ride.jpg" + }, + { + "name": "Napa Valley Wine Train", + "description": "Embark on a scenic and luxurious journey aboard the Napa Valley Wine Train. Travel through the heart of wine country in vintage Pullman cars, enjoying gourmet meals, fine wines, and breathtaking views of the vineyards. Choose from various themed tours, including murder mystery dinners and wine tasting experiences, for an unforgettable adventure.", + "locationName": "Napa Valley Wine Train", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "napa-valley", + "ref": "napa-valley-wine-train", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_napa-valley-wine-train.jpg" + }, + { + "name": "Spa Day and Wellness Retreat", + "description": "Indulge in a day of pampering and relaxation at one of Napa Valley's luxurious spa resorts. Enjoy rejuvenating treatments, such as massages, facials, and body wraps, amidst tranquil surroundings. Many resorts offer wellness programs, yoga classes, and fitness activities, allowing you to unwind and recharge in a serene environment.", + "locationName": "Various spa resorts in Napa Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "napa-valley", + "ref": "spa-day-and-wellness-retreat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_spa-day-and-wellness-retreat.jpg" + }, + { + "name": "Napa Valley Bike Tour", + "description": "Embark on a scenic bike tour through the rolling vineyards of Napa Valley. Pedal along quiet country roads, stopping at charming wineries for tastings and breathtaking views. Enjoy a picnic lunch amidst the vines, soaking up the fresh air and sunshine. This is a fantastic way to experience the beauty of the region at your own pace.", + "locationName": "Various vineyards and wineries throughout Napa Valley", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "napa-valley", + "ref": "napa-valley-bike-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_napa-valley-bike-tour.jpg" + }, + { + "name": "Culinary Class at the Culinary Institute of America", + "description": "Unleash your inner chef with a hands-on cooking class at the renowned Culinary Institute of America (CIA) at Greystone. Learn from world-class chefs and master new culinary techniques, creating delicious dishes using fresh, local ingredients. This immersive experience is perfect for food enthusiasts of all skill levels.", + "locationName": "Culinary Institute of America at Greystone", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "napa-valley", + "ref": "culinary-class-at-the-culinary-institute-of-america", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_culinary-class-at-the-culinary-institute-of-america.jpg" + }, + { + "name": "Kayaking on the Napa River", + "description": "Explore the tranquil beauty of the Napa River on a leisurely kayak adventure. Paddle through serene waters, surrounded by lush vineyards and rolling hills. Keep an eye out for wildlife like herons and egrets as you enjoy the peaceful ambiance of the valley from a unique perspective.", + "locationName": "Napa River", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "napa-valley", + "ref": "kayaking-on-the-napa-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_kayaking-on-the-napa-river.jpg" + }, + { + "name": "Uptown Theater Performance", + "description": "Experience the vibrant arts and culture scene of Napa Valley with a live performance at the historic Uptown Theater. Enjoy a variety of shows, from Broadway musicals and concerts to comedy acts and dance performances. This is a perfect evening activity for those seeking entertainment and a touch of sophistication.", + "locationName": "Uptown Theater, Napa", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "napa-valley", + "ref": "uptown-theater-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_uptown-theater-performance.jpg" + }, + { + "name": "Oxbow Public Market Exploration", + "description": "Indulge in a culinary adventure at the Oxbow Public Market, a vibrant marketplace showcasing the best of Napa Valley's artisanal food and wine. Sample local cheeses, charcuterie, fresh produce, and handcrafted chocolates. Discover unique gifts and souvenirs, or simply soak up the lively atmosphere of this foodie haven.", + "locationName": "Oxbow Public Market, Napa", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "napa-valley", + "ref": "oxbow-public-market-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_oxbow-public-market-exploration.jpg" + }, + { + "name": "Hiking Among the Vineyards", + "description": "Embark on a scenic hike through the rolling hills of Napa Valley, surrounded by picturesque vineyards. Trails like the Oat Hill Mine Trail offer stunning views and a chance to immerse yourself in the region's natural beauty.", + "locationName": "Oat Hill Mine Trail, Robert Louis Stevenson State Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "napa-valley", + "ref": "hiking-among-the-vineyards", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_hiking-among-the-vineyards.jpg" + }, + { + "name": "Napa Valley Wine Trolley", + "description": "Step back in time and explore Napa Valley in a replica of an iconic San Francisco cable car. The Napa Valley Wine Trolley offers a unique and charming way to visit different wineries, enjoying the scenery and learning about the region's history.", + "locationName": "Napa Valley Wine Trolley", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "napa-valley", + "ref": "napa-valley-wine-trolley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_napa-valley-wine-trolley.jpg" + }, + { + "name": "Castello di Amorosa", + "description": "Transport yourself to a medieval Tuscan castle at Castello di Amorosa. Explore the authentically-built 13th-century style castle, complete with a moat, drawbridge, and torture chamber. Enjoy a tour and wine tasting in this unique setting.", + "locationName": "Castello di Amorosa", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "napa-valley", + "ref": "castello-di-amorosa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_castello-di-amorosa.jpg" + }, + { + "name": "Beringer Vineyards Tour", + "description": "Delve into the history of California winemaking with a tour of Beringer Vineyards, the oldest continuously operating winery in Napa Valley. Explore the historic Rhine House, discover the aging caves, and indulge in a tasting of their renowned wines.", + "locationName": "Beringer Vineyards", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "napa-valley", + "ref": "beringer-vineyards-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_beringer-vineyards-tour.jpg" + }, + { + "name": "Hot Air Balloon Ride Over the Valley", + "description": "Soar above the breathtaking landscapes of Napa Valley in a hot air balloon. Witness the sunrise or sunset paint the vineyards in golden hues, and enjoy panoramic views of the entire region.", + "locationName": "Napa Valley Balloons, Inc.", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "napa-valley", + "ref": "hot-air-balloon-ride-over-the-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_hot-air-balloon-ride-over-the-valley.jpg" + }, + { + "name": "Napa Valley Aloft Balloon Rides", + "description": "Experience the breathtaking beauty of Napa Valley from a unique perspective with a hot air balloon ride. Drift silently over rolling vineyards, picturesque towns, and the stunning Napa River as the sun paints the sky with vibrant colors. This unforgettable adventure offers panoramic views and a sense of tranquility, making it a perfect romantic or special occasion activity.", + "locationName": "Napa Valley", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "napa-valley", + "ref": "napa-valley-aloft-balloon-rides", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_napa-valley-aloft-balloon-rides.jpg" + }, + { + "name": "Silverado Trail Scenic Drive", + "description": "Embark on a scenic drive along the historic Silverado Trail, a winding road that traverses the eastern side of Napa Valley. Discover hidden wineries, charming towns, and breathtaking vistas of vineyards and mountains. Stop at local farms and artisan shops along the way, or simply enjoy the peaceful drive through the countryside. This self-guided tour allows you to explore at your own pace and discover the hidden gems of Napa Valley.", + "locationName": "Silverado Trail", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "napa-valley", + "ref": "silverado-trail-scenic-drive", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_silverado-trail-scenic-drive.jpg" + }, + { + "name": "Bothe-Napa Valley State Park", + "description": "Escape the hustle and bustle of wine country and immerse yourself in nature at Bothe-Napa Valley State Park. Hike through redwood forests, explore scenic trails, or have a picnic by a babbling creek. The park offers a range of activities, including camping, swimming, and fishing, making it a perfect destination for outdoor enthusiasts and families.", + "locationName": "Bothe-Napa Valley State Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "napa-valley", + "ref": "bothe-napa-valley-state-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_bothe-napa-valley-state-park.jpg" + }, + { + "name": "Napa Valley Museum Yountville", + "description": "Delve into the rich history and culture of Napa Valley at the Napa Valley Museum Yountville. Explore exhibits showcasing the region's art, winemaking heritage, and the stories of the people who have shaped the valley. The museum offers a fascinating glimpse into the past and present of this iconic destination.", + "locationName": "Yountville", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "napa-valley", + "ref": "napa-valley-museum-yountville", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_napa-valley-museum-yountville.jpg" + }, + { + "name": "Live Music at Blue Note Napa", + "description": "Experience the vibrant nightlife of Napa Valley at the Blue Note Napa, a renowned jazz club. Enjoy live performances by world-class musicians while sipping on your favorite wine or cocktail. The intimate setting and exceptional acoustics create an unforgettable evening of entertainment.", + "locationName": "Napa", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "napa-valley", + "ref": "live-music-at-blue-note-napa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/napa-valley_live-music-at-blue-note-napa.jpg" + }, + { + "name": "Explore the French Quarter", + "description": "Wander through the charming streets of the French Quarter, the oldest neighborhood in New Orleans. Admire the French and Spanish colonial architecture, visit Jackson Square and St. Louis Cathedral, browse the shops and art galleries, and soak in the lively atmosphere.", + "locationName": "French Quarter", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-orleans", + "ref": "explore-the-french-quarter", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_explore-the-french-quarter.jpg" + }, + { + "name": "Indulge in a Culinary Adventure", + "description": "Embark on a delicious journey through New Orleans' renowned cuisine. Savor classic dishes like gumbo, jambalaya, and beignets. Explore local restaurants, cafes, and food markets to experience the unique flavors and spices of Creole and Cajun cooking.", + "locationName": "Various restaurants and cafes", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-orleans", + "ref": "indulge-in-a-culinary-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_indulge-in-a-culinary-adventure.jpg" + }, + { + "name": "Immerse in Jazz Music on Frenchmen Street", + "description": "Head to Frenchmen Street, a vibrant hub of live music venues. Experience the soulful sounds of New Orleans jazz, blues, and other genres. Enjoy the lively atmosphere, bar hop, and dance the night away.", + "locationName": "Frenchmen Street", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "new-orleans", + "ref": "immerse-in-jazz-music-on-frenchmen-street", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_immerse-in-jazz-music-on-frenchmen-street.jpg" + }, + { + "name": "Visit the Historic Cemeteries", + "description": "Explore the unique above-ground cemeteries of New Orleans, such as St. Louis Cemetery No. 1. Learn about the city's history, burial customs, and famous figures who are laid to rest there. Take a guided tour or wander through the hauntingly beautiful tombs.", + "locationName": "St. Louis Cemetery No. 1", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-orleans", + "ref": "visit-the-historic-cemeteries", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_visit-the-historic-cemeteries.jpg" + }, + { + "name": "Experience Mardi Gras", + "description": "If you're visiting during Mardi Gras season, immerse yourself in the festivities. Watch colorful parades, catch beads, and join the lively celebrations. Experience the unique traditions and costumes of this world-famous carnival.", + "locationName": "Various parade routes", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "new-orleans", + "ref": "experience-mardi-gras", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_experience-mardi-gras.jpg" + }, + { + "name": "Swamp Tour Adventure", + "description": "Embark on a thrilling swamp tour adventure just outside the city. Glide through the mysterious bayous on an airboat, encountering fascinating wildlife like alligators, turtles, and various bird species. Learn about the unique ecosystem and Cajun culture from experienced guides, making it an unforgettable experience for nature enthusiasts and adventure seekers.", + "locationName": "Various swamp tour operators outside New Orleans", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-orleans", + "ref": "swamp-tour-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_swamp-tour-adventure.jpg" + }, + { + "name": "St. Charles Streetcar Ride", + "description": "Take a nostalgic ride on the iconic St. Charles Streetcar, one of the oldest continuously operating streetcar lines in the world. Enjoy a scenic journey through the Garden District, admiring the historic mansions, oak-lined streets, and charming shops. It's a relaxing and affordable way to experience the city's beauty and history.", + "locationName": "St. Charles Avenue", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "new-orleans", + "ref": "st-charles-streetcar-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_st-charles-streetcar-ride.jpg" + }, + { + "name": "Explore the Garden District", + "description": "Wander through the picturesque Garden District, known for its elegant mansions, lush gardens, and historic architecture. Admire the antebellum homes, visit Lafayette Cemetery No. 1, and stroll along the charming streets. Discover hidden gems, antique shops, and local cafes for a delightful afternoon.", + "locationName": "Garden District", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-orleans", + "ref": "explore-the-garden-district", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_explore-the-garden-district.jpg" + }, + { + "name": "Catch a Show at Preservation Hall", + "description": "Experience the magic of traditional New Orleans jazz at Preservation Hall, a historic venue dedicated to preserving the city's musical heritage. Enjoy intimate performances by renowned jazz musicians in a cozy and authentic setting. It's a must-do for music lovers and a chance to immerse yourself in the soul of New Orleans.", + "locationName": "Preservation Hall", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "new-orleans", + "ref": "catch-a-show-at-preservation-hall", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_catch-a-show-at-preservation-hall.jpg" + }, + { + "name": "Visit the National WWII Museum", + "description": "Immerse yourself in history at the National WWII Museum, one of the top-rated museums in the country. Explore interactive exhibits, personal stories, and artifacts that showcase the American experience during World War II. Gain a deeper understanding of the war's impact and the sacrifices made by those who served.", + "locationName": "National WWII Museum", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "new-orleans", + "ref": "visit-the-national-wwii-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_visit-the-national-wwii-museum.jpg" + }, + { + "name": "Kayaking on Bayou St. John", + "description": "Escape the city bustle and embark on a serene kayaking adventure on Bayou St. John. Paddle through the calm waters, surrounded by lush greenery and charming historic homes. Keep an eye out for local wildlife like turtles, birds, and maybe even an alligator. This relaxing activity is perfect for nature lovers and offers a unique perspective of the city.", + "locationName": "Bayou St. John", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-orleans", + "ref": "kayaking-on-bayou-st-john", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_kayaking-on-bayou-st-john.jpg" + }, + { + "name": "Art Exploration in the Warehouse District", + "description": "Immerse yourself in New Orleans' vibrant art scene with a visit to the Warehouse District. Explore contemporary art galleries, studios, and museums, showcasing works by local and international artists. Discover unique pieces, attend art openings, and perhaps even meet some of the artists. This activity is perfect for art enthusiasts and offers a glimpse into the city's creative spirit.", + "locationName": "Warehouse District", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-orleans", + "ref": "art-exploration-in-the-warehouse-district", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_art-exploration-in-the-warehouse-district.jpg" + }, + { + "name": "Shopping Spree at the French Market", + "description": "Indulge in a shopping spree at the historic French Market, a vibrant open-air market dating back to the 18th century. Browse through a diverse array of stalls selling local crafts, souvenirs, antiques, clothing, and fresh produce. Enjoy live music, street performers, and delicious food options. This is a perfect place to find unique gifts and experience the local culture.", + "locationName": "French Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-orleans", + "ref": "shopping-spree-at-the-french-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_shopping-spree-at-the-french-market.jpg" + }, + { + "name": "Cocktail Tour and History", + "description": "Embark on a captivating cocktail tour that blends history and mixology. Learn about the origins and evolution of iconic New Orleans cocktails like the Sazerac and the Hurricane. Visit historic bars, hidden speakeasies, and modern craft cocktail lounges. Sip on expertly crafted drinks while discovering the stories and legends behind them. This is a perfect activity for cocktail enthusiasts and history buffs.", + "locationName": "French Quarter and surrounding areas", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "new-orleans", + "ref": "cocktail-tour-and-history", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_cocktail-tour-and-history.jpg" + }, + { + "name": "Day Trip to Oak Alley Plantation", + "description": "Step back in time with a day trip to Oak Alley Plantation, a historic sugar plantation renowned for its stunning avenue of live oak trees. Explore the beautifully preserved mansion, learn about the history of the plantation and the lives of enslaved people, and wander through the picturesque grounds. This is a captivating experience that offers a glimpse into Louisiana's complex past.", + "locationName": "Oak Alley Plantation (Vacherie, LA)", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-orleans", + "ref": "day-trip-to-oak-alley-plantation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_day-trip-to-oak-alley-plantation.jpg" + }, + { + "name": "Audubon Park Exploration", + "description": "Escape the city bustle and discover the serene beauty of Audubon Park. Rent a bike or stroll along the picturesque trails, have a picnic under the sprawling oak trees, or visit the Audubon Zoo to encounter exotic animals. Perfect for a relaxing afternoon amidst nature.", + "locationName": "Audubon Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-orleans", + "ref": "audubon-park-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_audubon-park-exploration.jpg" + }, + { + "name": "Steamboat Natchez Jazz Cruise", + "description": "Embark on a nostalgic journey aboard the Steamboat Natchez, a historic steamboat offering scenic cruises along the Mississippi River. Enjoy live jazz music, indulge in a delicious buffet, and admire breathtaking views of the city skyline. A perfect way to experience New Orleans' charm from a different perspective.", + "locationName": "Mississippi River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-orleans", + "ref": "steamboat-natchez-jazz-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_steamboat-natchez-jazz-cruise.jpg" + }, + { + "name": "Jackson Square and St. Louis Cathedral", + "description": "Step into the heart of the French Quarter and visit the iconic Jackson Square, a historic park surrounded by charming buildings and street performers. Explore the majestic St. Louis Cathedral, the oldest continuously active Roman Catholic cathedral in the United States, and admire its stunning architecture.", + "locationName": "Jackson Square", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "new-orleans", + "ref": "jackson-square-and-st-louis-cathedral", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_jackson-square-and-st-louis-cathedral.jpg" + }, + { + "name": "Magazine Street Shopping and Gallery Hopping", + "description": "Wander down the trendy Magazine Street and discover its eclectic mix of boutiques, art galleries, antique shops, and local restaurants. Find unique souvenirs, admire local artwork, or simply soak up the vibrant atmosphere of this popular shopping district.", + "locationName": "Magazine Street", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-orleans", + "ref": "magazine-street-shopping-and-gallery-hopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_magazine-street-shopping-and-gallery-hopping.jpg" + }, + { + "name": "Catch a Performance at Tipitina's", + "description": "Immerse yourself in the local music scene at Tipitina's, a legendary music venue known for hosting renowned musicians and showcasing the best of New Orleans' musical talent. Enjoy live performances ranging from jazz and blues to funk and rock, and experience the city's vibrant nightlife.", + "locationName": "Tipitina's", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "new-orleans", + "ref": "catch-a-performance-at-tipitina-s", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-orleans_catch-a-performance-at-tipitina-s.jpg" + }, + { + "name": "Hiking the Tongariro Alpine Crossing", + "description": "Embark on a challenging yet rewarding journey through volcanic landscapes on the Tongariro Alpine Crossing. Marvel at emerald lakes, volcanic craters, and panoramic views of the North Island.", + "locationName": "Tongariro National Park", + "duration": 7, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "new-zealand", + "ref": "hiking-the-tongariro-alpine-crossing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_hiking-the-tongariro-alpine-crossing.jpg" + }, + { + "name": "Exploring Waitomo Caves", + "description": "Descend into the magical world of Waitomo Caves and witness the mesmerizing glowworms illuminating the darkness. Take a boat ride through the Glowworm Grotto or opt for a thrilling black water rafting adventure.", + "locationName": "Waitomo", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-zealand", + "ref": "exploring-waitomo-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_exploring-waitomo-caves.jpg" + }, + { + "name": "Cruising Milford Sound", + "description": "Experience the awe-inspiring beauty of Milford Sound on a scenic cruise. Gaze upon towering waterfalls, dramatic cliffs, and lush rainforests as you navigate through this fiord carved by glaciers.", + "locationName": "Fiordland National Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-zealand", + "ref": "cruising-milford-sound", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_cruising-milford-sound.jpg" + }, + { + "name": "Whale Watching in Kaikoura", + "description": "Embark on an unforgettable whale watching tour in Kaikoura, renowned for its diverse marine life. Spot majestic sperm whales, playful dolphins, and graceful albatrosses.", + "locationName": "Kaikoura", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "new-zealand", + "ref": "whale-watching-in-kaikoura", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_whale-watching-in-kaikoura.jpg" + }, + { + "name": "Bungy Jumping in Queenstown", + "description": "Get your adrenaline pumping with a thrilling bungy jump in the adventure capital of Queenstown. Leap from iconic bridges or platforms and experience the ultimate rush.", + "locationName": "Queenstown", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "new-zealand", + "ref": "bungy-jumping-in-queenstown", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_bungy-jumping-in-queenstown.jpg" + }, + { + "name": "Kayaking in Abel Tasman National Park", + "description": "Embark on a kayaking adventure through the turquoise waters of Abel Tasman National Park. Paddle along the coastline, exploring hidden coves, secluded beaches, and encountering marine life such as seals and dolphins. This activity offers a unique perspective of the park's stunning scenery and is suitable for various skill levels.", + "locationName": "Abel Tasman National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-zealand", + "ref": "kayaking-in-abel-tasman-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_kayaking-in-abel-tasman-national-park.jpg" + }, + { + "name": "Stargazing in the Mackenzie Basin", + "description": "Experience the magic of the night sky in the Mackenzie Basin, renowned as one of the world's best stargazing destinations. The region's clear skies and minimal light pollution offer breathtaking views of the Milky Way, constellations, and even the Southern Lights. Join a guided tour or simply lie back and marvel at the celestial wonders above.", + "locationName": "Mackenzie Basin", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-zealand", + "ref": "stargazing-in-the-mackenzie-basin", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_stargazing-in-the-mackenzie-basin.jpg" + }, + { + "name": "Wine Tasting in Marlborough", + "description": "Indulge in the world-renowned wines of Marlborough, New Zealand's largest wine region. Visit picturesque vineyards, sample a variety of Sauvignon Blanc, Pinot Noir, and other varietals, and learn about the winemaking process from passionate local experts. Enjoy a gourmet lunch or cheese platter while savoring the flavors of the region.", + "locationName": "Marlborough", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "new-zealand", + "ref": "wine-tasting-in-marlborough", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_wine-tasting-in-marlborough.jpg" + }, + { + "name": "Rotorua Geothermal Parks", + "description": "Explore the geothermal wonders of Rotorua, a region famous for its geysers, mud pools, and hot springs. Witness the impressive Pohutu Geyser erupt, marvel at the colorful Champagne Pool, and experience the therapeutic benefits of a natural hot spring soak. Learn about the Maori culture and the geothermal forces that shaped the landscape.", + "locationName": "Rotorua", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-zealand", + "ref": "rotorua-geothermal-parks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_rotorua-geothermal-parks.jpg" + }, + { + "name": "Skiing or Snowboarding in Queenstown", + "description": "Hit the slopes of Queenstown, the adventure capital of New Zealand, and experience world-class skiing and snowboarding. The region boasts several ski resorts with diverse terrain for all skill levels, from gentle beginner slopes to challenging black runs. Enjoy breathtaking mountain views and après-ski activities in the vibrant town center.", + "locationName": "Queenstown", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "new-zealand", + "ref": "skiing-or-snowboarding-in-queenstown", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_skiing-or-snowboarding-in-queenstown.jpg" + }, + { + "name": "Black Water Rafting in Waitomo Caves", + "description": "Embark on a thrilling underground adventure with black water rafting in the Waitomo Caves. Float on an inner tube through the glowworm-lit caverns, rappel down waterfalls, and experience the unique beauty of this subterranean world. This is a perfect activity for those seeking an adrenaline rush and a memorable experience.", + "locationName": "Waitomo Caves", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "new-zealand", + "ref": "black-water-rafting-in-waitomo-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_black-water-rafting-in-waitomo-caves.jpg" + }, + { + "name": "Visit Hobbiton Movie Set", + "description": "Step into the enchanting world of Middle-earth with a visit to the Hobbiton Movie Set. Explore the charming hobbit holes, rolling green hills, and gardens of the Shire, as seen in the Lord of the Rings and The Hobbit films. This is a must-do for movie buffs and anyone who wants to experience a bit of magic.", + "locationName": "Matamata", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-zealand", + "ref": "visit-hobbiton-movie-set", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_visit-hobbiton-movie-set.jpg" + }, + { + "name": "Relax in the Polynesian Spa", + "description": "Indulge in a rejuvenating experience at the Polynesian Spa in Rotorua. Soak in the mineral-rich geothermal waters, enjoy a relaxing massage, and admire the stunning lakefront views. This is the perfect way to unwind and recharge after a day of exploring.", + "locationName": "Rotorua", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "new-zealand", + "ref": "relax-in-the-polynesian-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_relax-in-the-polynesian-spa.jpg" + }, + { + "name": "Take a Scenic Flight over Franz Josef Glacier", + "description": "Experience the breathtaking beauty of Franz Josef Glacier from above with a scenic helicopter flight. Soar over the ice formations, crevasses, and snow-capped peaks, and enjoy panoramic views of the Southern Alps. This is an unforgettable way to appreciate the scale and majesty of this natural wonder.", + "locationName": "Franz Josef Glacier", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "new-zealand", + "ref": "take-a-scenic-flight-over-franz-josef-glacier", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_take-a-scenic-flight-over-franz-josef-glacier.jpg" + }, + { + "name": "Learn About Maori Culture at the Te Papa Museum", + "description": "Immerse yourself in the rich culture and history of the Maori people at the Te Papa Museum in Wellington. Explore interactive exhibits, traditional artifacts, and contemporary art, and gain a deeper understanding of New Zealand's indigenous heritage. This is an enriching and educational experience for visitors of all ages.", + "locationName": "Wellington", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-zealand", + "ref": "learn-about-maori-culture-at-the-te-papa-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_learn-about-maori-culture-at-the-te-papa-museum.jpg" + }, + { + "name": "Caving Adventures in the Waitomo Region", + "description": "Embark on a thrilling caving expedition in the Waitomo region, renowned for its extensive network of limestone caves. Experience the mesmerizing glowworm caves, where thousands of tiny bioluminescent creatures illuminate the darkness. Alternatively, choose a more adventurous route with blackwater rafting, rappelling, or spelunking through hidden passages.", + "locationName": "Waitomo Caves", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "new-zealand", + "ref": "caving-adventures-in-the-waitomo-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_caving-adventures-in-the-waitomo-region.jpg" + }, + { + "name": "Dolphin and Seal Encounters in Kaikoura", + "description": "Kaikoura is a coastal town famous for its marine wildlife. Embark on a boat tour to witness playful dolphins leaping alongside the vessel, or observe the adorable fur seals basking on the rocky shores. You might even spot migrating whales, depending on the season. This experience offers a unique opportunity to connect with nature and appreciate the rich biodiversity of New Zealand's oceans.", + "locationName": "Kaikoura", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "new-zealand", + "ref": "dolphin-and-seal-encounters-in-kaikoura", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_dolphin-and-seal-encounters-in-kaikoura.jpg" + }, + { + "name": "Scenic Drives on the South Island", + "description": "Embark on a breathtaking road trip through the South Island, renowned for its dramatic landscapes. Cruise along the Great Coast Road, winding past rugged coastlines and charming seaside towns. Explore the picturesque Southern Scenic Route, traversing rolling hills, pristine lakes, and snow-capped mountains. Don't miss the Crown Range Road, offering panoramic views of the Queenstown region.", + "locationName": "South Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "new-zealand", + "ref": "scenic-drives-on-the-south-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_scenic-drives-on-the-south-island.jpg" + }, + { + "name": "Mountain Biking in the Redwoods", + "description": "Experience the thrill of mountain biking amidst the towering redwoods of Whakarewarewa Forest in Rotorua. Explore the extensive network of trails, catering to all skill levels. Glide through the lush forest, enjoying the fresh air and the unique atmosphere created by these ancient giants.", + "locationName": "Whakarewarewa Forest, Rotorua", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "new-zealand", + "ref": "mountain-biking-in-the-redwoods", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_mountain-biking-in-the-redwoods.jpg" + }, + { + "name": "Skydiving over Lake Taupo", + "description": "Take the plunge and experience the ultimate adrenaline rush with a skydiving adventure over the stunning Lake Taupo. Enjoy breathtaking panoramic views of the lake, volcanic landscapes, and the surrounding mountains as you freefall through the sky. This unforgettable experience is perfect for thrill-seekers and those looking for an unforgettable way to appreciate New Zealand's beauty.", + "locationName": "Lake Taupo", + "duration": 1, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "new-zealand", + "ref": "skydiving-over-lake-taupo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/new-zealand_skydiving-over-lake-taupo.jpg" + }, + { + "name": "Hike the East Coast Trail", + "description": "Embark on an unforgettable journey along the East Coast Trail, a network of coastal paths showcasing Newfoundland's dramatic scenery. Hike through rugged cliffs, secluded coves, and charming fishing villages, encountering breathtaking ocean views and diverse wildlife along the way. Choose from various trail sections, catering to different fitness levels and time constraints, and immerse yourself in the island's natural beauty.", + "locationName": "East Coast Trail", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "hike-the-east-coast-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_hike-the-east-coast-trail.jpg" + }, + { + "name": "Whale Watching Adventure", + "description": "Set sail on a thrilling whale watching excursion and witness the majestic giants of the sea in their natural habitat. Newfoundland's waters are teeming with humpback whales, minke whales, and even orcas. Experienced guides will lead you to prime viewing spots, providing insights into these fascinating creatures and the marine ecosystem. Capture unforgettable memories as you observe whales breaching, tail slapping, and socializing.", + "locationName": "Witless Bay Ecological Reserve", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "newfoundland", + "ref": "whale-watching-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_whale-watching-adventure.jpg" + }, + { + "name": "Explore Gros Morne National Park", + "description": "Discover the awe-inspiring landscapes of Gros Morne National Park, a UNESCO World Heritage Site. Hike through the towering Long Range Mountains, marvel at the majestic fjords of Western Brook Pond, and explore the unique Tablelands, a geological wonder showcasing the Earth's mantle. Engage in boat tours, kayaking adventures, or scenic drives, and immerse yourself in the park's rich natural and cultural heritage.", + "locationName": "Gros Morne National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "explore-gros-morne-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_explore-gros-morne-national-park.jpg" + }, + { + "name": "Experience the Culture of St. John's", + "description": "Immerse yourself in the vibrant culture of St. John's, Newfoundland's capital city. Explore the colorful houses of Jellybean Row, visit the historic Signal Hill National Historic Site, and delve into the exhibits at The Rooms, a cultural center showcasing the province's history and art. Enjoy live music at local pubs, savor fresh seafood delicacies, and experience the warmth and hospitality of the locals.", + "locationName": "St. John's", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "experience-the-culture-of-st-john-s", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_experience-the-culture-of-st-john-s.jpg" + }, + { + "name": "Puffin and Seabird Watching", + "description": "Embark on a delightful boat tour to witness the charming puffins and diverse seabird colonies that inhabit Newfoundland's coastal cliffs. Observe these adorable creatures up close as they nest, socialize, and soar through the air. Learn about their unique behaviors and the importance of conservation efforts, while enjoying the stunning coastal scenery and the refreshing sea breeze.", + "locationName": "Elliston, Bonavista Peninsula", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "puffin-and-seabird-watching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_puffin-and-seabird-watching.jpg" + }, + { + "name": "Kayaking Adventure in Witless Bay Ecological Reserve", + "description": "Embark on a guided kayaking tour through the pristine waters of Witless Bay Ecological Reserve. Witness breathtaking coastal scenery, encounter playful puffins and other seabirds, and possibly spot whales or dolphins. This eco-friendly activity allows you to connect with nature and experience the island's marine life up close.", + "locationName": "Witless Bay Ecological Reserve", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "newfoundland", + "ref": "kayaking-adventure-in-witless-bay-ecological-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_kayaking-adventure-in-witless-bay-ecological-reserve.jpg" + }, + { + "name": "Scuba Diving at Bell Island", + "description": "Dive into history and explore the underwater world surrounding Bell Island. Discover shipwrecks from World War II, including the SS Lord Strathcona and the SS Saganaga, and marvel at the diverse marine life that inhabits these artificial reefs. This unique diving experience offers a glimpse into the island's past and the beauty of its underwater ecosystems.", + "locationName": "Bell Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "newfoundland", + "ref": "scuba-diving-at-bell-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_scuba-diving-at-bell-island.jpg" + }, + { + "name": "Explore the Quidi Vidi Village and Brewery", + "description": "Step back in time and visit the charming Quidi Vidi Village, a historic fishing community near St. John's. Stroll through the colorful houses, browse local crafts, and enjoy fresh seafood at the waterfront restaurants. Don't miss a visit to the Quidi Vidi Brewery, where you can sample award-winning craft beers and learn about the brewing process.", + "locationName": "Quidi Vidi Village", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "explore-the-quidi-vidi-village-and-brewery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_explore-the-quidi-vidi-village-and-brewery.jpg" + }, + { + "name": "Journey to the Viking Settlement of L'Anse aux Meadows", + "description": "Travel back in time and discover the only authenticated Viking settlement in North America. Explore the reconstructed Norse buildings, learn about the lives of these early explorers, and imagine their journey across the Atlantic. This historical and archaeological site offers a fascinating glimpse into Newfoundland's rich past.", + "locationName": "L'Anse aux Meadows", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "newfoundland", + "ref": "journey-to-the-viking-settlement-of-l-anse-aux-meadows", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_journey-to-the-viking-settlement-of-l-anse-aux-meadows.jpg" + }, + { + "name": "Road Trip Along the Irish Loop", + "description": "Embark on a scenic road trip along the Irish Loop, a coastal route known for its breathtaking landscapes and charming villages. Visit the Colony of Avalon, a 17th-century English settlement, explore the Cape St. Mary's Ecological Reserve with its thousands of seabirds, and enjoy fresh seafood in the picturesque town of Ferryland.", + "locationName": "Irish Loop", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "road-trip-along-the-irish-loop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_road-trip-along-the-irish-loop.jpg" + }, + { + "name": "Boat Tour of the Iceberg Alley", + "description": "Embark on a breathtaking boat tour along Iceberg Alley, where you can witness the majestic beauty of icebergs up close. Marvel at these colossal giants as they drift down from the Arctic, creating a surreal and unforgettable experience.", + "locationName": "Iceberg Alley (various departure points)", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "newfoundland", + "ref": "boat-tour-of-the-iceberg-alley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_boat-tour-of-the-iceberg-alley.jpg" + }, + { + "name": "Attend a Traditional Kitchen Party", + "description": "Immerse yourself in the lively spirit of Newfoundland culture by attending a traditional kitchen party. Enjoy toe-tapping music, lively dancing, and warm hospitality as locals share stories, songs, and laughter. This is a perfect opportunity to experience the genuine warmth and friendliness of the Newfoundland people.", + "locationName": "Various locations throughout Newfoundland", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "attend-a-traditional-kitchen-party", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_attend-a-traditional-kitchen-party.jpg" + }, + { + "name": "Explore the Bonavista Peninsula", + "description": "Discover the scenic beauty and rich history of the Bonavista Peninsula. Visit charming coastal towns like Trinity and Bonavista, where you can explore historic sites, enjoy local seafood, and witness stunning ocean views. Keep an eye out for puffins and other seabirds that inhabit the area.", + "locationName": "Bonavista Peninsula", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "explore-the-bonavista-peninsula", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_explore-the-bonavista-peninsula.jpg" + }, + { + "name": "Go Fishing in a Remote Outport", + "description": "Experience the traditional way of life in a remote Newfoundland outport by joining a local fishing excursion. Learn about the fishing industry, try your hand at catching cod or other species, and enjoy the tranquility of the surrounding ocean.", + "locationName": "Various outport communities", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "newfoundland", + "ref": "go-fishing-in-a-remote-outport", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_go-fishing-in-a-remote-outport.jpg" + }, + { + "name": "Visit Signal Hill National Historic Site", + "description": "Explore Signal Hill National Historic Site, a landmark overlooking St. John's harbor. Learn about the site's rich history, including its role in transatlantic communication and wartime defense. Enjoy panoramic views of the city and surrounding coastline.", + "locationName": "St. John's", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "newfoundland", + "ref": "visit-signal-hill-national-historic-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_visit-signal-hill-national-historic-site.jpg" + }, + { + "name": "Berry Picking Adventure", + "description": "Embark on a delightful journey through Newfoundland's wild landscapes, foraging for delicious berries like blueberries, partridgeberries, and bakeapples. Immerse yourself in the island's natural beauty while enjoying a unique and rewarding experience. Perfect for families and nature enthusiasts, berry picking offers a taste of Newfoundland's bounty and a chance to connect with the land.", + "locationName": "Various locations across the island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "newfoundland", + "ref": "berry-picking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_berry-picking-adventure.jpg" + }, + { + "name": "Geological Wonders Tour", + "description": "Explore the fascinating geological formations of Newfoundland, from the ancient rock formations of Gros Morne National Park to the dramatic cliffs of the Bonavista Peninsula. Discover the island's unique geological history, learn about plate tectonics, and marvel at the forces that have shaped this incredible landscape. This tour is perfect for those interested in science, nature, and the wonders of the Earth.", + "locationName": "Gros Morne National Park, Bonavista Peninsula", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "geological-wonders-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_geological-wonders-tour.jpg" + }, + { + "name": "Sea Kayaking Along the Coast", + "description": "Embark on a serene sea kayaking adventure along Newfoundland's stunning coastline. Paddle through crystal-clear waters, explore hidden coves, and admire the rugged cliffs and picturesque fishing villages. Keep an eye out for marine life such as whales, seals, and seabirds. This activity is perfect for those seeking a peaceful and immersive experience in nature.", + "locationName": "Various coastal locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "newfoundland", + "ref": "sea-kayaking-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_sea-kayaking-along-the-coast.jpg" + }, + { + "name": "Discover the Arts and Crafts Scene", + "description": "Immerse yourself in Newfoundland's vibrant arts and crafts scene. Visit local studios and galleries, meet talented artists, and discover unique handcrafted treasures. From pottery and paintings to textiles and woodwork, you'll find a diverse range of artistic expressions that reflect the island's rich culture and heritage. This activity is perfect for art lovers and those seeking unique souvenirs.", + "locationName": "St. John's, Twillingate, Trinity", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "newfoundland", + "ref": "discover-the-arts-and-crafts-scene", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_discover-the-arts-and-crafts-scene.jpg" + }, + { + "name": "Indulge in a Traditional Newfoundland Feast", + "description": "Treat your taste buds to a traditional Newfoundland feast, savoring local delicacies such as Jiggs dinner, fish and brewis, toutons, and cod tongues. Experience the unique flavors of the island's cuisine and learn about the culinary traditions that have been passed down through generations. This activity is perfect for foodies and those seeking an authentic cultural experience.", + "locationName": "Various restaurants across the island", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "newfoundland", + "ref": "indulge-in-a-traditional-newfoundland-feast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/newfoundland_indulge-in-a-traditional-newfoundland-feast.jpg" + }, + { + "name": "Surf the Pacific Coast", + "description": "Experience the thrill of riding the waves on Nicaragua's Pacific coast, renowned for its world-class surfing conditions. Whether you're a seasoned pro or a beginner, there are breaks suitable for all levels. Popular spots like San Juan del Sur and Popoyo offer consistent swells and a vibrant surf culture.", + "locationName": "San Juan del Sur or Popoyo", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "nicaragua", + "ref": "surf-the-pacific-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_surf-the-pacific-coast.jpg" + }, + { + "name": "Explore Colonial Granada", + "description": "Step back in time and wander through the charming streets of Granada, one of the oldest colonial cities in Central America. Admire the colorful architecture, visit historic churches and convents, and soak up the vibrant atmosphere of this cultural gem.", + "locationName": "Granada", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nicaragua", + "ref": "explore-colonial-granada", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_explore-colonial-granada.jpg" + }, + { + "name": "Kayak on Lake Nicaragua", + "description": "Embark on a peaceful kayaking adventure on the vast Lake Nicaragua, the largest lake in Central America. Paddle through calm waters, surrounded by stunning scenery and diverse wildlife. Explore the numerous islands dotting the lake, including Ometepe, known for its twin volcanoes and unique ecosystem.", + "locationName": "Lake Nicaragua", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "nicaragua", + "ref": "kayak-on-lake-nicaragua", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_kayak-on-lake-nicaragua.jpg" + }, + { + "name": "Hike in the Cloud Forest of Reserva Natural Miraflor", + "description": "Immerse yourself in the lush beauty of the cloud forest at Reserva Natural Miraflor. Hike through trails teeming with diverse flora and fauna, including orchids, monkeys, and birds. Enjoy breathtaking views of the surrounding mountains and learn about the conservation efforts protecting this unique ecosystem.", + "locationName": "Reserva Natural Miraflor", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "nicaragua", + "ref": "hike-in-the-cloud-forest-of-reserva-natural-miraflor", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_hike-in-the-cloud-forest-of-reserva-natural-miraflor.jpg" + }, + { + "name": "Snorkel or Scuba Dive the Corn Islands", + "description": "Discover the vibrant underwater world of the Corn Islands, located off Nicaragua's Caribbean coast. With pristine coral reefs teeming with colorful fish and diverse marine life, these islands offer an unforgettable experience for both beginner and experienced snorkelers and scuba divers.", + "locationName": "Corn Islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "nicaragua", + "ref": "snorkel-or-scuba-dive-the-corn-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_snorkel-or-scuba-dive-the-corn-islands.jpg" + }, + { + "name": "Visit the Masaya Volcano National Park", + "description": "Embark on a thrilling journey to Masaya Volcano National Park, home to an active volcano with a mesmerizing lava lake. Witness the raw power of nature and explore the volcanic craters, lava tubes, and diverse ecosystems within the park. For an extra special experience, visit at night to see the glowing lava.", + "locationName": "Masaya Volcano National Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nicaragua", + "ref": "visit-the-masaya-volcano-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_visit-the-masaya-volcano-national-park.jpg" + }, + { + "name": "Indulge in a Culinary Tour of Leon", + "description": "Embark on a delectable culinary adventure through the vibrant city of Leon. Sample traditional Nicaraguan dishes like vigoron, nacatamal, and quesillos, and discover the rich flavors and culinary heritage of the region. Explore local markets, street food stalls, and family-run restaurants to experience the authentic tastes of Nicaragua.", + "locationName": "Leon", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "nicaragua", + "ref": "indulge-in-a-culinary-tour-of-leon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_indulge-in-a-culinary-tour-of-leon.jpg" + }, + { + "name": "Relax at the Apoyo Lagoon", + "description": "Escape to the serene beauty of Apoyo Lagoon, a volcanic crater lake known for its crystal-clear waters and tranquil atmosphere. Enjoy swimming, kayaking, or simply lounging by the lakeshore surrounded by lush vegetation. Several eco-lodges and resorts offer stunning views and opportunities for relaxation and rejuvenation.", + "locationName": "Apoyo Lagoon", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "nicaragua", + "ref": "relax-at-the-apoyo-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_relax-at-the-apoyo-lagoon.jpg" + }, + { + "name": "Go Birdwatching in the Indio Maiz Biological Reserve", + "description": "Immerse yourself in the rich biodiversity of the Indio Maiz Biological Reserve, a pristine rainforest teeming with exotic birdlife. Embark on a guided birdwatching tour and spot toucans, macaws, parrots, and numerous other species in their natural habitat. The reserve also offers opportunities for wildlife viewing, hiking, and exploring the rainforest ecosystem.", + "locationName": "Indio Maiz Biological Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "nicaragua", + "ref": "go-birdwatching-in-the-indio-maiz-biological-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_go-birdwatching-in-the-indio-maiz-biological-reserve.jpg" + }, + { + "name": "Horseback Riding through the Countryside", + "description": "Embark on a scenic horseback riding adventure through the Nicaraguan countryside. Explore rolling hills, lush farmlands, and charming villages, all while enjoying the fresh air and stunning natural beauty. This activity is perfect for nature lovers and those seeking a peaceful escape.", + "locationName": "Various locations throughout Nicaragua", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nicaragua", + "ref": "horseback-riding-through-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_horseback-riding-through-the-countryside.jpg" + }, + { + "name": "Sunset Catamaran Cruise", + "description": "Set sail on a romantic catamaran cruise and witness the breathtaking beauty of a Nicaraguan sunset over the Pacific Ocean. Enjoy the gentle sea breeze, sip on refreshing cocktails, and savor delicious appetizers as the sky transforms into a canvas of vibrant colors.", + "locationName": "Pacific Coast", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "nicaragua", + "ref": "sunset-catamaran-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_sunset-catamaran-cruise.jpg" + }, + { + "name": "Learn to Surf at a Surf Camp", + "description": "Catch some waves and learn to surf at a renowned surf camp along Nicaragua's Pacific coast. With experienced instructors and ideal conditions, you'll be riding the waves in no time. This activity is perfect for adventure seekers and those looking to try something new.", + "locationName": "San Juan del Sur or other surf spots", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "nicaragua", + "ref": "learn-to-surf-at-a-surf-camp", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_learn-to-surf-at-a-surf-camp.jpg" + }, + { + "name": "Visit the Flor de Caña Rum Distillery", + "description": "Take a tour of the Flor de Caña Rum Distillery and discover the secrets behind Nicaragua's most famous rum. Learn about the rum-making process, from sugarcane cultivation to distillation and aging, and enjoy a tasting of their premium rums.", + "locationName": "Chichigalpa", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "nicaragua", + "ref": "visit-the-flor-de-ca-a-rum-distillery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_visit-the-flor-de-ca-a-rum-distillery.jpg" + }, + { + "name": "Shop for Local Crafts at the Masaya Artisan Market", + "description": "Immerse yourself in the vibrant atmosphere of the Masaya Artisan Market and discover a treasure trove of locally made crafts. From handcrafted pottery and textiles to intricate wood carvings and jewelry, you'll find unique souvenirs and gifts to take home.", + "locationName": "Masaya", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "nicaragua", + "ref": "shop-for-local-crafts-at-the-masaya-artisan-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_shop-for-local-crafts-at-the-masaya-artisan-market.jpg" + }, + { + "name": "White-Water Rafting on the Rio San Juan", + "description": "Embark on an exhilarating white-water rafting adventure down the Rio San Juan, a stunning river that forms part of the border between Nicaragua and Costa Rica. Navigate through lush rainforests, spot diverse wildlife, and experience the thrill of rapids as you paddle downstream. This activity is perfect for adventure seekers and nature lovers.", + "locationName": "Rio San Juan", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "nicaragua", + "ref": "white-water-rafting-on-the-rio-san-juan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_white-water-rafting-on-the-rio-san-juan.jpg" + }, + { + "name": "Explore the Ruins of Leon Viejo", + "description": "Step back in time and discover the fascinating ruins of Leon Viejo, the original site of Nicaragua's first capital city. Founded in 1524 and later abandoned due to volcanic activity, the ruins offer a glimpse into the colonial past. Explore the excavated buildings, learn about the city's history, and enjoy panoramic views of the surrounding landscape.", + "locationName": "Leon Viejo", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nicaragua", + "ref": "explore-the-ruins-of-leon-viejo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_explore-the-ruins-of-leon-viejo.jpg" + }, + { + "name": "Take a Chocolate Making Class", + "description": "Indulge your sweet tooth and discover the art of chocolate making with a hands-on workshop. Learn about the history of cacao in Nicaragua, participate in the bean-to-bar process, and create your own delicious chocolate treats to take home. This activity is perfect for families and foodies alike.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "nicaragua", + "ref": "take-a-chocolate-making-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_take-a-chocolate-making-class.jpg" + }, + { + "name": "Go Stargazing in the Dark Sky Reserves", + "description": "Escape the city lights and experience the magic of stargazing in one of Nicaragua's dark sky reserves. With minimal light pollution, these reserves offer breathtaking views of the Milky Way and constellations. Join a guided tour or venture out on your own for a truly awe-inspiring experience.", + "locationName": "Isla de Ometepe or other dark sky reserves", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "nicaragua", + "ref": "go-stargazing-in-the-dark-sky-reserves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_go-stargazing-in-the-dark-sky-reserves.jpg" + }, + { + "name": "Visit the Somoto Canyon National Monument", + "description": "Explore the hidden gem of Somoto Canyon National Monument, a stunning natural wonder with towering cliffs, crystal-clear waters, and diverse wildlife. Hike along the canyon rim, take a refreshing dip in the river, or go rock climbing for an adrenaline rush. This off-the-beaten-path destination offers a unique and unforgettable experience.", + "locationName": "Somoto Canyon National Monument", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "nicaragua", + "ref": "visit-the-somoto-canyon-national-monument", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/nicaragua_visit-the-somoto-canyon-national-monument.jpg" + }, + { + "name": "Yellow Water Cruise", + "description": "Embark on a serene sunrise or sunset cruise across the Yellow Water billabong, a haven for diverse wildlife. Witness saltwater crocodiles basking in the sun, colorful birds soaring overhead, and vibrant lotus flowers adorning the water's surface. Knowledgeable guides share insights into the ecosystem and Aboriginal culture, making it a captivating experience for all ages.", + "locationName": "Yellow Water", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "northern-territory", + "ref": "yellow-water-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_yellow-water-cruise.jpg" + }, + { + "name": "Nourlangie Rock Art Walk", + "description": "Step back in time and explore the ancient Aboriginal rock art galleries of Nourlangie Rock. Marvel at the intricate paintings that depict creation stories, animals, and traditional ways of life. Learn about the significance of these sites to the Aboriginal people and gain a deeper understanding of their connection to the land.", + "locationName": "Nourlangie Rock", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "northern-territory", + "ref": "nourlangie-rock-art-walk", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_nourlangie-rock-art-walk.jpg" + }, + { + "name": "Jim Jim Falls Hike and Swim", + "description": "Embark on a moderately challenging hike through monsoon forests to reach the magnificent Jim Jim Falls. Be rewarded with breathtaking views of the cascading waterfall and a refreshing dip in the plunge pool below. This adventure is perfect for those seeking an active experience amidst stunning natural beauty.", + "locationName": "Jim Jim Falls", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "northern-territory", + "ref": "jim-jim-falls-hike-and-swim", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_jim-jim-falls-hike-and-swim.jpg" + }, + { + "name": "Gunlom Plunge Pool Experience", + "description": "Take a scenic drive and short hike to discover the Gunlom Plunge Pool, a natural infinity pool with panoramic views of the surrounding landscape. Relax in the crystal-clear waters, soak up the sun, and enjoy a picnic lunch amidst the tranquil ambiance. The perfect escape for a relaxing afternoon.", + "locationName": "Gunlom Falls", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "northern-territory", + "ref": "gunlom-plunge-pool-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_gunlom-plunge-pool-experience.jpg" + }, + { + "name": "Warradjan Cultural Centre", + "description": "Immerse yourself in Aboriginal culture at the Warradjan Cultural Centre. Explore exhibits showcasing traditional art, artifacts, and stories of the Bininj/Mungguy people. Learn about their customs, beliefs, and connection to the land. The center also offers workshops and demonstrations, providing a deeper understanding of Aboriginal heritage.", + "locationName": "Bowali Visitor Centre", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "northern-territory", + "ref": "warradjan-cultural-centre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_warradjan-cultural-centre.jpg" + }, + { + "name": "Maguk Gorge Hike and Swim", + "description": "Embark on a scenic hike through monsoon rainforest to reach the secluded Maguk Gorge. Cool off with a refreshing dip in the crystal-clear plunge pool beneath the cascading waterfall. The trail offers stunning views of the surrounding escarpment and the opportunity to spot unique wildlife.", + "locationName": "Maguk", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "northern-territory", + "ref": "maguk-gorge-hike-and-swim", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_maguk-gorge-hike-and-swim.jpg" + }, + { + "name": "Cahill's Crossing Lookout", + "description": "Witness the thrilling spectacle of saltwater crocodiles at Cahill's Crossing. From the safety of the viewing platform, observe these powerful creatures as they gather to hunt for fish during the changing tides. This is a prime location for wildlife photography and an unforgettable experience.", + "locationName": "Cahill's Crossing", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "northern-territory", + "ref": "cahill-s-crossing-lookout", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_cahill-s-crossing-lookout.jpg" + }, + { + "name": "Ubirr Rock Art and Sunset Viewing", + "description": "Discover the ancient Aboriginal rock art galleries at Ubirr, showcasing thousands of years of cultural heritage. Ascend the rocky outcrop for panoramic views of the Nadab floodplain and witness a breathtaking sunset over the vast landscape. This combination of cultural immersion and natural beauty is truly unforgettable.", + "locationName": "Ubirr", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "northern-territory", + "ref": "ubirr-rock-art-and-sunset-viewing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_ubirr-rock-art-and-sunset-viewing.jpg" + }, + { + "name": "Mamukala Wetlands Birdwatching", + "description": "Explore the Mamukala Wetlands, a haven for birdwatchers. Home to a diverse range of waterbirds, including magpie geese, jacanas, and comb-crested jacanas, this is a paradise for nature enthusiasts. Enjoy the serenity of the wetlands while observing these feathered creatures in their natural habitat.", + "locationName": "Mamukala Wetlands", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "northern-territory", + "ref": "mamukala-wetlands-birdwatching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_mamukala-wetlands-birdwatching.jpg" + }, + { + "name": "Nighttime Wildlife Spotting Tour", + "description": "Embark on a guided nocturnal adventure to discover the fascinating creatures that come alive after dark. Spot nocturnal wildlife like owls, possums, and bandicoots with the help of experienced guides. This unique tour offers a glimpse into the hidden world of Kakadu's nighttime ecosystem.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "northern-territory", + "ref": "nighttime-wildlife-spotting-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_nighttime-wildlife-spotting-tour.jpg" + }, + { + "name": "Barramundi Fishing Adventure", + "description": "Embark on an exhilarating fishing expedition in the heart of Kakadu. Join experienced local guides who will lead you to prime fishing spots, where you'll have the opportunity to cast your line for the iconic barramundi, a prized catch known for its fighting spirit. Whether you're a seasoned angler or a beginner, this adventure promises excitement and a chance to connect with the region's abundant aquatic life.", + "locationName": "Various waterways within Kakadu National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "northern-territory", + "ref": "barramundi-fishing-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_barramundi-fishing-adventure.jpg" + }, + { + "name": "4WD Off-Road Exploration", + "description": "Venture off the beaten path and discover the rugged beauty of Kakadu's outback on an exhilarating 4WD tour. Traverse through diverse landscapes, from floodplains and woodlands to rocky escarpments, as you encounter hidden waterfalls, ancient rock art sites, and breathtaking panoramic views. This adventure offers a unique perspective of the park's vastness and remoteness.", + "locationName": "Various off-road tracks within Kakadu National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "northern-territory", + "ref": "4wd-off-road-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_4wd-off-road-exploration.jpg" + }, + { + "name": "Bush Tucker Walk and Aboriginal Culture", + "description": "Immerse yourself in the rich cultural heritage of Kakadu's Aboriginal people with a guided bush tucker walk. Learn about traditional uses of native plants for food, medicine, and tools, and gain insights into the deep connection between the land and its people. This experience provides a unique opportunity to appreciate the cultural significance of Kakadu and its ancient traditions.", + "locationName": "Various locations within Kakadu National Park", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "northern-territory", + "ref": "bush-tucker-walk-and-aboriginal-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_bush-tucker-walk-and-aboriginal-culture.jpg" + }, + { + "name": "Scenic Helicopter Flight", + "description": "Soar above the breathtaking landscapes of Kakadu on a scenic helicopter flight. Witness the grandeur of cascading waterfalls, sandstone escarpments, and vast floodplains from a unique aerial perspective. Capture stunning panoramic views and create unforgettable memories as you explore the park's diverse ecosystems and iconic landmarks.", + "locationName": "Various locations within Kakadu National Park", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "northern-territory", + "ref": "scenic-helicopter-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_scenic-helicopter-flight.jpg" + }, + { + "name": "Stargazing and Astronomy Tour", + "description": "Escape the city lights and embark on a magical stargazing adventure in the pristine night sky of Kakadu. Join an expert astronomer who will guide you through the constellations, planets, and celestial wonders visible in the Southern Hemisphere. Learn about Aboriginal astronomy and the significance of the stars in their culture, while marveling at the beauty of the cosmos.", + "locationName": "Various locations within Kakadu National Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "northern-territory", + "ref": "stargazing-and-astronomy-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_stargazing-and-astronomy-tour.jpg" + }, + { + "name": "Indigenous Art Workshops", + "description": "Immerse yourself in the rich artistic traditions of Kakadu's Aboriginal people by participating in an Indigenous art workshop. Learn about the symbolism behind traditional dot paintings and rock art, and create your own masterpiece using natural pigments and techniques passed down through generations.", + "locationName": "Various art centres within the park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "northern-territory", + "ref": "indigenous-art-workshops", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_indigenous-art-workshops.jpg" + }, + { + "name": "Bush Tucker Foraging and Cooking Experience", + "description": "Embark on a guided journey through the bush to discover the edible plants and fruits that have sustained Aboriginal people for millennia. Learn about traditional foraging methods and the medicinal properties of native flora, and then participate in a cooking demonstration to savor the unique flavors of bush tucker.", + "locationName": "Various locations within the park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "northern-territory", + "ref": "bush-tucker-foraging-and-cooking-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_bush-tucker-foraging-and-cooking-experience.jpg" + }, + { + "name": "Kakadu Photography Tour", + "description": "Capture the stunning landscapes and unique wildlife of Kakadu on a photography tour led by a professional photographer. Learn about composition, lighting, and wildlife photography techniques, and receive expert guidance on capturing the essence of this remarkable national park.", + "locationName": "Various locations within the park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "northern-territory", + "ref": "kakadu-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_kakadu-photography-tour.jpg" + }, + { + "name": "Yellow Water Billabong Sunset Cruise", + "description": "Experience the magic of a Kakadu sunset on a tranquil cruise through the Yellow Water Billabong. As the sun dips below the horizon, witness the abundant wildlife come alive, including crocodiles, birds, and wallabies. Enjoy the serenity of the wetlands and the vibrant colors of the evening sky.", + "locationName": "Yellow Water Billabong", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "northern-territory", + "ref": "yellow-water-billabong-sunset-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_yellow-water-billabong-sunset-cruise.jpg" + }, + { + "name": "Arnhem Land Day Trip", + "description": "Venture beyond Kakadu National Park on a day trip to Arnhem Land, a vast Aboriginal reserve with restricted access. Immerse yourself in the rich culture and traditions of the Yolngu people, learn about their ancient rock art, and witness traditional ceremonies and dances.", + "locationName": "Arnhem Land", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "northern-territory", + "ref": "arnhem-land-day-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/northern-territory_arnhem-land-day-trip.jpg" + }, + { + "name": "Explore Monte Albán", + "description": "Step back in time at Monte Albán, a UNESCO World Heritage Site and ancient Zapotec capital. Marvel at the impressive pyramids, temples, and plazas that offer panoramic views of the Oaxaca Valley. Learn about the fascinating history and culture of this pre-Columbian civilization.", + "locationName": "Monte Albán Archaeological Site", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "oaxaca", + "ref": "explore-monte-alb-n", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_explore-monte-alb-n.jpg" + }, + { + "name": "Wander Through the Mercado 20 de Noviembre and Benito Juárez Markets", + "description": "Immerse yourself in the vibrant atmosphere of Oaxaca's bustling markets. Browse through a colorful array of handicrafts, textiles, ceramics, and local produce. Savor the aromas of Oaxacan cuisine and sample traditional delicacies like chapulines (grasshoppers) and tejate (a pre-Hispanic drink).", + "locationName": "Mercado 20 de Noviembre and Benito Juárez Markets", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "wander-through-the-mercado-20-de-noviembre-and-benito-ju-rez-markets", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_wander-through-the-mercado-20-de-noviembre-and-benito-ju-rez-markets.jpg" + }, + { + "name": "Discover the Tule Tree", + "description": "Visit the Árbol del Tule, a majestic cypress tree with one of the stoutest trunks in the world. Admire its immense size and unique shape, and learn about its cultural significance to the local community.", + "locationName": "Santa María del Tule", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "oaxaca", + "ref": "discover-the-tule-tree", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_discover-the-tule-tree.jpg" + }, + { + "name": "Delve into Oaxacan Cuisine", + "description": "Embark on a culinary journey and discover the rich flavors of Oaxacan cuisine. Take a cooking class to learn the secrets of mole negro, tlayudas, and other regional specialties. Visit traditional restaurants and mezcalerias to savor authentic dishes and sample the smoky notes of mezcal.", + "locationName": "Various locations throughout Oaxaca", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "oaxaca", + "ref": "delve-into-oaxacan-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_delve-into-oaxacan-cuisine.jpg" + }, + { + "name": "Experience the Guelaguetza Festival", + "description": "If you're visiting Oaxaca in July, don't miss the Guelaguetza festival, a vibrant celebration of indigenous culture. Witness traditional dances, music, and costumes from different regions of Oaxaca. Immerse yourself in the festive atmosphere and learn about the state's diverse heritage.", + "locationName": "Auditorio Guelaguetza", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "oaxaca", + "ref": "experience-the-guelaguetza-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_experience-the-guelaguetza-festival.jpg" + }, + { + "name": "Hike Hierve el Agua", + "description": "Embark on a scenic hike to Hierve el Agua, a mesmerizing natural wonder with petrified waterfalls and mineral-rich pools. Enjoy breathtaking views of the surrounding valleys and take a refreshing dip in the pools known for their therapeutic properties.", + "locationName": "Hierve el Agua", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "oaxaca", + "ref": "hike-hierve-el-agua", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_hike-hierve-el-agua.jpg" + }, + { + "name": "Visit Teotitlán del Valle", + "description": "Immerse yourself in the rich textile traditions of Oaxaca with a visit to Teotitlán del Valle, a village renowned for its hand-woven rugs and tapestries. Witness skilled artisans using natural dyes and traditional techniques to create intricate designs, and perhaps even purchase a unique piece to take home.", + "locationName": "Teotitlán del Valle", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "visit-teotitl-n-del-valle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_visit-teotitl-n-del-valle.jpg" + }, + { + "name": "Explore Mitla Archaeological Site", + "description": "Step back in time at the Mitla archaeological site, known for its intricate mosaics and geometric designs. Explore the ancient Zapotec city, admire the impressive architecture, and learn about the fascinating history and culture of the region.", + "locationName": "Mitla", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "explore-mitla-archaeological-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_explore-mitla-archaeological-site.jpg" + }, + { + "name": "Go Mezcal Tasting", + "description": "Indulge in the smoky flavors of mezcal, a traditional Oaxacan spirit made from agave. Visit a local palenque (distillery) to learn about the production process, from harvesting the agave to the distillation methods, and enjoy a guided tasting of different mezcal varieties.", + "locationName": "Various Palenques", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "oaxaca", + "ref": "go-mezcal-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_go-mezcal-tasting.jpg" + }, + { + "name": "Catch a Performance at Teatro Macedonio Alcalá", + "description": "Experience the cultural vibrancy of Oaxaca with a performance at the Teatro Macedonio Alcalá, a stunning neoclassical theater. Enjoy a variety of shows, including traditional dance, music concerts, and theatrical productions, showcasing the artistic talents of the region.", + "locationName": "Teatro Macedonio Alcalá", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "oaxaca", + "ref": "catch-a-performance-at-teatro-macedonio-alcal-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_catch-a-performance-at-teatro-macedonio-alcal-.jpg" + }, + { + "name": "Mountain Biking in the Sierra Norte", + "description": "Embark on an exhilarating mountain biking adventure through the stunning landscapes of the Sierra Norte mountains. Explore rugged trails, dense forests, and charming villages while enjoying breathtaking views. This activity is perfect for thrill-seekers and nature enthusiasts looking for an active and immersive experience.", + "locationName": "Sierra Norte Mountains", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "oaxaca", + "ref": "mountain-biking-in-the-sierra-norte", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_mountain-biking-in-the-sierra-norte.jpg" + }, + { + "name": "Relax at Hierve el Agua", + "description": "Unwind and rejuvenate at Hierve el Agua, a natural wonder with petrified waterfalls and mineral-rich pools. Take a dip in the warm waters, enjoy the panoramic views, and experience the unique geological formations. This is a perfect spot to relax, soak up the sun, and connect with nature.", + "locationName": "Hierve el Agua", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "relax-at-hierve-el-agua", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_relax-at-hierve-el-agua.jpg" + }, + { + "name": "Visit the Santo Domingo Cultural Center", + "description": "Immerse yourself in Oaxacan art and history at the Santo Domingo Cultural Center. Explore the stunning 16th-century Santo Domingo de Guzmán church, admire the intricate Baroque architecture, and visit the Oaxaca Cultures Museum to discover the region's rich cultural heritage.", + "locationName": "Santo Domingo Cultural Center", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "visit-the-santo-domingo-cultural-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_visit-the-santo-domingo-cultural-center.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Learn the secrets of Oaxacan cuisine by taking a cooking class. Discover the traditional ingredients and techniques used to prepare iconic dishes like mole, tlayudas, and tamales. This hands-on experience is perfect for food enthusiasts who want to delve deeper into the culinary traditions of Oaxaca.", + "locationName": "Various locations in Oaxaca City", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "oaxaca", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_take-a-cooking-class.jpg" + }, + { + "name": "Explore the Ruins of Yagul", + "description": "Step back in time at the archaeological site of Yagul, a UNESCO World Heritage Site. Explore the ancient Zapotec city, including palaces, temples, and ball courts. Discover the fascinating history and culture of this pre-Columbian civilization while enjoying panoramic views of the surrounding valley.", + "locationName": "Yagul Archaeological Site", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "explore-the-ruins-of-yagul", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_explore-the-ruins-of-yagul.jpg" + }, + { + "name": "Horseback Riding in the Countryside", + "description": "Embark on a scenic horseback riding adventure through the picturesque Oaxacan countryside. Traverse rolling hills, agave fields, and charming villages, immersing yourself in the natural beauty and rural life of the region. This activity is suitable for all skill levels, offering a unique perspective on the landscape and a chance to connect with nature.", + "locationName": "Oaxacan Countryside", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "oaxaca", + "ref": "horseback-riding-in-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_horseback-riding-in-the-countryside.jpg" + }, + { + "name": "Birdwatching in the Sierra Norte", + "description": "Discover the rich avian diversity of the Sierra Norte mountains on a guided birdwatching tour. Explore cloud forests and diverse ecosystems, spotting endemic species and migratory birds. Learn about the region's conservation efforts and the importance of preserving these natural habitats. This activity is perfect for nature enthusiasts and photographers seeking to capture the beauty of Oaxaca's feathered residents.", + "locationName": "Sierra Norte Mountains", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "birdwatching-in-the-sierra-norte", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_birdwatching-in-the-sierra-norte.jpg" + }, + { + "name": "Sunset at the Cerro del Fortín", + "description": "Ascend the Cerro del Fortín, a hilltop overlooking the city of Oaxaca, and witness a breathtaking sunset. Enjoy panoramic views of the city, surrounding valleys, and distant mountains as the sky transforms with vibrant colors. This romantic and picturesque spot is ideal for capturing memorable photos and enjoying a peaceful moment.", + "locationName": "Cerro del Fortín", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "oaxaca", + "ref": "sunset-at-the-cerro-del-fort-n", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_sunset-at-the-cerro-del-fort-n.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Escape the city lights and embark on a stargazing adventure in the Oaxacan desert. With minimal light pollution, the night sky comes alive with countless stars, constellations, and celestial wonders. Join a guided tour or find a secluded spot to marvel at the vastness of the universe and learn about the constellations visible from this region.", + "locationName": "Oaxacan Desert", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "oaxaca", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_stargazing-in-the-desert.jpg" + }, + { + "name": "Temazcal Ceremony", + "description": "Participate in a traditional Temazcal ceremony, a pre-Hispanic steam bath ritual used for physical and spiritual purification. Enter a dome-shaped structure and experience the healing properties of herbs and steam. This ancient practice is led by a shaman and offers a unique opportunity to connect with indigenous traditions and promote well-being.", + "locationName": "Various Locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "oaxaca", + "ref": "temazcal-ceremony", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oaxaca_temazcal-ceremony.jpg" + }, + { + "name": "Mokoro Safari", + "description": "Embark on a serene mokoro excursion through the tranquil waterways of the Okavango Delta. Glide past papyrus reeds and water lilies as you observe elephants bathing, hippos wallowing, and crocodiles basking in the sun. Your experienced poler will navigate the channels, sharing their knowledge of the delta's ecosystem and its inhabitants.", + "locationName": "Okavango Delta", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "okavango-delta", + "ref": "mokoro-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_mokoro-safari.jpg" + }, + { + "name": "Bush Walks and Wildlife Tracking", + "description": "Venture into the heart of the delta on a guided bush walk, accompanied by skilled trackers. Learn to identify animal tracks, interpret their behavior, and discover the intricate relationships within the ecosystem. Spot giraffes gracefully browsing on acacia leaves, zebras grazing in the open plains, and perhaps even lions resting in the shade.", + "locationName": "Moremi Game Reserve", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "bush-walks-and-wildlife-tracking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_bush-walks-and-wildlife-tracking.jpg" + }, + { + "name": "Scenic Helicopter Flight", + "description": "Soar above the sprawling Okavango Delta in a helicopter, gaining a breathtaking aerial perspective of its vastness and intricate network of waterways. Witness the mosaic of islands, floodplains, and forests, and marvel at the herds of elephants, buffalo, and antelope roaming freely below.", + "locationName": "Various locations", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "scenic-helicopter-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_scenic-helicopter-flight.jpg" + }, + { + "name": "Birdwatching Expedition", + "description": "Join a dedicated birdwatching tour to discover the Okavango Delta's incredible avian diversity. With over 400 species recorded, you'll encounter a kaleidoscope of colors and calls. Spot fish eagles soaring overhead, malachite kingfishers perched on reeds, and African jacanas delicately walking on lily pads.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "okavango-delta", + "ref": "birdwatching-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_birdwatching-expedition.jpg" + }, + { + "name": "Fishing in the Delta", + "description": "Cast your line into the pristine waters of the Okavango Delta and try your hand at catching tigerfish, bream, and catfish. Whether you're an experienced angler or a novice, fishing in this unique environment is an unforgettable experience.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "okavango-delta", + "ref": "fishing-in-the-delta", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_fishing-in-the-delta.jpg" + }, + { + "name": "Horseback Safari", + "description": "Embark on a unique safari experience on horseback, allowing you to get closer to nature and observe wildlife from a different perspective. Traverse the diverse landscapes of the delta, from floodplains to islands, and encounter animals like zebras, giraffes, and antelopes in their natural habitat. Experienced guides will ensure your safety and provide insights into the ecosystem.", + "locationName": "Okavango Delta", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "horseback-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_horseback-safari.jpg" + }, + { + "name": "Stargazing Cruise", + "description": "Escape the city lights and embark on a magical stargazing cruise along the tranquil waterways of the delta. With minimal light pollution, the night sky comes alive with a breathtaking display of stars and constellations. Expert guides will share their knowledge of astronomy, while you enjoy the serenity of the surroundings.", + "locationName": "Okavango Delta", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "okavango-delta", + "ref": "stargazing-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_stargazing-cruise.jpg" + }, + { + "name": "Cultural Village Visit", + "description": "Immerse yourself in the rich cultural heritage of the local communities by visiting a traditional village. Interact with villagers, learn about their customs and way of life, and witness demonstrations of traditional crafts, music, and dance. This experience offers a unique opportunity to gain a deeper understanding of the delta's cultural significance.", + "locationName": "Local village", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "okavango-delta", + "ref": "cultural-village-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_cultural-village-visit.jpg" + }, + { + "name": "Hot Air Balloon Ride", + "description": "Soar above the breathtaking landscapes of the Okavango Delta in a hot air balloon. Witness the vastness of the delta from a unique aerial perspective, as you drift over floodplains, islands, and channels teeming with wildlife. Enjoy the tranquility of the early morning or the golden hues of sunset, creating unforgettable memories.", + "locationName": "Okavango Delta", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "hot-air-balloon-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_hot-air-balloon-ride.jpg" + }, + { + "name": "Photography Safari", + "description": "Capture the beauty of the Okavango Delta through the lens of your camera on a dedicated photography safari. Accompanied by experienced guides and professional photographers, you'll have the opportunity to learn advanced photography techniques and capture stunning images of wildlife, landscapes, and local cultures.", + "locationName": "Okavango Delta", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "photography-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_photography-safari.jpg" + }, + { + "name": "Quad Biking Adventure", + "description": "Embark on an exhilarating quad biking adventure through the diverse terrain of the Okavango Delta. Traverse sandy tracks, splash through shallow waters, and navigate lush vegetation as you explore the wilderness on four wheels. This thrilling experience offers a unique perspective of the delta's landscapes and the chance to encounter wildlife in their natural habitat.", + "locationName": "Various locations within the delta", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "okavango-delta", + "ref": "quad-biking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_quad-biking-adventure.jpg" + }, + { + "name": "Traditional Village Immersion", + "description": "Immerse yourself in the rich culture of the Okavango Delta by visiting a local village. Interact with the friendly residents, learn about their customs and traditions, and gain insights into their daily lives. Participate in activities such as basket weaving, traditional dancing, or storytelling, and discover the authentic essence of the delta's communities.", + "locationName": "Local villages within or near the delta", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "okavango-delta", + "ref": "traditional-village-immersion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_traditional-village-immersion.jpg" + }, + { + "name": "Scenic Boat Cruise", + "description": "Embark on a serene boat cruise along the tranquil waterways of the Okavango Delta. Relax and soak in the breathtaking scenery as you glide past lush vegetation, papyrus-lined channels, and islands teeming with wildlife. Keep an eye out for elephants, hippos, crocodiles, and a variety of bird species, all while enjoying the peaceful ambiance of the delta.", + "locationName": "Various locations within the delta", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "okavango-delta", + "ref": "scenic-boat-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_scenic-boat-cruise.jpg" + }, + { + "name": "Bush Camping Experience", + "description": "Spend a night under the stars with a thrilling bush camping experience in the heart of the Okavango Delta. Set up camp in a secluded location, surrounded by the sights and sounds of the African wilderness. Enjoy a campfire dinner, listen to the nocturnal sounds of the bush, and wake up to the stunning sunrise over the delta.", + "locationName": "Designated campsites within the delta", + "duration": 24, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "bush-camping-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_bush-camping-experience.jpg" + }, + { + "name": "Wildlife Photography Workshop", + "description": "Join a wildlife photography workshop led by experienced professionals and capture stunning images of the Okavango Delta's diverse fauna. Learn valuable techniques for photographing animals in their natural habitat, including composition, lighting, and patience. This workshop is perfect for photography enthusiasts of all levels who want to improve their skills and create lasting memories of their safari adventure.", + "locationName": "Various locations within the delta", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "okavango-delta", + "ref": "wildlife-photography-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_wildlife-photography-workshop.jpg" + }, + { + "name": "Sleep-Out Under the Stars", + "description": "Embark on an unforgettable overnight adventure sleeping under the vast African sky. Enjoy a delicious bush dinner prepared over an open fire, share stories with your guide, and fall asleep to the symphony of nocturnal wildlife. Wake up to a breathtaking sunrise and the sounds of the delta coming to life.", + "locationName": "Remote island in the delta", + "duration": 24, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "sleep-out-under-the-stars", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_sleep-out-under-the-stars.jpg" + }, + { + "name": "Community-Based Tourism Experience", + "description": "Immerse yourself in the local culture and traditions by visiting a nearby village. Interact with community members, learn about their way of life, participate in traditional crafts or activities, and support sustainable tourism initiatives.", + "locationName": "Local village near the delta", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "okavango-delta", + "ref": "community-based-tourism-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_community-based-tourism-experience.jpg" + }, + { + "name": "Scenic Helicopter Flight over the Delta", + "description": "Get a bird's-eye view of the Okavango Delta's intricate waterways, lush islands, and abundant wildlife. Soar above the landscape in a helicopter, capturing stunning aerial photographs and gaining a unique perspective of this natural wonder.", + "locationName": "Various locations in the delta", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "okavango-delta", + "ref": "scenic-helicopter-flight-over-the-delta", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_scenic-helicopter-flight-over-the-delta.jpg" + }, + { + "name": "Learn Traditional Fishing Techniques", + "description": "Join local fishermen and learn the art of traditional fishing methods used in the Okavango Delta. Discover the secrets of sustainable fishing practices, try your hand at catching local fish species, and gain insights into the importance of the delta's ecosystem.", + "locationName": "Fishing villages or camps along the delta", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "okavango-delta", + "ref": "learn-traditional-fishing-techniques", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_learn-traditional-fishing-techniques.jpg" + }, + { + "name": "Wildlife Photography Workshop", + "description": "Enhance your wildlife photography skills with a dedicated workshop led by experienced photographers. Learn about camera settings, composition techniques, and animal behavior to capture stunning images of the delta's diverse wildlife.", + "locationName": "Various lodges or camps in the delta", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "okavango-delta", + "ref": "wildlife-photography-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/okavango-delta_wildlife-photography-workshop.jpg" + }, + { + "name": "Wahiba Sands Adventure", + "description": "Embark on a thrilling 4x4 journey into the vast Wahiba Sands desert, where towering dunes shift with the desert winds. Experience the thrill of dune bashing, sandboarding down steep slopes, and witness the breathtaking sunset over the endless sandscape. Spend a night under the starlit sky in a traditional Bedouin camp, enjoying authentic Omani hospitality, music, and dance.", + "locationName": "Wahiba Sands", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "oman", + "ref": "wahiba-sands-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_wahiba-sands-adventure.jpg" + }, + { + "name": "Explore the Historic Forts of Nizwa and Bahla", + "description": "Step back in time and delve into Oman's rich history by visiting the impressive forts of Nizwa and Bahla. Explore the ancient architecture, intricate carvings, and hidden passages of these UNESCO World Heritage sites. Learn about the role these forts played in defending the region and gain insights into Omani culture and heritage.", + "locationName": "Nizwa and Bahla", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "explore-the-historic-forts-of-nizwa-and-bahla", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_explore-the-historic-forts-of-nizwa-and-bahla.jpg" + }, + { + "name": "Dive into the Turquoise Waters of Wadi Shab", + "description": "Escape the desert heat and embark on a refreshing adventure to Wadi Shab, a stunning gorge with emerald-green pools and cascading waterfalls. Hike through the wadi, swim in the crystal-clear waters, and discover hidden caves. For the adventurous, climb up to the secret waterfall and take a plunge into the refreshing pool below.", + "locationName": "Wadi Shab", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "dive-into-the-turquoise-waters-of-wadi-shab", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_dive-into-the-turquoise-waters-of-wadi-shab.jpg" + }, + { + "name": "Immerse Yourself in the Bustling Muttrah Souq", + "description": "Wander through the labyrinthine alleys of the Muttrah Souq, a traditional Omani market overflowing with vibrant sights, sounds, and aromas. Discover a treasure trove of handcrafted souvenirs, aromatic spices, and exquisite silver jewelry. Bargaining is expected, so hone your negotiation skills and find unique keepsakes to remember your Omani adventure.", + "locationName": "Muttrah Souq", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "oman", + "ref": "immerse-yourself-in-the-bustling-muttrah-souq", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_immerse-yourself-in-the-bustling-muttrah-souq.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Escape the city lights and experience the magic of the desert night sky. Join a stargazing tour and marvel at the Milky Way stretching across the darkness. Learn about constellations, planets, and the wonders of the universe from knowledgeable guides. This unforgettable experience will leave you with a sense of awe and wonder.", + "locationName": "Wahiba Sands or other desert locations", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_stargazing-in-the-desert.jpg" + }, + { + "name": "Dolphin Watching in Musandam", + "description": "Embark on a thrilling boat trip through the fjords of Musandam, often called the 'Norway of Arabia'. Witness playful dolphins leaping alongside your vessel, surrounded by stunning landscapes of towering cliffs and crystal-clear waters. This unforgettable experience offers a unique perspective of Oman's diverse marine life and breathtaking natural beauty.", + "locationName": "Musandam Fjords", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "oman", + "ref": "dolphin-watching-in-musandam", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_dolphin-watching-in-musandam.jpg" + }, + { + "name": "Trekking in the Hajar Mountains", + "description": "Lace up your hiking boots and embark on an adventurous trek through the rugged Hajar Mountains. Discover hidden wadis, ancient villages, and breathtaking panoramic views. Challenge yourself with a climb to the summit of Jebel Shams, the highest peak in Oman, or opt for a gentler trail through scenic valleys. This experience is perfect for nature enthusiasts and adventure seekers.", + "locationName": "Hajar Mountains", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "oman", + "ref": "trekking-in-the-hajar-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_trekking-in-the-hajar-mountains.jpg" + }, + { + "name": "Explore the Frankincense Trail", + "description": "Journey through the ancient Frankincense Trail, a UNESCO World Heritage Site, and delve into Oman's rich history and cultural heritage. Visit the archaeological sites of Al Baleed and Sumhuram, wander through the Frankincense Land Museum, and explore the lush Wadi Dawkah, where frankincense trees still thrive. This experience offers a fascinating glimpse into Oman's legendary past and its connection to the ancient trade routes.", + "locationName": "Dhofar Region", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "oman", + "ref": "explore-the-frankincense-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_explore-the-frankincense-trail.jpg" + }, + { + "name": "Sunset Cruise in a Traditional Dhow", + "description": "Sail along the Omani coastline aboard a traditional dhow, a wooden sailing vessel, and witness a magical sunset over the Arabian Sea. Enjoy the gentle breeze, admire the picturesque scenery, and savor a delicious Omani dinner on board. This romantic and relaxing experience is perfect for couples or those seeking a tranquil escape.", + "locationName": "Muscat or Salalah", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "oman", + "ref": "sunset-cruise-in-a-traditional-dhow", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_sunset-cruise-in-a-traditional-dhow.jpg" + }, + { + "name": "Experience Omani Hospitality at a Local Farm", + "description": "Immerse yourself in Omani culture with a visit to a local farm. Learn about traditional farming practices, sample fresh produce, and enjoy a home-cooked meal with a local family. This authentic and heartwarming experience offers a glimpse into the daily lives of Omani people and their warm hospitality.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "experience-omani-hospitality-at-a-local-farm", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_experience-omani-hospitality-at-a-local-farm.jpg" + }, + { + "name": "Discover the Underwater World of the Daymaniyat Islands", + "description": "Embark on a snorkeling or diving adventure to the Daymaniyat Islands, a protected nature reserve known for its pristine coral reefs and diverse marine life. Swim alongside colorful fish, encounter graceful sea turtles, and marvel at the vibrant underwater ecosystem.", + "locationName": "Daymaniyat Islands", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "oman", + "ref": "discover-the-underwater-world-of-the-daymaniyat-islands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_discover-the-underwater-world-of-the-daymaniyat-islands.jpg" + }, + { + "name": "Unwind at a Luxurious Spa Retreat", + "description": "Indulge in a rejuvenating spa experience at one of Oman's many luxurious resorts. Choose from a variety of treatments, including traditional hammam rituals, aromatherapy massages, and revitalizing facials. Let the expert therapists melt away your stress and leave you feeling refreshed and renewed.", + "locationName": "Various spa resorts", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "oman", + "ref": "unwind-at-a-luxurious-spa-retreat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_unwind-at-a-luxurious-spa-retreat.jpg" + }, + { + "name": "Visit the Sultan Qaboos Grand Mosque", + "description": "Witness the architectural grandeur of the Sultan Qaboos Grand Mosque, a masterpiece of modern Islamic design. Admire the intricate details, including the hand-woven prayer carpet and the stunning Swarovski crystal chandelier. Explore the peaceful courtyards and learn about Islamic culture and heritage.", + "locationName": "Muscat", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "oman", + "ref": "visit-the-sultan-qaboos-grand-mosque", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_visit-the-sultan-qaboos-grand-mosque.jpg" + }, + { + "name": "Go Sandboarding in the Sharqiya Sands", + "description": "Experience the thrill of sandboarding down the towering dunes of the Sharqiya Sands. Rent a board and try your hand at this exhilarating activity. Whether you're a beginner or an experienced boarder, the endless expanse of sand provides an unforgettable adventure.", + "locationName": "Sharqiya Sands", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "go-sandboarding-in-the-sharqiya-sands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_go-sandboarding-in-the-sharqiya-sands.jpg" + }, + { + "name": "Explore the Jabal Akhdar Mountains", + "description": "Embark on a scenic drive or hike through the Jabal Akhdar Mountains, known as the \"Green Mountain\" for its terraced orchards and rose plantations. Visit traditional villages, enjoy breathtaking views, and discover the unique culture of the mountain communities.", + "locationName": "Jabal Akhdar Mountains", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "explore-the-jabal-akhdar-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_explore-the-jabal-akhdar-mountains.jpg" + }, + { + "name": "Kayaking in the Fjords of Musandam", + "description": "Embark on a kayaking adventure through the stunning fjords of Musandam, often referred to as the 'Norway of Arabia'. Paddle through crystal-clear waters, surrounded by towering limestone cliffs, secluded beaches, and hidden coves. Encounter playful dolphins, colorful fish, and diverse marine life as you explore this breathtaking natural wonder.", + "locationName": "Musandam Peninsula", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "oman", + "ref": "kayaking-in-the-fjords-of-musandam", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_kayaking-in-the-fjords-of-musandam.jpg" + }, + { + "name": "Camel Racing in the Desert", + "description": "Experience the thrill of camel racing, a traditional Omani sport. Witness the incredible speed and agility of these majestic animals as they compete across the desert sands. Immerse yourself in the vibrant atmosphere, with cheering crowds and local festivities. You can even try your hand at riding a camel and get a taste of Bedouin life.", + "locationName": "Sharqiya Sands or other desert locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "camel-racing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_camel-racing-in-the-desert.jpg" + }, + { + "name": "Sample Omani Cuisine at a Local Restaurant", + "description": "Embark on a culinary journey through Oman by indulging in the local cuisine. Visit a traditional restaurant and savor authentic dishes like Shuwa (slow-cooked lamb), Machboos (spiced rice with meat), and Omani Halwa (sweet gelatinous dessert). Experience the unique flavors and spices that make Omani food a delightful experience.", + "locationName": "Muscat or other cities and towns", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "sample-omani-cuisine-at-a-local-restaurant", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_sample-omani-cuisine-at-a-local-restaurant.jpg" + }, + { + "name": "Visit the Royal Opera House Muscat", + "description": "Immerse yourself in the world of arts and culture at the Royal Opera House Muscat. Attend a captivating performance, ranging from operas and ballets to Arabic and international music concerts. Admire the architectural grandeur of this iconic landmark and enjoy a sophisticated evening out.", + "locationName": "Muscat", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "oman", + "ref": "visit-the-royal-opera-house-muscat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_visit-the-royal-opera-house-muscat.jpg" + }, + { + "name": "Explore the Ancient City of Qalhat", + "description": "Step back in time as you explore the UNESCO World Heritage Site of Qalhat. Wander through the ruins of this once-thriving port city, including the Bibi Maryam Mausoleum and the remnants of mosques, houses, and markets. Discover the rich history and cultural significance of Qalhat, a testament to Oman's maritime past.", + "locationName": "Qalhat", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "oman", + "ref": "explore-the-ancient-city-of-qalhat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/oman_explore-the-ancient-city-of-qalhat.jpg" + }, + { + "name": "Snorkeling with Sea Lions at Isla Lobos", + "description": "Embark on a snorkeling adventure around Isla Lobos, known for its playful sea lion colony. Witness these graceful creatures underwater as they twirl and glide around you, creating an unforgettable experience.", + "locationName": "Isla Lobos", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "pagos-islands", + "ref": "snorkeling-with-sea-lions-at-isla-lobos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_snorkeling-with-sea-lions-at-isla-lobos.jpg" + }, + { + "name": "Giant Tortoise Encounter at El Chato Reserve", + "description": "Venture into the lush highlands of Santa Cruz Island to El Chato Reserve. Observe giant tortoises in their natural habitat, grazing on vegetation and lumbering across the volcanic landscape. Learn about their conservation efforts and unique life cycle.", + "locationName": "El Chato Reserve", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "pagos-islands", + "ref": "giant-tortoise-encounter-at-el-chato-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_giant-tortoise-encounter-at-el-chato-reserve.jpg" + }, + { + "name": "Hiking and Volcano Exploration on Bartolomé Island", + "description": "Embark on a scenic hike up the volcanic cone of Bartolomé Island. Be rewarded with breathtaking panoramic views of the surrounding islands and iconic Pinnacle Rock. Explore the volcanic formations and learn about the geological history of the Galápagos.", + "locationName": "Bartolomé Island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "pagos-islands", + "ref": "hiking-and-volcano-exploration-on-bartolom-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_hiking-and-volcano-exploration-on-bartolom-island.jpg" + }, + { + "name": "Kayaking and Wildlife Spotting in Tortuga Bay", + "description": "Paddle through the calm turquoise waters of Tortuga Bay, a haven for marine life. Spot marine iguanas basking on the shores, sea turtles gliding through the water, and a variety of bird species soaring overhead.", + "locationName": "Tortuga Bay", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "pagos-islands", + "ref": "kayaking-and-wildlife-spotting-in-tortuga-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_kayaking-and-wildlife-spotting-in-tortuga-bay.jpg" + }, + { + "name": "Sunset Cruise and Stargazing", + "description": "Sail into the golden hour aboard a catamaran, enjoying stunning views of the archipelago as the sun dips below the horizon. As darkness falls, marvel at the brilliance of the unpolluted night sky, perfect for stargazing and spotting constellations.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "pagos-islands", + "ref": "sunset-cruise-and-stargazing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_sunset-cruise-and-stargazing.jpg" + }, + { + "name": "Panga Ride and Birdwatching in the Wetlands", + "description": "Embark on a relaxing panga ride through the serene wetlands of Isabela or Santa Cruz Island. Observe the fascinating avian life of the Galápagos, including flamingos, herons, and the unique flightless cormorant. Knowledgeable guides will share insights into the ecosystem and behaviors of these remarkable birds.", + "locationName": "Isabela Island or Santa Cruz Island", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "pagos-islands", + "ref": "panga-ride-and-birdwatching-in-the-wetlands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_panga-ride-and-birdwatching-in-the-wetlands.jpg" + }, + { + "name": "Biking Adventure on Floreana Island", + "description": "Explore the captivating landscapes of Floreana Island on a guided bike tour. Pedal through volcanic craters, lush highlands, and along the scenic coastline, encountering unique flora and fauna along the way. Discover hidden beaches, historical sites, and breathtaking viewpoints, all while enjoying the fresh air and exercise.", + "locationName": "Floreana Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "pagos-islands", + "ref": "biking-adventure-on-floreana-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_biking-adventure-on-floreana-island.jpg" + }, + { + "name": "Visit the Charles Darwin Research Station", + "description": "Delve into the scientific legacy of the Galápagos Islands at the Charles Darwin Research Station on Santa Cruz Island. Learn about the ongoing conservation efforts, observe the famous giant tortoises in captivity, and gain a deeper understanding of the archipelago's unique biodiversity and its importance to evolutionary science.", + "locationName": "Santa Cruz Island", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "pagos-islands", + "ref": "visit-the-charles-darwin-research-station", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_visit-the-charles-darwin-research-station.jpg" + }, + { + "name": "Surf's Up at Punta Carola", + "description": "Catch some waves at Punta Carola on San Cristobal Island, a renowned surfing spot in the Galápagos. Whether you're a seasoned surfer or a beginner, enjoy the thrill of riding the Pacific Ocean swells amidst stunning volcanic scenery. Equipment rentals and lessons are available for all skill levels.", + "locationName": "San Cristobal Island", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "pagos-islands", + "ref": "surf-s-up-at-punta-carola", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_surf-s-up-at-punta-carola.jpg" + }, + { + "name": "Savor the Flavors of Ecuadorian Cuisine", + "description": "Embark on a culinary journey through the local flavors of the Galápagos Islands. Sample fresh seafood dishes, traditional Ecuadorian cuisine, and exotic tropical fruits. Enjoy a memorable dining experience at a charming restaurant with ocean views or join a cooking class to learn the secrets of Galápagos gastronomy.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "pagos-islands", + "ref": "savor-the-flavors-of-ecuadorian-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_savor-the-flavors-of-ecuadorian-cuisine.jpg" + }, + { + "name": "Horseback Riding in the Highlands", + "description": "Embark on a scenic horseback riding adventure through the highlands of Santa Cruz Island. Explore lush landscapes, volcanic craters, and hidden trails while enjoying panoramic views of the surrounding islands. Connect with nature and experience the unique flora and fauna of the Galápagos in a tranquil and unforgettable way.", + "locationName": "Santa Cruz Island Highlands", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "pagos-islands", + "ref": "horseback-riding-in-the-highlands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_horseback-riding-in-the-highlands.jpg" + }, + { + "name": "Isabela Island Volcano Hike and Lava Tunnels", + "description": "Challenge yourself with an exhilarating hike up one of the five volcanoes on Isabela Island, the largest island in the archipelago. Witness stunning volcanic landscapes, lava fields, and unique geological formations. Descend into the mysterious lava tunnels and explore the hidden underworld of the Galápagos.", + "locationName": "Isabela Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "pagos-islands", + "ref": "isabela-island-volcano-hike-and-lava-tunnels", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_isabela-island-volcano-hike-and-lava-tunnels.jpg" + }, + { + "name": "Galápagos Photography Tour", + "description": "Join a specialized photography tour designed for capturing the breathtaking beauty of the Galápagos Islands. Accompanied by an expert guide and professional photographer, learn techniques for photographing unique wildlife, landscapes, and seascapes. Enhance your skills and create lasting memories through stunning photographs.", + "locationName": "Various Islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "pagos-islands", + "ref": "gal-pagos-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_gal-pagos-photography-tour.jpg" + }, + { + "name": "Dive with Hammerhead Sharks at Gordon Rocks", + "description": "For the ultimate underwater thrill, embark on a scuba diving excursion to Gordon Rocks, a renowned dive site. Encounter schools of hammerhead sharks, along with other pelagic species like rays, turtles, and reef fish. Immerse yourself in the vibrant marine ecosystem and witness the awe-inspiring predators of the deep.", + "locationName": "Gordon Rocks", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "pagos-islands", + "ref": "dive-with-hammerhead-sharks-at-gordon-rocks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_dive-with-hammerhead-sharks-at-gordon-rocks.jpg" + }, + { + "name": "Relaxation and Spa Day", + "description": "Indulge in a day of relaxation and rejuvenation at a luxurious spa on one of the main islands. Choose from a variety of treatments, including massages, facials, and body wraps, inspired by local ingredients and techniques. Unwind amidst serene surroundings and let the stresses of everyday life melt away.", + "locationName": "Santa Cruz or San Cristobal Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "pagos-islands", + "ref": "relaxation-and-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_relaxation-and-spa-day.jpg" + }, + { + "name": "Island Hopping Adventure", + "description": "Embark on a multi-day island hopping tour to experience the diverse landscapes and wildlife of the Galápagos. Each island offers unique encounters, from the volcanic formations of Isabela to the playful sea lions of San Cristobal. Explore hidden coves, hike to panoramic viewpoints, and discover the incredible biodiversity that makes this archipelago so special.", + "locationName": "Various Islands", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "pagos-islands", + "ref": "island-hopping-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_island-hopping-adventure.jpg" + }, + { + "name": "Penguins and Marine Life Boat Tour", + "description": "Join a guided boat tour around the islands to spot the adorable Galápagos penguins, the only penguin species found north of the equator. Along the way, keep an eye out for other fascinating marine creatures such as sea turtles, dolphins, and rays as they glide through the crystal-clear waters.", + "locationName": "Various Islands", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "pagos-islands", + "ref": "penguins-and-marine-life-boat-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_penguins-and-marine-life-boat-tour.jpg" + }, + { + "name": "Visit the Interpretation Centers", + "description": "Delve deeper into the unique ecosystem and history of the Galápagos Islands by visiting the interpretation centers on different islands. Learn about the volcanic origins of the archipelago, the ongoing conservation efforts, and the fascinating adaptations of the native species.", + "locationName": "Santa Cruz Island, San Cristobal Island", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "pagos-islands", + "ref": "visit-the-interpretation-centers", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_visit-the-interpretation-centers.jpg" + }, + { + "name": "Stargazing on a Remote Beach", + "description": "Escape the light pollution and experience the magic of the Galápagos night sky. Find a secluded beach, lay back on the soft sand, and marvel at the brilliance of the Milky Way and constellations, far from the distractions of city life.", + "locationName": "Various beaches", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "pagos-islands", + "ref": "stargazing-on-a-remote-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_stargazing-on-a-remote-beach.jpg" + }, + { + "name": "Indulge in Local Seafood", + "description": "Treat your taste buds to the freshest seafood delicacies the Galápagos has to offer. From succulent lobster and ceviche to grilled fish and seafood stews, the local restaurants showcase the flavors of the islands with a focus on sustainability and local ingredients.", + "locationName": "Puerto Ayora, Puerto Baquerizo Moreno", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "pagos-islands", + "ref": "indulge-in-local-seafood", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/pagos-islands_indulge-in-local-seafood.jpg" + }, + { + "name": "Trekking in Torres del Paine National Park", + "description": "Embark on a multi-day trek through the stunning landscapes of Torres del Paine National Park. Hike past towering granite peaks, turquoise lakes, and sprawling glaciers, immersing yourself in the raw beauty of Patagonia. Choose from various trails, like the famous W Trek or the challenging O Circuit, and witness breathtaking views at every turn. ", + "locationName": "Torres del Paine National Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "patagonia", + "ref": "trekking-in-torres-del-paine-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_trekking-in-torres-del-paine-national-park.jpg" + }, + { + "name": "Kayaking on Lago Argentino", + "description": "Paddle through the pristine waters of Lago Argentino, the largest lake in Argentina, and marvel at the majestic Perito Moreno Glacier up close. Kayak amidst icebergs of various shapes and sizes, feeling the crisp Patagonian air and enjoying the tranquility of the surrounding nature.", + "locationName": "Lago Argentino", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "patagonia", + "ref": "kayaking-on-lago-argentino", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_kayaking-on-lago-argentino.jpg" + }, + { + "name": "Wildlife Watching in Peninsula Valdés", + "description": "Explore the Peninsula Valdés, a UNESCO World Heritage Site, and encounter an array of fascinating wildlife. Spot playful sea lions, elephant seals basking on the beaches, and Magellanic penguins waddling along the shores. During the right season, you might even witness the awe-inspiring spectacle of southern right whales breaching in the ocean.", + "locationName": "Peninsula Valdés", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "patagonia", + "ref": "wildlife-watching-in-peninsula-vald-s", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_wildlife-watching-in-peninsula-vald-s.jpg" + }, + { + "name": "Horseback Riding through the Pampas", + "description": "Experience the gaucho lifestyle with a horseback riding adventure through the vast Patagonian pampas. Gallop across the plains, feeling the wind in your hair and the freedom of the open space. Learn about the gaucho culture, their traditions, and their unique horsemanship skills.", + "locationName": "Patagonian Pampas", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "patagonia", + "ref": "horseback-riding-through-the-pampas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_horseback-riding-through-the-pampas.jpg" + }, + { + "name": "Glacier Hiking on Perito Moreno", + "description": "Embark on a once-in-a-lifetime adventure by hiking on the surface of the Perito Moreno Glacier. Strap on crampons and explore the icy wonderland, discovering crevasses, ice caves, and stunning blue pools. Witness the immense power and beauty of this natural wonder up close.", + "locationName": "Perito Moreno Glacier", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "patagonia", + "ref": "glacier-hiking-on-perito-moreno", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_glacier-hiking-on-perito-moreno.jpg" + }, + { + "name": "Stargazing in Elqui Valley", + "description": "Experience the magic of the southern hemisphere's night sky in the Elqui Valley, known as a stargazing paradise. Join a guided tour at one of the many observatories, where powerful telescopes unveil constellations, planets, and the Milky Way in breathtaking detail. Learn about the cosmos from knowledgeable guides and capture stunning astrophotography shots.", + "locationName": "Elqui Valley", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "patagonia", + "ref": "stargazing-in-elqui-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_stargazing-in-elqui-valley.jpg" + }, + { + "name": "Fly Fishing in Patagonia's Rivers", + "description": "Cast your line amidst the pristine rivers and lakes of Patagonia, a haven for fly fishing enthusiasts. With expert guides, embark on a thrilling adventure targeting brown, rainbow, and brook trout. Immerse yourself in the stunning landscapes and enjoy the tranquility of nature while testing your angling skills.", + "locationName": "Various rivers and lakes", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "patagonia", + "ref": "fly-fishing-in-patagonia-s-rivers", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_fly-fishing-in-patagonia-s-rivers.jpg" + }, + { + "name": "Wine Tasting in the Argentine Wine Region", + "description": "Indulge in the flavors of Argentina's renowned wine region, exploring vineyards nestled amidst breathtaking scenery. Embark on a guided tour and tasting, savoring Malbecs, Cabernet Sauvignons, and other varietals. Learn about the winemaking process, from grape to bottle, and appreciate the unique terroir of Patagonia.", + "locationName": "Mendoza or other wine regions", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "patagonia", + "ref": "wine-tasting-in-the-argentine-wine-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_wine-tasting-in-the-argentine-wine-region.jpg" + }, + { + "name": "Mountain Biking through Patagonia's Trails", + "description": "Embark on an exhilarating mountain biking adventure through Patagonia's diverse landscapes. Explore scenic trails that wind through forests, mountains, and valleys, offering breathtaking views and challenging terrain. Whether you're a seasoned rider or a beginner, there are trails suitable for all levels, providing an unforgettable way to experience the region's natural beauty.", + "locationName": "Various mountain biking trails", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "patagonia", + "ref": "mountain-biking-through-patagonia-s-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_mountain-biking-through-patagonia-s-trails.jpg" + }, + { + "name": "Exploring the Culture of Indigenous Communities", + "description": "Immerse yourself in the rich cultural heritage of Patagonia's indigenous communities, such as the Mapuche. Visit local villages, interact with residents, and learn about their traditions, crafts, and way of life. Participate in cultural events, workshops, or guided tours to gain a deeper understanding of their connection to the land and their enduring traditions.", + "locationName": "Various indigenous communities", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "patagonia", + "ref": "exploring-the-culture-of-indigenous-communities", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_exploring-the-culture-of-indigenous-communities.jpg" + }, + { + "name": "Scenic Flight Over the Andes", + "description": "Embark on an unforgettable aerial adventure with a scenic flight over the majestic Andes Mountains. Witness the breathtaking panorama of snow-capped peaks, glaciers, and turquoise lakes, capturing stunning aerial photography. This experience offers a unique perspective of Patagonia's vast and awe-inspiring landscapes.", + "locationName": "Various locations throughout Patagonia", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "patagonia", + "ref": "scenic-flight-over-the-andes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_scenic-flight-over-the-andes.jpg" + }, + { + "name": "Whale Watching in Puerto Madryn", + "description": "Embark on a thrilling whale-watching excursion in Puerto Madryn, a prime location for observing Southern Right Whales. Witness these magnificent creatures up close as they breach, tail slap, and nurse their calves in the protected waters of Golfo Nuevo. This unforgettable experience offers a unique opportunity to connect with Patagonia's marine wildlife.", + "locationName": "Puerto Madryn", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "patagonia", + "ref": "whale-watching-in-puerto-madryn", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_whale-watching-in-puerto-madryn.jpg" + }, + { + "name": "4x4 Off-Road Adventure", + "description": "Experience the rugged beauty of Patagonia on an exhilarating 4x4 off-road adventure. Traverse challenging terrains, cross glacial rivers, and discover hidden valleys and remote landscapes inaccessible by conventional vehicles. This adrenaline-pumping activity offers a thrilling way to explore Patagonia's wild and untamed beauty.", + "locationName": "Various locations throughout Patagonia", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "patagonia", + "ref": "4x4-off-road-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_4x4-off-road-adventure.jpg" + }, + { + "name": "Relaxing at a Patagonian Estancia", + "description": "Immerse yourself in the authentic Patagonian lifestyle with a stay at a traditional estancia (ranch). Enjoy horseback riding, sheep shearing demonstrations, and delicious Argentine asados (barbecues). Experience the tranquility of rural life and connect with the warm hospitality of local gauchos (cowboys).", + "locationName": "Various locations throughout Patagonia", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "patagonia", + "ref": "relaxing-at-a-patagonian-estancia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_relaxing-at-a-patagonian-estancia.jpg" + }, + { + "name": "Exploring the Caves of Patagonia", + "description": "Discover the hidden wonders beneath the surface with a spelunking adventure in Patagonia's caves. Explore ancient formations, stalactites, and stalagmites, and learn about the geological history of the region. This unique activity offers a different perspective of Patagonia's natural beauty and is perfect for adventurous travelers.", + "locationName": "Various locations throughout Patagonia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "patagonia", + "ref": "exploring-the-caves-of-patagonia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_exploring-the-caves-of-patagonia.jpg" + }, + { + "name": "Sailing in the Beagle Channel", + "description": "Embark on a scenic boat tour through the Beagle Channel, a strait in the Tierra del Fuego Archipelago, and marvel at the stunning landscapes of snow-capped mountains, glaciers, and lush forests. Spot diverse wildlife including sea lions, penguins, and various bird species. Choose from various tour options, ranging from half-day excursions to multi-day expeditions, and experience the unique beauty of this remote waterway.", + "locationName": "Ushuaia or Puerto Williams", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "patagonia", + "ref": "sailing-in-the-beagle-channel", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_sailing-in-the-beagle-channel.jpg" + }, + { + "name": "Birdwatching in Punta Tombo", + "description": "Visit Punta Tombo, a nature reserve on the Atlantic coast, and witness one of the largest Magellanic penguin colonies in the world. Observe these adorable creatures up close as they waddle, swim, and nest along the shore. The reserve also hosts other bird species like cormorants, gulls, and rheas, making it a paradise for birdwatchers and nature enthusiasts.", + "locationName": "Punta Tombo", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "patagonia", + "ref": "birdwatching-in-punta-tombo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_birdwatching-in-punta-tombo.jpg" + }, + { + "name": "White-Water Rafting on the Futaleufú River", + "description": "Experience an adrenaline-pumping adventure with a white-water rafting trip on the Futaleufú River. Navigate through thrilling rapids surrounded by breathtaking scenery of mountains, canyons, and forests. Choose from various difficulty levels and enjoy a day of excitement and stunning natural beauty. ", + "locationName": "Futaleufú River", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "patagonia", + "ref": "white-water-rafting-on-the-futaleuf-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_white-water-rafting-on-the-futaleuf-river.jpg" + }, + { + "name": "Skiing or Snowboarding in Cerro Catedral", + "description": "Hit the slopes at Cerro Catedral, one of the largest ski resorts in South America. Enjoy a variety of trails for all skill levels, from gentle beginner slopes to challenging black diamond runs. Take in the panoramic views of the Andes mountains as you carve down the snow-covered slopes. The resort also offers other winter activities like snowshoeing and cross-country skiing.", + "locationName": "Cerro Catedral", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "patagonia", + "ref": "skiing-or-snowboarding-in-cerro-catedral", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_skiing-or-snowboarding-in-cerro-catedral.jpg" + }, + { + "name": "Visiting the Perito Moreno Glacier", + "description": "Witness the awe-inspiring Perito Moreno Glacier, a massive ice formation in Los Glaciares National Park. Take a boat tour to get up close to the glacier and marvel at its towering ice walls and deep blue crevasses. You might even witness the spectacular sight of ice calving, where large chunks of ice break off and crash into the water. For a more adventurous experience, opt for a glacier trekking tour and walk on the surface of this natural wonder.", + "locationName": "Los Glaciares National Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "patagonia", + "ref": "visiting-the-perito-moreno-glacier", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/patagonia_visiting-the-perito-moreno-glacier.jpg" + }, + { + "name": "Explore the Historic Center", + "description": "Wander through the UNESCO-listed Historic Center of Arequipa, admiring the stunning colonial architecture made of white volcanic stone. Visit the Plaza de Armas, the main square, and marvel at the intricate carvings of the Arequipa Cathedral. Discover hidden courtyards, charming cafes, and local shops as you soak in the city's rich history.", + "locationName": "Historic Center of Arequipa", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "peru", + "ref": "explore-the-historic-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_explore-the-historic-center.jpg" + }, + { + "name": "Visit the Santa Catalina Monastery", + "description": "Step back in time at the Santa Catalina Monastery, a 16th-century complex that was once home to cloistered nuns. Explore the colorful streets, peaceful gardens, and hidden chapels of this city within a city. Learn about the fascinating lives of the nuns and admire the religious art and architecture.", + "locationName": "Santa Catalina Monastery", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "peru", + "ref": "visit-the-santa-catalina-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_visit-the-santa-catalina-monastery.jpg" + }, + { + "name": "Hike the Colca Canyon", + "description": "Embark on a breathtaking hike through the Colca Canyon, one of the deepest canyons in the world. Witness stunning landscapes, traditional Andean villages, and soaring condors. Choose from various hiking trails, ranging from easy to challenging, and enjoy panoramic views of the canyon and surrounding mountains.", + "locationName": "Colca Canyon", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "peru", + "ref": "hike-the-colca-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_hike-the-colca-canyon.jpg" + }, + { + "name": "Savor Peruvian Cuisine", + "description": "Indulge in the delicious flavors of Peruvian cuisine at Arequipa's many restaurants and cafes. Sample local specialties such as rocoto relleno (stuffed spicy peppers), chupe de camarones (shrimp chowder), and adobo arequipeño (marinated pork dish). Don't forget to try the traditional drink, chicha de jora, made from fermented corn.", + "locationName": "Various restaurants and cafes", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "peru", + "ref": "savor-peruvian-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_savor-peruvian-cuisine.jpg" + }, + { + "name": "Yanahuara Viewpoint", + "description": "Capture stunning panoramic views of the city and the surrounding volcanoes from the Yanahuara Viewpoint. Admire the white-stone arches and enjoy a peaceful moment while taking in the breathtaking scenery. This is a perfect spot for photography enthusiasts and anyone who wants to appreciate the beauty of Arequipa.", + "locationName": "Yanahuara Viewpoint", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "peru", + "ref": "yanahuara-viewpoint", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_yanahuara-viewpoint.jpg" + }, + { + "name": "Whitewater Rafting on the Chili River", + "description": "Experience the thrill of whitewater rafting on the Chili River, which flows through the Arequipa region. Choose from different difficulty levels depending on your experience and enjoy breathtaking views of the surrounding canyons and landscapes. This is a perfect activity for adventure seekers and nature lovers.", + "locationName": "Chili River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "peru", + "ref": "whitewater-rafting-on-the-chili-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_whitewater-rafting-on-the-chili-river.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Escape the city lights and embark on a stargazing adventure in the Atacama Desert, one of the driest deserts in the world. With clear skies and minimal light pollution, you'll have an unforgettable experience observing constellations, planets, and even the Milky Way.", + "locationName": "Atacama Desert", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "peru", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_stargazing-in-the-desert.jpg" + }, + { + "name": "Soak in the Thermal Baths of Yura", + "description": "Relax and rejuvenate in the natural thermal baths of Yura, located just outside of Arequipa. The mineral-rich waters are known for their therapeutic properties and offer a perfect escape from the city's hustle and bustle.", + "locationName": "Yura", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "peru", + "ref": "soak-in-the-thermal-baths-of-yura", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_soak-in-the-thermal-baths-of-yura.jpg" + }, + { + "name": "Visit the Mundo Alpaca", + "description": "Learn about the fascinating world of alpacas at Mundo Alpaca, a farm and textile center. Witness the shearing process, discover the different types of alpaca wool, and shop for unique handcrafted souvenirs made from this luxurious fiber.", + "locationName": "Mundo Alpaca", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "peru", + "ref": "visit-the-mundo-alpaca", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_visit-the-mundo-alpaca.jpg" + }, + { + "name": "Explore the Arequipa Countryside on Horseback", + "description": "Embark on a scenic horseback riding tour through the picturesque countryside surrounding Arequipa. Admire the stunning views of the volcanoes, valleys, and traditional villages, and experience the local way of life.", + "locationName": "Arequipa Countryside", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "peru", + "ref": "explore-the-arequipa-countryside-on-horseback", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_explore-the-arequipa-countryside-on-horseback.jpg" + }, + { + "name": "Rock Climbing and Bouldering", + "description": "Challenge yourself with the volcanic cliffs surrounding Arequipa. Several outfitters offer guided climbing and bouldering excursions for all skill levels, from beginners to seasoned climbers. Experience the thrill of reaching new heights while enjoying panoramic views of the city and surrounding landscapes.", + "locationName": "Quebrada de Culebrillas or Charcani", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "peru", + "ref": "rock-climbing-and-bouldering", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_rock-climbing-and-bouldering.jpg" + }, + { + "name": "Mountain Biking Adventure", + "description": "Explore the rugged terrain around Arequipa on a thrilling mountain biking adventure. Several routes cater to different skill levels, offering stunning views of the Andes Mountains and the Colca Valley. You can choose a guided tour or rent a bike and explore independently.", + "locationName": "Yura or Chilina Valley", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "peru", + "ref": "mountain-biking-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_mountain-biking-adventure.jpg" + }, + { + "name": "Cooking Class and Food Market Tour", + "description": "Delve into the vibrant culinary scene of Arequipa with a cooking class and food market tour. Learn to prepare traditional Peruvian dishes like rocoto relleno or ocopa, using fresh local ingredients. Visit a bustling market to discover the variety of fruits, vegetables, and spices that contribute to the region's unique flavors.", + "locationName": "San Camilo Market or local cooking schools", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "peru", + "ref": "cooking-class-and-food-market-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_cooking-class-and-food-market-tour.jpg" + }, + { + "name": "Sillar Route Tour", + "description": "Discover the source of Arequipa's white volcanic stone on a Sillar Route tour. Visit the quarries where sillar is extracted and learn about its use in the city's iconic architecture. Explore the unique landscapes formed by volcanic activity and gain insight into the geological history of the region.", + "locationName": "Añashuayco or Quebrada de Añashuayco", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "peru", + "ref": "sillar-route-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_sillar-route-tour.jpg" + }, + { + "name": "Picanterias Food Tour", + "description": "Embark on a culinary journey through Arequipa's traditional picanterias. These family-run restaurants offer a unique dining experience, serving up hearty and flavorful dishes in a lively atmosphere. Sample local specialties like chupe de camarones, adobo arequipeño, and pastel de papa.", + "locationName": "Yanahuara or Sachaca districts", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "peru", + "ref": "picanterias-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_picanterias-food-tour.jpg" + }, + { + "name": "Sandboarding and Dune Buggying in the Desert", + "description": "Experience the thrill of gliding down the sand dunes on a sandboard or riding a dune buggy across the vast desert landscape. The surrounding desert offers exhilarating adventures for those seeking an adrenaline rush.", + "locationName": "Arequipa Desert", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "peru", + "ref": "sandboarding-and-dune-buggying-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_sandboarding-and-dune-buggying-in-the-desert.jpg" + }, + { + "name": "Catch a Show at the Teatro Municipal", + "description": "Immerse yourself in the local arts and culture scene by attending a performance at the Teatro Municipal. Enjoy a variety of shows, including music concerts, dance performances, and theatrical productions.", + "locationName": "Teatro Municipal de Arequipa", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "peru", + "ref": "catch-a-show-at-the-teatro-municipal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_catch-a-show-at-the-teatro-municipal.jpg" + }, + { + "name": "Explore the San Camilo Market", + "description": "Wander through the vibrant San Camilo Market, a bustling hub of local life. Discover an array of fresh produce, handcrafted souvenirs, traditional textiles, and unique Peruvian delicacies.", + "locationName": "San Camilo Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "peru", + "ref": "explore-the-san-camilo-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_explore-the-san-camilo-market.jpg" + }, + { + "name": "Take a Day Trip to the Salinas and Aguada Blanca National Reserve", + "description": "Embark on a day trip to the Salinas and Aguada Blanca National Reserve, a stunning natural area home to diverse wildlife, including vicuñas, alpacas, and flamingos. Explore the breathtaking landscapes, salt flats, and volcanic formations.", + "locationName": "Salinas and Aguada Blanca National Reserve", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "peru", + "ref": "take-a-day-trip-to-the-salinas-and-aguada-blanca-national-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peru_take-a-day-trip-to-the-salinas-and-aguada-blanca-national-reserve.jpg" + }, + { + "name": "Amazon River Cruise", + "description": "Embark on a scenic river cruise along the Amazon River, the lifeblood of the rainforest. Spot diverse wildlife such as pink river dolphins, caimans, monkeys, and exotic birds while enjoying the lush scenery and the sounds of the jungle. Opt for a sunrise or sunset cruise for a truly magical experience.", + "locationName": "Amazon River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "amazon-river-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_amazon-river-cruise.jpg" + }, + { + "name": "Jungle Trekking and Wildlife Watching", + "description": "Venture deep into the rainforest on a guided jungle trek, immersing yourself in the sights and sounds of the Amazon. Learn about medicinal plants, observe fascinating insects, and encounter unique wildlife like sloths, monkeys, and colorful birds. Keep an eye out for elusive creatures like jaguars and tapirs.", + "locationName": "Various jungle trails", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "jungle-trekking-and-wildlife-watching", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_jungle-trekking-and-wildlife-watching.jpg" + }, + { + "name": "Canopy Walkway Adventure", + "description": "Experience the rainforest from a different perspective by taking a thrilling canopy walkway tour. Walk among the treetops, enjoying breathtaking views of the jungle canopy and observing the rich biodiversity from above. This is a fantastic opportunity to spot birds, monkeys, and other arboreal creatures.", + "locationName": "Various canopy walkway locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "canopy-walkway-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_canopy-walkway-adventure.jpg" + }, + { + "name": "Visit an Indigenous Community", + "description": "Immerse yourself in the culture of the indigenous people of the Amazon by visiting a local community. Learn about their traditions, way of life, and connection to the rainforest. Participate in cultural activities, try traditional foods, and gain a deeper understanding of the human history of the Amazon.", + "locationName": "Various indigenous communities", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "visit-an-indigenous-community", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_visit-an-indigenous-community.jpg" + }, + { + "name": "Nighttime Wildlife Safari", + "description": "Embark on a thrilling nighttime safari into the rainforest, where nocturnal creatures come alive. With the help of a guide, spot caimans, snakes, owls, and other fascinating animals that are active after dark. This is a unique opportunity to experience the magic of the Amazon at night.", + "locationName": "Various jungle locations", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "nighttime-wildlife-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_nighttime-wildlife-safari.jpg" + }, + { + "name": "Piranha Fishing Excursion", + "description": "Experience the thrill of piranha fishing in the Amazon River. Local guides will teach you traditional fishing techniques and share insights about these fascinating creatures. Enjoy the excitement of reeling in your catch and learn about the important role piranhas play in the ecosystem.", + "locationName": "Amazon River tributaries", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "piranha-fishing-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_piranha-fishing-excursion.jpg" + }, + { + "name": "Kayaking through Amazonian Waterways", + "description": "Embark on a serene kayaking adventure through the tranquil waterways of the Amazon. Paddle through flooded forests, observe diverse wildlife along the riverbanks, and immerse yourself in the peaceful beauty of the rainforest. This activity offers a unique perspective of the Amazon's ecosystem and allows you to connect with nature at your own pace.", + "locationName": "Amazon River tributaries and flooded forests", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "kayaking-through-amazonian-waterways", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_kayaking-through-amazonian-waterways.jpg" + }, + { + "name": "Birdwatching in the Rainforest Canopy", + "description": "Join a guided birdwatching tour and witness the incredible diversity of avian life in the Amazon rainforest. With the help of experienced local guides, spot colorful macaws, toucans, hummingbirds, and numerous other bird species. Learn about their unique behaviors, calls, and the vital role they play in the rainforest ecosystem. This activity is perfect for nature enthusiasts and photography lovers.", + "locationName": "Various locations within the rainforest", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "birdwatching-in-the-rainforest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_birdwatching-in-the-rainforest-canopy.jpg" + }, + { + "name": "Learn Traditional Crafts with Indigenous Artisans", + "description": "Immerse yourself in the rich cultural heritage of the Amazon by participating in a workshop with indigenous artisans. Learn traditional crafts such as basket weaving, pottery making, or jewelry crafting using natural materials found in the rainforest. This experience provides a unique opportunity to connect with local communities, support their livelihoods, and gain a deeper appreciation for their artistic traditions.", + "locationName": "Indigenous villages or cultural centers", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "learn-traditional-crafts-with-indigenous-artisans", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_learn-traditional-crafts-with-indigenous-artisans.jpg" + }, + { + "name": "Relaxing Hammock Retreat and Nature Sounds", + "description": "Escape the hustle and bustle of everyday life with a relaxing hammock retreat in the heart of the Amazon rainforest. Find a peaceful spot, sway gently in a hammock, and let the soothing sounds of nature wash over you. Listen to the calls of exotic birds, the rustling of leaves, and the gentle flow of nearby rivers. This activity is perfect for those seeking tranquility and a chance to reconnect with nature.", + "locationName": "Various lodges or jungle camps", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "peruvian-amazon", + "ref": "relaxing-hammock-retreat-and-nature-sounds", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_relaxing-hammock-retreat-and-nature-sounds.jpg" + }, + { + "name": "Stargazing in the Amazonian Night", + "description": "Escape the city lights and experience the magic of the Amazonian night sky. Join a local guide for an evening of stargazing, where you'll learn about constellations, planets, and the fascinating stories behind them. With minimal light pollution, the Amazon offers breathtaking views of the Milky Way and countless stars, creating an unforgettable celestial experience.", + "locationName": "Various jungle lodges and camps", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "stargazing-in-the-amazonian-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_stargazing-in-the-amazonian-night.jpg" + }, + { + "name": "Swim with Pink River Dolphins", + "description": "Embark on a unique adventure to swim with the legendary pink river dolphins of the Amazon. These intelligent and playful creatures are native to the region and offer a truly unforgettable experience. Take a dip in the river alongside these gentle giants and learn about their importance in the Amazonian ecosystem.", + "locationName": "Amazon River tributaries", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "swim-with-pink-river-dolphins", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_swim-with-pink-river-dolphins.jpg" + }, + { + "name": "Photography Expedition in the Rainforest", + "description": "Capture the beauty and biodiversity of the Amazon rainforest on a photography expedition. Led by experienced guides and local photographers, you'll explore diverse ecosystems, learn about unique flora and fauna, and receive expert tips on capturing stunning images of the rainforest's hidden wonders. This activity is perfect for photography enthusiasts of all levels.", + "locationName": "Various rainforest locations", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "peruvian-amazon", + "ref": "photography-expedition-in-the-rainforest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_photography-expedition-in-the-rainforest.jpg" + }, + { + "name": "Medicinal Plant Walk and Workshop", + "description": "Discover the healing power of the Amazon rainforest on a medicinal plant walk and workshop. Learn from indigenous healers about traditional uses of plants for various ailments and wellness practices. Participate in a hands-on workshop to create your own natural remedies and gain insights into the rich medicinal knowledge of the Amazonian people.", + "locationName": "Indigenous communities or jungle lodges", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "medicinal-plant-walk-and-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_medicinal-plant-walk-and-workshop.jpg" + }, + { + "name": "Amazonian Cooking Class", + "description": "Delve into the flavors of the Amazon with a hands-on cooking class. Learn from local chefs about traditional ingredients and cooking techniques used in Amazonian cuisine. Prepare and savor authentic dishes like juanes (rice and chicken wrapped in bijao leaves) or tacacho (plantain and pork dish) while experiencing the unique culinary heritage of the region.", + "locationName": "Jungle lodges or local communities", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "amazonian-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_amazonian-cooking-class.jpg" + }, + { + "name": "Mountain Biking through the Rainforest", + "description": "Embark on an exhilarating mountain biking adventure through the lush rainforest trails. Pedal past towering trees, cascading waterfalls, and hidden creeks, feeling the thrill of the rugged terrain and the fresh air on your face. This adrenaline-pumping experience offers a unique perspective of the Amazon's diverse ecosystem and is perfect for adventure seekers.", + "locationName": "Various rainforest trails", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "mountain-biking-through-the-rainforest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_mountain-biking-through-the-rainforest.jpg" + }, + { + "name": "Indigenous Village Homestay", + "description": "Immerse yourself in the rich culture and traditions of the Amazonian people by participating in a homestay program with an indigenous community. Share meals, learn traditional crafts, and experience their way of life firsthand. This unique opportunity offers a glimpse into the fascinating customs and deep connection to nature that have been passed down for generations.", + "locationName": "Indigenous villages", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "indigenous-village-homestay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_indigenous-village-homestay.jpg" + }, + { + "name": "Amazon River Stand-Up Paddleboarding", + "description": "Glide along the tranquil waters of the Amazon River on a stand-up paddleboard, enjoying a peaceful and unique perspective of the rainforest. Observe the diverse wildlife along the riverbanks, from playful monkeys to colorful birds, and soak in the serenity of the surrounding nature. This relaxing activity is perfect for all skill levels and offers a chance to connect with the Amazon's aquatic ecosystem.", + "locationName": "Amazon River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "peruvian-amazon", + "ref": "amazon-river-stand-up-paddleboarding", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_amazon-river-stand-up-paddleboarding.jpg" + }, + { + "name": "Caving Expedition", + "description": "Embark on a thrilling caving expedition, exploring the hidden depths of the Amazonian caves. Discover stunning rock formations, underground rivers, and unique cave-dwelling creatures. This adventurous activity is perfect for those seeking an adrenaline rush and a glimpse into the geological wonders of the rainforest.", + "locationName": "Various cave systems", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "peruvian-amazon", + "ref": "caving-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_caving-expedition.jpg" + }, + { + "name": "Rainforest Photography Workshop", + "description": "Capture the beauty and diversity of the Amazon rainforest through a photography workshop led by experienced guides. Learn valuable techniques for photographing wildlife, landscapes, and indigenous cultures. This workshop is perfect for photography enthusiasts of all levels and provides an opportunity to create lasting memories of your Amazonian adventure.", + "locationName": "Various rainforest locations", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "peruvian-amazon", + "ref": "rainforest-photography-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/peruvian-amazon_rainforest-photography-workshop.jpg" + }, + { + "name": "Royal Palace Complex Exploration", + "description": "Embark on a captivating journey through the Royal Palace Complex, a stunning symbol of Cambodian royalty. Marvel at the intricate architecture of the Silver Pagoda, adorned with shimmering silver tiles, and witness the grandeur of the Throne Hall. Explore the lush gardens and immerse yourself in the opulent history of the Cambodian monarchy.", + "locationName": "Royal Palace Complex", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "phnom-penh", + "ref": "royal-palace-complex-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_royal-palace-complex-exploration.jpg" + }, + { + "name": "Wat Phnom: A Historical and Spiritual Ascent", + "description": "Climb the steps to Wat Phnom, a revered Buddhist temple perched atop a hill, offering panoramic city views. Discover the legend of Lady Penh, who is said to have found four Buddha statues within a tree trunk and built the temple to house them. Immerse yourself in the serene atmosphere, observe the locals praying, and learn about the temple's significance in Cambodian culture.", + "locationName": "Wat Phnom", + "duration": 1.5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "wat-phnom-a-historical-and-spiritual-ascent", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_wat-phnom-a-historical-and-spiritual-ascent.jpg" + }, + { + "name": "Tuol Sleng Genocide Museum: A Poignant Journey", + "description": "Pay your respects at the Tuol Sleng Genocide Museum, a former school that was converted into a prison during the Khmer Rouge regime. Gain a deeper understanding of Cambodia's tragic past as you explore the exhibits and learn about the atrocities that took place. This experience is a somber but important reminder of the resilience of the human spirit.", + "locationName": "Tuol Sleng Genocide Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "tuol-sleng-genocide-museum-a-poignant-journey", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_tuol-sleng-genocide-museum-a-poignant-journey.jpg" + }, + { + "name": "Sunset Cruise on the Mekong River", + "description": "Indulge in a relaxing sunset cruise along the Mekong River. Admire the city skyline as it transforms into a tapestry of colors, observe the local life along the riverbanks, and savor a delicious Cambodian dinner on board. This experience offers a perfect blend of sightseeing and tranquility.", + "locationName": "Mekong River", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "phnom-penh", + "ref": "sunset-cruise-on-the-mekong-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_sunset-cruise-on-the-mekong-river.jpg" + }, + { + "name": "Phsar Thmey: A Shopper's Paradise", + "description": "Explore the vibrant Phsar Thmey, also known as the Central Market, a bustling hub for shopping and cultural immersion. Browse through a diverse array of goods, including textiles, handicrafts, souvenirs, and local produce. Engage with friendly vendors, practice your bargaining skills, and discover unique treasures to take home.", + "locationName": "Phsar Thmey (Central Market)", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "phsar-thmey-a-shopper-s-paradise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_phsar-thmey-a-shopper-s-paradise.jpg" + }, + { + "name": "Koh Dach (Silk Island) Excursion", + "description": "Embark on a captivating journey to Koh Dach, also known as Silk Island, just a short ferry ride from Phnom Penh. Witness the intricate art of silk weaving passed down through generations, explore traditional stilt houses, and immerse yourself in the island's serene rural atmosphere. You can even purchase exquisite silk products directly from the local artisans.", + "locationName": "Koh Dach (Silk Island)", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "koh-dach-silk-island-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_koh-dach-silk-island-excursion.jpg" + }, + { + "name": "Savor Culinary Delights at Friends the Restaurant", + "description": "Indulge in a unique dining experience at Friends the Restaurant, a renowned training restaurant empowering marginalized youth with culinary skills. Enjoy delicious Khmer and Western dishes while supporting a worthy cause, knowing that your meal contributes to a brighter future for these aspiring chefs.", + "locationName": "Friends the Restaurant", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "phnom-penh", + "ref": "savor-culinary-delights-at-friends-the-restaurant", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_savor-culinary-delights-at-friends-the-restaurant.jpg" + }, + { + "name": "Unwind at a Traditional Khmer Spa", + "description": "Escape the bustling city and rejuvenate your senses with a traditional Khmer spa treatment. Experience the therapeutic benefits of ancient massage techniques, herbal remedies, and aromatic oils, leaving you feeling refreshed and revitalized.", + "locationName": "Various spas in Phnom Penh", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "phnom-penh", + "ref": "unwind-at-a-traditional-khmer-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_unwind-at-a-traditional-khmer-spa.jpg" + }, + { + "name": "Discover Local Treasures at the Russian Market", + "description": "Embark on a treasure hunt at the Russian Market, a vibrant labyrinth of stalls offering everything from souvenirs and handicrafts to clothing, jewelry, and antiques. Practice your bargaining skills and find unique mementos to remember your Cambodian adventure.", + "locationName": "Russian Market", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "discover-local-treasures-at-the-russian-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_discover-local-treasures-at-the-russian-market.jpg" + }, + { + "name": "Cambodian Living Arts Performance", + "description": "Immerse yourself in the rich cultural heritage of Cambodia at a mesmerizing performance by the Cambodian Living Arts. Witness traditional Apsara dance, shadow puppetry, and other captivating art forms, preserving and celebrating the country's artistic legacy.", + "locationName": "National Museum of Phnom Penh", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "phnom-penh", + "ref": "cambodian-living-arts-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_cambodian-living-arts-performance.jpg" + }, + { + "name": "Cycling the Cambodian Countryside", + "description": "Embark on a scenic cycling tour through the picturesque Cambodian countryside surrounding Phnom Penh. Pedal along tranquil rice paddies, observe local village life, and witness the beauty of rural Cambodia. This leisurely adventure offers a refreshing escape from the city's hustle and bustle, allowing you to connect with nature and experience authentic Cambodian culture.", + "locationName": "Rural areas surrounding Phnom Penh", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "cycling-the-cambodian-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_cycling-the-cambodian-countryside.jpg" + }, + { + "name": "National Museum of Cambodia: A Journey Through Khmer Art and History", + "description": "Delve into the rich cultural heritage of Cambodia at the National Museum, home to an extensive collection of Khmer art and artifacts. Explore ancient sculptures, intricate carvings, and historical relics that showcase the country's fascinating past. Gain insights into the Angkorian era, learn about traditional craftsmanship, and appreciate the beauty of Khmer artistic expression.", + "locationName": "National Museum of Cambodia", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "national-museum-of-cambodia-a-journey-through-khmer-art-and-history", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_national-museum-of-cambodia-a-journey-through-khmer-art-and-history.jpg" + }, + { + "name": "Koh Rong Island Getaway", + "description": "Escape the city and embark on a tropical island adventure to Koh Rong. Relax on pristine beaches, swim in crystal-clear waters, and explore the island's lush interior. Go snorkeling or diving to discover vibrant coral reefs teeming with marine life. Indulge in fresh seafood at beachfront restaurants and enjoy the laid-back island vibes.", + "locationName": "Koh Rong Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "phnom-penh", + "ref": "koh-rong-island-getaway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_koh-rong-island-getaway.jpg" + }, + { + "name": "Phnom Chisor Temple: Ancient Ruins with Panoramic Views", + "description": "Embark on a journey to Phnom Chisor, an ancient temple complex perched atop a hill, offering breathtaking panoramic views of the surrounding countryside. Climb the steps to the temple and explore the intricate carvings and architectural details. Learn about the history and significance of this sacred site while enjoying the serene atmosphere and stunning vistas.", + "locationName": "Phnom Chisor", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "phnom-chisor-temple-ancient-ruins-with-panoramic-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_phnom-chisor-temple-ancient-ruins-with-panoramic-views.jpg" + }, + { + "name": "Indulge in Street Food Delights", + "description": "Embark on a culinary adventure through the vibrant streets of Phnom Penh, sampling a variety of delicious street food offerings. From flavorful noodle soups and savory grilled meats to refreshing fruit shakes and sweet treats, the city's street food scene is a feast for the senses. Discover local favorites, experience authentic Khmer flavors, and enjoy the lively atmosphere of the city's food stalls.", + "locationName": "Various street food stalls throughout Phnom Penh", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "phnom-penh", + "ref": "indulge-in-street-food-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_indulge-in-street-food-delights.jpg" + }, + { + "name": "Killing Fields of Choeung Ek: A Somber Reflection", + "description": "Embark on a deeply moving journey to the Killing Fields of Choeung Ek, a poignant memorial dedicated to the victims of the Khmer Rouge regime. Pay your respects at the stupa filled with skulls and learn about Cambodia's tragic past. This experience offers a profound understanding of the country's history and resilience.", + "locationName": "Choeung Ek Genocidal Center", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "killing-fields-of-choeung-ek-a-somber-reflection", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_killing-fields-of-choeung-ek-a-somber-reflection.jpg" + }, + { + "name": "Wat Ounalom: Serenity Amidst the City", + "description": "Escape the bustling city and find tranquility at Wat Ounalom, one of Phnom Penh's oldest and most important Buddhist temples. Admire the intricate architecture, observe monks in prayer, and experience the serene atmosphere of this spiritual haven.", + "locationName": "Wat Ounalom", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "phnom-penh", + "ref": "wat-ounalom-serenity-amidst-the-city", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_wat-ounalom-serenity-amidst-the-city.jpg" + }, + { + "name": "Sunset Kayak on the Tonle Sap River", + "description": "Embark on a picturesque kayaking adventure along the Tonle Sap River as the sun begins its descent. Witness the city skyline bathed in golden light, observe local life along the riverbanks, and enjoy the tranquility of the water. This unique perspective offers stunning views and a memorable experience.", + "locationName": "Tonle Sap River", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "phnom-penh", + "ref": "sunset-kayak-on-the-tonle-sap-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_sunset-kayak-on-the-tonle-sap-river.jpg" + }, + { + "name": "Cambodian Cooking Class: Master Khmer Flavors", + "description": "Delve into the heart of Cambodian cuisine with a hands-on cooking class. Learn the secrets of traditional dishes like fish amok, Khmer curry, and fresh spring rolls under the guidance of a local chef. This immersive experience allows you to recreate authentic flavors and impress your friends back home.", + "locationName": "Various Cooking Schools", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "phnom-penh", + "ref": "cambodian-cooking-class-master-khmer-flavors", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_cambodian-cooking-class-master-khmer-flavors.jpg" + }, + { + "name": "Phnom Tamao Wildlife Rescue Center: A Sanctuary for Animals", + "description": "Take a day trip to the Phnom Tamao Wildlife Rescue Center, a sanctuary for rescued animals including elephants, tigers, and gibbons. Learn about conservation efforts, observe the animals in their natural habitats, and contribute to the center's mission of protecting Cambodia's wildlife.", + "locationName": "Phnom Tamao Wildlife Rescue Center", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "phnom-penh", + "ref": "phnom-tamao-wildlife-rescue-center-a-sanctuary-for-animals", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phnom-penh_phnom-tamao-wildlife-rescue-center-a-sanctuary-for-animals.jpg" + }, + { + "name": "Island Hopping and Snorkeling Adventure", + "description": "Embark on a full-day island-hopping tour to discover the beauty of Phi Phi Islands and Phang Nga Bay. Dive into crystal-clear waters for snorkeling among colorful coral reefs and tropical fish, explore hidden coves and lagoons, and relax on pristine beaches. This adventure offers a perfect blend of relaxation and exploration, making it ideal for families and nature enthusiasts.", + "locationName": "Phi Phi Islands and Phang Nga Bay", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "phuket", + "ref": "island-hopping-and-snorkeling-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_island-hopping-and-snorkeling-adventure.jpg" + }, + { + "name": "Phuket Town Night Market Exploration", + "description": "Delve into the vibrant atmosphere of Phuket Town's Sunday Walking Street Market. Wander through the bustling stalls filled with local handicrafts, souvenirs, clothing, and street food. Savor the flavors of authentic Thai cuisine, enjoy live music performances, and experience the lively ambiance of this popular night market. This is a perfect opportunity to discover local culture and indulge in some shopping.", + "locationName": "Phuket Town", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "phuket", + "ref": "phuket-town-night-market-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_phuket-town-night-market-exploration.jpg" + }, + { + "name": "Thai Cooking Class and Market Tour", + "description": "Learn the secrets of Thai cuisine with a hands-on cooking class. Start with a visit to a local market to select fresh ingredients, then master the art of preparing traditional dishes under the guidance of experienced chefs. Discover the flavors and techniques of Thai cooking, from fragrant curries to delicious stir-fries. This immersive experience is perfect for food enthusiasts and those looking to enhance their culinary skills.", + "locationName": "Phuket Cooking Schools", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "phuket", + "ref": "thai-cooking-class-and-market-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_thai-cooking-class-and-market-tour.jpg" + }, + { + "name": "Relaxing Beach Day and Sunset Cruise", + "description": "Unwind and soak up the sun on the pristine beaches of Phuket. Choose from popular spots like Patong, Kata, or Karon Beach, and enjoy swimming, sunbathing, or simply relaxing by the turquoise waters. As the day ends, embark on a romantic sunset cruise along the coast, admiring the breathtaking views and enjoying a delicious dinner on board. This experience offers the perfect combination of relaxation and scenic beauty.", + "locationName": "Phuket Beaches", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "phuket", + "ref": "relaxing-beach-day-and-sunset-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_relaxing-beach-day-and-sunset-cruise.jpg" + }, + { + "name": "Phang Nga Bay Sea Kayaking", + "description": "Embark on a breathtaking sea kayaking adventure through the iconic Phang Nga Bay. Paddle through emerald-green waters, explore hidden caves and lagoons, and marvel at the towering limestone cliffs. Discover the famous James Bond Island and Koh Panyee, a floating village built on stilts.", + "locationName": "Phang Nga Bay", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "phuket", + "ref": "phang-nga-bay-sea-kayaking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_phang-nga-bay-sea-kayaking.jpg" + }, + { + "name": "Elephant Sanctuary Experience", + "description": "Connect with majestic elephants in an ethical and sustainable sanctuary. Learn about their behavior and conservation efforts, feed them, and observe them bathing in the mud. This unforgettable experience promotes responsible tourism and supports the well-being of these gentle giants.", + "locationName": "Elephant Sanctuary", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "phuket", + "ref": "elephant-sanctuary-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_elephant-sanctuary-experience.jpg" + }, + { + "name": "Bangla Road Nightlife", + "description": "Immerse yourself in the vibrant nightlife of Patong Beach on the infamous Bangla Road. Experience the bustling atmosphere, live music, street performances, and a variety of bars and clubs. This is the perfect place to let loose and enjoy the energetic nightlife of Phuket.", + "locationName": "Bangla Road, Patong Beach", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "phuket", + "ref": "bangla-road-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_bangla-road-nightlife.jpg" + }, + { + "name": "Karon Viewpoint Hike", + "description": "Embark on a scenic hike to Karon Viewpoint, offering panoramic views of Kata Noi Beach, Kata Beach, and Karon Beach. Capture stunning photos of the coastline and enjoy the fresh air and natural beauty of Phuket. This hike is suitable for various fitness levels and rewards you with breathtaking vistas.", + "locationName": "Karon Viewpoint", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "phuket", + "ref": "karon-viewpoint-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_karon-viewpoint-hike.jpg" + }, + { + "name": "Phuket Weekend Market", + "description": "Explore the vibrant Phuket Weekend Market, also known as Naka Market, and discover a treasure trove of local goods, souvenirs, clothing, and delicious street food. Immerse yourself in the bustling atmosphere, bargain with vendors, and experience the authentic local culture of Phuket.", + "locationName": "Phuket Weekend Market", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "phuket", + "ref": "phuket-weekend-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_phuket-weekend-market.jpg" + }, + { + "name": "Jungle Trekking and Waterfall Exploration", + "description": "Embark on an adventurous journey through Phuket's lush rainforests. Hike along scenic trails, discover hidden waterfalls like Bang Pae or Kathu Waterfall, take a refreshing dip in natural pools, and encounter diverse flora and fauna. This activity is perfect for nature lovers and those seeking an escape into the island's wild beauty.", + "locationName": "Khao Phra Thaeo National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "phuket", + "ref": "jungle-trekking-and-waterfall-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_jungle-trekking-and-waterfall-exploration.jpg" + }, + { + "name": "Simon Cabaret Show", + "description": "Experience the dazzling spectacle of the Simon Cabaret Show, one of Phuket's most famous nightlife attractions. Be entertained by talented performers in elaborate costumes, showcasing a vibrant blend of music, dance, and comedy. This is a unique cultural experience and a perfect way to enjoy an evening in Phuket.", + "locationName": "Patong Beach", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "phuket", + "ref": "simon-cabaret-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_simon-cabaret-show.jpg" + }, + { + "name": "Phuket Old Town Cultural Exploration", + "description": "Step back in time with a visit to Phuket Old Town. Wander through the charming streets lined with Sino-Portuguese architecture, explore historical landmarks like the Chinpracha House and the Thai Hua Museum, visit vibrant markets, and sample delicious local cuisine. This is a great way to immerse yourself in Phuket's rich history and culture.", + "locationName": "Phuket Old Town", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "phuket", + "ref": "phuket-old-town-cultural-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_phuket-old-town-cultural-exploration.jpg" + }, + { + "name": "Thai Massage and Spa Day", + "description": "Indulge in a relaxing and rejuvenating experience with a traditional Thai massage. Choose from a variety of treatments, including aromatherapy, herbal compresses, and foot reflexology, at one of Phuket's many luxurious spas. This is the perfect way to unwind and pamper yourself during your vacation.", + "locationName": "Various spas throughout Phuket", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "phuket", + "ref": "thai-massage-and-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_thai-massage-and-spa-day.jpg" + }, + { + "name": "Ziplining Adventure", + "description": "Soar through the rainforest canopy on an exhilarating ziplining adventure. Experience breathtaking views of the island as you zip between platforms, enjoying an adrenaline-pumping activity surrounded by nature. This is a perfect choice for thrill-seekers and adventure enthusiasts.", + "locationName": "Hanuman World or Flying Hanuman", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "phuket", + "ref": "ziplining-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_ziplining-adventure.jpg" + }, + { + "name": "Racha Yai and Coral Island Speedboat Day Trip", + "description": "Embark on a thrilling speedboat adventure to the pristine islands of Racha Yai and Coral Island. Dive into crystal-clear waters for snorkeling, discover vibrant coral reefs teeming with marine life, and bask on the soft sandy beaches. Enjoy a delicious lunch on board and soak up the breathtaking scenery. This action-packed day trip is perfect for adventure seekers and beach lovers.", + "locationName": "Racha Yai and Coral Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "phuket", + "ref": "racha-yai-and-coral-island-speedboat-day-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_racha-yai-and-coral-island-speedboat-day-trip.jpg" + }, + { + "name": "James Bond Island and Phang Nga Bay Tour by Longtail Boat", + "description": "Experience the iconic James Bond Island and the stunning Phang Nga Bay on a traditional longtail boat tour. Explore hidden lagoons, marvel at towering limestone cliffs, and visit the famous Koh Panyee floating village. Enjoy a delicious Thai lunch and capture unforgettable photos of this picturesque landscape.", + "locationName": "Phang Nga Bay", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "phuket", + "ref": "james-bond-island-and-phang-nga-bay-tour-by-longtail-boat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_james-bond-island-and-phang-nga-bay-tour-by-longtail-boat.jpg" + }, + { + "name": "FantaSea Show with Buffet Dinner", + "description": "Immerse yourself in the magic of Thai culture at the spectacular FantaSea show. Witness a captivating performance featuring acrobatics, illusions, and traditional dance, all set against a backdrop of stunning special effects. Indulge in a delicious buffet dinner with a variety of Thai and international dishes. This enchanting evening is perfect for families and culture enthusiasts.", + "locationName": "Kamala Beach", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "phuket", + "ref": "fantasea-show-with-buffet-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_fantasea-show-with-buffet-dinner.jpg" + }, + { + "name": "ATV Riding Adventure through the Jungle", + "description": "Get your adrenaline pumping with an exhilarating ATV ride through the lush jungles of Phuket. Navigate challenging terrains, discover hidden trails, and enjoy breathtaking views of the surrounding landscapes. This adventurous activity is perfect for thrill-seekers and nature lovers.", + "locationName": "Phuket's interior", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "phuket", + "ref": "atv-riding-adventure-through-the-jungle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_atv-riding-adventure-through-the-jungle.jpg" + }, + { + "name": "Romantic Sunset Dinner Cruise", + "description": "Indulge in a romantic evening aboard a luxurious yacht as you sail along the picturesque coastline of Phuket. Savor a delectable dinner with panoramic ocean views, sip on cocktails as the sun sets over the horizon, and create unforgettable memories with your loved one. This intimate experience is perfect for couples seeking a special getaway.", + "locationName": "Andaman Sea", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "phuket", + "ref": "romantic-sunset-dinner-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/phuket_romantic-sunset-dinner-cruise.jpg" + }, + { + "name": "Path of the Gods Hike", + "description": "Embark on a breathtaking hike along the Path of the Gods, a scenic trail offering panoramic views of the Amalfi Coast, the turquoise waters of the Mediterranean Sea, and charming villages nestled amidst terraced hillsides. This moderate hike is suitable for various fitness levels and rewards you with unforgettable vistas at every turn. Pack a picnic lunch to enjoy amidst the stunning scenery.", + "locationName": "Path of the Gods", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "positano", + "ref": "path-of-the-gods-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_path-of-the-gods-hike.jpg" + }, + { + "name": "Spiaggia Grande Beach Relaxation", + "description": "Soak up the sun and enjoy the vibrant atmosphere of Spiaggia Grande, Positano's main beach. Rent a sun lounger and umbrella, take a refreshing dip in the crystal-clear waters, or simply relax on the shore with a good book. Beachside cafes and restaurants offer delicious Italian fare and refreshing drinks, making it the perfect spot to unwind and people-watch.", + "locationName": "Spiaggia Grande", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "positano", + "ref": "spiaggia-grande-beach-relaxation", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_spiaggia-grande-beach-relaxation.jpg" + }, + { + "name": "Boat Trip to Capri", + "description": "Embark on a memorable boat trip to the captivating island of Capri. Explore the enchanting Blue Grotto, a sea cave illuminated with an ethereal blue light, wander through the charming towns of Capri and Anacapri, and admire the stunning coastal landscapes. This excursion offers a perfect blend of natural beauty, cultural exploration, and relaxation.", + "locationName": "Capri Island", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "positano", + "ref": "boat-trip-to-capri", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_boat-trip-to-capri.jpg" + }, + { + "name": "Positano Town Exploration", + "description": "Stroll through the charming streets of Positano, lined with colorful houses, boutique shops, and art galleries. Discover local crafts, indulge in delicious Italian gelato, and soak up the lively atmosphere. Visit the Church of Santa Maria Assunta, known for its majolica-tiled dome and Byzantine icon of the Virgin Mary, and explore the narrow alleyways that lead to hidden squares and breathtaking viewpoints.", + "locationName": "Positano Town", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "positano", + "ref": "positano-town-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_positano-town-exploration.jpg" + }, + { + "name": "Romantic Sunset Dinner", + "description": "Indulge in a romantic sunset dinner at one of Positano's cliffside restaurants. Savor delectable Italian cuisine, sip on fine wine, and enjoy breathtaking views of the coastline as the sun dips below the horizon. The enchanting ambiance and panoramic vistas create an unforgettable dining experience.", + "locationName": "Various cliffside restaurants", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "positano", + "ref": "romantic-sunset-dinner", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_romantic-sunset-dinner.jpg" + }, + { + "name": "Kayaking Along the Amalfi Coast", + "description": "Embark on a sea kayaking adventure, paddling along the crystal-clear waters of the Amalfi Coast. Explore hidden coves, sea caves, and secluded beaches inaccessible by foot. Enjoy breathtaking views of the coastline and the charming villages perched on the cliffs. This active excursion allows you to experience the beauty of the region from a unique perspective.", + "locationName": "Amalfi Coast", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "positano", + "ref": "kayaking-along-the-amalfi-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_kayaking-along-the-amalfi-coast.jpg" + }, + { + "name": "Cooking Class with a Local Chef", + "description": "Immerse yourself in Italian culinary culture with a hands-on cooking class. Learn the secrets of traditional dishes like fresh pasta, seafood specialties, and regional desserts from a local chef. Discover the art of selecting ingredients, mastering cooking techniques, and creating authentic Italian flavors. Enjoy the fruits of your labor with a delicious meal accompanied by local wine.", + "locationName": "Positano town", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "positano", + "ref": "cooking-class-with-a-local-chef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_cooking-class-with-a-local-chef.jpg" + }, + { + "name": "Lively Night at Music on the Rocks", + "description": "Experience Positano's vibrant nightlife at Music on the Rocks, a legendary nightclub carved into the cliffs. Dance the night away to the beats of renowned DJs and enjoy live music performances. Sip on cocktails and soak up the electric atmosphere with stunning coastal views as your backdrop.", + "locationName": "Music on the Rocks", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "positano", + "ref": "lively-night-at-music-on-the-rocks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_lively-night-at-music-on-the-rocks.jpg" + }, + { + "name": "Scenic Drive along the Amalfi Coast", + "description": "Embark on a scenic drive along the winding roads of the Amalfi Coast. Rent a car or scooter and explore the picturesque villages, stopping at viewpoints to capture breathtaking panoramas. Visit charming towns like Ravello, Amalfi, and Atrani, each with its unique charm and historical sites. Enjoy the freedom to explore at your own pace and discover hidden gems along the way.", + "locationName": "Amalfi Coast", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "positano", + "ref": "scenic-drive-along-the-amalfi-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_scenic-drive-along-the-amalfi-coast.jpg" + }, + { + "name": "Shopping for Ceramics and Local Crafts", + "description": "Explore Positano's charming boutiques and workshops, discovering unique ceramics, handcrafted jewelry, and locally made souvenirs. Find beautifully painted ceramics, from decorative plates to intricate sculptures, showcasing the region's artistic traditions. Support local artisans and bring home a piece of Positano's charm.", + "locationName": "Positano town", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "positano", + "ref": "shopping-for-ceramics-and-local-crafts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_shopping-for-ceramics-and-local-crafts.jpg" + }, + { + "name": "Villa Cimbrone Gardens Exploration", + "description": "Step into a world of enchantment at the Villa Cimbrone Gardens, a historic villa boasting breathtaking panoramic views of the Amalfi Coast. Wander through lush gardens adorned with sculptures, fountains, and hidden pathways, leading to the Terrace of Infinity, offering unparalleled vistas that will leave you speechless. Immerse yourself in the beauty and tranquility of this botanical paradise.", + "locationName": "Villa Cimbrone", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "positano", + "ref": "villa-cimbrone-gardens-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_villa-cimbrone-gardens-exploration.jpg" + }, + { + "name": "Scuba Diving Adventure in the Mediterranean", + "description": "Dive into the crystal-clear waters of the Mediterranean Sea and discover a vibrant underwater world teeming with marine life. Explore hidden coves, underwater caves, and ancient shipwrecks, encountering colorful fish, playful dolphins, and graceful sea turtles. Whether you're a seasoned diver or a beginner, Positano offers unforgettable scuba diving experiences for all levels.", + "locationName": "Various diving centers along the Amalfi Coast", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "positano", + "ref": "scuba-diving-adventure-in-the-mediterranean", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_scuba-diving-adventure-in-the-mediterranean.jpg" + }, + { + "name": "Wine Tasting Tour in the Hills of Furore", + "description": "Embark on a delightful journey through the vineyards of Furore, a hidden gem nestled in the hills above Positano. Visit local wineries, sample exquisite regional wines, and learn about the traditional winemaking techniques passed down through generations. Indulge in the flavors of the Amalfi Coast while enjoying breathtaking views of the surrounding countryside.", + "locationName": "Furore wineries", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "positano", + "ref": "wine-tasting-tour-in-the-hills-of-furore", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_wine-tasting-tour-in-the-hills-of-furore.jpg" + }, + { + "name": "Catch a Performance at Teatro La Fenice", + "description": "Immerse yourself in the vibrant cultural scene of Positano with a captivating performance at Teatro La Fenice. This intimate theater hosts a variety of events, including concerts, plays, and dance shows, showcasing local and international talent. Experience the magic of live entertainment in a charming setting.", + "locationName": "Teatro La Fenice", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "positano", + "ref": "catch-a-performance-at-teatro-la-fenice", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_catch-a-performance-at-teatro-la-fenice.jpg" + }, + { + "name": "Indulge in a Spa Day with a View", + "description": "Escape the hustle and bustle and treat yourself to a luxurious spa day with breathtaking views of the Amalfi Coast. Relax and rejuvenate with a variety of treatments, including massages, facials, and body wraps, while enjoying the serene ambiance and stunning scenery. Several hotels and wellness centers in Positano offer spa packages with panoramic views.", + "locationName": "Various hotels and wellness centers", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "positano", + "ref": "indulge-in-a-spa-day-with-a-view", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_indulge-in-a-spa-day-with-a-view.jpg" + }, + { + "name": "Lemon Grove Tour and Limoncello Tasting", + "description": "Explore the fragrant lemon groves that Positano is famous for. Learn about the cultivation of these citrus fruits and their significance to the local economy. Enjoy a tasting of limoncello, the region's beloved lemon liqueur, and other lemon-infused treats. This sensory experience offers a unique glimpse into the agricultural heritage of the Amalfi Coast.", + "locationName": "Local lemon grove", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "positano", + "ref": "lemon-grove-tour-and-limoncello-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_lemon-grove-tour-and-limoncello-tasting.jpg" + }, + { + "name": "Stand Up Paddleboarding Excursion", + "description": "Embark on a stand-up paddleboarding adventure along the Positano coastline. Enjoy the tranquility of the sea while taking in breathtaking views of the cliffs and colorful houses. This activity is suitable for various skill levels and offers a fun and active way to explore the area from a different perspective.", + "locationName": "Positano coastline", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "positano", + "ref": "stand-up-paddleboarding-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_stand-up-paddleboarding-excursion.jpg" + }, + { + "name": "Grotta dello Smeraldo Cave Exploration", + "description": "Discover the enchanting Grotta dello Smeraldo, a sea cave known for its emerald-green waters. Take a boat tour to the cave and marvel at the unique light reflections that create a magical atmosphere. This natural wonder is a must-see for visitors to Positano.", + "locationName": "Grotta dello Smeraldo", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "positano", + "ref": "grotta-dello-smeraldo-cave-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_grotta-dello-smeraldo-cave-exploration.jpg" + }, + { + "name": "Li Galli Island Boat Trip and Snorkeling", + "description": "Escape to the secluded Li Galli archipelago, a group of small islands off the coast of Positano. Enjoy a boat trip to these pristine islands and discover their hidden coves and beaches. Go snorkeling in the crystal-clear waters and admire the vibrant marine life. This excursion offers a perfect blend of relaxation and adventure.", + "locationName": "Li Galli Islands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "positano", + "ref": "li-galli-island-boat-trip-and-snorkeling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_li-galli-island-boat-trip-and-snorkeling.jpg" + }, + { + "name": "Live Music and Dancing at Franco's Bar", + "description": "Experience the vibrant nightlife of Positano at Franco's Bar, a legendary venue known for its live music and lively atmosphere. Enjoy cocktails, dance the night away, and soak up the energetic ambiance. This is a perfect option for those looking for a fun and memorable night out.", + "locationName": "Franco's Bar", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "positano", + "ref": "live-music-and-dancing-at-franco-s-bar", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/positano_live-music-and-dancing-at-franco-s-bar.jpg" + }, + { + "name": "Explore Prague Castle", + "description": "Embark on a journey through time at the magnificent Prague Castle, the largest ancient castle complex in the world. Discover St. Vitus Cathedral, witness the Changing of the Guard ceremony, and explore the Golden Lane with its charming houses and workshops.", + "locationName": "Prague Castle", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "prague", + "ref": "explore-prague-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_explore-prague-castle.jpg" + }, + { + "name": "Wander through Old Town Square", + "description": "Immerse yourself in the heart of Prague at the Old Town Square. Admire the Astronomical Clock, marvel at the Gothic architecture of the Týn Church, and enjoy the vibrant atmosphere of street performers and local vendors.", + "locationName": "Old Town Square", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "wander-through-old-town-square", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_wander-through-old-town-square.jpg" + }, + { + "name": "Cruise on the Vltava River", + "description": "Enjoy a relaxing boat tour along the Vltava River, offering stunning views of the city's iconic landmarks. Admire the Charles Bridge, the National Theatre, and the Prague Castle from a unique perspective while enjoying the gentle breeze and the city's skyline.", + "locationName": "Vltava River", + "duration": 1, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "prague", + "ref": "cruise-on-the-vltava-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_cruise-on-the-vltava-river.jpg" + }, + { + "name": "Discover the Jewish Quarter", + "description": "Delve into the rich history and culture of Prague's Jewish Quarter. Explore the synagogues, including the Old-New Synagogue, the oldest active synagogue in Europe, and visit the Old Jewish Cemetery, a poignant reminder of the community's past.", + "locationName": "Josefov", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "discover-the-jewish-quarter", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_discover-the-jewish-quarter.jpg" + }, + { + "name": "Savor Traditional Czech Cuisine", + "description": "Indulge in the hearty flavors of traditional Czech cuisine. Sample classic dishes like vepřo knedlo zelo (roast pork with dumplings and cabbage), guláš (beef stew), and smažený sýr (fried cheese), accompanied by a refreshing Pilsner Urquell beer.", + "locationName": "Various restaurants", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "savor-traditional-czech-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_savor-traditional-czech-cuisine.jpg" + }, + { + "name": "Petrin Hill Viewpoint", + "description": "Take a funicular ride or hike up Petrin Hill for breathtaking panoramic views of Prague. Explore Petrin Gardens, visit the Petrin Lookout Tower (a mini Eiffel Tower!), or wander through the rose gardens. This activity offers stunning views and a peaceful escape from the city.", + "locationName": "Petrin Hill", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "petrin-hill-viewpoint", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_petrin-hill-viewpoint.jpg" + }, + { + "name": "Vyšehrad Fortress", + "description": "Discover the historical Vyšehrad Fortress, a complex with stunning views, beautiful gardens, and significant landmarks like the Basilica of St. Peter and St. Paul and the Vyšehrad Cemetery. Explore the ancient walls, delve into Czech legends, and enjoy a picnic with scenic views.", + "locationName": "Vyšehrad", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "vy-ehrad-fortress", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_vy-ehrad-fortress.jpg" + }, + { + "name": "Beer Culture Experience", + "description": "Immerse yourself in Prague's renowned beer culture. Take a brewery tour to learn about the brewing process, visit traditional beer halls to sample local brews, or join a beer tasting session to discover unique flavors. This activity is perfect for beer enthusiasts and those wanting to experience Czech culture.", + "locationName": "Various breweries and beer halls", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "prague", + "ref": "beer-culture-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_beer-culture-experience.jpg" + }, + { + "name": "John Lennon Wall", + "description": "Visit the iconic John Lennon Wall, a symbol of peace and freedom. Admire the ever-changing graffiti art, leave your own message, and soak in the inspiring atmosphere. This activity is perfect for art lovers, music fans, and those seeking a unique cultural experience.", + "locationName": "John Lennon Wall", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "prague", + "ref": "john-lennon-wall", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_john-lennon-wall.jpg" + }, + { + "name": "Black Light Theater", + "description": "Experience the magic of Black Light Theater, a unique theatrical performance that combines UV lights, fluorescent costumes, and illusions. Enjoy a visually stunning and captivating show that tells a story through movement and music.", + "locationName": "Various theaters in Prague", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "prague", + "ref": "black-light-theater", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_black-light-theater.jpg" + }, + { + "name": "Delve into the World of Franz Kafka", + "description": "Embark on a literary journey exploring the life and works of Prague's most famous author, Franz Kafka. Visit the Franz Kafka Museum, which delves into his complex life and literary contributions, and wander through the streets that inspired his surrealist writings. For a deeper dive, consider joining a guided Kafka-themed walking tour to uncover hidden gems and gain unique insights into his influence on the city.", + "locationName": "Franz Kafka Museum and various locations throughout Prague", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "prague", + "ref": "delve-into-the-world-of-franz-kafka", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_delve-into-the-world-of-franz-kafka.jpg" + }, + { + "name": "Experience the Magic of the National Theatre", + "description": "Immerse yourself in the cultural heart of Prague with a visit to the National Theatre. Catch a captivating opera, ballet, or drama performance in this architectural masterpiece. Even if you're not attending a show, take a guided tour to admire the opulent interiors and learn about the theatre's rich history.", + "locationName": "National Theatre", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "prague", + "ref": "experience-the-magic-of-the-national-theatre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_experience-the-magic-of-the-national-theatre.jpg" + }, + { + "name": "Shop for Treasures at Havelské Market", + "description": "Indulge in a sensory experience at Havelské Market, the oldest outdoor market in Prague. Browse through stalls brimming with fresh produce, local handicrafts, souvenirs, and unique Czech specialties. Sample traditional pastries, cheeses, and cured meats while soaking in the vibrant atmosphere.", + "locationName": "Havelské Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "shop-for-treasures-at-havelsk-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_shop-for-treasures-at-havelsk-market.jpg" + }, + { + "name": "Escape to the Tranquility of Vrtba Garden", + "description": "Find a peaceful oasis amidst the bustling city at Vrtba Garden, a hidden gem of Baroque landscape architecture. Wander through terraced gardens adorned with sculptures, fountains, and vibrant flowerbeds. Enjoy panoramic views of the city from the upper terraces and escape the urban rush in this serene setting.", + "locationName": "Vrtba Garden", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "escape-to-the-tranquility-of-vrtba-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_escape-to-the-tranquility-of-vrtba-garden.jpg" + }, + { + "name": "Take a Day Trip to the Enchanting Karlštejn Castle", + "description": "Embark on a scenic day trip to Karlštejn Castle, a medieval fortress nestled amidst rolling hills just outside of Prague. Explore the castle's grand halls, towers, and courtyards, and learn about its fascinating history as a repository for royal treasures. Enjoy breathtaking views of the surrounding countryside and experience a journey back in time.", + "locationName": "Karlštejn", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "prague", + "ref": "take-a-day-trip-to-the-enchanting-karl-tejn-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_take-a-day-trip-to-the-enchanting-karl-tejn-castle.jpg" + }, + { + "name": "Day Trip to Kutná Hora", + "description": "Embark on a captivating day trip to the UNESCO-listed town of Kutná Hora, renowned for its Sedlec Ossuary, a unique chapel adorned with human bones. Explore the historic center, visit the magnificent St. Barbara's Church, and descend into the eerie depths of the silver mines.", + "locationName": "Kutná Hora", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "prague", + "ref": "day-trip-to-kutn-hora", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_day-trip-to-kutn-hora.jpg" + }, + { + "name": "Paddleboarding on the Vltava River", + "description": "Experience Prague from a different perspective with a stand-up paddleboarding adventure on the Vltava River. Glide beneath the city's iconic bridges, admire the picturesque skyline, and enjoy a unique and active way to explore the city.", + "locationName": "Vltava River", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "paddleboarding-on-the-vltava-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_paddleboarding-on-the-vltava-river.jpg" + }, + { + "name": "Unwind at a Traditional Beer Spa", + "description": "Indulge in a unique and relaxing experience at a traditional Czech beer spa. Immerse yourself in a tub filled with natural ingredients like hops and barley, while enjoying unlimited beer on tap. This rejuvenating treatment is a perfect way to unwind after a day of exploring.", + "locationName": "Various Beer Spas throughout Prague", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "prague", + "ref": "unwind-at-a-traditional-beer-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_unwind-at-a-traditional-beer-spa.jpg" + }, + { + "name": "Catch a Classical Concert", + "description": "Immerse yourself in Prague's rich musical heritage by attending a classical concert. Choose from a variety of venues, including historic churches, concert halls, and even intimate settings, to experience the enchanting melodies of renowned composers.", + "locationName": "Various concert halls and churches throughout Prague", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "catch-a-classical-concert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_catch-a-classical-concert.jpg" + }, + { + "name": "Explore the Trendy Vinohrady District", + "description": "Venture beyond the historic center and discover the trendy Vinohrady district. Explore its charming streets lined with Art Nouveau buildings, relax in one of the many cafes and restaurants, or browse through independent shops and boutiques.", + "locationName": "Vinohrady District", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "prague", + "ref": "explore-the-trendy-vinohrady-district", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/prague_explore-the-trendy-vinohrady-district.jpg" + }, + { + "name": "Explore Old San Juan", + "description": "Wander through the cobblestone streets of Old San Juan, a UNESCO World Heritage Site, and admire the colorful Spanish colonial architecture. Visit historic forts like Castillo San Felipe del Morro and Castillo San Cristobal, offering stunning ocean views. Explore local shops, art galleries, and museums, and savor delicious Puerto Rican cuisine at charming cafes and restaurants.", + "locationName": "Old San Juan", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "explore-old-san-juan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_explore-old-san-juan.jpg" + }, + { + "name": "Relax on Flamenco Beach", + "description": "Escape to the pristine shores of Flamenco Beach, consistently ranked among the world's best beaches. Sink your toes into the soft white sand, swim in the crystal-clear turquoise waters, and soak up the Caribbean sun. Snorkel or scuba dive to discover vibrant coral reefs teeming with marine life. Enjoy beachside amenities, water sports rentals, and delicious food kiosks.", + "locationName": "Flamenco Beach, Culebra Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "relax-on-flamenco-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_relax-on-flamenco-beach.jpg" + }, + { + "name": "Hike in El Yunque National Forest", + "description": "Embark on a hike through the lush rainforests of El Yunque National Forest, the only tropical rainforest in the US National Forest System. Discover cascading waterfalls, unique flora and fauna, and breathtaking panoramic views. Hike to La Mina Falls for a refreshing dip, or climb the Yokahu Tower for stunning vistas. Choose from various trails suitable for different fitness levels.", + "locationName": "El Yunque National Forest", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "puerto-rico", + "ref": "hike-in-el-yunque-national-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_hike-in-el-yunque-national-forest.jpg" + }, + { + "name": "Kayak in a Bioluminescent Bay", + "description": "Experience the magic of a bioluminescent bay, where the water glows with tiny organisms called dinoflagellates. Paddle through the darkness in a kayak and witness the mesmerizing blue-green light illuminate with every movement. Choose from three bioluminescent bays in Puerto Rico: Mosquito Bay (Vieques), Laguna Grande (Fajardo), or La Parguera (Lajas).", + "locationName": "Bioluminescent Bays (Vieques, Fajardo, or Lajas)", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "kayak-in-a-bioluminescent-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_kayak-in-a-bioluminescent-bay.jpg" + }, + { + "name": "Go Salsa Dancing", + "description": "Immerse yourself in the vibrant nightlife of San Juan and experience the rhythm of salsa dancing. Take a salsa lesson or join a dance social at a local club or bar. Enjoy live music, delicious cocktails, and the infectious energy of the dance floor. Learn basic steps or show off your advanced moves, and let loose to the pulsating beats of salsa.", + "locationName": "San Juan", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "go-salsa-dancing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_go-salsa-dancing.jpg" + }, + { + "name": "Caving Adventure in Río Camuy Cave Park", + "description": "Embark on a thrilling journey into the depths of the third-largest cave system in the world. Explore the majestic caverns adorned with stalactites and stalagmites, marvel at the underground river, and learn about the unique ecosystem within.", + "locationName": "Río Camuy Cave Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "caving-adventure-in-r-o-camuy-cave-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_caving-adventure-in-r-o-camuy-cave-park.jpg" + }, + { + "name": "Horseback Riding through the Countryside", + "description": "Experience the beauty of Puerto Rico's lush landscapes on horseback. Ride through scenic trails, passing by plantations, rolling hills, and breathtaking coastal views. This is a perfect activity for nature lovers and those seeking a relaxing yet adventurous experience.", + "locationName": "Hacienda Carabalí", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "horseback-riding-through-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_horseback-riding-through-the-countryside.jpg" + }, + { + "name": "Ziplining through the Rainforest Canopy", + "description": "Soar through the air on a thrilling zipline adventure, experiencing the rainforest from a unique perspective. Enjoy breathtaking views of the lush foliage, cascading waterfalls, and the distant ocean as you zip between platforms.", + "locationName": "Toro Verde Nature Adventure Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "puerto-rico", + "ref": "ziplining-through-the-rainforest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_ziplining-through-the-rainforest-canopy.jpg" + }, + { + "name": "Taste the Flavors of Puerto Rico on a Food Tour", + "description": "Embark on a culinary journey through the vibrant streets of San Juan, indulging in the diverse flavors of Puerto Rican cuisine. Sample local delicacies, learn about traditional cooking methods, and discover hidden culinary gems.", + "locationName": "Old San Juan", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "taste-the-flavors-of-puerto-rico-on-a-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_taste-the-flavors-of-puerto-rico-on-a-food-tour.jpg" + }, + { + "name": "Sunset Sail along the Coast", + "description": "Set sail on a romantic catamaran cruise as the sun begins its descent, painting the sky with vibrant hues. Enjoy breathtaking views of the coastline, sip on refreshing cocktails, and create unforgettable memories.", + "locationName": "Fajardo", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "puerto-rico", + "ref": "sunset-sail-along-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_sunset-sail-along-the-coast.jpg" + }, + { + "name": "Snorkeling Adventure at Cayo Icacos", + "description": "Embark on a boat trip to the uninhabited island of Cayo Icacos, a true gem off the coast of Fajardo. Dive into crystal-clear waters and discover a vibrant underwater world teeming with colorful fish and coral reefs. This snorkeling adventure offers a glimpse into the island's diverse marine life and is perfect for all skill levels.", + "locationName": "Cayo Icacos", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "snorkeling-adventure-at-cayo-icacos", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_snorkeling-adventure-at-cayo-icacos.jpg" + }, + { + "name": "Coffee Plantation Tour and Tasting", + "description": "Delve into the world of Puerto Rican coffee with a visit to a local coffee plantation. Explore the lush fields, learn about the coffee-making process from bean to cup, and indulge in a tasting of freshly brewed coffee. This cultural experience offers insight into the island's rich coffee heritage and is a must for coffee enthusiasts.", + "locationName": "Hacienda Buena Vista or Hacienda Lealtad", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "coffee-plantation-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_coffee-plantation-tour-and-tasting.jpg" + }, + { + "name": "Stand-Up Paddleboarding in Condado Lagoon", + "description": "Experience the tranquility of Condado Lagoon on a stand-up paddleboard. Glide across the calm waters, surrounded by the cityscape and lush greenery. This activity is perfect for a relaxing afternoon, offering a unique perspective of the San Juan area and a chance to connect with nature.", + "locationName": "Condado Lagoon", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "stand-up-paddleboarding-in-condado-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_stand-up-paddleboarding-in-condado-lagoon.jpg" + }, + { + "name": "Stargazing at Arecibo Observatory", + "description": "Embark on a celestial journey at the Arecibo Observatory, home to one of the world's largest radio telescopes. Learn about the cosmos, participate in a stargazing session, and marvel at the wonders of the night sky. This unique experience offers a glimpse into the world of astronomy and is perfect for those seeking a nighttime adventure.", + "locationName": "Arecibo Observatory", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "stargazing-at-arecibo-observatory", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_stargazing-at-arecibo-observatory.jpg" + }, + { + "name": "Castillo San Cristóbal Exploration", + "description": "Step back in time with a visit to Castillo San Cristóbal, a 17th-century Spanish fort offering breathtaking views of San Juan. Explore the historic ramparts, tunnels, and dungeons, and learn about the fort's role in protecting the island from invaders. This journey into the past is perfect for history buffs and those seeking panoramic views.", + "locationName": "Castillo San Cristóbal", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "castillo-san-crist-bal-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_castillo-san-crist-bal-exploration.jpg" + }, + { + "name": "Learn to Surf at Rincon", + "description": "Catch some waves and experience the thrill of surfing in Rincon, known as the 'Surfing Capital of the Caribbean.' Whether you're a beginner or an experienced surfer, Rincon offers waves for all skill levels. Take a lesson from a local surf school and enjoy the beautiful beaches while learning a new skill.", + "locationName": "Rincon", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "learn-to-surf-at-rincon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_learn-to-surf-at-rincon.jpg" + }, + { + "name": "Explore the Colorful Streets of Ponce", + "description": "Wander through the historic city of Ponce, known for its colorful colonial architecture, charming plazas, and vibrant art scene. Visit the Ponce Museum of Art, home to an extensive collection of European and Puerto Rican art, or explore the historic Serrallés Castle for a glimpse into the island's sugar cane industry past.", + "locationName": "Ponce", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "explore-the-colorful-streets-of-ponce", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_explore-the-colorful-streets-of-ponce.jpg" + }, + { + "name": "Dive into History at Castillo San Felipe del Morro", + "description": "Step back in time and explore the impressive Castillo San Felipe del Morro, a 16th-century citadel that guarded the entrance to San Juan Bay. Discover the fort's rich history, walk through its tunnels and ramparts, and enjoy breathtaking views of the ocean.", + "locationName": "San Juan", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "dive-into-history-at-castillo-san-felipe-del-morro", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_dive-into-history-at-castillo-san-felipe-del-morro.jpg" + }, + { + "name": "Go on a Culinary Adventure", + "description": "Embark on a culinary journey through Puerto Rico's diverse food scene. Sample traditional dishes like mofongo, arroz con gandules, and pasteles, or indulge in fresh seafood and tropical fruits. Explore local markets, take a cooking class, or dine at renowned restaurants to experience the island's unique flavors.", + "locationName": "Various Locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "puerto-rico", + "ref": "go-on-a-culinary-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_go-on-a-culinary-adventure.jpg" + }, + { + "name": "Discover the Enchanting Guánica Dry Forest", + "description": "Explore the unique ecosystem of the Guánica Dry Forest, a UNESCO Biosphere Reserve. Hike through the dry, subtropical forest, home to diverse plant and animal life, including rare bird species and cacti. Enjoy stunning views of the Caribbean Sea and learn about the importance of conservation efforts.", + "locationName": "Guánica", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "puerto-rico", + "ref": "discover-the-enchanting-gu-nica-dry-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/puerto-rico_discover-the-enchanting-gu-nica-dry-forest.jpg" + }, + { + "name": "Bavaro Beach Bliss", + "description": "Indulge in the quintessential Punta Cana experience with a day of relaxation on the stunning Bavaro Beach. Bask in the sun on the powdery white sand, take a refreshing dip in the turquoise waters, or simply unwind under the shade of a swaying palm tree. The beach offers a variety of water sports options, including snorkeling, kayaking, and paddleboarding, for those seeking a bit more adventure.", + "locationName": "Bavaro Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "punta-cana", + "ref": "bavaro-beach-bliss", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_bavaro-beach-bliss.jpg" + }, + { + "name": "Underwater Adventures", + "description": "Explore the vibrant underwater world of Punta Cana with a snorkeling or scuba diving excursion. Discover colorful coral reefs teeming with tropical fish, graceful sea turtles, and other fascinating marine life. Numerous dive centers offer guided tours and courses for all levels, making it an unforgettable experience for both beginners and experienced divers.", + "locationName": "Various dive sites along the coast", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "punta-cana", + "ref": "underwater-adventures", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_underwater-adventures.jpg" + }, + { + "name": "Hoyo Azul Eco Tour", + "description": "Embark on an eco-adventure to Hoyo Azul, a hidden natural wonder tucked away in the Scape Park. Hike through lush rainforest trails, descend into a cenote with crystal-clear turquoise waters, and take a refreshing swim in this magical oasis. The tour also includes a visit to the Indigenous Eyes Ecological Park, where you can explore a series of lagoons and learn about the local flora and fauna.", + "locationName": "Scape Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "punta-cana", + "ref": "hoyo-azul-eco-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_hoyo-azul-eco-tour.jpg" + }, + { + "name": "Flavors of the Dominican Republic", + "description": "Embark on a culinary journey and discover the rich flavors of Dominican cuisine. Take a cooking class and learn to prepare traditional dishes such as La Bandera (rice, beans, and meat), Pescado con Coco (fish with coconut sauce), or Sancocho (a hearty stew). Alternatively, join a food tour and sample local delicacies at various restaurants and street food stalls.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "punta-cana", + "ref": "flavors-of-the-dominican-republic", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_flavors-of-the-dominican-republic.jpg" + }, + { + "name": "Indigenous Eyes Ecological Park", + "description": "Immerse yourself in nature at the Indigenous Eyes Ecological Park, a sanctuary of lagoons, lush vegetation, and diverse wildlife. Take a leisurely walk along the trails, swim in the refreshing lagoons, and learn about the park's conservation efforts. The park is also home to a petting zoo and a cultural village, providing a glimpse into the Dominican way of life.", + "locationName": "Indigenous Eyes Ecological Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "punta-cana", + "ref": "indigenous-eyes-ecological-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_indigenous-eyes-ecological-park.jpg" + }, + { + "name": "Saona Island Escape", + "description": "Embark on a full-day excursion to the breathtaking Saona Island, a tropical paradise boasting pristine beaches, swaying palm trees, and turquoise waters. Cruise along the coastline, snorkel among vibrant coral reefs, and indulge in a delicious Dominican feast on the beach. Relax in a hammock, soak up the sun, and experience the ultimate island getaway.", + "locationName": "Saona Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "punta-cana", + "ref": "saona-island-escape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_saona-island-escape.jpg" + }, + { + "name": "Horseback Riding Adventure", + "description": "Explore the Dominican countryside on horseback, traversing lush trails, scenic landscapes, and local villages. Experience the beauty of nature, interact with friendly locals, and create unforgettable memories. This activity is suitable for all skill levels and offers a unique perspective of Punta Cana's natural wonders.", + "locationName": "Dominican countryside", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "punta-cana", + "ref": "horseback-riding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_horseback-riding-adventure.jpg" + }, + { + "name": "ChocoMuseo Chocolate Experience", + "description": "Immerse yourself in the world of Dominican chocolate at the ChocoMuseo. Learn about the history of cocoa, participate in a chocolate-making workshop, and indulge in delicious tastings. Discover the bean-to-bar process, create your own chocolate treats, and explore the museum's fascinating exhibits.", + "locationName": "ChocoMuseo", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "punta-cana", + "ref": "chocomuseo-chocolate-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_chocomuseo-chocolate-experience.jpg" + }, + { + "name": "Marinarium Snorkeling Cruise", + "description": "Embark on a catamaran cruise to a vibrant marine sanctuary teeming with marine life. Snorkel among colorful fish, graceful stingrays, and playful nurse sharks. Enjoy refreshing drinks, lively music, and stunning views of the Dominican coastline. This adventure offers a perfect blend of relaxation and underwater exploration.", + "locationName": "Marinarium", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "punta-cana", + "ref": "marinarium-snorkeling-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_marinarium-snorkeling-cruise.jpg" + }, + { + "name": "Coco Bongo Nightlife Extravaganza", + "description": "Experience the electrifying nightlife of Punta Cana at Coco Bongo, a world-renowned nightclub. Immerse yourself in a dazzling show featuring acrobats, dancers, live music, and impressive special effects. Dance the night away, enjoy unlimited drinks, and create unforgettable memories in this vibrant and energetic atmosphere.", + "locationName": "Coco Bongo", + "duration": 5, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "punta-cana", + "ref": "coco-bongo-nightlife-extravaganza", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_coco-bongo-nightlife-extravaganza.jpg" + }, + { + "name": "Scape Park Adventure", + "description": "Embark on a thrilling journey through Scape Park, a natural theme park boasting captivating cenotes, exhilarating zip lines, and exciting cave expeditions. Discover hidden waterfalls, swim in crystal-clear waters, and challenge yourself with adventurous activities amidst the Dominican jungle.", + "locationName": "Scape Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "punta-cana", + "ref": "scape-park-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_scape-park-adventure.jpg" + }, + { + "name": "Sunset Catamaran Cruise", + "description": "Set sail on a romantic catamaran cruise as the sun dips below the horizon, painting the sky with vibrant hues. Enjoy breathtaking ocean views, sip on tropical cocktails, and dance to the rhythm of local music as you create unforgettable memories.", + "locationName": "Punta Cana coastline", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "punta-cana", + "ref": "sunset-catamaran-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_sunset-catamaran-cruise.jpg" + }, + { + "name": "Indigenous Cooking Class", + "description": "Immerse yourself in Dominican culture with a hands-on cooking class, learning to prepare traditional dishes using fresh, local ingredients. Discover the secrets of flavorful Dominican cuisine and savor the delicious results of your culinary adventure.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "punta-cana", + "ref": "indigenous-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_indigenous-cooking-class.jpg" + }, + { + "name": "Ocean Spa Experience", + "description": "Indulge in a rejuvenating spa experience with oceanfront views, soothing massages, and revitalizing body treatments. Unwind and reconnect with yourself amidst the tranquil sounds of the waves and the gentle ocean breeze.", + "locationName": "Various resorts and spas", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "punta-cana", + "ref": "ocean-spa-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_ocean-spa-experience.jpg" + }, + { + "name": "Explore Altos de Chavón", + "description": "Step back in time at Altos de Chavón, a replica of a 16th-century Mediterranean village. Wander through cobblestone streets, admire the charming architecture, and discover local art galleries and artisan shops. Enjoy stunning views of the Chavón River and immerse yourself in the cultural heritage of the Dominican Republic.", + "locationName": "Altos de Chavón", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "punta-cana", + "ref": "explore-altos-de-chav-n", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_explore-altos-de-chav-n.jpg" + }, + { + "name": "Zipline Adventure Through the Jungle", + "description": "Soar through the lush Dominican rainforest canopy on an exhilarating zipline adventure. Experience breathtaking views of the tropical landscape as you glide from platform to platform, feeling the adrenaline rush and enjoying the cool breeze. This activity is perfect for thrill-seekers and nature lovers alike, offering a unique perspective of the Dominican wilderness.", + "locationName": "Anamuya Mountains", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "punta-cana", + "ref": "zipline-adventure-through-the-jungle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_zipline-adventure-through-the-jungle.jpg" + }, + { + "name": "Sunset Horseback Riding on the Beach", + "description": "Embark on a romantic and unforgettable horseback riding experience along the pristine shores of Punta Cana. As the sun begins its descent, casting a warm glow over the turquoise waters, you'll ride gentle horses through the soft sand, enjoying the tranquil beauty of the beach and the sound of waves crashing against the shore. This is a perfect way to connect with nature and create lasting memories.", + "locationName": "Uvero Alto Beach", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "punta-cana", + "ref": "sunset-horseback-riding-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_sunset-horseback-riding-on-the-beach.jpg" + }, + { + "name": "Dominican Dance Class", + "description": "Immerse yourself in the vibrant Dominican culture with a lively dance class. Learn the steps to traditional dances like Merengue and Bachata, guided by experienced instructors who will share their passion and energy. This is a fun and interactive way to connect with local culture, meet new people, and add some rhythm to your vacation.", + "locationName": "Local dance studio or resort", + "duration": 1.5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "punta-cana", + "ref": "dominican-dance-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_dominican-dance-class.jpg" + }, + { + "name": "Catamaran Sailing and Snorkeling Trip", + "description": "Set sail on a luxurious catamaran and embark on a journey along the stunning coastline of Punta Cana. Enjoy the warm Caribbean breeze as you cruise through crystal-clear waters, stopping at vibrant coral reefs for snorkeling adventures. Discover the colorful underwater world teeming with marine life, and later, indulge in a delicious lunch on board while soaking up the sun and enjoying the breathtaking views.", + "locationName": "Punta Cana coastline", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "punta-cana", + "ref": "catamaran-sailing-and-snorkeling-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_catamaran-sailing-and-snorkeling-trip.jpg" + }, + { + "name": "Rum Distillery Tour and Tasting", + "description": "Delve into the history and production of Dominican rum with a fascinating tour of a local distillery. Learn about the sugarcane cultivation process, the distillation techniques, and the aging methods that create the unique flavors of Dominican rum. Afterward, indulge in a tasting session, sampling various rum varieties and discovering your favorite.", + "locationName": "Ron Barceló Distillery", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "punta-cana", + "ref": "rum-distillery-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/punta-cana_rum-distillery-tour-and-tasting.jpg" + }, + { + "name": "Explore the Historic Old Town", + "description": "Step back in time and wander through the cobblestone streets of Old Quebec, a UNESCO World Heritage Site. Admire the charming architecture, visit historic landmarks like the Notre-Dame de Québec Basilica-Cathedral, and soak up the European ambiance.", + "locationName": "Old Quebec", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "explore-the-historic-old-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_explore-the-historic-old-town.jpg" + }, + { + "name": "Visit the Iconic Chateau Frontenac", + "description": "Discover the grandeur of the Fairmont Le Château Frontenac, a historic luxury hotel and one of Quebec City's most recognizable landmarks. Take a guided tour, enjoy afternoon tea, or simply admire its architectural beauty from Dufferin Terrace.", + "locationName": "Chateau Frontenac", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "quebec-city", + "ref": "visit-the-iconic-chateau-frontenac", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_visit-the-iconic-chateau-frontenac.jpg" + }, + { + "name": "Cruise the St. Lawrence River", + "description": "Embark on a scenic boat tour along the St. Lawrence River and enjoy breathtaking views of the city skyline, the Laurentian Mountains, and the Île d'Orléans. Choose from various options, including sightseeing cruises, dinner cruises, or even whale watching excursions.", + "locationName": "St. Lawrence River", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "quebec-city", + "ref": "cruise-the-st-lawrence-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_cruise-the-st-lawrence-river.jpg" + }, + { + "name": "Indulge in French Canadian Cuisine", + "description": "Delight your taste buds with the unique flavors of French Canadian cuisine. Sample traditional dishes like poutine, tourtière, and maple syrup pie at local restaurants or bistros. Don't miss the chance to explore the city's vibrant culinary scene.", + "locationName": "Various restaurants in Quebec City", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "quebec-city", + "ref": "indulge-in-french-canadian-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_indulge-in-french-canadian-cuisine.jpg" + }, + { + "name": "Immerse Yourself in History at the Museum of Civilization", + "description": "Delve into Quebec's rich history and culture at the Museum of Civilization. Explore fascinating exhibits on the region's First Nations people, European settlement, and contemporary society. The museum offers interactive displays and educational programs for all ages.", + "locationName": "Museum of Civilization", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "immerse-yourself-in-history-at-the-museum-of-civilization", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_immerse-yourself-in-history-at-the-museum-of-civilization.jpg" + }, + { + "name": "Hike or Bike the Plains of Abraham", + "description": "Explore the historic Plains of Abraham, a sprawling park where a pivotal battle between the French and British took place in 1759. Enjoy scenic trails for hiking and biking, offering breathtaking views of the St. Lawrence River and the city skyline. In winter, the park transforms into a winter wonderland, perfect for cross-country skiing and snowshoeing.", + "locationName": "Plains of Abraham", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "quebec-city", + "ref": "hike-or-bike-the-plains-of-abraham", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_hike-or-bike-the-plains-of-abraham.jpg" + }, + { + "name": "Discover Local Art at Quartier Petit Champlain", + "description": "Wander through the charming Quartier Petit Champlain, known for its narrow cobblestone streets, unique boutiques, and art galleries. Discover the works of local artists, find one-of-a-kind souvenirs, and soak up the vibrant atmosphere of this historic district.", + "locationName": "Quartier Petit Champlain", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "discover-local-art-at-quartier-petit-champlain", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_discover-local-art-at-quartier-petit-champlain.jpg" + }, + { + "name": "Indulge in Sweet Treats at a Sugar Shack", + "description": "Experience the Quebecois tradition of visiting a sugar shack, especially delightful in the spring during maple syrup season. Enjoy a traditional meal, indulge in maple-infused treats, and learn about the process of making maple syrup.", + "locationName": "Various sugar shacks in the region", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "quebec-city", + "ref": "indulge-in-sweet-treats-at-a-sugar-shack", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_indulge-in-sweet-treats-at-a-sugar-shack.jpg" + }, + { + "name": "Go on a Whale Watching Tour", + "description": "Embark on an unforgettable whale watching excursion from Baie-Sainte-Catherine, a short drive from Quebec City. Witness majestic whales like belugas, humpbacks, and minke whales in their natural habitat, and learn about these fascinating creatures from experienced guides.", + "locationName": "Baie-Sainte-Catherine", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "quebec-city", + "ref": "go-on-a-whale-watching-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_go-on-a-whale-watching-tour.jpg" + }, + { + "name": "Relax at the Nordic Spa", + "description": "Unwind and rejuvenate at the Nordic Spa, a haven of relaxation offering a variety of thermal experiences, including hot and cold pools, saunas, and steam rooms. Enjoy breathtaking views of the St. Lawrence River while indulging in a massage or body treatment.", + "locationName": "Strøm Nordic Spa", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "quebec-city", + "ref": "relax-at-the-nordic-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_relax-at-the-nordic-spa.jpg" + }, + { + "name": "Ice Hotel Experience", + "description": "Embark on a magical winter adventure at the Hôtel de Glace, North America's only ice hotel. Explore the stunning ice sculptures, sip cocktails from ice glasses in the ice bar, or even spend a night in a luxurious ice suite for an unforgettable experience. (Note: This activity is only available during winter months.)", + "locationName": "Hôtel de Glace", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "quebec-city", + "ref": "ice-hotel-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_ice-hotel-experience.jpg" + }, + { + "name": "Montmorency Falls Park", + "description": "Venture outside the city center to witness the breathtaking Montmorency Falls, cascading down 83 meters – taller than Niagara Falls! Take a cable car ride for panoramic views, cross the suspension bridge for an adrenaline rush, or hike the scenic trails surrounding the falls.", + "locationName": "Montmorency Falls Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "montmorency-falls-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_montmorency-falls-park.jpg" + }, + { + "name": "Ile d'Orleans Getaway", + "description": "Escape to the idyllic Ile d'Orleans, a charming island just a short drive from Quebec City. Discover its quaint villages, sample local produce at farms and vineyards, visit historical sites, and enjoy the picturesque landscapes of the St. Lawrence River.", + "locationName": "Ile d'Orleans", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "quebec-city", + "ref": "ile-d-orleans-getaway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_ile-d-orleans-getaway.jpg" + }, + { + "name": "Jacques-Cartier National Park", + "description": "Immerse yourself in the natural beauty of Jacques-Cartier National Park, a paradise for outdoor enthusiasts. Hike through pristine forests, go canoeing or kayaking on the Jacques-Cartier River, spot wildlife, and enjoy breathtaking views of the Laurentian Mountains.", + "locationName": "Jacques-Cartier National Park", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "jacques-cartier-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_jacques-cartier-national-park.jpg" + }, + { + "name": "Fine Dining and Nightlife", + "description": "Experience Quebec City's vibrant culinary scene by indulging in a gourmet dinner at one of its renowned restaurants. Later, explore the city's lively nightlife with options ranging from cozy pubs and live music venues to trendy bars and clubs.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "quebec-city", + "ref": "fine-dining-and-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_fine-dining-and-nightlife.jpg" + }, + { + "name": "Explore the Fortifications of Quebec", + "description": "Embark on a journey through time as you walk along the historic fortifications of Quebec City. These impressive walls, dating back to the 17th century, offer stunning views of the city and the St. Lawrence River. Discover hidden corners, military structures, and historical sites while learning about the city's rich military past.", + "locationName": "Ramparts of Quebec City", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "explore-the-fortifications-of-quebec", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_explore-the-fortifications-of-quebec.jpg" + }, + { + "name": "Visit the Basilica-Cathedral of Notre-Dame de Québec", + "description": "Immerse yourself in the spiritual heart of Quebec City at the Basilica-Cathedral of Notre-Dame de Québec. This architectural gem boasts stunning stained glass windows, intricate sculptures, and a rich history dating back to the 17th century. Attend a mass or simply admire the beauty of this iconic landmark.", + "locationName": "Basilica-Cathedral of Notre-Dame de Québec", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "quebec-city", + "ref": "visit-the-basilica-cathedral-of-notre-dame-de-qu-bec", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_visit-the-basilica-cathedral-of-notre-dame-de-qu-bec.jpg" + }, + { + "name": "Take a Ferry Ride to Lévis", + "description": "Enjoy breathtaking panoramic views of Quebec City's skyline by taking a ferry ride across the St. Lawrence River to Lévis. Capture stunning photos of the city's landmarks, including the Chateau Frontenac and the historic Old Town, from a unique perspective. Explore the charming town of Lévis or simply relax on board and soak in the scenery.", + "locationName": "Quebec City-Lévis Ferry", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "take-a-ferry-ride-to-l-vis", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_take-a-ferry-ride-to-l-vis.jpg" + }, + { + "name": "Wander Through the Quartier des Arts", + "description": "Discover the vibrant artistic scene of Quebec City in the Quartier des Arts. Explore art galleries showcasing local and international artists, catch a live performance at a theater, or simply soak up the bohemian atmosphere. This neighborhood is a hub for creativity and offers a diverse range of artistic experiences.", + "locationName": "Quartier des Arts", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "wander-through-the-quartier-des-arts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_wander-through-the-quartier-des-arts.jpg" + }, + { + "name": "Experience the Magic of the German Christmas Market", + "description": "During the holiday season, immerse yourself in the festive atmosphere of the German Christmas Market. Browse through charming wooden stalls offering traditional German crafts, decorations, and delicious treats. Enjoy live music, sip on mulled wine, and experience the magic of Christmas in a European setting.", + "locationName": "Place de l'Hôtel-de-Ville", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "quebec-city", + "ref": "experience-the-magic-of-the-german-christmas-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/quebec-city_experience-the-magic-of-the-german-christmas-market.jpg" + }, + { + "name": "Hike the Ben Lomond Track", + "description": "Embark on a challenging yet rewarding hike up Ben Lomond, offering breathtaking panoramic views of Queenstown, Lake Wakatipu, and the surrounding mountains. Choose from various trails catering to different fitness levels, from the Tiki Trail to the summit, for an unforgettable experience.", + "locationName": "Ben Lomond Scenic Reserve", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "queenstown", + "ref": "hike-the-ben-lomond-track", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_hike-the-ben-lomond-track.jpg" + }, + { + "name": "Experience the Thrill of Bungy Jumping", + "description": "Take the plunge at the Kawarau Bridge Bungy, the world's first commercial bungy jump, or choose from various other adrenaline-pumping options like the Nevis Bungy and Ledge Bungy. Feel the rush as you leap into the void, surrounded by stunning landscapes.", + "locationName": "Kawarau Bridge, Nevis Bungy, or The Ledge Bungy", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "queenstown", + "ref": "experience-the-thrill-of-bungy-jumping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_experience-the-thrill-of-bungy-jumping.jpg" + }, + { + "name": "Cruise on Lake Wakatipu", + "description": "Enjoy a relaxing and scenic cruise on the pristine waters of Lake Wakatipu aboard the historic TSS Earnslaw steamship. Admire the Remarkables mountain range, visit Walter Peak High Country Farm, and indulge in a delicious gourmet barbecue lunch or dinner.", + "locationName": "Lake Wakatipu", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "queenstown", + "ref": "cruise-on-lake-wakatipu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_cruise-on-lake-wakatipu.jpg" + }, + { + "name": "Indulge in Local Flavors", + "description": "Explore Queenstown's vibrant culinary scene, from cozy cafes to award-winning restaurants. Sample fresh local produce, savor delicious wines from the Central Otago region, and discover international cuisines. Don't miss the iconic Fergburger for a satisfying burger experience.", + "locationName": "Queenstown Town Center", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "queenstown", + "ref": "indulge-in-local-flavors", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_indulge-in-local-flavors.jpg" + }, + { + "name": "Discover Queenstown's Nightlife", + "description": "As the sun sets, experience Queenstown's vibrant nightlife. Enjoy live music at local pubs, dance the night away at trendy clubs, or relax with a cocktail at a rooftop bar. With a diverse range of options, there's something for everyone to enjoy after dark.", + "locationName": "Queenstown Town Center", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "queenstown", + "ref": "discover-queenstown-s-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_discover-queenstown-s-nightlife.jpg" + }, + { + "name": "Soar Above the Remarkables with a Scenic Flight", + "description": "Experience the breathtaking beauty of Queenstown and the surrounding Southern Alps from a unique perspective. Take a scenic flight over the Remarkables mountain range, glaciers, and Lake Wakatipu, capturing stunning aerial views and creating unforgettable memories. Choose from various flight options, including helicopter tours or fixed-wing aircraft, to tailor your experience.", + "locationName": "Queenstown Airport", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "queenstown", + "ref": "soar-above-the-remarkables-with-a-scenic-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_soar-above-the-remarkables-with-a-scenic-flight.jpg" + }, + { + "name": "Explore the Underwater World with a Dive in Lake Wakatipu", + "description": "Embark on an underwater adventure in the crystal-clear waters of Lake Wakatipu. Discover the unique freshwater marine life and submerged landscapes, including the sunken remains of the historic TSS Earnslaw steamship. Whether you're a seasoned diver or a beginner, local dive operators offer guided experiences for all levels.", + "locationName": "Lake Wakatipu", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "queenstown", + "ref": "explore-the-underwater-world-with-a-dive-in-lake-wakatipu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_explore-the-underwater-world-with-a-dive-in-lake-wakatipu.jpg" + }, + { + "name": "Unwind and Rejuvenate at Onsen Hot Pools", + "description": "Indulge in a luxurious and relaxing experience at the Onsen Hot Pools. Immerse yourself in the therapeutic waters of private hot tubs perched on a cliffside overlooking the Shotover River. Enjoy breathtaking views of the surrounding mountains while you soak away your stress and rejuvenate your body and mind. Ideal for couples or solo travelers seeking a tranquil escape.", + "locationName": "Onsen Hot Pools", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "queenstown", + "ref": "unwind-and-rejuvenate-at-onsen-hot-pools", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_unwind-and-rejuvenate-at-onsen-hot-pools.jpg" + }, + { + "name": "Journey to Glenorchy and Paradise", + "description": "Take a scenic drive to the picturesque village of Glenorchy, nestled at the northern end of Lake Wakatipu. Explore the stunning landscapes that have served as filming locations for movies like The Lord of the Rings. Continue your journey to Paradise, a remote valley renowned for its untouched beauty and hiking trails. Capture postcard-worthy photos and immerse yourself in the tranquility of nature.", + "locationName": "Glenorchy & Paradise", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "queenstown", + "ref": "journey-to-glenorchy-and-paradise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_journey-to-glenorchy-and-paradise.jpg" + }, + { + "name": "Go White Water Rafting on the Shotover River", + "description": "Get your adrenaline pumping with an exhilarating white-water rafting adventure on the Shotover River. Navigate through thrilling rapids, surrounded by dramatic canyons and stunning scenery. Experienced guides ensure your safety while providing an unforgettable experience for adventure seekers of all levels.", + "locationName": "Shotover River", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "queenstown", + "ref": "go-white-water-rafting-on-the-shotover-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_go-white-water-rafting-on-the-shotover-river.jpg" + }, + { + "name": "Stargazing in the Southern Sky", + "description": "Escape the city lights and embark on a magical stargazing journey. Queenstown's clear skies and minimal light pollution offer breathtaking views of the Milky Way, constellations, and even the Southern Lights. Join a guided tour or find a secluded spot to marvel at the celestial wonders above.", + "locationName": "Queenstown Gardens or Bob's Peak", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "queenstown", + "ref": "stargazing-in-the-southern-sky", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_stargazing-in-the-southern-sky.jpg" + }, + { + "name": "Wine Tour in the Gibbston Valley", + "description": "Embark on a delightful wine tour through the picturesque Gibbston Valley, renowned for its world-class Pinot Noir. Visit boutique wineries, indulge in tastings, and savor gourmet food pairings amidst stunning vineyard landscapes. Learn about the region's unique terroir and the art of winemaking.", + "locationName": "Gibbston Valley", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "queenstown", + "ref": "wine-tour-in-the-gibbston-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_wine-tour-in-the-gibbston-valley.jpg" + }, + { + "name": "Horseback Riding through Paradise", + "description": "Explore the breathtaking landscapes surrounding Queenstown on horseback. Ride through rolling hills, meadows, and alongside crystal-clear rivers, immersing yourself in the tranquility of nature. This unforgettable experience is suitable for all skill levels and offers stunning panoramic views.", + "locationName": "Glenorchy or Paradise Valley", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "queenstown", + "ref": "horseback-riding-through-paradise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_horseback-riding-through-paradise.jpg" + }, + { + "name": "Shop for Unique Souvenirs and Local Crafts", + "description": "Discover Queenstown's vibrant shopping scene, offering a diverse range of unique souvenirs and locally crafted treasures. Explore charming boutiques, art galleries, and craft markets to find the perfect mementos of your trip. From handcrafted jewelry and artwork to merino wool clothing and gourmet treats, there's something for everyone.", + "locationName": "Queenstown Mall or Arrowtown", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "queenstown", + "ref": "shop-for-unique-souvenirs-and-local-crafts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_shop-for-unique-souvenirs-and-local-crafts.jpg" + }, + { + "name": "Take a Scenic Gondola Ride to Bob's Peak", + "description": "Enjoy breathtaking panoramic views of Queenstown and the surrounding mountains with a scenic gondola ride to Bob's Peak. At the top, indulge in delicious cuisine at a mountaintop restaurant, experience the thrill of the Skyline Luge, or simply soak in the awe-inspiring vistas.", + "locationName": "Skyline Queenstown", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "queenstown", + "ref": "take-a-scenic-gondola-ride-to-bob-s-peak", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_take-a-scenic-gondola-ride-to-bob-s-peak.jpg" + }, + { + "name": "Milford Sound Day Trip", + "description": "Embark on a breathtaking journey to Milford Sound, a stunning fiord renowned for its dramatic waterfalls, towering cliffs, and pristine natural beauty. Cruise through the fiord, marvel at the cascading Bowen Falls and Stirling Falls, and keep an eye out for playful dolphins, seals, and penguins. This full-day excursion is a must-do for nature enthusiasts and photographers alike.", + "locationName": "Milford Sound", + "duration": 12, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "queenstown", + "ref": "milford-sound-day-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_milford-sound-day-trip.jpg" + }, + { + "name": "Skyline Luge", + "description": "Get your adrenaline pumping with a thrilling ride on the Skyline Luge! Zoom down the purpose-built track, navigating twists, turns, and tunnels with stunning views of Queenstown and Lake Wakatipu. Choose from different tracks for varying levels of difficulty and enjoy multiple rides to experience the excitement.", + "locationName": "Skyline Queenstown", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "queenstown", + "ref": "skyline-luge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_skyline-luge.jpg" + }, + { + "name": "Kiwi Birdlife Park", + "description": "Discover New Zealand's unique wildlife at the Kiwi Birdlife Park. Observe the iconic kiwi bird in a nocturnal enclosure, encounter playful kea parrots, and learn about conservation efforts for endangered species. The park offers educational presentations and a chance to see tuataras, geckos, and other native reptiles.", + "locationName": "Kiwi Birdlife Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "queenstown", + "ref": "kiwi-birdlife-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_kiwi-birdlife-park.jpg" + }, + { + "name": "Arrowtown Historic Village", + "description": "Step back in time at Arrowtown, a charming historic gold mining village. Explore the preserved buildings, wander along the quaint streets, and visit the Lakes District Museum to delve into the region's rich history. Pan for gold in the Arrow River, indulge in delicious local fare, and enjoy the picturesque scenery.", + "locationName": "Arrowtown", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "queenstown", + "ref": "arrowtown-historic-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_arrowtown-historic-village.jpg" + }, + { + "name": "Relaxing Spa Day", + "description": "Indulge in a day of pampering and relaxation at one of Queenstown's luxurious spas. Choose from a variety of treatments, including massages, facials, body wraps, and hydrotherapy. Unwind in tranquil surroundings and let the expert therapists melt away your stress and leave you feeling refreshed and rejuvenated.", + "locationName": "Various spas in Queenstown", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "queenstown", + "ref": "relaxing-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/queenstown_relaxing-spa-day.jpg" + }, + { + "name": "Explore the Majestic Mehrangarh Fort", + "description": "Embark on a journey through time at the Mehrangarh Fort, a magnificent 15th-century citadel perched atop a hill overlooking Jodhpur. Marvel at its intricate architecture, explore museums housing royal artifacts, and enjoy panoramic views of the 'Blue City'.", + "locationName": "Jodhpur", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "explore-the-majestic-mehrangarh-fort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_explore-the-majestic-mehrangarh-fort.jpg" + }, + { + "name": "Camel Safari in the Thar Desert", + "description": "Embark on an unforgettable adventure across the undulating sand dunes of the Thar Desert. Ride atop a camel, witness breathtaking sunsets, and camp under the starry sky for a truly immersive desert experience.", + "locationName": "Jaisalmer", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "rajasthan", + "ref": "camel-safari-in-the-thar-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_camel-safari-in-the-thar-desert.jpg" + }, + { + "name": "Shop at the Bustling Bazaars", + "description": "Immerse yourself in the vibrant atmosphere of Rajasthan's bustling bazaars. Discover a treasure trove of textiles, handicrafts, jewelry, and spices. Hone your bargaining skills and find unique souvenirs to cherish.", + "locationName": "Jaipur", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "shop-at-the-bustling-bazaars", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_shop-at-the-bustling-bazaars.jpg" + }, + { + "name": "Witness the Grandeur of the City Palace", + "description": "Step into the opulent world of Rajasthan's royals at the City Palace in Jaipur. Explore the intricate courtyards, museums, and halls adorned with exquisite artwork and historical artifacts. Get a glimpse into the rich heritage and regal lifestyle of the Maharajas.", + "locationName": "Jaipur", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "witness-the-grandeur-of-the-city-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_witness-the-grandeur-of-the-city-palace.jpg" + }, + { + "name": "Experience a Traditional Rajasthani Folk Dance Performance", + "description": "Immerse yourself in the vibrant culture of Rajasthan by witnessing a mesmerizing folk dance performance. Be captivated by the colorful costumes, rhythmic music, and graceful movements that tell stories of the region's rich heritage.", + "locationName": "Udaipur", + "duration": 1.5, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "rajasthan", + "ref": "experience-a-traditional-rajasthani-folk-dance-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_experience-a-traditional-rajasthani-folk-dance-performance.jpg" + }, + { + "name": "Hot Air Balloon Ride Over Jaipur", + "description": "Soar above the Pink City of Jaipur in a hot air balloon and witness the breathtaking landscapes of Rajasthan from a unique perspective. Capture stunning aerial views of majestic forts, palaces, and the sprawling cityscape as you gently drift with the wind. This unforgettable experience offers a serene and romantic way to start your day and create lasting memories.", + "locationName": "Jaipur", + "duration": 1.5, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "rajasthan", + "ref": "hot-air-balloon-ride-over-jaipur", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_hot-air-balloon-ride-over-jaipur.jpg" + }, + { + "name": "Wildlife Safari in Ranthambore National Park", + "description": "Embark on an exhilarating jeep safari through Ranthambore National Park, renowned for its population of Royal Bengal tigers. Spot these majestic creatures in their natural habitat, along with other fascinating wildlife like leopards, sloth bears, crocodiles, and various bird species. Immerse yourself in the beauty of the park's diverse landscapes, from dense forests to tranquil lakes, and experience the thrill of observing animals in the wild.", + "locationName": "Ranthambore National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "rajasthan", + "ref": "wildlife-safari-in-ranthambore-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_wildlife-safari-in-ranthambore-national-park.jpg" + }, + { + "name": "Cooking Class and Traditional Rajasthani Meal", + "description": "Delve into the rich culinary heritage of Rajasthan by participating in a cooking class. Learn the secrets of preparing authentic Rajasthani dishes, from fragrant curries to delectable desserts, under the guidance of a local chef. After your culinary adventure, savor the fruits of your labor with a traditional Rajasthani meal, experiencing the unique flavors and spices of the region.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "cooking-class-and-traditional-rajasthani-meal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_cooking-class-and-traditional-rajasthani-meal.jpg" + }, + { + "name": "Stargazing in the Thar Desert", + "description": "Escape the city lights and venture into the vast Thar Desert for an unforgettable stargazing experience. Lie back under the clear night sky, away from light pollution, and marvel at the countless stars and constellations. Learn about celestial bodies from local guides and enjoy the tranquility of the desert night.", + "locationName": "Thar Desert", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "stargazing-in-the-thar-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_stargazing-in-the-thar-desert.jpg" + }, + { + "name": "Abhaneri Step Well", + "description": "Descend into the architectural marvel of the Chand Baori stepwell in Abhaneri, one of the largest and deepest in India. Marvel at the intricate geometric patterns and the play of light and shadow on the ancient steps.", + "locationName": "Abhaneri", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "abhaneri-step-well", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_abhaneri-step-well.jpg" + }, + { + "name": "Bundi Palace", + "description": "Explore the enchanting Bundi Palace, known for its exquisite murals and miniature paintings. Wander through the halls adorned with vibrant artwork, and enjoy panoramic views of the city and surrounding Aravalli Hills.", + "locationName": "Bundi", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "bundi-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_bundi-palace.jpg" + }, + { + "name": "Kumbhalgarh Fort", + "description": "Embark on a journey to Kumbhalgarh Fort, the second-longest wall in the world after the Great Wall of China. Walk along the ramparts, explore the palaces and temples within the fort, and immerse yourself in the historical significance of this UNESCO World Heritage Site.", + "locationName": "Kumbhalgarh", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "rajasthan", + "ref": "kumbhalgarh-fort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_kumbhalgarh-fort.jpg" + }, + { + "name": "Jaisalmer Desert Festival", + "description": "If you're visiting in February, immerse yourself in the vibrant Jaisalmer Desert Festival. Witness traditional folk dances, camel races, and musical performances against the backdrop of the golden sand dunes.", + "locationName": "Jaisalmer", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "rajasthan", + "ref": "jaisalmer-desert-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_jaisalmer-desert-festival.jpg" + }, + { + "name": "Samode Palace", + "description": "Indulge in luxury and history at the Samode Palace, a heritage hotel known for its exquisite architecture and regal ambiance. Relax by the pool, enjoy a traditional Rajasthani thali, or explore the palace's intricate courtyards and gardens.", + "locationName": "Samode", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "rajasthan", + "ref": "samode-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_samode-palace.jpg" + }, + { + "name": "Jeep Safari in the Aravalli Hills", + "description": "Embark on a thrilling jeep safari through the rugged terrain of the Aravalli Hills, the oldest mountain range in India. Discover hidden villages, ancient temples, and breathtaking views of the surrounding landscapes. Keep an eye out for diverse wildlife, including leopards, hyenas, and various bird species. This adventurous experience offers a unique perspective of Rajasthan's natural beauty.", + "locationName": "Aravalli Hills", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "rajasthan", + "ref": "jeep-safari-in-the-aravalli-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_jeep-safari-in-the-aravalli-hills.jpg" + }, + { + "name": "Sunset Boat Ride on Lake Pichola", + "description": "As the sun begins its descent, embark on a serene boat ride across the picturesque Lake Pichola in Udaipur. Witness the city's palaces, temples, and ghats bathed in the golden hues of the setting sun. Enjoy the tranquility of the lake and capture stunning photographs of the cityscape. This romantic experience is perfect for couples or those seeking a moment of peace.", + "locationName": "Lake Pichola, Udaipur", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "sunset-boat-ride-on-lake-pichola", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_sunset-boat-ride-on-lake-pichola.jpg" + }, + { + "name": "Village Tour and Rural Life Experience", + "description": "Immerse yourself in the authentic culture of Rajasthan with a visit to a traditional village. Interact with local villagers, learn about their customs and way of life, and participate in daily activities such as pottery making, weaving, or farming. This enriching experience provides a glimpse into the heart and soul of Rajasthan.", + "locationName": "Rural Villages near Jodhpur or Jaipur", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "village-tour-and-rural-life-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_village-tour-and-rural-life-experience.jpg" + }, + { + "name": "Attend a Traditional Puppet Show", + "description": "Experience the magic of Rajasthani puppetry, a centuries-old art form. Watch skilled puppeteers bring colorful puppets to life, narrating folktales and mythological stories. The vibrant costumes, lively music, and engaging performances offer a delightful cultural experience for all ages.", + "locationName": "Jaipur or Jodhpur", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "rajasthan", + "ref": "attend-a-traditional-puppet-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_attend-a-traditional-puppet-show.jpg" + }, + { + "name": "Birdwatching at Keoladeo National Park", + "description": "Discover a haven for birdwatchers at Keoladeo National Park, a UNESCO World Heritage Site. Explore the diverse ecosystems of wetlands, woodlands, and grasslands, home to over 370 bird species. Spot migratory birds, including the Siberian crane, and enjoy the serene natural beauty of the park. This activity is perfect for nature enthusiasts and photography lovers.", + "locationName": "Keoladeo National Park, Bharatpur", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "rajasthan", + "ref": "birdwatching-at-keoladeo-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rajasthan_birdwatching-at-keoladeo-national-park.jpg" + }, + { + "name": "Hike to the Summit of Piton de la Fournaise", + "description": "Embark on an unforgettable adventure to the top of one of the world's most active volcanoes. Witness breathtaking panoramic views of the volcanic landscape, lunar-like craters, and the vast Indian Ocean. This challenging hike is best suited for experienced hikers with a good level of fitness.", + "locationName": "Piton de la Fournaise", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "reunion-island", + "ref": "hike-to-the-summit-of-piton-de-la-fournaise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_hike-to-the-summit-of-piton-de-la-fournaise.jpg" + }, + { + "name": "Relax on the Black Sand Beaches of Etang-Salé", + "description": "Unwind on the unique black sand beaches of Etang-Salé, formed by volcanic activity. Enjoy swimming in the refreshing waters, sunbathing under the tropical sun, and marveling at the dramatic contrast of the black sand against the turquoise ocean.", + "locationName": "Etang-Salé", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "reunion-island", + "ref": "relax-on-the-black-sand-beaches-of-etang-sal-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_relax-on-the-black-sand-beaches-of-etang-sal-.jpg" + }, + { + "name": "Explore the Lush Rainforests of Bébour-Bélouve", + "description": "Immerse yourself in the vibrant biodiversity of Réunion's rainforests. Hike through dense vegetation, discover hidden waterfalls, and encounter unique plant and animal species. This is a perfect activity for nature lovers and those seeking tranquility.", + "locationName": "Bébour-Bélouve Forest", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "reunion-island", + "ref": "explore-the-lush-rainforests-of-b-bour-b-louve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_explore-the-lush-rainforests-of-b-bour-b-louve.jpg" + }, + { + "name": "Discover the Creole Culture in Saint-Denis", + "description": "Explore the charming capital city of Saint-Denis and experience the unique blend of French, African, Indian, and Chinese influences that shape Réunion's Creole culture. Visit historical sites, vibrant markets, and indulge in delicious Creole cuisine.", + "locationName": "Saint-Denis", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "reunion-island", + "ref": "discover-the-creole-culture-in-saint-denis", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_discover-the-creole-culture-in-saint-denis.jpg" + }, + { + "name": "Go Canyoning in the Trou de Fer Canyon", + "description": "Embark on a thrilling canyoning adventure through the spectacular Trou de Fer Canyon. Rappel down cascading waterfalls, swim through crystal-clear pools, and experience the adrenaline rush of this unique activity. This is perfect for adventure seekers and those looking for an unforgettable experience.", + "locationName": "Trou de Fer Canyon", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "reunion-island", + "ref": "go-canyoning-in-the-trou-de-fer-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_go-canyoning-in-the-trou-de-fer-canyon.jpg" + }, + { + "name": "Whale Watching Excursion", + "description": "Embark on a magical boat tour to witness the majestic humpback whales that migrate to Réunion's warm waters between June and October. Watch in awe as these gentle giants breach and slap their tails, creating unforgettable memories.", + "locationName": "Off the coast of Réunion Island", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "reunion-island", + "ref": "whale-watching-excursion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_whale-watching-excursion.jpg" + }, + { + "name": "Helicopter Tour over the Volcanoes", + "description": "Experience the breathtaking volcanic landscapes of Réunion from a unique perspective with a thrilling helicopter tour. Soar above Piton de la Fournaise and the dramatic cirques, capturing stunning aerial views of the island's diverse terrain.", + "locationName": "Departure from Saint-Gilles or Saint-Pierre", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "reunion-island", + "ref": "helicopter-tour-over-the-volcanoes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_helicopter-tour-over-the-volcanoes.jpg" + }, + { + "name": "Explore the Lava Tubes of Saint-Philippe", + "description": "Embark on a spelunking adventure through the fascinating lava tubes formed by past volcanic eruptions. Discover the unique geological formations and learn about the volcanic history of the island.", + "locationName": "Saint-Philippe", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "reunion-island", + "ref": "explore-the-lava-tubes-of-saint-philippe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_explore-the-lava-tubes-of-saint-philippe.jpg" + }, + { + "name": "Visit the Jardin des Parfums et des Épices", + "description": "Immerse yourself in the fragrant world of spices and perfumes at this botanical garden. Discover a wide variety of exotic plants, learn about their traditional uses, and enjoy the captivating scents of ylang-ylang, vanilla, and other aromatic treasures.", + "locationName": "Saint-Philippe", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "reunion-island", + "ref": "visit-the-jardin-des-parfums-et-des-pices", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_visit-the-jardin-des-parfums-et-des-pices.jpg" + }, + { + "name": "Stargazing on Maïdo Mountain", + "description": "Escape the city lights and venture up Maïdo Mountain for an unforgettable stargazing experience. The high altitude and clear skies offer breathtaking views of the Milky Way and constellations, making it a perfect spot for astronomy enthusiasts.", + "locationName": "Maïdo Mountain", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "reunion-island", + "ref": "stargazing-on-ma-do-mountain", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_stargazing-on-ma-do-mountain.jpg" + }, + { + "name": "Scuba Diving in the Indian Ocean", + "description": "Dive into the crystal-clear waters of the Indian Ocean and discover a vibrant underwater world teeming with marine life. Explore coral reefs, encounter colorful fish, graceful sea turtles, and maybe even dolphins or whales. Réunion Island offers numerous dive sites suitable for all levels, from beginners to experienced divers.", + "locationName": "Various dive sites around the island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "reunion-island", + "ref": "scuba-diving-in-the-indian-ocean", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_scuba-diving-in-the-indian-ocean.jpg" + }, + { + "name": "Paragliding over the Volcanic Landscape", + "description": "Soar through the sky and witness the breathtaking beauty of Réunion Island's volcanic landscapes from a unique perspective. Paragliding offers an exhilarating experience as you glide over craters, calderas, and lush forests, with panoramic views of the Indian Ocean.", + "locationName": "Saint-Leu or other paragliding launch sites", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "reunion-island", + "ref": "paragliding-over-the-volcanic-landscape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_paragliding-over-the-volcanic-landscape.jpg" + }, + { + "name": "Horseback Riding through the Plaines des Cafres", + "description": "Embark on a scenic horseback riding adventure through the Plaines des Cafres, a vast plateau known for its rolling hills, volcanic craters, and panoramic vistas. This activity allows you to connect with nature and experience the island's diverse landscapes at a leisurely pace.", + "locationName": "Plaines des Cafres", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "reunion-island", + "ref": "horseback-riding-through-the-plaines-des-cafres", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_horseback-riding-through-the-plaines-des-cafres.jpg" + }, + { + "name": "Rum Distillery Tour and Tasting", + "description": "Discover the secrets of rum production on a guided tour of a local distillery. Learn about the history of rum on Réunion Island, witness the distillation process, and indulge in a tasting of various aged rums, savoring the unique flavors of this island specialty.", + "locationName": "Saga du Rhum or other distilleries", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "reunion-island", + "ref": "rum-distillery-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_rum-distillery-tour-and-tasting.jpg" + }, + { + "name": "Market Exploration and Local Cuisine", + "description": "Immerse yourself in the vibrant atmosphere of a local market, such as the Saint-Paul Market. Explore the stalls brimming with fresh produce, exotic spices, handcrafted souvenirs, and local delicacies. Sample Creole dishes, tropical fruits, and other culinary delights, experiencing the authentic flavors of Réunion.", + "locationName": "Saint-Paul Market or other local markets", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "reunion-island", + "ref": "market-exploration-and-local-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_market-exploration-and-local-cuisine.jpg" + }, + { + "name": "Kitesurfing in Saint-Pierre", + "description": "Experience the thrill of kitesurfing in the turquoise waters of Saint-Pierre. With consistent winds and a variety of schools and rental shops available, it's an ideal spot for both beginners and experienced kitesurfers. Soar through the air, ride the waves, and enjoy the stunning coastal scenery.", + "locationName": "Saint-Pierre Beach", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "reunion-island", + "ref": "kitesurfing-in-saint-pierre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_kitesurfing-in-saint-pierre.jpg" + }, + { + "name": "Sunset Cruise along the West Coast", + "description": "Embark on a romantic sunset cruise along Réunion's picturesque west coast. Sail past dramatic cliffs, secluded coves, and charming fishing villages as the sky explodes with vibrant hues. Enjoy breathtaking views, sip on cocktails, and savor a delicious onboard dinner.", + "locationName": "West Coast", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "reunion-island", + "ref": "sunset-cruise-along-the-west-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_sunset-cruise-along-the-west-coast.jpg" + }, + { + "name": "Explore the Underwater World with Snorkeling", + "description": "Discover the vibrant marine life of Réunion through snorkeling. Head to the lagoon of Saint-Gilles-les-Bains or the Hermitage Beach, where calm, clear waters offer excellent visibility. Swim among colorful fish, coral reefs, and other fascinating underwater creatures. A perfect activity for families and nature enthusiasts.", + "locationName": "Saint-Gilles-les-Bains or Hermitage Beach", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "reunion-island", + "ref": "explore-the-underwater-world-with-snorkeling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_explore-the-underwater-world-with-snorkeling.jpg" + }, + { + "name": "Indulge in a Spa Day at a Luxury Resort", + "description": "Pamper yourself with a rejuvenating spa day at one of Réunion's luxurious resorts. Choose from a range of treatments, including massages, facials, and body wraps, using locally sourced ingredients like volcanic clay and essential oils. Unwind in serene surroundings and emerge feeling refreshed and revitalized.", + "locationName": "Luxury Resorts", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "reunion-island", + "ref": "indulge-in-a-spa-day-at-a-luxury-resort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_indulge-in-a-spa-day-at-a-luxury-resort.jpg" + }, + { + "name": "Take a Scenic Drive on the Route des Laves", + "description": "Embark on a scenic road trip along the Route des Laves, a coastal road that winds through dramatic volcanic landscapes. Witness the aftermath of past eruptions, marvel at lava flows frozen in time, and enjoy breathtaking views of the Indian Ocean. Stop at viewpoints and explore lava tunnels along the way.", + "locationName": "Route des Laves", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "reunion-island", + "ref": "take-a-scenic-drive-on-the-route-des-laves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/reunion-island_take-a-scenic-drive-on-the-route-des-laves.jpg" + }, + { + "name": "Christ the Redeemer and Corcovado Mountain", + "description": "Ascend Corcovado Mountain to marvel at the iconic Christ the Redeemer statue, a symbol of Rio and one of the New Seven Wonders of the World. Enjoy breathtaking panoramic views of the city, Guanabara Bay, and the surrounding mountains.", + "locationName": "Corcovado Mountain", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "rio-de-janeiro", + "ref": "christ-the-redeemer-and-corcovado-mountain", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_christ-the-redeemer-and-corcovado-mountain.jpg" + }, + { + "name": "Sugarloaf Mountain and Cable Car Ride", + "description": "Take a thrilling cable car ride to the top of Sugarloaf Mountain, another iconic landmark in Rio. Capture stunning views of the city, beaches, and Christ the Redeemer from a different perspective.", + "locationName": "Sugarloaf Mountain", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "rio-de-janeiro", + "ref": "sugarloaf-mountain-and-cable-car-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_sugarloaf-mountain-and-cable-car-ride.jpg" + }, + { + "name": "Copacabana Beach", + "description": "Relax and soak up the sun on the world-famous Copacabana Beach. Take a stroll along the iconic black and white promenade, enjoy a refreshing swim in the ocean, or try your hand at beach volleyball.", + "locationName": "Copacabana Beach", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "rio-de-janeiro", + "ref": "copacabana-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_copacabana-beach.jpg" + }, + { + "name": "Carnival Experience", + "description": "Immerse yourself in the vibrant and energetic atmosphere of Rio's Carnival. Watch the spectacular parades with elaborate costumes and samba dancing, or join a street party and dance the night away.", + "locationName": "Sambadrome or various neighborhoods", + "duration": 5, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "rio-de-janeiro", + "ref": "carnival-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_carnival-experience.jpg" + }, + { + "name": "Tijuca National Park Hike", + "description": "Explore the Tijuca National Park, the world's largest urban rainforest. Hike through lush trails, discover hidden waterfalls, and encounter diverse wildlife.", + "locationName": "Tijuca National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "tijuca-national-park-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_tijuca-national-park-hike.jpg" + }, + { + "name": "Hang Gliding over Rio", + "description": "Experience breathtaking panoramic views of Rio's iconic landmarks and stunning coastline as you soar through the sky on a tandem hang gliding adventure. Take off from Pedra Bonita ramp and glide with experienced instructors, feeling the adrenaline rush as you witness the city's beauty from a unique perspective. This exhilarating activity is perfect for thrill-seekers and offers unforgettable memories.", + "locationName": "Pedra Bonita", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "rio-de-janeiro", + "ref": "hang-gliding-over-rio", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_hang-gliding-over-rio.jpg" + }, + { + "name": "Explore Santa Teresa", + "description": "Wander through the charming bohemian neighborhood of Santa Teresa, known for its artistic vibe, historic tram, and colorful houses. Discover local art galleries, studios, and craft shops, and enjoy the relaxed atmosphere of this hillside enclave. Take a ride on the iconic yellow tram for a scenic journey and visit Parque das Ruínas, a cultural center with stunning city views.", + "locationName": "Santa Teresa", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "explore-santa-teresa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_explore-santa-teresa.jpg" + }, + { + "name": "Visit the Maracanã Stadium", + "description": "Immerse yourself in Brazil's passion for football with a tour of the legendary Maracanã Stadium. Explore the history of this iconic venue, which hosted the FIFA World Cup finals in 1950 and 2014, and learn about its significance in Brazilian culture. Walk through the players' tunnel, visit the locker rooms, and imagine the electrifying atmosphere during a match.", + "locationName": "Maracanã Stadium", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "visit-the-maracan-stadium", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_visit-the-maracan-stadium.jpg" + }, + { + "name": "Experience Samba Nightlife", + "description": "Immerse yourself in the vibrant nightlife of Rio by attending a Samba show. Head to a local Samba club or a dedicated performance venue and enjoy the energetic music, captivating dance routines, and lively atmosphere. Feel the rhythm of Rio's soul as you witness the passion and talent of Samba dancers and musicians, creating an unforgettable cultural experience.", + "locationName": "Rio Scenarium (or other Samba clubs)", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "rio-de-janeiro", + "ref": "experience-samba-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_experience-samba-nightlife.jpg" + }, + { + "name": "Botanical Garden Exploration", + "description": "Escape the city's hustle and bustle with a visit to the Rio de Janeiro Botanical Garden. Explore the diverse collection of plants and flowers from around the world, including orchids, bromeliads, and giant water lilies. Enjoy a peaceful stroll through the gardens, visit the sensory garden, and discover the historical significance of this green oasis.", + "locationName": "Rio de Janeiro Botanical Garden", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "botanical-garden-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_botanical-garden-exploration.jpg" + }, + { + "name": "Island Escape to Ilha Fiscal", + "description": "Embark on a ferry trip to the enchanting Ilha Fiscal, a small island in Guanabara Bay known for its fairytale-like palace. Explore the opulent halls and gardens of the former customs house, delve into its fascinating history, and enjoy breathtaking panoramic views of the city.", + "locationName": "Ilha Fiscal", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "rio-de-janeiro", + "ref": "island-escape-to-ilha-fiscal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_island-escape-to-ilha-fiscal.jpg" + }, + { + "name": "Pedra da Gávea Hike and Climb", + "description": "For adventurous souls, the Pedra da Gávea hike offers a challenging but rewarding experience. Trek through lush rainforest, scramble up rocky slopes, and conquer the iconic 'Carrasqueira' rock face. The summit rewards you with awe-inspiring vistas of the entire city and coastline.", + "locationName": "Pedra da Gávea", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "rio-de-janeiro", + "ref": "pedra-da-g-vea-hike-and-climb", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_pedra-da-g-vea-hike-and-climb.jpg" + }, + { + "name": "Bohemian Vibes in Lapa", + "description": "Immerse yourself in the vibrant nightlife of Lapa, Rio's bohemian district. Wander through the colorful streets, admire the Arcos da Lapa, and hop between lively bars and clubs pulsating with samba, choro, and other Brazilian rhythms.", + "locationName": "Lapa", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "bohemian-vibes-in-lapa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_bohemian-vibes-in-lapa.jpg" + }, + { + "name": "Sailboat Cruise on Guanabara Bay", + "description": "Experience the beauty of Rio from a different perspective with a relaxing sailboat cruise on Guanabara Bay. Soak up the sun, admire the iconic landmarks from the water, and enjoy the refreshing sea breeze. Opt for a sunset cruise for a truly magical experience.", + "locationName": "Guanabara Bay", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "rio-de-janeiro", + "ref": "sailboat-cruise-on-guanabara-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_sailboat-cruise-on-guanabara-bay.jpg" + }, + { + "name": "Feira Hippie de Ipanema: Treasure Hunt", + "description": "Discover unique souvenirs and local crafts at the Feira Hippie de Ipanema, a vibrant open-air market. Browse through stalls filled with handmade jewelry, clothing, art, and more. Enjoy the lively atmosphere and find the perfect memento of your Rio adventure.", + "locationName": "Ipanema", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "feira-hippie-de-ipanema-treasure-hunt", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_feira-hippie-de-ipanema-treasure-hunt.jpg" + }, + { + "name": "Museum of Tomorrow", + "description": "Embark on a journey into the future at the Museum of Tomorrow, a science museum with interactive exhibits exploring sustainability and the challenges facing our planet. The striking architecture and thought-provoking displays make it a unique and educational experience for all ages.", + "locationName": "Museum of Tomorrow", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "museum-of-tomorrow", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_museum-of-tomorrow.jpg" + }, + { + "name": "Parque Lage", + "description": "Escape the city bustle at Parque Lage, a tranquil oasis with a historic mansion, a picturesque lake, and lush gardens. Enjoy a leisurely stroll, visit the art school, or simply relax at the on-site cafe and soak in the serene atmosphere. ", + "locationName": "Parque Lage", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "rio-de-janeiro", + "ref": "parque-lage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_parque-lage.jpg" + }, + { + "name": "AquaRio", + "description": "Dive into the underwater world at AquaRio, the largest marine aquarium in South America. Discover a diverse array of marine life, from colorful fish to majestic sharks, and walk through a mesmerizing underwater tunnel for an immersive experience.", + "locationName": "AquaRio", + "duration": 2.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "rio-de-janeiro", + "ref": "aquario", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_aquario.jpg" + }, + { + "name": "Theatro Municipal do Rio de Janeiro", + "description": "Experience the grandeur of Theatro Municipal do Rio de Janeiro, a stunning opera house renowned for its opulent architecture and world-class performances. Catch a ballet, opera, or symphony concert for a dose of culture and sophistication.", + "locationName": "Theatro Municipal do Rio de Janeiro", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "rio-de-janeiro", + "ref": "theatro-municipal-do-rio-de-janeiro", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_theatro-municipal-do-rio-de-janeiro.jpg" + }, + { + "name": "Ilha da Gigóia", + "description": "Escape the city and explore Ilha da Gigóia, a car-free island in the Barra da Tijuca neighborhood. Rent a kayak or stand-up paddleboard, enjoy fresh seafood at a local restaurant, and discover the island's laid-back charm.", + "locationName": "Ilha da Gigóia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "rio-de-janeiro", + "ref": "ilha-da-gig-ia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/rio-de-janeiro_ilha-da-gig-ia.jpg" + }, + { + "name": "Salt Flats Photography Tour", + "description": "Embark on a guided photography tour across the mesmerizing Salar de Uyuni. Capture the surreal reflections of the sky on the flooded salt flats during the rainy season, creating stunning optical illusions. Learn perspective tricks from your guide to take playful and unforgettable photos with the unique landscape.", + "locationName": "Salar de Uyuni", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "salar-de-uyuni", + "ref": "salt-flats-photography-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_salt-flats-photography-tour.jpg" + }, + { + "name": "Stargazing Experience", + "description": "Witness the breathtaking spectacle of the night sky above the Salar de Uyuni. Far from city lights, the desert offers unparalleled views of the Milky Way and constellations. Join a stargazing tour led by an expert guide who will share insights about the celestial wonders above.", + "locationName": "Salar de Uyuni", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "stargazing-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_stargazing-experience.jpg" + }, + { + "name": "Isla Incahuasi Exploration", + "description": "Venture to Isla Incahuasi, an island oasis in the heart of the salt flats. Hike to the island's summit for panoramic views of the vast white expanse. Explore the unique ecosystem with its giant cacti, and learn about the island's history and geological formations.", + "locationName": "Isla Incahuasi", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "isla-incahuasi-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_isla-incahuasi-exploration.jpg" + }, + { + "name": "Train Cemetery Visit", + "description": "Step back in time at the Train Cemetery, a collection of rusting locomotives and train cars from Bolivia's mining era. Explore the abandoned trains, capture unique photos, and learn about the history of the railway system and its impact on the region.", + "locationName": "Uyuni Train Cemetery", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "salar-de-uyuni", + "ref": "train-cemetery-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_train-cemetery-visit.jpg" + }, + { + "name": "Laguna Colorada Flamingo Viewing", + "description": "Journey to Laguna Colorada, a vibrant red lagoon known for its large population of flamingos. Observe these elegant birds in their natural habitat as they feed and interact. Learn about the unique ecosystem of the lagoon and the factors that contribute to its distinctive color.", + "locationName": "Laguna Colorada", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "salar-de-uyuni", + "ref": "laguna-colorada-flamingo-viewing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_laguna-colorada-flamingo-viewing.jpg" + }, + { + "name": "Andean Salt Hotel Experience", + "description": "Spend a night in a unique hotel constructed entirely from salt blocks, offering an unforgettable experience in the heart of the Salar de Uyuni. Marvel at the intricate salt carvings, enjoy local cuisine in the salt restaurant, and relax in the cozy atmosphere of this architectural wonder.", + "locationName": "Salt Hotel on the Salar de Uyuni", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "salar-de-uyuni", + "ref": "andean-salt-hotel-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_andean-salt-hotel-experience.jpg" + }, + { + "name": "Off-Road Adventure to the Tunupa Volcano", + "description": "Embark on an exhilarating 4x4 journey to the Tunupa Volcano, a dormant stratovolcano offering breathtaking panoramic views of the Salar de Uyuni and surrounding landscapes. Explore ancient caves adorned with cave paintings, hike to the volcano's crater, and learn about the region's geological history.", + "locationName": "Tunupa Volcano", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "salar-de-uyuni", + "ref": "off-road-adventure-to-the-tunupa-volcano", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_off-road-adventure-to-the-tunupa-volcano.jpg" + }, + { + "name": "Mountain Biking on the Salt Flats", + "description": "Experience the vastness of the Salar de Uyuni on two wheels, cycling across the seemingly endless expanse of salt. Feel the cool breeze against your face as you pedal through this unique landscape, stopping to capture stunning photos and enjoy the serene atmosphere.", + "locationName": "Salar de Uyuni", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "mountain-biking-on-the-salt-flats", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_mountain-biking-on-the-salt-flats.jpg" + }, + { + "name": "Sunset Picnic on the Salt Flats", + "description": "Indulge in a romantic and unforgettable experience with a sunset picnic on the Salar de Uyuni. As the sun dips below the horizon, witness the sky ablaze with vibrant colors, reflecting off the shimmering salt crust. Enjoy a delicious spread of local delicacies and savor the magical ambiance.", + "locationName": "Salar de Uyuni", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "salar-de-uyuni", + "ref": "sunset-picnic-on-the-salt-flats", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_sunset-picnic-on-the-salt-flats.jpg" + }, + { + "name": "Uyuni Market Exploration", + "description": "Immerse yourself in the local culture with a visit to the vibrant Uyuni Market. Browse through stalls brimming with colorful handicrafts, textiles, and souvenirs. Sample regional delicacies, interact with friendly vendors, and discover the authentic flavors of Bolivia.", + "locationName": "Uyuni Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "salar-de-uyuni", + "ref": "uyuni-market-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_uyuni-market-exploration.jpg" + }, + { + "name": "Cave Exploration at Cueva del Diablo", + "description": "Embark on a thrilling adventure to the 'Devil's Cave,' a natural cavern located near the salt flats. Explore its eerie chambers adorned with stalactites and stalagmites, and learn about the local legends and folklore surrounding this mysterious site.", + "locationName": "Cueva del Diablo", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "cave-exploration-at-cueva-del-diablo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_cave-exploration-at-cueva-del-diablo.jpg" + }, + { + "name": "Authentic Quinoa Farm Visit and Lunch", + "description": "Immerse yourself in the local culture with a visit to a traditional quinoa farm. Learn about the cultivation process of this Andean superfood, participate in harvesting activities (depending on the season), and savor a delicious lunch prepared with fresh, locally-sourced ingredients.", + "locationName": "Local quinoa farm", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "salar-de-uyuni", + "ref": "authentic-quinoa-farm-visit-and-lunch", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_authentic-quinoa-farm-visit-and-lunch.jpg" + }, + { + "name": "Sunrise Hot Springs Experience", + "description": "Start your day with a magical sunrise soak in the natural hot springs near the salt flats. Relax and rejuvenate in the therapeutic waters while witnessing the breathtaking colors of the dawn sky. This is a perfect opportunity for stunning photographs and peaceful reflection.", + "locationName": "Hot springs near Salar de Uyuni", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "salar-de-uyuni", + "ref": "sunrise-hot-springs-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_sunrise-hot-springs-experience.jpg" + }, + { + "name": "Local Village Cultural Exchange", + "description": "Engage with the local community and experience their way of life. Visit a nearby village, interact with residents, learn about their customs and traditions, and perhaps even participate in a traditional craft workshop.", + "locationName": "Local village", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "local-village-cultural-exchange", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_local-village-cultural-exchange.jpg" + }, + { + "name": "Andean Textile Art Workshop", + "description": "Discover the vibrant world of Andean textiles with a hands-on workshop. Learn about traditional weaving techniques, natural dyes, and the cultural significance of these intricate textiles. Create your own small piece of art to take home as a unique souvenir.", + "locationName": "Local workshop or community center", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "andean-textile-art-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_andean-textile-art-workshop.jpg" + }, + { + "name": "Salt Flat ATV Adventure", + "description": "Embark on an exhilarating ATV adventure across the vast expanse of the Salar de Uyuni. Feel the wind in your hair as you zoom past unique rock formations, hidden lagoons, and endless white landscapes. This thrilling experience offers a unique perspective of the salt flats and is perfect for adrenaline seekers.", + "locationName": "Salar de Uyuni", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "salar-de-uyuni", + "ref": "salt-flat-atv-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_salt-flat-atv-adventure.jpg" + }, + { + "name": "Andean Astronomy Night", + "description": "Experience the magic of the Uyuni night sky with a guided astronomy tour. Far from city lights, the salt flats offer unparalleled views of the Milky Way and constellations. Learn about Andean astronomy, mythology, and the significance of the stars in the local culture. This activity is perfect for couples, families, and anyone seeking a unique and awe-inspiring experience.", + "locationName": "Salar de Uyuni", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "andean-astronomy-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_andean-astronomy-night.jpg" + }, + { + "name": "Traditional Salt Harvesting Experience", + "description": "Discover the ancient art of salt harvesting with a visit to a local salt mining community. Learn about the traditional methods used to extract salt from the flats and the cultural significance of this practice. Participate in the process, from breaking the salt crust to loading it onto trucks. This immersive experience offers a glimpse into the lives of the local people and their connection to the salt flats.", + "locationName": "Colchani Village", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "salar-de-uyuni", + "ref": "traditional-salt-harvesting-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_traditional-salt-harvesting-experience.jpg" + }, + { + "name": "Uyuni Photography Workshop", + "description": "Elevate your photography skills with a specialized workshop on the Salar de Uyuni. Learn about composition, lighting, and perspective from experienced photographers, capturing the unique beauty of the salt flats. This workshop is perfect for photography enthusiasts of all levels and will help you create stunning images to remember your trip.", + "locationName": "Salar de Uyuni", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "salar-de-uyuni", + "ref": "uyuni-photography-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_uyuni-photography-workshop.jpg" + }, + { + "name": "Andean Music and Dance Performance", + "description": "Immerse yourself in the vibrant culture of the Andes with a traditional music and dance performance. Enjoy the lively rhythms of local instruments and witness the colorful costumes and energetic dances. This cultural experience provides insight into the rich heritage of the region and is a perfect way to end a day on the salt flats.", + "locationName": "Uyuni Town", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "salar-de-uyuni", + "ref": "andean-music-and-dance-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/salar-de-uyuni_andean-music-and-dance-performance.jpg" + }, + { + "name": "Explore Balboa Park", + "description": "Spend a day wandering through the beautiful Balboa Park, a cultural oasis with stunning gardens, museums, theaters, and the world-famous San Diego Zoo. Discover diverse plant life in the Botanical Building, marvel at Spanish Renaissance architecture, and enjoy street performances.", + "locationName": "Balboa Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-diego", + "ref": "explore-balboa-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_explore-balboa-park.jpg" + }, + { + "name": "Visit the San Diego Zoo", + "description": "Embark on a wildlife adventure at the renowned San Diego Zoo, home to over 3,500 animals from around the world. See giant pandas, koalas, elephants, and more in naturalistic habitats. Take a guided bus tour, ride the aerial tram, and enjoy educational shows.", + "locationName": "San Diego Zoo", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-diego", + "ref": "visit-the-san-diego-zoo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_visit-the-san-diego-zoo.jpg" + }, + { + "name": "Relax on Coronado Island", + "description": "Escape to the picturesque Coronado Island, known for its pristine beaches, charming shops, and the iconic Hotel del Coronado. Sunbathe on the soft sand, try water sports like kayaking or paddleboarding, and enjoy a leisurely bike ride along the coast.", + "locationName": "Coronado Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-diego", + "ref": "relax-on-coronado-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_relax-on-coronado-island.jpg" + }, + { + "name": "Discover the Gaslamp Quarter", + "description": "Step back in time in the historic Gaslamp Quarter, a vibrant district with Victorian-era architecture, trendy restaurants, and lively nightlife. Explore art galleries, enjoy live music at a jazz bar, and experience the city's energetic atmosphere.", + "locationName": "Gaslamp Quarter", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "san-diego", + "ref": "discover-the-gaslamp-quarter", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_discover-the-gaslamp-quarter.jpg" + }, + { + "name": "Catch a wave at La Jolla Shores", + "description": "Head to La Jolla Shores, a popular beach known for its gentle waves, making it perfect for beginner surfers and families. Take a surf lesson, rent a board, or simply relax on the sand and watch the surfers. Explore the nearby La Jolla Underwater Park for snorkeling and diving adventures.", + "locationName": "La Jolla Shores", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-diego", + "ref": "catch-a-wave-at-la-jolla-shores", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_catch-a-wave-at-la-jolla-shores.jpg" + }, + { + "name": "Kayak with Sea Lions in La Jolla Cove", + "description": "Embark on a guided kayaking tour of the La Jolla sea caves and ecological reserve. Paddle alongside playful sea lions, marvel at the dramatic cliffs, and discover hidden coves. This eco-friendly adventure offers stunning views and close encounters with marine life.", + "locationName": "La Jolla Cove", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-diego", + "ref": "kayak-with-sea-lions-in-la-jolla-cove", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_kayak-with-sea-lions-in-la-jolla-cove.jpg" + }, + { + "name": "Hike Torrey Pines State Natural Reserve", + "description": "Experience the breathtaking beauty of Torrey Pines State Natural Reserve, with its iconic sandstone cliffs overlooking the Pacific Ocean. Hike through trails offering panoramic ocean views, diverse plant life, and opportunities for bird watching. Choose from various trails suitable for different fitness levels.", + "locationName": "Torrey Pines State Natural Reserve", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-diego", + "ref": "hike-torrey-pines-state-natural-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_hike-torrey-pines-state-natural-reserve.jpg" + }, + { + "name": "Explore the San Diego Harbor by Boat", + "description": "Enjoy a scenic cruise or sailing adventure around San Diego Harbor. Admire the city skyline, the iconic Coronado Bridge, and naval ships. Opt for a sunset cruise with breathtaking views or a whale watching tour during migration season.", + "locationName": "San Diego Harbor", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-diego", + "ref": "explore-the-san-diego-harbor-by-boat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_explore-the-san-diego-harbor-by-boat.jpg" + }, + { + "name": "Catch a Show at the Old Globe Theatre", + "description": "Experience world-class theater at the Old Globe, renowned for its Shakespearean productions and Broadway-caliber shows. Choose from a variety of performances in different theaters, enjoying a captivating evening of entertainment in a beautiful setting.", + "locationName": "Old Globe Theatre", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "san-diego", + "ref": "catch-a-show-at-the-old-globe-theatre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_catch-a-show-at-the-old-globe-theatre.jpg" + }, + { + "name": "Go tidepooling at Cabrillo National Monument", + "description": "Discover the fascinating world of tide pools at Cabrillo National Monument, where you can observe sea creatures like starfish, anemones, and crabs in their natural habitat. This educational and engaging activity is perfect for families and nature enthusiasts.", + "locationName": "Cabrillo National Monument", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-diego", + "ref": "go-tidepooling-at-cabrillo-national-monument", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_go-tidepooling-at-cabrillo-national-monument.jpg" + }, + { + "name": "Stroll through the San Diego Botanic Garden", + "description": "Immerse yourself in the beauty of diverse plant life at the San Diego Botanic Garden. Explore themed gardens, including a desert garden, a tropical rainforest, and a California native plant section. Enjoy a peaceful escape surrounded by nature's wonders.", + "locationName": "San Diego Botanic Garden", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-diego", + "ref": "stroll-through-the-san-diego-botanic-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_stroll-through-the-san-diego-botanic-garden.jpg" + }, + { + "name": "Take a day trip to Julian", + "description": "Escape the city and venture into the charming mountain town of Julian. Known for its apple pies and historic gold mining past, Julian offers a delightful change of pace. Explore the town's shops, enjoy a slice of pie, and hike amidst scenic landscapes.", + "locationName": "Julian", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-diego", + "ref": "take-a-day-trip-to-julian", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_take-a-day-trip-to-julian.jpg" + }, + { + "name": "Visit the Birch Aquarium at Scripps", + "description": "Delve into the wonders of the underwater world at the Birch Aquarium at Scripps. Explore exhibits showcasing diverse marine life, learn about oceanographic research, and enjoy breathtaking views of the Pacific Ocean.", + "locationName": "Birch Aquarium at Scripps", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-diego", + "ref": "visit-the-birch-aquarium-at-scripps", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_visit-the-birch-aquarium-at-scripps.jpg" + }, + { + "name": "Embark on a Whale Watching Adventure", + "description": "Experience the thrill of witnessing majestic whales in their natural habitat on a whale watching excursion. San Diego is renowned as a prime location for spotting gray whales during their annual migration, as well as other whale species like humpbacks and blue whales. Join a guided tour and marvel at these gentle giants as they breach, spout, and swim alongside the boat.", + "locationName": "San Diego Harbor", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-diego", + "ref": "embark-on-a-whale-watching-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_embark-on-a-whale-watching-adventure.jpg" + }, + { + "name": "Indulge in a Craft Beer Tour", + "description": "Discover San Diego's thriving craft beer scene by embarking on a brewery tour. With numerous award-winning breweries scattered throughout the city, you can sample a wide variety of beers, from hoppy IPAs to rich stouts. Join a guided tour to learn about the brewing process, meet local brewers, and indulge in delicious beer tastings.", + "locationName": "Various breweries throughout San Diego", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "san-diego", + "ref": "indulge-in-a-craft-beer-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_indulge-in-a-craft-beer-tour.jpg" + }, + { + "name": "Explore the Vibrant Neighborhoods", + "description": "Beyond the popular tourist spots, San Diego boasts diverse and charming neighborhoods, each with its unique character. Explore the historic streets of Old Town San Diego, experience the hipster vibes of North Park, or discover the artistic spirit of Barrio Logan. Each neighborhood offers a distinct atmosphere, local shops, restaurants, and cultural attractions.", + "locationName": "Various neighborhoods throughout San Diego", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-diego", + "ref": "explore-the-vibrant-neighborhoods", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_explore-the-vibrant-neighborhoods.jpg" + }, + { + "name": "Take a Day Trip to Tijuana, Mexico", + "description": "Just a short drive from San Diego lies Tijuana, Mexico, offering a vibrant cultural experience. Explore the bustling Avenida Revolución, sample authentic Mexican cuisine, discover local artisan crafts, and immerse yourself in the lively atmosphere of this border city.", + "locationName": "Tijuana, Mexico", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-diego", + "ref": "take-a-day-trip-to-tijuana-mexico", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_take-a-day-trip-to-tijuana-mexico.jpg" + }, + { + "name": "Go Hiking or Biking with Scenic Views", + "description": "San Diego offers numerous hiking and biking trails with breathtaking views. Explore the coastal trails of Torrey Pines State Natural Reserve, hike to the summit of Cowles Mountain for panoramic vistas, or bike along the scenic Mission Beach Boardwalk. Enjoy the fresh air, exercise, and stunning natural landscapes.", + "locationName": "Various trails throughout San Diego", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-diego", + "ref": "go-hiking-or-biking-with-scenic-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-diego_go-hiking-or-biking-with-scenic-views.jpg" + }, + { + "name": "Explore the Historic Centro", + "description": "Wander through the cobblestone streets of San Miguel's historic center, admiring the colonial architecture, vibrant colors, and charming atmosphere. Visit the iconic Parroquia de San Miguel Arcángel, a pink neo-Gothic church, and explore the many art galleries, boutiques, and cafes.", + "locationName": "Centro Histórico", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-miguel-de-allende", + "ref": "explore-the-historic-centro", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_explore-the-historic-centro.jpg" + }, + { + "name": "Immerse in Art and Culture", + "description": "San Miguel de Allende is an art lover's paradise. Visit the Fabrica La Aurora, a former textile factory turned art and design center, or explore the many art galleries showcasing works by local and international artists. Take an art class or workshop to unleash your creativity.", + "locationName": "Fabrica La Aurora, art galleries throughout the city", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "immerse-in-art-and-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_immerse-in-art-and-culture.jpg" + }, + { + "name": "Savor Culinary Delights", + "description": "Indulge in San Miguel's vibrant culinary scene. Sample traditional Mexican dishes at local restaurants, enjoy fine dining experiences with international flavors, or take a cooking class to learn the secrets of Mexican cuisine. Don't miss the opportunity to try the city's famous churros and mole.", + "locationName": "Various restaurants and cooking schools throughout the city", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "savor-culinary-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_savor-culinary-delights.jpg" + }, + { + "name": "Experience the Rooftop Views", + "description": "Enjoy breathtaking panoramic views of the city from one of San Miguel's many rooftop bars and restaurants. Sip on a margarita, admire the sunset over the colorful cityscape, and soak up the magical ambiance of this charming colonial city.", + "locationName": "Various rooftop venues throughout the city", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "experience-the-rooftop-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_experience-the-rooftop-views.jpg" + }, + { + "name": "Day Trip to the Sanctuary of Atotonilco", + "description": "Embark on a cultural excursion to the Sanctuary of Atotonilco, a UNESCO World Heritage site known as the 'Sistine Chapel of Mexico.' Admire the impressive murals and architecture of this 18th-century religious complex, and learn about its historical and spiritual significance.", + "locationName": "Sanctuary of Atotonilco", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "day-trip-to-the-sanctuary-of-atotonilco", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_day-trip-to-the-sanctuary-of-atotonilco.jpg" + }, + { + "name": "Horseback Riding in the Countryside", + "description": "Embark on a scenic horseback riding adventure through the picturesque countryside surrounding San Miguel de Allende. Several ranches and tour operators offer guided horseback riding excursions, allowing you to explore the rolling hills, charming villages, and breathtaking landscapes of the region. Whether you're an experienced rider or a beginner, this activity provides a unique perspective and a chance to connect with nature.", + "locationName": "Countryside surrounding San Miguel de Allende", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "horseback-riding-in-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_horseback-riding-in-the-countryside.jpg" + }, + { + "name": "Hot Air Balloon Ride over the City", + "description": "Experience the magic of San Miguel de Allende from a breathtaking perspective with a hot air balloon ride. Ascend into the sky and marvel at the panoramic views of the city's colonial architecture, colorful streets, and surrounding landscapes. Enjoy the tranquility of floating above the rooftops and capture unforgettable memories as the sun rises or sets.", + "locationName": "San Miguel de Allende", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "san-miguel-de-allende", + "ref": "hot-air-balloon-ride-over-the-city", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_hot-air-balloon-ride-over-the-city.jpg" + }, + { + "name": "Relax and Rejuvenate at a Spa", + "description": "Indulge in a pampering spa experience and rejuvenate your mind, body, and soul. San Miguel de Allende offers a variety of luxurious spas and wellness centers where you can enjoy a range of treatments, including massages, facials, body wraps, and hydrotherapy. Immerse yourself in a tranquil atmosphere and let the stresses of everyday life melt away.", + "locationName": "Various spas and wellness centers in San Miguel de Allende", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "relax-and-rejuvenate-at-a-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_relax-and-rejuvenate-at-a-spa.jpg" + }, + { + "name": "Explore the Fabrica La Aurora", + "description": "Visit the Fabrica La Aurora, a former textile factory that has been transformed into a vibrant art and design center. Explore the various galleries, studios, and shops showcasing the works of local and international artists. Discover unique paintings, sculptures, jewelry, furniture, and more. The Fabrica La Aurora also features charming cafes and restaurants where you can enjoy a leisurely meal or a cup of coffee.", + "locationName": "Fabrica La Aurora", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "explore-the-fabrica-la-aurora", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_explore-the-fabrica-la-aurora.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Immerse yourself in Mexican culinary culture by taking a cooking class. Learn how to prepare traditional dishes from local chefs, using fresh, regional ingredients. Discover the secrets of Mexican cuisine, from classic recipes to contemporary creations. Many cooking classes also include a visit to a local market to select ingredients and learn about Mexican culinary traditions.", + "locationName": "Various cooking schools and culinary centers in San Miguel de Allende", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_take-a-cooking-class.jpg" + }, + { + "name": "Hiking in the Canyon", + "description": "Embark on a scenic hike through the breathtaking canyon just outside San Miguel de Allende. Explore the rugged trails, surrounded by stunning rock formations and panoramic views of the city. Keep an eye out for local flora and fauna along the way, and enjoy a picnic lunch amidst nature's beauty.", + "locationName": "Canyon outside San Miguel de Allende", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "hiking-in-the-canyon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_hiking-in-the-canyon.jpg" + }, + { + "name": "Live Music at a Local Bar", + "description": "Immerse yourself in the vibrant nightlife of San Miguel de Allende by catching a live music performance at a local bar. From traditional Mexican folk music to contemporary jazz and blues, the city offers a diverse range of musical experiences to suit all tastes. Enjoy a margarita or local craft beer as you soak up the lively atmosphere.", + "locationName": "Various bars in San Miguel de Allende", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "live-music-at-a-local-bar", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_live-music-at-a-local-bar.jpg" + }, + { + "name": "Visit the Botanical Garden", + "description": "Escape the hustle and bustle of the city with a visit to the serene Botanical Garden. Stroll through a diverse collection of cacti, succulents, and other native plants, and learn about the region's unique flora. Enjoy the peaceful ambiance and take in the stunning views of the surrounding landscape.", + "locationName": "El Charco del Ingenio Botanical Garden", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-miguel-de-allende", + "ref": "visit-the-botanical-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_visit-the-botanical-garden.jpg" + }, + { + "name": "Shop for Unique Souvenirs", + "description": "Wander through the charming streets of San Miguel de Allende and discover a treasure trove of unique souvenirs. Browse the local artisan shops and art galleries, where you can find handcrafted jewelry, textiles, pottery, and other one-of-a-kind items. Take home a piece of Mexican culture and support local artists.", + "locationName": "Centro Histórico and surrounding areas", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "shop-for-unique-souvenirs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_shop-for-unique-souvenirs.jpg" + }, + { + "name": "Take a Day Trip to Guanajuato", + "description": "Embark on a day trip to the nearby city of Guanajuato, another UNESCO World Heritage site. Explore the colorful colonial architecture, visit the historic silver mines, and wander through the charming alleyways. Don't miss the opportunity to visit the iconic Callejon del Beso (Alley of the Kiss) and learn about its romantic legend.", + "locationName": "Guanajuato City", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "take-a-day-trip-to-guanajuato", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_take-a-day-trip-to-guanajuato.jpg" + }, + { + "name": "Wine Tour in the Valley", + "description": "Embark on a delightful journey through the burgeoning wine region surrounding San Miguel de Allende. Visit local vineyards, sample exquisite wines, and learn about the unique terroir and winemaking techniques of the region. Enjoy breathtaking vineyard vistas and indulge in a gourmet picnic lunch amidst the rolling hills.", + "locationName": "San Miguel de Allende Valley", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "san-miguel-de-allende", + "ref": "wine-tour-in-the-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_wine-tour-in-the-valley.jpg" + }, + { + "name": "Charreada Experience", + "description": "Immerse yourself in Mexican culture with a thrilling Charreada, a traditional rodeo-like event. Witness skilled Charros showcase their horsemanship, roping skills, and daring stunts. Enjoy lively music, vibrant costumes, and authentic Mexican food for a truly unforgettable experience.", + "locationName": "Lienzo Charro", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "charreada-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_charreada-experience.jpg" + }, + { + "name": "Temazcal Ritual", + "description": "Experience a traditional Temazcal ceremony, a pre-Hispanic sweat lodge ritual used for purification and healing. Enter a dome-shaped structure and participate in a guided ceremony involving heated volcanic rocks, herbal steam, and chanting. Emerge feeling refreshed, rejuvenated, and connected to ancient traditions.", + "locationName": "Various locations throughout the city", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "temazcal-ritual", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_temazcal-ritual.jpg" + }, + { + "name": "Stargazing in the Desert", + "description": "Escape the city lights and venture into the surrounding desert for a magical stargazing experience. Join a guided tour led by an astronomy expert who will unveil the wonders of the night sky. Marvel at constellations, planets, and distant galaxies, and learn about the celestial stories and myths.", + "locationName": "San Miguel de Allende Desert", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-miguel-de-allende", + "ref": "stargazing-in-the-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_stargazing-in-the-desert.jpg" + }, + { + "name": "Parroquia de San Miguel Arcángel Light Show", + "description": "As the sun sets, witness the iconic Parroquia de San Miguel Arcángel come alive with a mesmerizing light show. The church's neo-Gothic facade is illuminated with vibrant colors and intricate patterns, creating a breathtaking spectacle that reflects the city's artistic spirit.", + "locationName": "Parroquia de San Miguel Arcángel", + "duration": 1, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-miguel-de-allende", + "ref": "parroquia-de-san-miguel-arc-ngel-light-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-miguel-de-allende_parroquia-de-san-miguel-arc-ngel-light-show.jpg" + }, + { + "name": "Pintxos Hopping in the Old Town", + "description": "Embark on a delightful culinary adventure through the charming streets of San Sebastian's Old Town. Sample an array of delicious pintxos, small bites typically served on bread, at various bars and restaurants. Each establishment boasts its own unique specialties, from classic combinations to innovative creations. Savor the flavors, soak up the lively atmosphere, and discover why San Sebastian is a food lover's paradise.", + "locationName": "Old Town", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-sebastian", + "ref": "pintxos-hopping-in-the-old-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_pintxos-hopping-in-the-old-town.jpg" + }, + { + "name": "Beach Bliss at La Concha", + "description": "Unwind on the golden sands of La Concha, one of the most beautiful urban beaches in Europe. Bask in the sun, take a refreshing dip in the turquoise waters, or simply stroll along the picturesque promenade. Rent a paddleboard or kayak for a fun water adventure. In the evening, enjoy a breathtaking sunset over the bay.", + "locationName": "La Concha Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-sebastian", + "ref": "beach-bliss-at-la-concha", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_beach-bliss-at-la-concha.jpg" + }, + { + "name": "Hiking Mount Urgull for Panoramic Views", + "description": "Embark on a scenic hike up Mount Urgull, a historic hill overlooking the city. Ascend through lush greenery and discover remnants of ancient fortifications. Reach the summit and be rewarded with breathtaking panoramic views of San Sebastian, the bay, and the surrounding mountains. Visit the Mota Castle and the Sagrado Corazón statue for a dose of history and culture.", + "locationName": "Mount Urgull", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-sebastian", + "ref": "hiking-mount-urgull-for-panoramic-views", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_hiking-mount-urgull-for-panoramic-views.jpg" + }, + { + "name": "Michelin-Starred Culinary Experience", + "description": "Indulge in a world-class dining experience at one of San Sebastian's renowned Michelin-starred restaurants. Immerse yourself in the artistry of Basque cuisine as you savor exquisitely crafted dishes prepared with the finest local ingredients. Be captivated by the elegant ambiance, impeccable service, and innovative culinary creations that will tantalize your taste buds.", + "locationName": "Various Michelin-starred restaurants", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "san-sebastian", + "ref": "michelin-starred-culinary-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_michelin-starred-culinary-experience.jpg" + }, + { + "name": "Exploring the Charms of Santa Clara Island", + "description": "Take a boat trip to Santa Clara Island, a small island located in the middle of La Concha Bay. Relax on the island's secluded beach, swim in the crystal-clear waters, or hike to the top for panoramic views. Discover the island's lighthouse and small chapel, and enjoy a peaceful escape from the bustling city.", + "locationName": "Santa Clara Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-sebastian", + "ref": "exploring-the-charms-of-santa-clara-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_exploring-the-charms-of-santa-clara-island.jpg" + }, + { + "name": "Surfing at Zurriola Beach", + "description": "Catch some waves at Zurriola Beach, a haven for surfers of all levels. Rent a board and take a lesson, or simply watch the pros in action. The lively atmosphere and stunning coastal views make it a perfect spot to spend an active afternoon.", + "locationName": "Zurriola Beach", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-sebastian", + "ref": "surfing-at-zurriola-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_surfing-at-zurriola-beach.jpg" + }, + { + "name": "Kayaking or Stand Up Paddleboarding in La Concha Bay", + "description": "Enjoy a unique perspective of San Sebastian's coastline by kayaking or stand up paddleboarding in the calm waters of La Concha Bay. Glide past iconic landmarks like the Santa Clara Island and admire the elegant architecture of the city from the water. It's a relaxing and scenic way to experience the beauty of the bay.", + "locationName": "La Concha Bay", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-sebastian", + "ref": "kayaking-or-stand-up-paddleboarding-in-la-concha-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_kayaking-or-stand-up-paddleboarding-in-la-concha-bay.jpg" + }, + { + "name": "Exploring the Parte Vieja (Old Town)", + "description": "Get lost in the charming Parte Vieja, the historic heart of San Sebastian. Wander through narrow streets lined with traditional Basque buildings, discover hidden plazas, and pop into local shops and pintxos bars. Soak in the vibrant atmosphere and enjoy the architectural beauty of this historic district.", + "locationName": "Parte Vieja", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-sebastian", + "ref": "exploring-the-parte-vieja-old-town-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_exploring-the-parte-vieja-old-town-.jpg" + }, + { + "name": "Day Trip to the French Basque Country", + "description": "Embark on a day trip to the charming towns of the French Basque Country, such as Biarritz and Saint-Jean-de-Luz. Experience the unique culture and traditions of this region, indulge in delicious French cuisine, and explore the picturesque coastal landscapes. It's a perfect opportunity to discover the French side of the Basque Country.", + "locationName": "Biarritz and Saint-Jean-de-Luz", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "san-sebastian", + "ref": "day-trip-to-the-french-basque-country", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_day-trip-to-the-french-basque-country.jpg" + }, + { + "name": "Peine del Viento Sculptures and Paseo Nuevo", + "description": "Take a stroll along the Paseo Nuevo, a beautiful promenade offering breathtaking views of the Bay of Biscay. Admire the iconic Peine del Viento sculptures by Eduardo Chillida, a series of wind combs anchored to the rocks, and capture stunning photos of this unique art installation against the dramatic coastal backdrop.", + "locationName": "Paseo Nuevo", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-sebastian", + "ref": "peine-del-viento-sculptures-and-paseo-nuevo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_peine-del-viento-sculptures-and-paseo-nuevo.jpg" + }, + { + "name": "Sunset Sailing on the Bay of Biscay", + "description": "Embark on a magical sunset sail along the stunning Bay of Biscay. As the sun dips below the horizon, painting the sky with vibrant hues, admire the city's coastline from a unique perspective. Enjoy the gentle sea breeze and the tranquility of the open water, perhaps even spotting dolphins playing in the waves.", + "locationName": "Bay of Biscay", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-sebastian", + "ref": "sunset-sailing-on-the-bay-of-biscay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_sunset-sailing-on-the-bay-of-biscay.jpg" + }, + { + "name": "Cider House Experience in the Countryside", + "description": "Venture into the picturesque Basque countryside to discover the tradition of cider houses. Enjoy a rustic feast of chorizo, cod omelet, and steak, all accompanied by free-flowing cider poured directly from enormous barrels. Immerse yourself in the lively atmosphere and local culture, often accompanied by live music and singing.", + "locationName": "Basque Countryside", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-sebastian", + "ref": "cider-house-experience-in-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_cider-house-experience-in-the-countryside.jpg" + }, + { + "name": "Time Travel at the San Telmo Museum", + "description": "Delve into the rich history and culture of the Basque region at the San Telmo Museum. Explore fascinating exhibits showcasing archaeological artifacts, traditional costumes, and artwork, spanning centuries of Basque heritage. Gain a deeper understanding of the unique identity and traditions of this captivating region.", + "locationName": "San Telmo Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-sebastian", + "ref": "time-travel-at-the-san-telmo-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_time-travel-at-the-san-telmo-museum.jpg" + }, + { + "name": "Indulge in Sweet Treats at a Local Pastelería", + "description": "Satisfy your sweet tooth with a visit to one of San Sebastian's charming pastelerías. Delight in a variety of delectable pastries, cakes, and confections, all made with fresh, local ingredients. Savor the flavors of Basque gastronomy and experience the art of traditional baking.", + "locationName": "Various locations throughout the city", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-sebastian", + "ref": "indulge-in-sweet-treats-at-a-local-pasteler-a", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_indulge-in-sweet-treats-at-a-local-pasteler-a.jpg" + }, + { + "name": "Catch a Performance at the Victoria Eugenia Theatre", + "description": "Experience the magic of live performance at the historic Victoria Eugenia Theatre. Choose from a diverse program of plays, concerts, dance shows, and opera, showcasing local and international talent. Immerse yourself in the world of performing arts and enjoy a memorable evening in this architectural gem.", + "locationName": "Victoria Eugenia Theatre", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-sebastian", + "ref": "catch-a-performance-at-the-victoria-eugenia-theatre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_catch-a-performance-at-the-victoria-eugenia-theatre.jpg" + }, + { + "name": "Monte Igueldo Funicular Ride and Amusement Park", + "description": "Embark on a nostalgic journey on the historic Monte Igueldo funicular, offering breathtaking panoramic views of the city and coastline. At the top, enjoy the charming amusement park with vintage rides, games, and a delightful atmosphere perfect for families and those seeking a touch of whimsy.", + "locationName": "Monte Igueldo", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-sebastian", + "ref": "monte-igueldo-funicular-ride-and-amusement-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_monte-igueldo-funicular-ride-and-amusement-park.jpg" + }, + { + "name": "Comb of the Wind and Ondarreta Beach Stroll", + "description": "Take a leisurely walk along the picturesque Paseo Nuevo, marveling at the iconic Comb of the Wind sculptures by Eduardo Chillida. Continue to the serene Ondarreta Beach, perfect for sunbathing, swimming, or simply enjoying the tranquil atmosphere. Unwind with a drink or meal at one of the charming beachfront cafes.", + "locationName": "Paseo Nuevo and Ondarreta Beach", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-sebastian", + "ref": "comb-of-the-wind-and-ondarreta-beach-stroll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_comb-of-the-wind-and-ondarreta-beach-stroll.jpg" + }, + { + "name": "Aquarium and Naval Museum Exploration", + "description": "Dive into the fascinating underwater world at the San Sebastian Aquarium, home to diverse marine species and interactive exhibits. Adjacent to the aquarium, delve into the rich maritime history of the region at the Naval Museum, exploring historical artifacts and model ships.", + "locationName": "San Sebastian Aquarium and Naval Museum", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "san-sebastian", + "ref": "aquarium-and-naval-museum-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_aquarium-and-naval-museum-exploration.jpg" + }, + { + "name": "La Bretxa Market and Culinary Delights", + "description": "Immerse yourself in the vibrant atmosphere of La Bretxa Market, a bustling hub of local produce, fresh seafood, and artisanal products. Sample Basque cheeses, cured meats, and other regional specialties. Enjoy a delightful lunch at a nearby restaurant, savoring the authentic flavors of San Sebastian.", + "locationName": "La Bretxa Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "san-sebastian", + "ref": "la-bretxa-market-and-culinary-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_la-bretxa-market-and-culinary-delights.jpg" + }, + { + "name": "Miramar Palace and Gardens", + "description": "Step back in time at the elegant Miramar Palace, a former royal summer residence boasting stunning architecture and picturesque gardens. Explore the palace grounds, enjoying panoramic views of the bay and surrounding landscapes. Pack a picnic or visit the nearby cafe for a delightful afternoon.", + "locationName": "Miramar Palace", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "san-sebastian", + "ref": "miramar-palace-and-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/san-sebastian_miramar-palace-and-gardens.jpg" + }, + { + "name": "Sunset Catamaran Cruise with Dinner and Drinks", + "description": "Embark on a romantic evening cruise aboard a catamaran, sailing along the caldera cliffs as the sun dips below the horizon. Indulge in a delicious dinner featuring local Greek specialties while enjoying breathtaking views of the Aegean Sea. The cruise also includes stops for swimming and snorkeling in secluded coves, allowing you to experience the beauty of the island from a unique perspective. As the sky transforms into a canvas of vibrant colors, raise a glass of Santorini's renowned wine and create unforgettable memories with your loved one.", + "locationName": "Ammoudi Bay", + "duration": 5, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "santorini", + "ref": "sunset-catamaran-cruise-with-dinner-and-drinks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_sunset-catamaran-cruise-with-dinner-and-drinks.jpg" + }, + { + "name": "Explore the Ancient City of Akrotiri", + "description": "Step back in time and discover the fascinating ruins of Akrotiri, a Minoan Bronze Age settlement buried by volcanic ash thousands of years ago. Explore the remarkably preserved streets, houses, and frescoes that offer a glimpse into the daily life of this ancient civilization. Learn about the advanced culture and artistry of the Minoans and marvel at the engineering feats that allowed them to thrive on this volcanic island.", + "locationName": "Akrotiri Archaeological Site", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "santorini", + "ref": "explore-the-ancient-city-of-akrotiri", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_explore-the-ancient-city-of-akrotiri.jpg" + }, + { + "name": "Hike from Fira to Oia", + "description": "Embark on a scenic hike along the caldera rim, connecting the villages of Fira and Oia. The trail offers breathtaking panoramic views of the volcanic caldera, the Aegean Sea, and the iconic white-washed villages that cling to the cliffs. Along the way, you'll encounter charming churches, traditional houses, and hidden viewpoints. This moderate hike is a perfect way to immerse yourself in the beauty of Santorini's landscape and capture stunning photographs.", + "locationName": "Fira to Oia Trail", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "santorini", + "ref": "hike-from-fira-to-oia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_hike-from-fira-to-oia.jpg" + }, + { + "name": "Relax on the Black Sand Beaches", + "description": "Escape to the unique black sand beaches of Santorini, formed by volcanic eruptions centuries ago. Perissa and Kamari beaches offer a vibrant atmosphere with beach clubs, water sports, and beachfront restaurants. For a more secluded experience, head to the Red Beach, known for its striking red cliffs and crystal-clear waters. Soak up the sun, swim in the Aegean Sea, and enjoy the contrast of the dark sand against the turquoise waters.", + "locationName": "Perissa, Kamari, or Red Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "santorini", + "ref": "relax-on-the-black-sand-beaches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_relax-on-the-black-sand-beaches.jpg" + }, + { + "name": "Santorini Wine Tour and Tasting", + "description": "Embark on a journey through Santorini's renowned winemaking tradition with a guided tour of local wineries. Discover the unique grape varieties that thrive in the island's volcanic soil and learn about the traditional winemaking methods. Sample a selection of Santorini's distinctive wines, including the crisp Assyrtiko, the sweet Vinsanto, and the full-bodied Nykteri. Enjoy the idyllic vineyard settings and gain insights into the island's rich viticulture heritage.", + "locationName": "Various wineries in Santorini", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "santorini", + "ref": "santorini-wine-tour-and-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_santorini-wine-tour-and-tasting.jpg" + }, + { + "name": "Scuba Dive the Aegean Sea", + "description": "Delve into the crystal-clear waters of the Aegean Sea and discover a mesmerizing underwater world. Explore vibrant coral reefs, encounter fascinating marine life like octopuses and sea turtles, and swim through ancient shipwrecks. Several dive centers on the island cater to all levels, from beginners to experienced divers.", + "locationName": "Various dive sites around Santorini", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "santorini", + "ref": "scuba-dive-the-aegean-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_scuba-dive-the-aegean-sea.jpg" + }, + { + "name": "Kayak to the Sea Caves of the Caldera", + "description": "Embark on a sea kayaking adventure along the dramatic caldera cliffs. Paddle through hidden sea caves, marvel at the volcanic rock formations, and enjoy breathtaking views of the Aegean Sea and the surrounding islands. This is a unique way to experience the beauty of Santorini from a different perspective.", + "locationName": "Caldera cliffs", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "santorini", + "ref": "kayak-to-the-sea-caves-of-the-caldera", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_kayak-to-the-sea-caves-of-the-caldera.jpg" + }, + { + "name": "Indulge in a Traditional Greek Cooking Class", + "description": "Immerse yourself in Greek culture by learning the secrets of traditional cuisine. Join a cooking class and master the art of preparing classic dishes like moussaka, souvlaki, and fresh Greek salad. Enjoy the fruits of your labor with a delicious meal accompanied by local wine.", + "locationName": "Various locations in Santorini", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "santorini", + "ref": "indulge-in-a-traditional-greek-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_indulge-in-a-traditional-greek-cooking-class.jpg" + }, + { + "name": "Explore the Picturesque Village of Oia at Night", + "description": "As the sun sets, wander through the charming village of Oia and witness its magical transformation. The whitewashed houses and blue-domed churches are bathed in a warm glow, creating a romantic and enchanting atmosphere. Enjoy dinner at a cliffside restaurant with panoramic views or simply stroll through the narrow streets and soak up the ambiance.", + "locationName": "Oia", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "santorini", + "ref": "explore-the-picturesque-village-of-oia-at-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_explore-the-picturesque-village-of-oia-at-night.jpg" + }, + { + "name": "Hike to the Profitis Ilias Monastery", + "description": "Embark on a rewarding hike to the highest point on Santorini, where the Profitis Ilias Monastery stands proudly. Enjoy panoramic views of the entire island, the caldera, and the Aegean Sea. The monastery itself offers a peaceful atmosphere and a glimpse into the island's religious heritage.", + "locationName": "Mount Profitis Ilias", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "santorini", + "ref": "hike-to-the-profitis-ilias-monastery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_hike-to-the-profitis-ilias-monastery.jpg" + }, + { + "name": "Horseback Riding through Volcanic Landscapes", + "description": "Embark on a unique adventure, exploring the captivating volcanic landscapes of Santorini on horseback. Traverse rugged trails, witness breathtaking caldera views, and discover hidden corners of the island inaccessible by other means. This activity is perfect for nature enthusiasts and adventure seekers looking for an unforgettable experience.", + "locationName": "Megalochori or Akrotiri", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "santorini", + "ref": "horseback-riding-through-volcanic-landscapes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_horseback-riding-through-volcanic-landscapes.jpg" + }, + { + "name": "Sunset Sailing with a Local Skipper", + "description": "Set sail on a private or small-group sailing excursion as the sun begins its descent, painting the sky with vibrant hues. Your local skipper will share insights about the island and its hidden gems while you glide across the Aegean Sea. Enjoy swimming, snorkeling, and a delightful meal on board, creating an unforgettable evening.", + "locationName": "Amoudi Bay or Vlychada Marina", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "santorini", + "ref": "sunset-sailing-with-a-local-skipper", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_sunset-sailing-with-a-local-skipper.jpg" + }, + { + "name": "Discover the Lost Atlantis Experience", + "description": "Embark on a captivating journey to the Lost Atlantis Experience Museum. Explore interactive exhibits, delve into the myth of Atlantis, and learn about the Minoan civilization that once thrived on Santorini. This immersive experience offers a unique blend of history, mythology, and entertainment for all ages.", + "locationName": "Megalochori", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "santorini", + "ref": "discover-the-lost-atlantis-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_discover-the-lost-atlantis-experience.jpg" + }, + { + "name": "Indulge in a Luxurious Spa Day", + "description": "Escape the hustle and bustle of everyday life and treat yourself to a rejuvenating spa experience. Numerous luxury spas on Santorini offer a variety of treatments inspired by local traditions and ingredients, such as volcanic mud masks and olive oil massages. Unwind, de-stress, and emerge feeling refreshed and revitalized.", + "locationName": "Various locations in Oia, Imerovigli, or Fira", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "santorini", + "ref": "indulge-in-a-luxurious-spa-day", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_indulge-in-a-luxurious-spa-day.jpg" + }, + { + "name": "Explore the Island's Charming Villages on an ATV Adventure", + "description": "Rent an ATV and embark on a thrilling adventure, exploring Santorini's charming villages and hidden corners at your own pace. Discover traditional architecture, local shops, and stunning viewpoints, venturing off the beaten path for a unique perspective of the island's beauty.", + "locationName": "Fira or Perissa", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "santorini", + "ref": "explore-the-island-s-charming-villages-on-an-atv-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_explore-the-island-s-charming-villages-on-an-atv-adventure.jpg" + }, + { + "name": "Visit the Museum of Prehistoric Thera", + "description": "Delve into Santorini's rich history at the Museum of Prehistoric Thera. Explore fascinating artifacts from the Minoan civilization, including frescoes, pottery, and tools, and gain insights into the island's ancient past. This indoor activity is perfect for a rainy day or a break from the sun, offering a captivating journey through time.", + "locationName": "Fira", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "santorini", + "ref": "visit-the-museum-of-prehistoric-thera", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_visit-the-museum-of-prehistoric-thera.jpg" + }, + { + "name": "Take a Cooking Class with a Local Family", + "description": "Immerse yourself in Greek culture and culinary traditions with a cooking class hosted by a local family. Learn the secrets of preparing authentic dishes like moussaka, souvlaki, and baklava, using fresh, local ingredients. Enjoy the fruits of your labor with a shared meal, creating lasting memories and a deeper connection with the island's people.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "santorini", + "ref": "take-a-cooking-class-with-a-local-family", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_take-a-cooking-class-with-a-local-family.jpg" + }, + { + "name": "Go Cliff Jumping in Amoudi Bay", + "description": "For thrill-seekers, cliff jumping in Amoudi Bay is an exhilarating experience. Leap from rocky cliffs into the crystal-clear Aegean Sea, surrounded by stunning views of the caldera. This activity is best suited for adventurous travelers and strong swimmers, offering an adrenaline rush and unforgettable memories.", + "locationName": "Amoudi Bay", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 1, + "destinationRef": "santorini", + "ref": "go-cliff-jumping-in-amoudi-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_go-cliff-jumping-in-amoudi-bay.jpg" + }, + { + "name": "Shop for Unique Souvenirs in Oia", + "description": "Wander through the charming streets of Oia and discover a treasure trove of unique souvenirs. From handcrafted jewelry and ceramics to local artwork and textiles, find the perfect memento to remember your trip. Enjoy the vibrant atmosphere, browse through boutique shops, and support local artisans.", + "locationName": "Oia", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "santorini", + "ref": "shop-for-unique-souvenirs-in-oia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_shop-for-unique-souvenirs-in-oia.jpg" + }, + { + "name": "Catch a Movie Under the Stars at the Open Air Cinema Kamari", + "description": "Experience a magical evening at the Open Air Cinema Kamari. Relax under the starry sky and enjoy a classic or contemporary film in a unique outdoor setting. This is a perfect way to unwind after a day of exploring, offering a romantic and memorable experience.", + "locationName": "Kamari", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "santorini", + "ref": "catch-a-movie-under-the-stars-at-the-open-air-cinema-kamari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/santorini_catch-a-movie-under-the-stars-at-the-open-air-cinema-kamari.jpg" + }, + { + "name": "Hike the Selvaggio Blu", + "description": "Embark on a challenging multi-day trek along the Selvaggio Blu, renowned as one of Europe's most demanding hiking trails. Traverse dramatic cliffs, hidden coves, and dense forests, while enjoying breathtaking coastal views.", + "locationName": "Eastern Coast of Sardinia", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "sardinia", + "ref": "hike-the-selvaggio-blu", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_hike-the-selvaggio-blu.jpg" + }, + { + "name": "Explore the Ruins of Nora", + "description": "Step back in time at the ancient Roman city of Nora. Wander through the remnants of temples, baths, and houses, and imagine life during the Roman Empire.", + "locationName": "Nora", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sardinia", + "ref": "explore-the-ruins-of-nora", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_explore-the-ruins-of-nora.jpg" + }, + { + "name": "Relax on Cala Goloritzé Beach", + "description": "Unwind on the pristine sands of Cala Goloritzé, a secluded beach accessible only by boat or a challenging hike. Swim in crystal-clear turquoise waters, soak up the Mediterranean sun, and marvel at the towering limestone cliffs.", + "locationName": "Cala Goloritzé", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "sardinia", + "ref": "relax-on-cala-goloritz-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_relax-on-cala-goloritz-beach.jpg" + }, + { + "name": "Discover the Neptune's Grotto", + "description": "Embark on a boat tour to the Neptune's Grotto, a breathtaking cave system filled with stalactites, stalagmites, and an underground saltwater lake. Explore the illuminated chambers and marvel at the natural wonders.", + "locationName": "Alghero", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "sardinia", + "ref": "discover-the-neptune-s-grotto", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_discover-the-neptune-s-grotto.jpg" + }, + { + "name": "Indulge in Sardinian Cuisine", + "description": "Savor the flavors of Sardinia's unique cuisine. Sample local specialties such as pane carasau (crispy flatbread), fregola (pasta with clams), and porceddu (roast suckling pig). Pair your meal with a glass of Cannonau, a robust red wine.", + "locationName": "Various Restaurants", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "sardinia", + "ref": "indulge-in-sardinian-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_indulge-in-sardinian-cuisine.jpg" + }, + { + "name": "Go Caving in Is Zuddas Caves", + "description": "Embark on an underground adventure by exploring the Is Zuddas Caves, renowned for their impressive stalactites, stalagmites, and unique aragonite formations. Take a guided tour to delve into the depths of these geological wonders and learn about their fascinating history and formation.", + "locationName": "Is Zuddas Caves", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "sardinia", + "ref": "go-caving-in-is-zuddas-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_go-caving-in-is-zuddas-caves.jpg" + }, + { + "name": "Sail the Archipelago of La Maddalena", + "description": "Set sail on a boat trip to the Archipelago of La Maddalena, a collection of stunning islands and islets boasting pristine beaches, crystal-clear waters, and secluded coves. Enjoy swimming, snorkeling, and sunbathing in this idyllic paradise.", + "locationName": "Archipelago of La Maddalena", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "sardinia", + "ref": "sail-the-archipelago-of-la-maddalena", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_sail-the-archipelago-of-la-maddalena.jpg" + }, + { + "name": "Visit the Nuraghe Su Nuraxi", + "description": "Step back in time at the Nuraghe Su Nuraxi, a UNESCO World Heritage Site and one of the most impressive examples of Nuragic civilization. Explore the complex of stone towers, dating back to the Bronze Age, and discover the island's ancient history and culture.", + "locationName": "Nuraghe Su Nuraxi", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sardinia", + "ref": "visit-the-nuraghe-su-nuraxi", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_visit-the-nuraghe-su-nuraxi.jpg" + }, + { + "name": "Windsurf or Kitesurf on the Coast", + "description": "Embrace the wind and waves by trying windsurfing or kitesurfing along Sardinia's coast. With its consistent winds and beautiful beaches, the island offers ideal conditions for these exhilarating water sports. Take a lesson or rent equipment to experience the thrill of gliding across the water.", + "locationName": "Various beaches", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "sardinia", + "ref": "windsurf-or-kitesurf-on-the-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_windsurf-or-kitesurf-on-the-coast.jpg" + }, + { + "name": "Experience the Vibrant Nightlife of Cagliari", + "description": "As the sun sets, immerse yourself in the lively nightlife of Cagliari, the island's capital city. Explore the charming streets and squares, lined with bars, clubs, and restaurants. Enjoy live music, dancing, and socializing with locals and fellow travelers.", + "locationName": "Cagliari", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "sardinia", + "ref": "experience-the-vibrant-nightlife-of-cagliari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_experience-the-vibrant-nightlife-of-cagliari.jpg" + }, + { + "name": "Horseback Riding in Giara di Gesturi", + "description": "Embark on a unique horseback riding adventure through the Giara di Gesturi, a plateau known for its wild horses, stunning landscapes, and cork oak forests. This experience is perfect for nature lovers and adventure seekers, offering breathtaking views and a chance to connect with the island's wild side.", + "locationName": "Giara di Gesturi", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "sardinia", + "ref": "horseback-riding-in-giara-di-gesturi", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_horseback-riding-in-giara-di-gesturi.jpg" + }, + { + "name": "Delve into History at the National Archaeological Museum of Cagliari", + "description": "Step back in time at the National Archaeological Museum of Cagliari, home to a vast collection of artifacts from Sardinia's rich history. Explore exhibits showcasing prehistoric finds, Roman treasures, and Byzantine art, gaining insights into the island's fascinating past.", + "locationName": "Cagliari", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "sardinia", + "ref": "delve-into-history-at-the-national-archaeological-museum-of-cagliari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_delve-into-history-at-the-national-archaeological-museum-of-cagliari.jpg" + }, + { + "name": "Kayaking in the Gulf of Orosei", + "description": "Paddle through the crystal-clear waters of the Gulf of Orosei, exploring hidden coves, dramatic cliffs, and secluded beaches. Kayak along the coastline, discovering natural wonders like sea caves, rock formations, and diverse marine life. This activity is perfect for adventure seekers and nature enthusiasts.", + "locationName": "Gulf of Orosei", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "sardinia", + "ref": "kayaking-in-the-gulf-of-orosei", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_kayaking-in-the-gulf-of-orosei.jpg" + }, + { + "name": "Indulge in a Wine Tasting Tour", + "description": "Embark on a sensory journey through Sardinia's renowned wine regions. Visit local vineyards, learn about traditional winemaking techniques, and savor a variety of exquisite wines, from robust reds to crisp whites. This experience is perfect for wine enthusiasts and those seeking a taste of the island's cultural heritage.", + "locationName": "Various vineyards throughout Sardinia", + "duration": 5, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "sardinia", + "ref": "indulge-in-a-wine-tasting-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_indulge-in-a-wine-tasting-tour.jpg" + }, + { + "name": "Go Birdwatching in the Molentargius Saline Regional Park", + "description": "Discover a haven for birdwatchers at the Molentargius Saline Regional Park, a wetland area teeming with diverse avian species. Observe flamingos, herons, egrets, and other migratory birds in their natural habitat. This peaceful and educational experience is perfect for nature lovers and families.", + "locationName": "Molentargius Saline Regional Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "sardinia", + "ref": "go-birdwatching-in-the-molentargius-saline-regional-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_go-birdwatching-in-the-molentargius-saline-regional-park.jpg" + }, + { + "name": "Scuba Dive in the Marine Protected Area of Tavolara", + "description": "Embark on an underwater adventure in the crystal-clear waters of the Tavolara Marine Protected Area. Discover a vibrant world of marine life, including colorful fish, octopuses, and even dolphins. Explore underwater caves and shipwrecks, and witness the beauty of Sardinia's marine ecosystem.", + "locationName": "Tavolara Island", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "sardinia", + "ref": "scuba-dive-in-the-marine-protected-area-of-tavolara", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_scuba-dive-in-the-marine-protected-area-of-tavolara.jpg" + }, + { + "name": "Take a Cooking Class and Learn to Make Traditional Sardinian Dishes", + "description": "Immerse yourself in Sardinian culture by participating in a hands-on cooking class. Learn the secrets of preparing authentic dishes like culurgiones (stuffed pasta), porceddu (roast suckling pig), and seadas (fried cheese pastries). Enjoy the fruits of your labor with a delicious meal accompanied by local wine.", + "locationName": "Various locations throughout Sardinia", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "sardinia", + "ref": "take-a-cooking-class-and-learn-to-make-traditional-sardinian-dishes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_take-a-cooking-class-and-learn-to-make-traditional-sardinian-dishes.jpg" + }, + { + "name": "Go Stargazing in the Supramonte Mountains", + "description": "Escape the city lights and venture into the Supramonte Mountains for an unforgettable stargazing experience. The remote location and clear skies offer breathtaking views of the Milky Way and constellations. Join a guided tour or find a secluded spot to marvel at the celestial wonders above.", + "locationName": "Supramonte Mountains", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "sardinia", + "ref": "go-stargazing-in-the-supramonte-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_go-stargazing-in-the-supramonte-mountains.jpg" + }, + { + "name": "Visit the Medieval Town of Castelsardo", + "description": "Step back in time with a visit to Castelsardo, a charming medieval town perched on a hilltop overlooking the sea. Explore the narrow cobblestone streets, admire the colorful houses, and visit the Castello dei Doria, a 12th-century castle with stunning views. Discover local artisan shops and enjoy fresh seafood at a waterfront restaurant.", + "locationName": "Castelsardo", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sardinia", + "ref": "visit-the-medieval-town-of-castelsardo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_visit-the-medieval-town-of-castelsardo.jpg" + }, + { + "name": "Take a Boat Trip to the Island of Asinara", + "description": "Embark on a boat trip to the Island of Asinara, a former prison island turned national park. Discover the island's unique history, observe the diverse wildlife, including wild albino donkeys, and relax on secluded beaches. Enjoy swimming, snorkeling, or simply soaking up the sun in this pristine natural environment.", + "locationName": "Asinara Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "sardinia", + "ref": "take-a-boat-trip-to-the-island-of-asinara", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sardinia_take-a-boat-trip-to-the-island-of-asinara.jpg" + }, + { + "name": "Hike the West Highland Way", + "description": "Embark on an epic journey through the Scottish Highlands, trekking the famous West Highland Way. This long-distance trail winds through breathtaking landscapes, from the shores of Loch Lomond to the foot of Ben Nevis, the UK's highest peak. Immerse yourself in the rugged beauty of the mountains, encounter charming villages, and witness the untamed wilderness of Scotland.", + "locationName": "Scottish Highlands", + "duration": 152, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scotland", + "ref": "hike-the-west-highland-way", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_hike-the-west-highland-way.jpg" + }, + { + "name": "Explore Edinburgh Castle", + "description": "Step back in time with a visit to Edinburgh Castle, perched atop an extinct volcano overlooking the city. Delve into Scotland's rich history as you explore the castle's ancient walls, grand halls, and the Crown Jewels of Scotland. Enjoy panoramic views of Edinburgh and learn about the castle's fascinating role in Scottish history.", + "locationName": "Edinburgh", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scotland", + "ref": "explore-edinburgh-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_explore-edinburgh-castle.jpg" + }, + { + "name": "Discover the Isle of Skye", + "description": "Escape to the enchanting Isle of Skye, renowned for its dramatic scenery, charming villages, and mythical legends. Hike to the Old Man of Storr, a towering rock formation, or visit the Fairy Pools, a series of crystal-clear waterfalls and pools. Explore the island's rich history and folklore, and soak in the magical atmosphere of this iconic Scottish destination.", + "locationName": "Isle of Skye", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scotland", + "ref": "discover-the-isle-of-skye", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_discover-the-isle-of-skye.jpg" + }, + { + "name": "Visit a Scotch Whisky Distillery", + "description": "Embark on a sensory journey at a Scotch whisky distillery, where you can learn about the intricate process of making this iconic spirit. Tour the distillery, witness the craftsmanship behind each bottle, and indulge in a tasting session to savor the distinct flavors of Scotch whisky. Discover the history and heritage of this beloved Scottish tradition.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "scotland", + "ref": "visit-a-scotch-whisky-distillery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_visit-a-scotch-whisky-distillery.jpg" + }, + { + "name": "Attend the Royal Edinburgh Military Tattoo", + "description": "Experience a spectacular display of music, dance, and military pageantry at the Royal Edinburgh Military Tattoo. Held annually on the esplanade of Edinburgh Castle, this world-renowned event features performances by military bands, cultural groups, and talented artists from around the globe. Be captivated by the vibrant colors, stirring music, and unforgettable atmosphere of this iconic Scottish tradition.", + "locationName": "Edinburgh Castle", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 4, + "destinationRef": "scotland", + "ref": "attend-the-royal-edinburgh-military-tattoo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_attend-the-royal-edinburgh-military-tattoo.jpg" + }, + { + "name": "Go Nessie Hunting at Loch Ness", + "description": "Embark on a thrilling boat tour of the legendary Loch Ness, seeking a glimpse of the elusive Loch Ness Monster. Learn about the history and myths surrounding Nessie while enjoying the stunning scenery of the Scottish Highlands. Keep your eyes peeled for a mysterious ripple or a long, serpentine neck emerging from the depths!", + "locationName": "Loch Ness", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scotland", + "ref": "go-nessie-hunting-at-loch-ness", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_go-nessie-hunting-at-loch-ness.jpg" + }, + { + "name": "Take a Scenic Drive on the North Coast 500", + "description": "Embark on an epic road trip along the North Coast 500, a 500-mile route that winds through the breathtaking landscapes of the Scottish Highlands. Discover hidden beaches, dramatic cliffs, charming villages, and ancient castles. Capture stunning photos at every turn and immerse yourself in the wild beauty of the north.", + "locationName": "North Coast 500", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scotland", + "ref": "take-a-scenic-drive-on-the-north-coast-500", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_take-a-scenic-drive-on-the-north-coast-500.jpg" + }, + { + "name": "Visit the Magical Isle of Staffa", + "description": "Take a boat tour to the Isle of Staffa, a small, uninhabited island known for its unique geological formations. Explore Fingal's Cave, a sea cave with towering hexagonal basalt columns, and marvel at the island's diverse birdlife, including puffins and guillemots. This natural wonder is sure to leave you spellbound.", + "locationName": "Isle of Staffa", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scotland", + "ref": "visit-the-magical-isle-of-staffa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_visit-the-magical-isle-of-staffa.jpg" + }, + { + "name": "Experience the Edinburgh Fringe Festival", + "description": "Immerse yourself in the world's largest arts festival, the Edinburgh Fringe Festival. With thousands of shows spanning theater, comedy, music, dance, and more, there's something for everyone. Enjoy the vibrant atmosphere, discover hidden gems, and be entertained by talented performers from around the globe.", + "locationName": "Edinburgh", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "scotland", + "ref": "experience-the-edinburgh-fringe-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_experience-the-edinburgh-fringe-festival.jpg" + }, + { + "name": "Go on a Wildlife Safari in the Cairngorms National Park", + "description": "Embark on a wildlife safari adventure in the Cairngorms National Park, home to a diverse range of animals. Look out for red deer, golden eagles, ospreys, red squirrels, and more as you explore the stunning mountain landscapes. Learn about the park's conservation efforts and experience the thrill of encountering these magnificent creatures in their natural habitat.", + "locationName": "Cairngorms National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scotland", + "ref": "go-on-a-wildlife-safari-in-the-cairngorms-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_go-on-a-wildlife-safari-in-the-cairngorms-national-park.jpg" + }, + { + "name": "Kayaking on Loch Lomond", + "description": "Embark on a serene kayaking adventure on the glistening waters of Loch Lomond, the largest freshwater lake in Great Britain. Paddle amidst stunning scenery, with majestic mountains as your backdrop and charming islands dotting the horizon. Keep an eye out for diverse wildlife, including ospreys soaring above and playful otters frolicking along the shores. Whether you're a seasoned paddler or a first-timer, kayaking on Loch Lomond offers a tranquil escape into nature's embrace.", + "locationName": "Loch Lomond", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scotland", + "ref": "kayaking-on-loch-lomond", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_kayaking-on-loch-lomond.jpg" + }, + { + "name": "Step Back in Time at the Highland Folk Museum", + "description": "Immerse yourself in Scotland's rich history at the Highland Folk Museum, an open-air living history museum nestled amidst the scenic Cairngorms National Park. Explore authentic period buildings, from thatched cottages to traditional farmsteads, and encounter costumed interpreters who bring the past to life. Learn about ancient crafts, farming techniques, and the daily lives of Highland people through the centuries. It's an engaging and educational experience for all ages.", + "locationName": "Newtonmore", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scotland", + "ref": "step-back-in-time-at-the-highland-folk-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_step-back-in-time-at-the-highland-folk-museum.jpg" + }, + { + "name": "Indulge in a Culinary Journey on a Food Tour", + "description": "Embark on a delectable food tour through Scotland's vibrant culinary scene. Sample fresh seafood delicacies in charming coastal towns, savor the rich flavors of traditional haggis, and indulge in artisanal cheeses and locally-sourced produce. Discover the secrets behind Scotland's renowned whisky production with a distillery visit and tasting. From Michelin-starred restaurants to cozy pubs, a food tour promises a tantalizing exploration of Scottish flavors.", + "locationName": "Various cities and regions", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scotland", + "ref": "indulge-in-a-culinary-journey-on-a-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_indulge-in-a-culinary-journey-on-a-food-tour.jpg" + }, + { + "name": "Go Mountain Biking in the Scottish Highlands", + "description": "Experience the thrill of mountain biking amidst the breathtaking landscapes of the Scottish Highlands. Explore challenging trails with steep climbs and exhilarating descents, or opt for leisurely paths through rolling hills and alongside sparkling lochs. With diverse terrain and stunning scenery at every turn, mountain biking in the Highlands is an adventure that will get your adrenaline pumping and leave you with unforgettable memories.", + "locationName": "Scottish Highlands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "scotland", + "ref": "go-mountain-biking-in-the-scottish-highlands", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_go-mountain-biking-in-the-scottish-highlands.jpg" + }, + { + "name": "Take a Boat Trip to Spot Marine Wildlife", + "description": "Embark on a thrilling boat trip along Scotland's rugged coastline to encounter an array of fascinating marine wildlife. Keep your eyes peeled for playful dolphins leaping through the waves, majestic whales breaching the surface, and adorable puffins perched on rocky cliffs. Experienced guides will share their knowledge about the local ecosystem and provide insights into the behaviors of these incredible creatures. It's a memorable experience for nature enthusiasts of all ages.", + "locationName": "Various coastal locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scotland", + "ref": "take-a-boat-trip-to-spot-marine-wildlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_take-a-boat-trip-to-spot-marine-wildlife.jpg" + }, + { + "name": "Unwind at a Traditional Scottish Pub", + "description": "Experience the warm and inviting atmosphere of a traditional Scottish pub. Enjoy live folk music, sample local craft beers and whiskies, and mingle with friendly locals. Immerse yourself in the authentic Scottish culture and create unforgettable memories.", + "locationName": "Various pubs across Scotland", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "scotland", + "ref": "unwind-at-a-traditional-scottish-pub", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_unwind-at-a-traditional-scottish-pub.jpg" + }, + { + "name": "Go Golfing on a World-Renowned Course", + "description": "Scotland is the birthplace of golf, and the country boasts some of the most iconic golf courses in the world. Tee off amidst stunning landscapes and challenge yourself on historic greens. Whether you're a seasoned golfer or a beginner, a round of golf in Scotland is an unforgettable experience.", + "locationName": "St Andrews Old Course, Royal Dornoch Golf Club, Muirfield Village Golf Club", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "scotland", + "ref": "go-golfing-on-a-world-renowned-course", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_go-golfing-on-a-world-renowned-course.jpg" + }, + { + "name": "Explore the Ruins of Urquhart Castle", + "description": "Journey back in time as you explore the ruins of Urquhart Castle, perched on the banks of Loch Ness. Discover its rich history, from medieval times to its role in the Jacobite risings. Take in the breathtaking views of the loch and surrounding mountains, and imagine the lives of those who once called this castle home.", + "locationName": "Urquhart Castle, Loch Ness", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scotland", + "ref": "explore-the-ruins-of-urquhart-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_explore-the-ruins-of-urquhart-castle.jpg" + }, + { + "name": "Take a Train Journey on the Jacobite Steam Train", + "description": "Embark on a magical journey through the Scottish Highlands aboard the Jacobite Steam Train, also known as the \"Hogwarts Express\" from the Harry Potter films. Traverse picturesque landscapes, cross the Glenfinnan Viaduct, and enjoy the nostalgic charm of steam travel. This scenic train ride is a must-do for Harry Potter fans and nature enthusiasts alike.", + "locationName": "Fort William to Mallaig", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "scotland", + "ref": "take-a-train-journey-on-the-jacobite-steam-train", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_take-a-train-journey-on-the-jacobite-steam-train.jpg" + }, + { + "name": "Visit the Kelvingrove Art Gallery and Museum", + "description": "Immerse yourself in art and culture at the Kelvingrove Art Gallery and Museum in Glasgow. Explore a diverse collection of exhibits, including natural history, arms and armor, and European and Scottish art. Admire masterpieces by renowned artists and discover fascinating artifacts from around the world.", + "locationName": "Kelvingrove Art Gallery and Museum, Glasgow", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scotland", + "ref": "visit-the-kelvingrove-art-gallery-and-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scotland_visit-the-kelvingrove-art-gallery-and-museum.jpg" + }, + { + "name": "Hike Ben Nevis", + "description": "Embark on a challenging yet rewarding hike up Ben Nevis, the highest peak in the British Isles. Enjoy breathtaking panoramic views of the surrounding mountains and valleys, and feel a sense of accomplishment as you reach the summit.", + "locationName": "Ben Nevis", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "scottish-highlands", + "ref": "hike-ben-nevis", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_hike-ben-nevis.jpg" + }, + { + "name": "Explore Eilean Donan Castle", + "description": "Step back in time at Eilean Donan Castle, a picturesque fortress situated on a rocky islet at the meeting point of three sea lochs. Discover the castle's rich history, admire its stunning architecture, and take in the scenic surroundings.", + "locationName": "Eilean Donan Castle", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "explore-eilean-donan-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_explore-eilean-donan-castle.jpg" + }, + { + "name": "Visit a Whisky Distillery", + "description": "Immerse yourself in the world of Scotch whisky with a tour and tasting at a local distillery. Learn about the whisky-making process, from the selection of grains to the aging in oak casks, and sample a variety of single malts.", + "locationName": "Various distilleries", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "scottish-highlands", + "ref": "visit-a-whisky-distillery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_visit-a-whisky-distillery.jpg" + }, + { + "name": "Take a Scenic Drive on the North Coast 500", + "description": "Embark on a road trip along the North Coast 500, a breathtaking coastal route that winds its way through the Scottish Highlands. Discover hidden beaches, charming villages, and dramatic cliffs, and stop to admire the stunning scenery along the way.", + "locationName": "North Coast 500", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "take-a-scenic-drive-on-the-north-coast-500", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_take-a-scenic-drive-on-the-north-coast-500.jpg" + }, + { + "name": "Go Wildlife Watching in the Cairngorms National Park", + "description": "Explore the Cairngorms National Park, home to a diverse array of wildlife. Keep an eye out for red deer, golden eagles, ospreys, and other native species as you hike through the park's forests and mountains.", + "locationName": "Cairngorms National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "go-wildlife-watching-in-the-cairngorms-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_go-wildlife-watching-in-the-cairngorms-national-park.jpg" + }, + { + "name": "Kayaking on Loch Ness", + "description": "Embark on a serene kayaking adventure on the legendary Loch Ness. Paddle through the calm waters, surrounded by breathtaking mountain scenery, and keep an eye out for the mythical Loch Ness Monster. This is a fantastic way to experience the natural beauty of the Highlands and create unforgettable memories.", + "locationName": "Loch Ness", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "kayaking-on-loch-ness", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_kayaking-on-loch-ness.jpg" + }, + { + "name": "Stargazing in Galloway Forest Park", + "description": "Escape the city lights and immerse yourself in the wonders of the night sky at Galloway Forest Park, a designated Dark Sky Park. With minimal light pollution, the park offers exceptional stargazing opportunities. Join a guided tour or simply lie back and marvel at the constellations, planets, and the Milky Way.", + "locationName": "Galloway Forest Park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "scottish-highlands", + "ref": "stargazing-in-galloway-forest-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_stargazing-in-galloway-forest-park.jpg" + }, + { + "name": "Mountain Biking in the Cairngorms", + "description": "Experience the thrill of mountain biking amidst the stunning landscapes of the Cairngorms National Park. With a variety of trails catering to different skill levels, you can choose your own adventure. Explore rugged mountain paths, dense forests, and picturesque valleys while enjoying the fresh air and breathtaking views.", + "locationName": "Cairngorms National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "scottish-highlands", + "ref": "mountain-biking-in-the-cairngorms", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_mountain-biking-in-the-cairngorms.jpg" + }, + { + "name": "Explore the Isle of Skye", + "description": "Embark on a captivating journey to the Isle of Skye, known for its dramatic landscapes, charming villages, and rich history. Visit the iconic Old Man of Storr, a towering rock formation, explore the magical Fairy Pools with their crystal-clear waters, and discover the historic Dunvegan Castle, the oldest continuously inhabited castle in Scotland.", + "locationName": "Isle of Skye", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "explore-the-isle-of-skye", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_explore-the-isle-of-skye.jpg" + }, + { + "name": "Attend the Highland Games", + "description": "Immerse yourself in Scottish culture at the Highland Games, a traditional sporting event featuring competitions in caber tossing, hammer throwing, and tug-of-war. Enjoy the lively atmosphere, bagpipe music, Highland dancing, and delicious local food. This is a unique opportunity to experience the spirit and heritage of the Highlands.", + "locationName": "Various locations throughout the Highlands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "attend-the-highland-games", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_attend-the-highland-games.jpg" + }, + { + "name": "Discover the Mysteries of Loch Ness", + "description": "Embark on a captivating boat tour of the legendary Loch Ness, delving into the folklore and mystery surrounding the elusive Loch Ness Monster. Enjoy breathtaking views of the surrounding landscapes and learn about the history and ecology of this iconic Scottish loch.", + "locationName": "Loch Ness", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scottish-highlands", + "ref": "discover-the-mysteries-of-loch-ness", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_discover-the-mysteries-of-loch-ness.jpg" + }, + { + "name": "Step Back in Time at Culloden Battlefield", + "description": "Visit the haunting Culloden Battlefield, site of the last Jacobite Rising in 1746. Explore the visitor center to learn about the battle's history and significance, walk the battlefield where the clans clashed, and pay respects at the memorial cairn.", + "locationName": "Culloden Battlefield", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "step-back-in-time-at-culloden-battlefield", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_step-back-in-time-at-culloden-battlefield.jpg" + }, + { + "name": "Indulge in a Culinary Journey", + "description": "Embark on a delectable food tour, savoring the finest Scottish cuisine. Sample fresh seafood, locally sourced meats, and traditional dishes like haggis, neeps, and tatties. Explore charming cafes, vibrant markets, and acclaimed restaurants, experiencing the unique flavors of the Highlands.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "scottish-highlands", + "ref": "indulge-in-a-culinary-journey", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_indulge-in-a-culinary-journey.jpg" + }, + { + "name": "Go Salmon Fishing on the River Spey", + "description": "Experience the thrill of salmon fishing on the renowned River Spey, one of Scotland's premier fishing destinations. Cast your line amidst stunning scenery and try your hand at catching the 'King of Fish'. Whether you're a seasoned angler or a beginner, a day spent fishing on the Spey is an unforgettable experience.", + "locationName": "River Spey", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "scottish-highlands", + "ref": "go-salmon-fishing-on-the-river-spey", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_go-salmon-fishing-on-the-river-spey.jpg" + }, + { + "name": "Ride the Jacobite Steam Train", + "description": "Embark on a magical journey aboard the Jacobite Steam Train, also known as the 'Hogwarts Express'. Travel through breathtaking landscapes, crossing the iconic Glenfinnan Viaduct featured in the Harry Potter films. Immerse yourself in the nostalgic atmosphere and enjoy panoramic views of the Scottish countryside.", + "locationName": "Fort William to Mallaig", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "scottish-highlands", + "ref": "ride-the-jacobite-steam-train", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_ride-the-jacobite-steam-train.jpg" + }, + { + "name": "Go Canyoning or Gorge Walking", + "description": "Experience the thrill of canyoning or gorge walking in the Scottish Highlands. Plunge into crystal-clear pools, rappel down waterfalls, and navigate through stunning gorges. This adrenaline-pumping activity is perfect for adventure seekers and nature lovers alike.", + "locationName": "Various locations throughout the Highlands", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "scottish-highlands", + "ref": "go-canyoning-or-gorge-walking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_go-canyoning-or-gorge-walking.jpg" + }, + { + "name": "Take a Boat Trip to Spot Marine Wildlife", + "description": "Embark on a boat trip and witness the incredible marine wildlife of the Scottish Highlands. Look out for seals, dolphins, whales, and a variety of seabirds as you cruise along the coastline or explore the islands. This activity is perfect for families and wildlife enthusiasts.", + "locationName": "Various locations along the coast", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "take-a-boat-trip-to-spot-marine-wildlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_take-a-boat-trip-to-spot-marine-wildlife.jpg" + }, + { + "name": "Visit Urquhart Castle", + "description": "Explore the ruins of Urquhart Castle, perched on the banks of Loch Ness. Discover its fascinating history dating back to the 13th century, admire the stunning views of the loch, and learn about the legendary Loch Ness Monster.", + "locationName": "Drumnadrochit", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "scottish-highlands", + "ref": "visit-urquhart-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_visit-urquhart-castle.jpg" + }, + { + "name": "Enjoy a Traditional Ceilidh", + "description": "Immerse yourself in Scottish culture by attending a traditional ceilidh. Dance the night away to lively folk music, enjoy the friendly atmosphere, and experience a true taste of Highland hospitality.", + "locationName": "Various towns and villages throughout the Highlands", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "scottish-highlands", + "ref": "enjoy-a-traditional-ceilidh", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_enjoy-a-traditional-ceilidh.jpg" + }, + { + "name": "Go Skiing or Snowboarding in the Cairngorms", + "description": "Hit the slopes of the Cairngorms National Park for a thrilling skiing or snowboarding adventure. With a variety of runs for all levels, stunning mountain scenery, and a lively après-ski scene, this is a perfect winter destination for snow sports enthusiasts.", + "locationName": "Cairngorm Mountain", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "scottish-highlands", + "ref": "go-skiing-or-snowboarding-in-the-cairngorms", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/scottish-highlands_go-skiing-or-snowboarding-in-the-cairngorms.jpg" + }, + { + "name": "Explore the Gyeongbokgung Palace", + "description": "Step back in time and immerse yourself in Korean history by visiting the magnificent Gyeongbokgung Palace, the largest and most stunning royal palace in Seoul. Stroll through the grand courtyards, admire the intricate architecture, and witness the changing of the guard ceremony for a glimpse into Korea's regal past. Don't forget to rent a hanbok (traditional Korean dress) for an even more immersive experience and stunning photos!", + "locationName": "Gyeongbokgung Palace", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "seoul", + "ref": "explore-the-gyeongbokgung-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_explore-the-gyeongbokgung-palace.jpg" + }, + { + "name": "Discover the Bukchon Hanok Village", + "description": "Wander through the charming Bukchon Hanok Village, a historic neighborhood with traditional Korean houses (hanoks) dating back to the Joseon Dynasty. Get lost in the labyrinthine alleyways, admire the unique architecture, and pop into quaint tea houses and craft shops. This is a perfect opportunity to capture the essence of old Seoul and experience the city's cultural heritage.", + "locationName": "Bukchon Hanok Village", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "seoul", + "ref": "discover-the-bukchon-hanok-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_discover-the-bukchon-hanok-village.jpg" + }, + { + "name": "Indulge in Korean BBQ", + "description": "No trip to Seoul is complete without savoring the mouthwatering flavors of Korean BBQ. Head to the bustling district of Jongno or the trendy Gangnam area to find numerous BBQ restaurants offering a variety of marinated meats, banchan (side dishes), and dipping sauces. Gather your friends or family around a sizzling grill, cook your own food, and experience this quintessential Korean dining tradition.", + "locationName": "Jongno or Gangnam", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "seoul", + "ref": "indulge-in-korean-bbq", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_indulge-in-korean-bbq.jpg" + }, + { + "name": "Experience the Bustling Nightlife of Hongdae", + "description": "When the sun goes down, head to the vibrant district of Hongdae, known for its youthful energy, live music scene, and trendy bars. Catch a performance by up-and-coming indie bands, dance the night away at a club, or simply enjoy a drink with friends at a cozy pub. Hongdae offers a diverse range of nightlife options, ensuring an unforgettable evening.", + "locationName": "Hongdae", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "seoul", + "ref": "experience-the-bustling-nightlife-of-hongdae", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_experience-the-bustling-nightlife-of-hongdae.jpg" + }, + { + "name": "Shop till you drop in Myeongdong", + "description": "For a retail therapy fix, head to Myeongdong, a shopper's paradise with a plethora of stores offering everything from trendy fashion and cosmetics to K-pop merchandise and street food. Explore the bustling streets, discover local and international brands, and indulge in some serious shopping.", + "locationName": "Myeongdong", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "seoul", + "ref": "shop-till-you-drop-in-myeongdong", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_shop-till-you-drop-in-myeongdong.jpg" + }, + { + "name": "Hike to the Peak of Bukhansan National Park", + "description": "Escape the urban bustle and immerse yourself in nature with a hike through Bukhansan National Park. Choose from various trails catering to different fitness levels, leading you to breathtaking panoramic views of the city from the mountain's peak. Pack a picnic and enjoy a serene lunch amidst the stunning scenery.", + "locationName": "Bukhansan National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "seoul", + "ref": "hike-to-the-peak-of-bukhansan-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_hike-to-the-peak-of-bukhansan-national-park.jpg" + }, + { + "name": "Immerse in Korean Art at the Leeum Samsung Museum of Art", + "description": "Delve into the world of Korean art and culture at the renowned Leeum Samsung Museum of Art. Explore a diverse collection of traditional and contemporary works, spanning paintings, sculptures, and digital installations. The museum's unique architecture and serene atmosphere offer a captivating experience for art enthusiasts.", + "locationName": "Leeum Samsung Museum of Art", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "seoul", + "ref": "immerse-in-korean-art-at-the-leeum-samsung-museum-of-art", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_immerse-in-korean-art-at-the-leeum-samsung-museum-of-art.jpg" + }, + { + "name": "Cruise Along the Han River", + "description": "Embark on a relaxing cruise along the picturesque Han River and witness Seoul's skyline from a unique perspective. Enjoy stunning views of iconic landmarks, including the N Seoul Tower and the Banpo Bridge Rainbow Fountain Show. Opt for a romantic evening cruise or a family-friendly daytime excursion.", + "locationName": "Han River", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "seoul", + "ref": "cruise-along-the-han-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_cruise-along-the-han-river.jpg" + }, + { + "name": "Discover Serenity at Bongeunsa Temple", + "description": "Escape the city's hustle and bustle and find tranquility at the historic Bongeunsa Temple. Explore the temple's intricate architecture, participate in a traditional tea ceremony, or join a Templestay program for a deeper immersion into Korean Buddhism and culture.", + "locationName": "Bongeunsa Temple", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "seoul", + "ref": "discover-serenity-at-bongeunsa-temple", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_discover-serenity-at-bongeunsa-temple.jpg" + }, + { + "name": "Experience the Thrill of Lotte World", + "description": "Embark on an exciting adventure at Lotte World, a renowned amusement park featuring thrilling rides, enchanting parades, and a variety of entertainment options. Explore the indoor Adventure Park or experience the magic of the outdoor Magic Island. Lotte World offers fun for all ages, making it a perfect family-friendly destination.", + "locationName": "Lotte World", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "seoul", + "ref": "experience-the-thrill-of-lotte-world", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_experience-the-thrill-of-lotte-world.jpg" + }, + { + "name": "Stroll Through the Secret Garden", + "description": "Escape the urban bustle and discover the serene beauty of the Secret Garden, also known as Huwon, nestled within the Changdeokgung Palace complex. Explore hidden pavilions, lotus ponds, and landscaped gardens that offer a tranquil oasis in the heart of the city. This UNESCO World Heritage site provides a glimpse into the history and artistry of Korean landscape design.", + "locationName": "Changdeokgung Palace", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "seoul", + "ref": "stroll-through-the-secret-garden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_stroll-through-the-secret-garden.jpg" + }, + { + "name": "Delve into Korean History at the National Museum", + "description": "Embark on a journey through Korea's rich history and cultural heritage at the National Museum of Korea. Explore extensive collections of artifacts, from ancient relics to contemporary art, showcasing the country's fascinating evolution. With interactive exhibits and diverse galleries, the museum offers a captivating experience for history buffs and curious minds alike.", + "locationName": "National Museum of Korea", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "seoul", + "ref": "delve-into-korean-history-at-the-national-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_delve-into-korean-history-at-the-national-museum.jpg" + }, + { + "name": "Unwind and Rejuvenate at a Traditional Korean Spa", + "description": "Indulge in a unique cultural experience and revitalize your body and mind at a traditional Korean spa, known as a jjimjilbang. Enjoy a variety of saunas, hot tubs, and therapeutic treatments, including body scrubs and massages. These 24-hour facilities often offer additional amenities like sleeping areas, restaurants, and entertainment, making it a perfect place to relax and unwind.", + "locationName": "Various jjimjilbangs throughout the city", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "seoul", + "ref": "unwind-and-rejuvenate-at-a-traditional-korean-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_unwind-and-rejuvenate-at-a-traditional-korean-spa.jpg" + }, + { + "name": "Wander Through the Colorful Ihwa Mural Village", + "description": "Step into a world of art and creativity at the Ihwa Mural Village. This once-declining neighborhood has been transformed into an open-air gallery with vibrant murals and art installations adorning the walls and streets. Explore the winding alleyways, capture Instagram-worthy photos, and discover hidden cafes and shops along the way.", + "locationName": "Ihwa Mural Village", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "seoul", + "ref": "wander-through-the-colorful-ihwa-mural-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_wander-through-the-colorful-ihwa-mural-village.jpg" + }, + { + "name": "Catch a Performance at the Korea House", + "description": "Immerse yourself in Korean culture with a captivating performance at the Korea House. Enjoy traditional music and dance shows, showcasing the elegance and vibrancy of Korean performing arts. The venue also offers cultural workshops and authentic Korean dining experiences, providing a comprehensive cultural immersion.", + "locationName": "Korea House", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "seoul", + "ref": "catch-a-performance-at-the-korea-house", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_catch-a-performance-at-the-korea-house.jpg" + }, + { + "name": "Explore the Trendy Gangnam District", + "description": "Immerse yourself in the upscale and trendy Gangnam district, known for its luxury boutiques, high-end restaurants, and vibrant nightlife. Discover the latest fashion trends, indulge in delicious cuisine, and experience the glamorous side of Seoul.", + "locationName": "Gangnam District", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "seoul", + "ref": "explore-the-trendy-gangnam-district", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_explore-the-trendy-gangnam-district.jpg" + }, + { + "name": "Visit the Demilitarized Zone (DMZ)", + "description": "Embark on a unique journey to the Demilitarized Zone (DMZ), the border between North and South Korea. Learn about the Korean War, witness the remnants of the conflict, and gain insights into the complex history of the peninsula.", + "locationName": "Demilitarized Zone (DMZ)", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 2, + "destinationRef": "seoul", + "ref": "visit-the-demilitarized-zone-dmz-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_visit-the-demilitarized-zone-dmz-.jpg" + }, + { + "name": "Go on a Culinary Adventure at Gwangjang Market", + "description": "Embark on a culinary adventure at Gwangjang Market, a bustling traditional market filled with an array of street food vendors and local delicacies. Sample authentic Korean dishes, from savory kimchi pancakes to sweet hotteok, and experience the vibrant atmosphere of this culinary paradise.", + "locationName": "Gwangjang Market", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "seoul", + "ref": "go-on-a-culinary-adventure-at-gwangjang-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_go-on-a-culinary-adventure-at-gwangjang-market.jpg" + }, + { + "name": "Enjoy Panoramic Views from N Seoul Tower", + "description": "Ascend to the top of N Seoul Tower, an iconic landmark offering breathtaking panoramic views of the city. Take in the stunning cityscape, enjoy romantic moments with your loved ones, and create lasting memories at this must-visit attraction.", + "locationName": "N Seoul Tower", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "seoul", + "ref": "enjoy-panoramic-views-from-n-seoul-tower", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_enjoy-panoramic-views-from-n-seoul-tower.jpg" + }, + { + "name": "Take a Day Trip to the UNESCO World Heritage Site of Suwon Hwaseong Fortress", + "description": "Embark on a day trip to Suwon Hwaseong Fortress, a UNESCO World Heritage Site renowned for its impressive architecture and historical significance. Explore the fortress walls, palaces, and temples, and delve into the rich history of the Joseon Dynasty.", + "locationName": "Suwon Hwaseong Fortress", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "seoul", + "ref": "take-a-day-trip-to-the-unesco-world-heritage-site-of-suwon-hwaseong-fortress", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seoul_take-a-day-trip-to-the-unesco-world-heritage-site-of-suwon-hwaseong-fortress.jpg" + }, + { + "name": "Witness the Great Migration", + "description": "Embark on an unforgettable safari experience to witness the awe-inspiring Great Migration, where millions of wildebeest, zebras, and other herbivores thunder across the plains in search of fresh grazing. Watch in amazement as they navigate treacherous river crossings, creating a spectacle of nature's raw power and determination. This iconic event offers exceptional wildlife viewing and photography opportunities.", + "locationName": "Serengeti National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "serengeti-national-park", + "ref": "witness-the-great-migration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_witness-the-great-migration.jpg" + }, + { + "name": "Hot Air Balloon Safari", + "description": "Take to the skies in a hot air balloon and soar above the vast Serengeti plains at sunrise. Enjoy breathtaking panoramic views of the diverse landscapes, spot wildlife from a unique perspective, and capture stunning aerial photographs. This serene and unforgettable experience offers a different way to appreciate the beauty and grandeur of the Serengeti.", + "locationName": "Serengeti National Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "serengeti-national-park", + "ref": "hot-air-balloon-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_hot-air-balloon-safari.jpg" + }, + { + "name": "Game Drives and Wildlife Viewing", + "description": "Embark on thrilling game drives through the Serengeti's diverse ecosystems, accompanied by experienced guides. Encounter an array of wildlife, including lions, elephants, giraffes, leopards, cheetahs, and numerous bird species. Learn about their behavior, habitats, and the delicate balance of the ecosystem. Day and night game drives offer unique opportunities to observe nocturnal animals and predators on the hunt.", + "locationName": "Serengeti National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "serengeti-national-park", + "ref": "game-drives-and-wildlife-viewing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_game-drives-and-wildlife-viewing.jpg" + }, + { + "name": "Cultural Encounters with the Maasai People", + "description": "Immerse yourself in the rich culture and traditions of the Maasai people, who have lived in harmony with the Serengeti's wildlife for centuries. Visit a Maasai village, interact with the locals, and learn about their unique way of life, including their customs, dress, and traditional dances. Gain insights into their deep connection with the land and their knowledge of the natural world.", + "locationName": "Maasai Villages", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "serengeti-national-park", + "ref": "cultural-encounters-with-the-maasai-people", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_cultural-encounters-with-the-maasai-people.jpg" + }, + { + "name": "Bushwalking and Nature Trails", + "description": "For a more intimate experience with the Serengeti's landscapes, embark on guided bushwalks and nature trails. Explore the diverse flora and fauna, learn about medicinal plants, and discover hidden gems within the park. This activity allows you to connect with nature on a deeper level and appreciate the smaller details of the ecosystem.", + "locationName": "Serengeti National Park", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "serengeti-national-park", + "ref": "bushwalking-and-nature-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_bushwalking-and-nature-trails.jpg" + }, + { + "name": "Birdwatching in the Serengeti", + "description": "Embark on a guided birdwatching tour to discover the rich avian diversity of the Serengeti. With over 500 bird species, including ostriches, secretary birds, and various raptors, the park offers a paradise for bird enthusiasts. Capture stunning photos and learn about the fascinating behaviors of these feathered creatures.", + "locationName": "Various locations within the park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "serengeti-national-park", + "ref": "birdwatching-in-the-serengeti", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_birdwatching-in-the-serengeti.jpg" + }, + { + "name": "Hot Air Balloon Safari at Dawn", + "description": "Experience the breathtaking beauty of the Serengeti from a unique perspective with a hot air balloon safari at dawn. As the sun rises over the vast plains, witness the spectacular landscape and observe wildlife from above. This unforgettable experience offers stunning panoramic views and a sense of tranquility.", + "locationName": "Designated launch sites within the park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "serengeti-national-park", + "ref": "hot-air-balloon-safari-at-dawn", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_hot-air-balloon-safari-at-dawn.jpg" + }, + { + "name": "Photography Safari", + "description": "Join a specialized photography safari designed for both amateur and professional photographers. Capture incredible images of wildlife, landscapes, and the unique moments that unfold in the Serengeti. Learn valuable tips from experienced guides and create lasting memories through your lens.", + "locationName": "Various locations within the park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "serengeti-national-park", + "ref": "photography-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_photography-safari.jpg" + }, + { + "name": "Stargazing in the Serengeti", + "description": "Escape the city lights and immerse yourself in the wonders of the night sky. Join a stargazing experience led by knowledgeable guides who will share insights about constellations, planets, and the Milky Way. Marvel at the brilliance of the stars and enjoy the tranquility of the African night.", + "locationName": "Designated areas away from light pollution", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "serengeti-national-park", + "ref": "stargazing-in-the-serengeti", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_stargazing-in-the-serengeti.jpg" + }, + { + "name": "Bush Dinner Under the Stars", + "description": "Indulge in a romantic and unforgettable bush dinner experience under the starlit sky. Enjoy a delicious meal prepared with local flavors, surrounded by the sights and sounds of the African wilderness. This intimate setting provides a unique opportunity to connect with nature and create lasting memories.", + "locationName": "Private campsites or lodges within the park", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "serengeti-national-park", + "ref": "bush-dinner-under-the-stars", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_bush-dinner-under-the-stars.jpg" + }, + { + "name": "Visit the Serengeti Visitor Center", + "description": "Embark on an educational journey at the Serengeti Visitor Center, where interactive exhibits and informative displays delve into the park's diverse ecosystem, wildlife, and conservation efforts. Learn about the fascinating history of the Serengeti, the science behind the Great Migration, and the challenges faced by the park's inhabitants.", + "locationName": "Serengeti National Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "serengeti-national-park", + "ref": "visit-the-serengeti-visitor-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_visit-the-serengeti-visitor-center.jpg" + }, + { + "name": "Explore the Grumeti River", + "description": "Embark on a scenic boat trip along the Grumeti River, a haven for wildlife and a prime location to witness crocodiles basking on the banks, hippos wallowing in the water, and a variety of bird species soaring overhead. Keep an eye out for elephants, giraffes, and other animals that come to the river to quench their thirst.", + "locationName": "Grumeti River", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "serengeti-national-park", + "ref": "explore-the-grumeti-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_explore-the-grumeti-river.jpg" + }, + { + "name": "Visit a Maasai Village", + "description": "Immerse yourself in the rich culture of the Maasai people by visiting a traditional Maasai village. Engage with the locals, learn about their customs and traditions, witness their vibrant dances, and admire their intricate beadwork and craftsmanship. This cultural encounter offers a unique opportunity to gain insights into the Maasai way of life.", + "locationName": "Maasai Village", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "serengeti-national-park", + "ref": "visit-a-maasai-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_visit-a-maasai-village.jpg" + }, + { + "name": "Go on a Walking Safari", + "description": "For a more intimate wildlife experience, embark on a guided walking safari with an experienced ranger. Explore the Serengeti's diverse landscapes on foot, getting closer to nature and observing smaller creatures, plants, and tracks that might be missed on a traditional game drive. This adventurous activity allows you to connect with the Serengeti's ecosystem on a deeper level.", + "locationName": "Serengeti National Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "serengeti-national-park", + "ref": "go-on-a-walking-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_go-on-a-walking-safari.jpg" + }, + { + "name": "Enjoy a Sundowner Cocktail", + "description": "As the sun begins its descent, indulge in a relaxing sundowner experience amidst the breathtaking scenery of the Serengeti. Sip on a refreshing cocktail or a glass of wine while witnessing the vibrant colors of the African sunset paint the sky. This tranquil moment allows you to reflect on the day's adventures and appreciate the beauty of the natural surroundings.", + "locationName": "Serengeti National Park", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "serengeti-national-park", + "ref": "enjoy-a-sundowner-cocktail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_enjoy-a-sundowner-cocktail.jpg" + }, + { + "name": "Horseback Riding Safari", + "description": "Experience the thrill of exploring the Serengeti plains on horseback, getting up close to wildlife while enjoying the freedom and serenity of this unique mode of transport. Skilled guides will lead you through diverse landscapes, allowing you to observe animals in their natural habitat from a different perspective.", + "locationName": "Serengeti National Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "serengeti-national-park", + "ref": "horseback-riding-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_horseback-riding-safari.jpg" + }, + { + "name": "Off-Road Adventure to the Gol Mountains", + "description": "Embark on an exhilarating off-road adventure to the remote Gol Mountains, located on the park's eastern edge. Discover hidden waterfalls, ancient rock paintings, and breathtaking panoramic views of the Serengeti plains. This rugged journey offers a unique perspective of the park's diverse ecosystem.", + "locationName": "Gol Mountains", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "serengeti-national-park", + "ref": "off-road-adventure-to-the-gol-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_off-road-adventure-to-the-gol-mountains.jpg" + }, + { + "name": "Nighttime Wildlife Safari", + "description": "Venture into the Serengeti under the cover of darkness on a thrilling nighttime wildlife safari. Equipped with spotlights, you'll have the opportunity to witness the nocturnal behavior of animals rarely seen during the day, including predators on the hunt and elusive creatures like aardvarks and bushbabies.", + "locationName": "Serengeti National Park", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 4, + "destinationRef": "serengeti-national-park", + "ref": "nighttime-wildlife-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_nighttime-wildlife-safari.jpg" + }, + { + "name": "Learn Bushcraft and Survival Skills", + "description": "Immerse yourself in the wilderness and learn essential bushcraft and survival skills from experienced guides. Discover how to identify edible plants, build a fire, navigate using the stars, and create basic shelters. This hands-on experience will connect you with nature and equip you with valuable knowledge for future adventures.", + "locationName": "Serengeti National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "serengeti-national-park", + "ref": "learn-bushcraft-and-survival-skills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_learn-bushcraft-and-survival-skills.jpg" + }, + { + "name": "Volunteer at a Wildlife Conservation Project", + "description": "Contribute to the preservation of the Serengeti ecosystem by volunteering at a wildlife conservation project. Opportunities may include assisting with animal monitoring, habitat restoration, community outreach, or anti-poaching initiatives. This immersive experience allows you to make a positive impact while gaining insights into the challenges and rewards of conservation work.", + "locationName": "Serengeti National Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "serengeti-national-park", + "ref": "volunteer-at-a-wildlife-conservation-project", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/serengeti-national-park_volunteer-at-a-wildlife-conservation-project.jpg" + }, + { + "name": "Explore the Alcázar Palace", + "description": "Step back in time at the Alcázar, a magnificent Moorish palace with stunning architecture, lush gardens, and captivating history. Explore the intricate courtyards, admire the ornate tilework, and immerse yourself in the royal ambiance of this UNESCO World Heritage Site.", + "locationName": "Alcázar of Seville", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "seville", + "ref": "explore-the-alc-zar-palace", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_explore-the-alc-zar-palace.jpg" + }, + { + "name": "Experience the Passion of Flamenco", + "description": "Witness the soul-stirring art of flamenco in a traditional tablao. Be mesmerized by the passionate dance moves, vibrant costumes, and rhythmic music that embodies the spirit of Andalusian culture. Feel the energy and emotion as the dancers and musicians create an unforgettable spectacle.", + "locationName": "Museo del Baile Flamenco or Tablao El Arenal", + "duration": 1.5, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "seville", + "ref": "experience-the-passion-of-flamenco", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_experience-the-passion-of-flamenco.jpg" + }, + { + "name": "Wander Through the Santa Cruz District", + "description": "Get lost in the enchanting maze of narrow streets and charming squares in the Santa Cruz district, the historic Jewish quarter. Discover hidden patios, admire the whitewashed houses adorned with colorful flowers, and soak up the vibrant atmosphere. Enjoy tapas at a local bar and experience the authentic Sevillian lifestyle.", + "locationName": "Santa Cruz district", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "seville", + "ref": "wander-through-the-santa-cruz-district", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_wander-through-the-santa-cruz-district.jpg" + }, + { + "name": "Indulge in a Tapas Crawl", + "description": "Embark on a culinary adventure through Seville's tapas scene. Hop from bar to bar, savoring a variety of small plates bursting with flavors. From classic tapas like patatas bravas and jamón ibérico to innovative creations, experience the city's gastronomic delights and lively atmosphere.", + "locationName": "Various tapas bars in Seville", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "seville", + "ref": "indulge-in-a-tapas-crawl", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_indulge-in-a-tapas-crawl.jpg" + }, + { + "name": "Cruise Along the Guadalquivir River", + "description": "Enjoy a relaxing boat trip along the Guadalquivir River, admiring Seville's iconic landmarks from a different perspective. See the Torre del Oro, the Triana Bridge, and the Plaza de Toros de la Maestranza as you glide along the water, soaking up the scenic views and gentle breeze.", + "locationName": "Guadalquivir River", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "seville", + "ref": "cruise-along-the-guadalquivir-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_cruise-along-the-guadalquivir-river.jpg" + }, + { + "name": "Bike Tour Through Seville's Charms", + "description": "Embark on a leisurely bike tour through Seville's charming streets and hidden corners. Discover local life, historical landmarks, and picturesque squares at your own pace. This family-friendly activity is a fantastic way to see the city from a different perspective and enjoy the fresh air.", + "locationName": "Seville City Center", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "seville", + "ref": "bike-tour-through-seville-s-charms", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_bike-tour-through-seville-s-charms.jpg" + }, + { + "name": "Explore the Metropol Parasol", + "description": "Ascend the Metropol Parasol, a modern wooden structure offering breathtaking panoramic views of Seville. Wander along its elevated walkways, admire the unique architecture, and capture stunning photos of the cityscape below. Enjoy a drink or a meal at the rooftop restaurant for a truly memorable experience.", + "locationName": "Metropol Parasol", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "seville", + "ref": "explore-the-metropol-parasol", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_explore-the-metropol-parasol.jpg" + }, + { + "name": "Shop at the Seville Flea Market", + "description": "Immerse yourself in the vibrant atmosphere of the Seville Flea Market (El Jueves). Browse through a treasure trove of antiques, vintage clothing, handcrafted souvenirs, and unique local finds. This bustling market offers a glimpse into Seville's culture and is a paradise for bargain hunters.", + "locationName": "Calle Feria", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "seville", + "ref": "shop-at-the-seville-flea-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_shop-at-the-seville-flea-market.jpg" + }, + { + "name": "Catch a Show at the Maestranza Bullring", + "description": "Experience the thrill and artistry of a traditional bullfight at the Maestranza Bullring, one of the oldest and most renowned bullrings in Spain. Witness the skill of the matadors and the pageantry of this cultural spectacle. Please note that opinions on bullfighting vary, and it may not be suitable for all audiences.", + "locationName": "Real Maestranza Bullring", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "seville", + "ref": "catch-a-show-at-the-maestranza-bullring", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_catch-a-show-at-the-maestranza-bullring.jpg" + }, + { + "name": "Relax at Maria Luisa Park", + "description": "Escape the city bustle and unwind in the tranquil Maria Luisa Park. Stroll through its beautiful gardens, admire the fountains and monuments, and rent a boat for a relaxing ride on the lake. This expansive green space is perfect for picnics, leisurely walks, and enjoying the serene atmosphere.", + "locationName": "Maria Luisa Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "seville", + "ref": "relax-at-maria-luisa-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_relax-at-maria-luisa-park.jpg" + }, + { + "name": "Day Trip to Cordoba", + "description": "Embark on a captivating journey to the historical city of Cordoba, a UNESCO World Heritage Site. Explore the Mezquita, a magnificent mosque-cathedral showcasing a captivating blend of Islamic and Christian architecture. Stroll through the enchanting Jewish Quarter with its narrow streets and charming patios, and immerse yourself in the rich cultural tapestry of this ancient city.", + "locationName": "Cordoba", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "seville", + "ref": "day-trip-to-cordoba", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_day-trip-to-cordoba.jpg" + }, + { + "name": "Kayaking on the Guadalquivir River", + "description": "Experience Seville from a different perspective with a thrilling kayaking adventure on the Guadalquivir River. Paddle along the picturesque waterway, passing iconic landmarks and enjoying the refreshing breeze. This unique activity offers a blend of exercise, sightseeing, and a chance to connect with nature.", + "locationName": "Guadalquivir River", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "seville", + "ref": "kayaking-on-the-guadalquivir-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_kayaking-on-the-guadalquivir-river.jpg" + }, + { + "name": "Flamenco Dance Class", + "description": "Immerse yourself in the passionate world of flamenco with an engaging dance class. Learn the basic steps and rhythms of this traditional Spanish art form from experienced instructors. Whether you're a beginner or have some dance experience, this activity offers a fun and cultural way to connect with the soul of Seville.", + "locationName": "Various dance studios throughout Seville", + "duration": 1.5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "seville", + "ref": "flamenco-dance-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_flamenco-dance-class.jpg" + }, + { + "name": "Rooftop Bar Hopping", + "description": "Savor stunning panoramic views of Seville while enjoying the city's vibrant nightlife scene. Embark on a rooftop bar hopping adventure, discovering hidden gems and popular hotspots with breathtaking vistas. Sip on delicious cocktails, soak in the lively atmosphere, and create unforgettable memories under the starry sky.", + "locationName": "Various rooftop bars throughout Seville", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "seville", + "ref": "rooftop-bar-hopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_rooftop-bar-hopping.jpg" + }, + { + "name": "Cooking Class", + "description": "Delve into the culinary delights of Seville with a hands-on cooking class. Learn the secrets of traditional Andalusian cuisine from local chefs, mastering the art of preparing tapas, paella, or other regional specialties. This immersive experience allows you to bring a taste of Seville home with you.", + "locationName": "Various cooking schools throughout Seville", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "seville", + "ref": "cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_cooking-class.jpg" + }, + { + "name": "Horse-Drawn Carriage Ride", + "description": "Indulge in a romantic and leisurely horse-drawn carriage ride through the enchanting streets of Seville. Discover hidden corners, admire iconic landmarks, and experience the city's charm in a unique and unforgettable way.", + "locationName": "Seville City Center", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "seville", + "ref": "horse-drawn-carriage-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_horse-drawn-carriage-ride.jpg" + }, + { + "name": "Museo del Baile Flamenco", + "description": "Immerse yourself in the passionate world of flamenco at the Museo del Baile Flamenco. Explore the history, artistry, and cultural significance of this captivating dance form through exhibits, live performances, and interactive displays.", + "locationName": "Museo del Baile Flamenco", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "seville", + "ref": "museo-del-baile-flamenco", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_museo-del-baile-flamenco.jpg" + }, + { + "name": "Triana Market", + "description": "Step into the vibrant atmosphere of the Triana Market, a local gem bursting with colors, aromas, and flavors. Browse stalls overflowing with fresh produce, regional specialties, and handcrafted souvenirs, and immerse yourself in the authentic Sevillian way of life.", + "locationName": "Triana neighborhood", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "seville", + "ref": "triana-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_triana-market.jpg" + }, + { + "name": "Plaza de Toros de la Maestranza Tour", + "description": "Delve into the history and tradition of bullfighting with a guided tour of the Plaza de Toros de la Maestranza. Explore the bullring's museum, learn about the art of bullfighting, and step onto the hallowed sands of the arena where legendary matadors have faced their challenges.", + "locationName": "Plaza de Toros de la Maestranza", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "seville", + "ref": "plaza-de-toros-de-la-maestranza-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_plaza-de-toros-de-la-maestranza-tour.jpg" + }, + { + "name": "Arab Baths Experience", + "description": "Escape the bustling city and indulge in a rejuvenating experience at a traditional Arab bath. Immerse yourself in the soothing waters, enjoy a relaxing massage, and step back in time to the era of Moorish luxury and tranquility.", + "locationName": "Aire de Sevilla", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "seville", + "ref": "arab-baths-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/seville_arab-baths-experience.jpg" + }, + { + "name": "Gardens by the Bay", + "description": "Immerse yourself in the futuristic beauty of Gardens by the Bay, a stunning nature park with iconic Supertrees, diverse plant life, and breathtaking waterfront views. Explore the Flower Dome, Cloud Forest, and OCBC Skyway for a unique and unforgettable experience.", + "locationName": "Gardens by the Bay", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "singapore", + "ref": "gardens-by-the-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_gardens-by-the-bay.jpg" + }, + { + "name": "Hawker Center Food Tour", + "description": "Embark on a culinary adventure through Singapore's renowned hawker centers. Sample a variety of delicious and affordable local dishes, from Hainanese chicken rice to chili crab, and experience the vibrant atmosphere of these bustling food havens.", + "locationName": "Various hawker centers", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "singapore", + "ref": "hawker-center-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_hawker-center-food-tour.jpg" + }, + { + "name": "Sentosa Island Escape", + "description": "Escape to the island resort of Sentosa and enjoy a day of fun and relaxation. Relax on pristine beaches, experience thrilling rides at Universal Studios Singapore, or explore the S.E.A Aquarium, home to a diverse array of marine life.", + "locationName": "Sentosa Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "singapore", + "ref": "sentosa-island-escape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_sentosa-island-escape.jpg" + }, + { + "name": "Little India Exploration", + "description": "Step into the vibrant neighborhood of Little India and experience a sensory feast. Wander through colorful streets, admire ornate temples, and discover authentic Indian cuisine, spices, and textiles.", + "locationName": "Little India", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "singapore", + "ref": "little-india-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_little-india-exploration.jpg" + }, + { + "name": "Singapore River Cruise", + "description": "Take a scenic cruise along the Singapore River and admire the city's iconic landmarks from a unique perspective. Enjoy stunning views of Marina Bay Sands, Merlion Park, and the colonial district while learning about Singapore's history and culture.", + "locationName": "Singapore River", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "singapore", + "ref": "singapore-river-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_singapore-river-cruise.jpg" + }, + { + "name": "Night Safari Adventure", + "description": "Embark on a thrilling tram ride through the world's first nocturnal wildlife park, encountering over 2,500 animals from around the globe in their natural habitats. Witness the magic of the jungle come alive under the starry sky as you observe fascinating creatures like lions, tigers, elephants, and more.", + "locationName": "Night Safari Singapore", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "singapore", + "ref": "night-safari-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_night-safari-adventure.jpg" + }, + { + "name": "Peranakan Museum Exploration", + "description": "Delve into the rich heritage of the Peranakan community, descendants of Chinese immigrants who settled in Southeast Asia centuries ago. Admire intricate artifacts, textiles, and jewelry, and learn about their unique cultural traditions, cuisine, and language.", + "locationName": "Peranakan Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "singapore", + "ref": "peranakan-museum-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_peranakan-museum-exploration.jpg" + }, + { + "name": "Chinatown Walking Tour", + "description": "Immerse yourself in the vibrant atmosphere of Chinatown, with its colorful shophouses, bustling markets, and ornate temples. Discover hidden gems, sample delicious street food, and learn about the history and traditions of Singapore's Chinese community.", + "locationName": "Chinatown", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "singapore", + "ref": "chinatown-walking-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_chinatown-walking-tour.jpg" + }, + { + "name": "MacRitchie Reservoir Hike", + "description": "Escape the city bustle and reconnect with nature on a scenic hike through the lush rainforest surrounding MacRitchie Reservoir. Cross the iconic TreeTop Walk suspension bridge, spot diverse wildlife, and enjoy breathtaking views of the reservoir and surrounding greenery.", + "locationName": "MacRitchie Reservoir Park", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "singapore", + "ref": "macritchie-reservoir-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_macritchie-reservoir-hike.jpg" + }, + { + "name": "Orchard Road Shopping Spree", + "description": "Indulge in a retail therapy session along Orchard Road, Singapore's renowned shopping district. Explore a vast array of luxury brands, flagship stores, and department stores, offering everything from high-end fashion and electronics to local souvenirs and unique finds.", + "locationName": "Orchard Road", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "singapore", + "ref": "orchard-road-shopping-spree", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_orchard-road-shopping-spree.jpg" + }, + { + "name": "Jurong Bird Park Adventure", + "description": "Embark on a colorful journey through Jurong Bird Park, home to over 5,000 birds from around the world. Witness captivating bird shows, stroll through walk-in aviaries, and get up close to vibrant species like flamingos, penguins, and parrots. This immersive experience offers a perfect blend of education and entertainment for all ages.", + "locationName": "Jurong Bird Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "singapore", + "ref": "jurong-bird-park-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_jurong-bird-park-adventure.jpg" + }, + { + "name": "Pulau Ubin Cycling Escape", + "description": "Escape the urban bustle and discover the rustic charm of Pulau Ubin, a tranquil island off Singapore's coast. Rent a bike and explore its idyllic landscapes, including lush forests, serene beaches, and traditional kampongs (villages). Immerse yourself in the island's laid-back atmosphere and enjoy a unique glimpse into Singapore's past.", + "locationName": "Pulau Ubin", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "singapore", + "ref": "pulau-ubin-cycling-escape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_pulau-ubin-cycling-escape.jpg" + }, + { + "name": "Singapore Botanic Gardens Stroll", + "description": "Unwind amidst the verdant beauty of the Singapore Botanic Gardens, a UNESCO World Heritage Site. Wander through themed gardens, admire the National Orchid Garden's stunning collection, and enjoy a peaceful picnic surrounded by nature. This tranquil oasis offers a welcome respite from the city's vibrant energy.", + "locationName": "Singapore Botanic Gardens", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "singapore", + "ref": "singapore-botanic-gardens-stroll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_singapore-botanic-gardens-stroll.jpg" + }, + { + "name": "Marina Bay Sands SkyPark Observation Deck", + "description": "Experience breathtaking panoramic views of Singapore's skyline from the Marina Bay Sands SkyPark Observation Deck. Capture iconic landmarks like the Supertree Grove, the Singapore Flyer, and the city's dazzling skyscrapers. This vantage point offers an unforgettable perspective of the city's architectural marvels and vibrant cityscape.", + "locationName": "Marina Bay Sands SkyPark", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "singapore", + "ref": "marina-bay-sands-skypark-observation-deck", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_marina-bay-sands-skypark-observation-deck.jpg" + }, + { + "name": "Fort Canning Park History and Heritage", + "description": "Step back in time and explore the rich history of Singapore at Fort Canning Park. Discover ancient artifacts, delve into the park's colonial past, and witness remnants of the spice trade. Immerse yourself in the cultural significance of this landmark and gain a deeper understanding of Singapore's heritage.", + "locationName": "Fort Canning Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "singapore", + "ref": "fort-canning-park-history-and-heritage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_fort-canning-park-history-and-heritage.jpg" + }, + { + "name": "Singapore Zoo Breakfast with Orangutans", + "description": "Embark on a unique wildlife experience by enjoying a delightful breakfast buffet in the company of playful orangutans at the renowned Singapore Zoo. Witness these incredible creatures swinging through their habitat and learn about their conservation efforts.", + "locationName": "Singapore Zoo", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "singapore", + "ref": "singapore-zoo-breakfast-with-orangutans", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_singapore-zoo-breakfast-with-orangutans.jpg" + }, + { + "name": "Haji Lane Street Art Exploration", + "description": "Immerse yourself in the vibrant street art scene of Haji Lane. Wander through this trendy alleyway, adorned with colorful murals, quirky shops, and hip cafes. Capture Instagram-worthy photos and soak up the artistic atmosphere.", + "locationName": "Haji Lane", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "singapore", + "ref": "haji-lane-street-art-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_haji-lane-street-art-exploration.jpg" + }, + { + "name": "Singapore Cable Car Sky Pass", + "description": "Enjoy breathtaking panoramic views of the city skyline and Sentosa Island from the Singapore Cable Car. Take a scenic ride and hop off at different stations to explore attractions like Mount Faber Park and Sentosa's beaches.", + "locationName": "Singapore Cable Car", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "singapore", + "ref": "singapore-cable-car-sky-pass", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_singapore-cable-car-sky-pass.jpg" + }, + { + "name": "Catch a Show at the Esplanade", + "description": "Experience the vibrant arts scene at the iconic Esplanade - Theatres on the Bay. Choose from a diverse range of performances, including theater, music, dance, and more. Enjoy a world-class show in a stunning architectural setting.", + "locationName": "Esplanade - Theatres on the Bay", + "duration": 2.5, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "singapore", + "ref": "catch-a-show-at-the-esplanade", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_catch-a-show-at-the-esplanade.jpg" + }, + { + "name": "Sungei Buloh Wetland Reserve", + "description": "Escape the city bustle and explore the serene Sungei Buloh Wetland Reserve. Walk along the mangroves, observe diverse birdlife, and learn about the importance of wetland conservation. This is a perfect opportunity to connect with nature and enjoy some peace and quiet.", + "locationName": "Sungei Buloh Wetland Reserve", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "singapore", + "ref": "sungei-buloh-wetland-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/singapore_sungei-buloh-wetland-reserve.jpg" + }, + { + "name": "Lake Bled Boat Ride and Bled Island Visit", + "description": "Embark on a traditional pletna boat ride across the emerald waters of Lake Bled. Visit the iconic Bled Island, climb the 99 steps to reach the Church of the Assumption, and ring the wishing bell for good luck. Enjoy breathtaking views of the Julian Alps and the surrounding countryside.", + "locationName": "Lake Bled", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "slovenia", + "ref": "lake-bled-boat-ride-and-bled-island-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_lake-bled-boat-ride-and-bled-island-visit.jpg" + }, + { + "name": "Postojna Cave Adventure", + "description": "Descend into the mesmerizing Postojna Cave, one of the largest karst cave systems in Europe. Take a thrilling train ride through the caverns and marvel at the stunning stalactites, stalagmites, and otherworldly formations. Learn about the cave's history and its unique ecosystem, including the endemic olm, a blind salamander.", + "locationName": "Postojna Cave", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "slovenia", + "ref": "postojna-cave-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_postojna-cave-adventure.jpg" + }, + { + "name": "Hiking in Triglav National Park", + "description": "Explore the pristine wilderness of Triglav National Park, named after Mount Triglav, Slovenia's highest peak. Choose from a variety of hiking trails, ranging from easy walks to challenging climbs. Discover alpine meadows, glacial valleys, crystal-clear lakes, and breathtaking waterfalls. Keep an eye out for diverse wildlife, including ibex, chamois, and golden eagles.", + "locationName": "Triglav National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "slovenia", + "ref": "hiking-in-triglav-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_hiking-in-triglav-national-park.jpg" + }, + { + "name": "Ljubljana City Tour", + "description": "Wander through the charming streets of Ljubljana, Slovenia's capital city. Admire the Baroque and Art Nouveau architecture, visit the Ljubljana Castle for panoramic views, and stroll along the Ljubljanica River. Explore the vibrant Prešeren Square, the central market, and the picturesque Triple Bridge. Discover the city's rich history and cultural heritage.", + "locationName": "Ljubljana", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "ljubljana-city-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_ljubljana-city-tour.jpg" + }, + { + "name": "Slovenian Wine Tasting", + "description": "Indulge in a delightful wine tasting experience in one of Slovenia's renowned wine regions. Sample a variety of local wines, from crisp whites to full-bodied reds, and learn about the country's winemaking traditions. Visit a local vineyard, meet the winemakers, and savor the unique flavors of Slovenian wine.", + "locationName": "Various wine regions", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "slovenia", + "ref": "slovenian-wine-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_slovenian-wine-tasting.jpg" + }, + { + "name": "Whitewater Rafting on the Soča River", + "description": "Experience the thrill of navigating the turquoise waters of the Soča River, surrounded by breathtaking alpine scenery. Choose from various difficulty levels and enjoy a guided rafting tour that combines adventure and the beauty of nature. This activity is perfect for adventure seekers and nature lovers.", + "locationName": "Soča Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "slovenia", + "ref": "whitewater-rafting-on-the-so-a-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_whitewater-rafting-on-the-so-a-river.jpg" + }, + { + "name": "Predjama Castle Exploration", + "description": "Step into a fairytale at Predjama Castle, a Renaissance castle built within a cave mouth. Explore the intriguing chambers and secret tunnels, and learn about the legend of the robber baron Erasmus. This unique castle offers a fascinating glimpse into Slovenia's history and architecture.", + "locationName": "Predjama", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "predjama-castle-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_predjama-castle-exploration.jpg" + }, + { + "name": "Škocjan Caves Tour", + "description": "Descend into the UNESCO-listed Škocjan Caves, a natural wonder with massive underground chambers, towering stalagmites and stalactites, and an underground river. Take a guided tour to witness the awe-inspiring beauty of this subterranean world.", + "locationName": "Škocjan Caves Regional Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "-kocjan-caves-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_-kocjan-caves-tour.jpg" + }, + { + "name": "Lipica Stud Farm Visit", + "description": "Discover the home of the Lipizzaner horses at the Lipica Stud Farm. Take a tour to learn about the history and breeding of these elegant white horses, watch a training session, or even enjoy a carriage ride through the picturesque estate.", + "locationName": "Lipica", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "slovenia", + "ref": "lipica-stud-farm-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_lipica-stud-farm-visit.jpg" + }, + { + "name": "Piran Coastal Town Charm", + "description": "Wander through the charming coastal town of Piran, with its Venetian-inspired architecture, narrow streets, and picturesque harbor. Explore the historic Tartini Square, climb the bell tower for panoramic views, and enjoy fresh seafood at a local restaurant.", + "locationName": "Piran", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "piran-coastal-town-charm", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_piran-coastal-town-charm.jpg" + }, + { + "name": "Cycling Through the Vipava Valley", + "description": "Embark on a scenic cycling journey through the picturesque Vipava Valley, known for its rolling vineyards, charming villages, and delicious local cuisine. Rent a bike and explore the numerous cycling trails, stopping at family-run wineries for tastings, enjoying farm-to-table meals, and soaking in the stunning landscapes.", + "locationName": "Vipava Valley", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "cycling-through-the-vipava-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_cycling-through-the-vipava-valley.jpg" + }, + { + "name": "Kayaking on Lake Bohinj", + "description": "Escape the crowds of Lake Bled and discover the tranquility of Lake Bohinj, Slovenia's largest glacial lake. Rent a kayak and paddle across the crystal-clear waters, surrounded by breathtaking mountain scenery. Enjoy a picnic on the shore, take a refreshing swim, or simply relax and soak in the peaceful atmosphere.", + "locationName": "Lake Bohinj", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "kayaking-on-lake-bohinj", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_kayaking-on-lake-bohinj.jpg" + }, + { + "name": "Ziplining in the Ukanc Valley", + "description": "Experience an adrenaline-pumping adventure ziplining through the Ukanc Valley. Soar above the treetops and enjoy breathtaking views of the surrounding mountains and forests. This thrilling activity is perfect for adventure seekers and nature enthusiasts.", + "locationName": "Ukanc Valley", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "slovenia", + "ref": "ziplining-in-the-ukanc-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_ziplining-in-the-ukanc-valley.jpg" + }, + { + "name": "Exploring the Škocjan Caves", + "description": "Embark on a subterranean adventure through the Škocjan Caves, a UNESCO World Heritage site renowned for its vast chambers, underground canyons, and impressive stalactites and stalagmites. Join a guided tour and marvel at the natural wonders of this unique cave system.", + "locationName": "Škocjan Caves", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "slovenia", + "ref": "exploring-the-kocjan-caves", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_exploring-the-kocjan-caves.jpg" + }, + { + "name": "Soaking in the Thermal Waters of Terme Čatež", + "description": "Indulge in relaxation and rejuvenation at Terme Čatež, one of Slovenia's largest and most popular thermal spa resorts. Enjoy the healing properties of the thermal waters, experience a variety of wellness treatments, and unwind in the numerous pools and saunas.", + "locationName": "Terme Čatež", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "slovenia", + "ref": "soaking-in-the-thermal-waters-of-terme-ate-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_soaking-in-the-thermal-waters-of-terme-ate-.jpg" + }, + { + "name": "Stand Up Paddleboarding on Lake Bohinj", + "description": "Experience the tranquility of Lake Bohinj, a glacial lake nestled amidst the Julian Alps, from a unique perspective. Glide across the crystal-clear waters on a stand-up paddleboard, surrounded by breathtaking mountain scenery. This activity is suitable for all skill levels, offering a peaceful and relaxing way to connect with nature.", + "locationName": "Lake Bohinj", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "stand-up-paddleboarding-on-lake-bohinj", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_stand-up-paddleboarding-on-lake-bohinj.jpg" + }, + { + "name": "Culinary Tour of Ljubljana", + "description": "Embark on a delectable journey through the culinary scene of Ljubljana, the charming capital city. Join a guided food tour to savor traditional Slovenian dishes, from hearty stews to delicate pastries. Discover local markets, hidden gems, and renowned restaurants, learning about the country's rich gastronomic heritage and indulging in authentic flavors.", + "locationName": "Ljubljana", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "slovenia", + "ref": "culinary-tour-of-ljubljana", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_culinary-tour-of-ljubljana.jpg" + }, + { + "name": "Visit the Velika Planina Alpine Pasture", + "description": "Step back in time at Velika Planina, a traditional alpine pasture nestled in the Kamnik Alps. Take a cable car ride up the mountain and explore the unique herdsmen's settlement with its charming wooden huts. Hike through the picturesque meadows, enjoy breathtaking panoramic views, and sample local dairy products like the famous Trnič cheese.", + "locationName": "Velika Planina", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "slovenia", + "ref": "visit-the-velika-planina-alpine-pasture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_visit-the-velika-planina-alpine-pasture.jpg" + }, + { + "name": "Explore the Škocjan Caves Park", + "description": "Venture into the depths of the Škocjan Caves Park, a UNESCO World Heritage Site renowned for its dramatic underground landscapes. Embark on a guided tour through the vast caverns, marvel at the impressive stalactites and stalagmites, and witness the roaring Reka River flowing through the canyon. This awe-inspiring adventure offers a glimpse into the geological wonders of Slovenia.", + "locationName": "Škocjan Caves Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "slovenia", + "ref": "explore-the-kocjan-caves-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_explore-the-kocjan-caves-park.jpg" + }, + { + "name": "Glamping in the Slovenian Countryside", + "description": "Escape the hustle and bustle of city life and immerse yourself in the tranquility of the Slovenian countryside. Enjoy a unique glamping experience, staying in luxurious tents or eco-friendly cabins surrounded by nature. Wake up to stunning views, explore the nearby forests and meadows, and unwind under the starry sky.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "slovenia", + "ref": "glamping-in-the-slovenian-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/slovenia_glamping-in-the-slovenian-countryside.jpg" + }, + { + "name": "Explore the Ancient City of Sigiriya", + "description": "Embark on a journey to the top of Sigiriya, a UNESCO World Heritage Site. Climb the ancient rock fortress, marvel at the stunning frescoes, and enjoy breathtaking panoramic views of the surrounding landscapes. Discover the fascinating history and legends of this iconic landmark, dating back to the 5th century.", + "locationName": "Sigiriya", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "explore-the-ancient-city-of-sigiriya", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_explore-the-ancient-city-of-sigiriya.jpg" + }, + { + "name": "Relax on the Beaches of Bentota", + "description": "Escape to the golden shores of Bentota, a renowned beach destination on the southwestern coast. Soak up the sun, swim in the turquoise waters, and indulge in water sports like surfing, snorkeling, or jet skiing. Enjoy the serene ambiance and unwind in a beachfront resort or a cozy beach shack.", + "locationName": "Bentota", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "relax-on-the-beaches-of-bentota", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_relax-on-the-beaches-of-bentota.jpg" + }, + { + "name": "Go on a Wildlife Safari in Yala National Park", + "description": "Embark on an unforgettable wildlife adventure in Yala National Park, renowned for its diverse wildlife population. Spot elephants, leopards, sloth bears, crocodiles, and numerous bird species as you traverse through the park's varied landscapes. Experience the thrill of observing these magnificent creatures in their natural habitat.", + "locationName": "Yala National Park", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "sri-lanka", + "ref": "go-on-a-wildlife-safari-in-yala-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_go-on-a-wildlife-safari-in-yala-national-park.jpg" + }, + { + "name": "Discover the Cultural Triangle", + "description": "Immerse yourself in the rich history and culture of Sri Lanka by exploring the Cultural Triangle. Visit ancient cities like Anuradhapura and Polonnaruwa, home to magnificent ruins, temples, and palaces. Discover the sacred Temple of the Tooth in Kandy, a revered Buddhist pilgrimage site, and witness traditional Kandyan dance performances.", + "locationName": "Cultural Triangle (Anuradhapura, Polonnaruwa, Kandy)", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "discover-the-cultural-triangle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_discover-the-cultural-triangle.jpg" + }, + { + "name": "Experience the Hill Country Charm in Nuwara Eliya", + "description": "Escape to the cool climate and scenic beauty of Nuwara Eliya, known as 'Little England'. Explore the lush tea plantations, visit a tea factory to learn about the tea-making process, and enjoy a cup of freshly brewed Ceylon tea. Take a scenic train ride through the rolling hills, visit waterfalls, and admire the colonial architecture.", + "locationName": "Nuwara Eliya", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "experience-the-hill-country-charm-in-nuwara-eliya", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_experience-the-hill-country-charm-in-nuwara-eliya.jpg" + }, + { + "name": "Dive into the Underwater World", + "description": "Explore the vibrant coral reefs and diverse marine life of Sri Lanka's coastline. Popular diving spots include Hikkaduwa, Unawatuna, and Trincomalee, where you can encounter colorful fish, sea turtles, and even shipwrecks. Whether you're a beginner or an experienced diver, there are options for all levels.", + "locationName": "Hikkaduwa, Unawatuna, or Trincomalee", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "dive-into-the-underwater-world", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_dive-into-the-underwater-world.jpg" + }, + { + "name": "Ride the Waves in Arugam Bay", + "description": "Catch some waves at Arugam Bay, a renowned surfing destination on the east coast. With consistent swells and a laid-back atmosphere, it's a paradise for surfers of all skill levels. Take a lesson, rent a board, and experience the thrill of riding the Indian Ocean.", + "locationName": "Arugam Bay", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "ride-the-waves-in-arugam-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_ride-the-waves-in-arugam-bay.jpg" + }, + { + "name": "Hike to Adam's Peak", + "description": "Embark on a pilgrimage to Adam's Peak, a sacred mountain with stunning views. The climb is challenging but rewarding, especially at sunrise when you can witness the breathtaking 'Sri Pada' or sacred footprint. This is a cultural and spiritual experience not to be missed.", + "locationName": "Adam's Peak", + "duration": 6, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "hike-to-adam-s-peak", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_hike-to-adam-s-peak.jpg" + }, + { + "name": "Cruise Along the Dutch Canal in Negombo", + "description": "Take a relaxing boat ride along the historic Dutch Canal in Negombo. Admire the colonial architecture, observe local life, and enjoy the scenic beauty of the waterways. This is a perfect way to unwind and experience a different side of Sri Lanka.", + "locationName": "Negombo", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "cruise-along-the-dutch-canal-in-negombo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_cruise-along-the-dutch-canal-in-negombo.jpg" + }, + { + "name": "Wander Through the Royal Botanical Gardens", + "description": "Escape the hustle and bustle in the serene Royal Botanical Gardens in Peradeniya. Explore diverse plant collections, including orchids, spices, and medicinal herbs. Enjoy a peaceful stroll, have a picnic, and immerse yourself in the beauty of nature.", + "locationName": "Peradeniya", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "sri-lanka", + "ref": "wander-through-the-royal-botanical-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_wander-through-the-royal-botanical-gardens.jpg" + }, + { + "name": "Whale Watching in Mirissa", + "description": "Embark on a thrilling boat excursion from the coastal town of Mirissa to witness the majestic spectacle of whales in their natural habitat. Sri Lanka is renowned as one of the best places in the world to spot blue whales, sperm whales, and dolphins. Keep your eyes peeled for these gentle giants as they breach the surface and marvel at their sheer size and grace.", + "locationName": "Mirissa", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "whale-watching-in-mirissa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_whale-watching-in-mirissa.jpg" + }, + { + "name": "Explore the Galle Dutch Fort", + "description": "Step back in time with a visit to the historic Galle Dutch Fort, a UNESCO World Heritage Site. Wander through the charming streets lined with Dutch colonial buildings, explore the ramparts offering stunning ocean views, and discover quaint shops, cafes, and museums. Immerse yourself in the rich history and architectural beauty of this captivating landmark.", + "locationName": "Galle", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "explore-the-galle-dutch-fort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_explore-the-galle-dutch-fort.jpg" + }, + { + "name": "Visit a Tea Plantation and Factory", + "description": "Delve into the world of Ceylon tea with a visit to a scenic tea plantation and factory in the Hill Country. Learn about the tea-making process, from plucking the leaves to the final stages of production. Enjoy a cup of freshly brewed tea while taking in the breathtaking views of rolling hills carpeted with emerald-green tea bushes.", + "locationName": "Nuwara Eliya", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "visit-a-tea-plantation-and-factory", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_visit-a-tea-plantation-and-factory.jpg" + }, + { + "name": "Learn to Cook Authentic Sri Lankan Cuisine", + "description": "Embark on a culinary adventure by participating in a cooking class and learn the secrets of Sri Lankan cuisine. Master the art of preparing traditional dishes such as rice and curry, coconut roti, and flavorful sambals. Discover the unique blend of spices and flavors that make Sri Lankan food so special and enjoy a delicious meal you've created yourself.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "learn-to-cook-authentic-sri-lankan-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_learn-to-cook-authentic-sri-lankan-cuisine.jpg" + }, + { + "name": "Experience a Traditional Ayurvedic Treatment", + "description": "Indulge in a rejuvenating Ayurvedic treatment and experience the ancient healing traditions of Sri Lanka. Choose from a variety of therapies, including massages, herbal baths, and oil treatments, designed to restore balance and promote well-being. Immerse yourself in a sanctuary of relaxation and emerge feeling refreshed and revitalized.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "experience-a-traditional-ayurvedic-treatment", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_experience-a-traditional-ayurvedic-treatment.jpg" + }, + { + "name": "White Water Rafting in Kitulgala", + "description": "Embark on an exhilarating white water rafting adventure down the Kelani River in Kitulgala. Navigate through thrilling rapids surrounded by lush rainforests, offering a perfect blend of adrenaline and stunning natural beauty.", + "locationName": "Kitulgala", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "white-water-rafting-in-kitulgala", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_white-water-rafting-in-kitulgala.jpg" + }, + { + "name": "Bird Watching in Kumana National Park", + "description": "Discover the rich avian diversity of Sri Lanka at Kumana National Park. Home to a wide variety of resident and migratory birds, including pelicans, painted storks, and spoonbills, this park offers a paradise for bird enthusiasts.", + "locationName": "Kumana National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "bird-watching-in-kumana-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_bird-watching-in-kumana-national-park.jpg" + }, + { + "name": "Explore the Dambulla Cave Temple", + "description": "Step into the spiritual realm at the Dambulla Cave Temple, a UNESCO World Heritage Site. Marvel at the ancient Buddhist murals and statues housed within five cave temples, showcasing Sri Lanka's rich history and religious significance.", + "locationName": "Dambulla", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "explore-the-dambulla-cave-temple", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_explore-the-dambulla-cave-temple.jpg" + }, + { + "name": "Take a Scenic Train Journey from Kandy to Ella", + "description": "Embark on a breathtaking train journey through Sri Lanka's scenic hill country. Travel from Kandy to Ella, passing through rolling hills, tea plantations, and picturesque waterfalls, offering unforgettable views of the island's natural beauty.", + "locationName": "Kandy to Ella", + "duration": 7, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "sri-lanka", + "ref": "take-a-scenic-train-journey-from-kandy-to-ella", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_take-a-scenic-train-journey-from-kandy-to-ella.jpg" + }, + { + "name": "Visit the Pinnawala Elephant Orphanage", + "description": "Witness the heartwarming sight of rescued elephants at the Pinnawala Elephant Orphanage. Observe these gentle giants as they bathe, feed, and interact with each other, providing a unique opportunity to learn about elephant conservation efforts.", + "locationName": "Pinnawala", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "sri-lanka", + "ref": "visit-the-pinnawala-elephant-orphanage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/sri-lanka_visit-the-pinnawala-elephant-orphanage.jpg" + }, + { + "name": "Polar Bear Safari", + "description": "Embark on an unforgettable expedition into the Arctic wilderness in search of the majestic polar bear. Accompanied by experienced guides, you'll navigate the icy landscapes by snowmobile or boat, keeping a keen eye out for these incredible creatures in their natural habitat. Witnessing these powerful predators in action is an experience that will stay with you forever.", + "locationName": "Various locations depending on the season and ice conditions", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "svalbard", + "ref": "polar-bear-safari", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_polar-bear-safari.jpg" + }, + { + "name": "Dog Sledding Adventure", + "description": "Experience the thrill of gliding across the snowy plains of Svalbard on a traditional dog sled. Learn the art of mushing from expert guides as you command your team of huskies through breathtaking Arctic scenery. Feel the adrenaline rush as you race across the frozen tundra, surrounded by the pristine beauty of the polar landscape.", + "locationName": "Various locations around Longyearbyen", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "svalbard", + "ref": "dog-sledding-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_dog-sledding-adventure.jpg" + }, + { + "name": "Northern Lights Viewing", + "description": "Venture out into the darkness of the Arctic night and witness the awe-inspiring spectacle of the Northern Lights. Svalbard's remote location and minimal light pollution offer ideal conditions for observing this celestial phenomenon. Gaze up at the sky as vibrant ribbons of green, purple, and pink dance across the horizon, creating an unforgettable display of nature's magic.", + "locationName": "Various locations away from city lights", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "svalbard", + "ref": "northern-lights-viewing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_northern-lights-viewing.jpg" + }, + { + "name": "Kayaking in the Fjords", + "description": "Paddle through the tranquil waters of Svalbard's fjords and immerse yourself in the serene beauty of the Arctic landscape. Glide past towering glaciers, rugged mountains, and pristine icebergs as you explore hidden coves and observe the diverse marine life. Kayaking offers a unique and peaceful perspective on the Arctic wilderness.", + "locationName": "Isfjorden or other suitable fjords", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "svalbard", + "ref": "kayaking-in-the-fjords", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_kayaking-in-the-fjords.jpg" + }, + { + "name": "Visit the Svalbard Museum", + "description": "Delve into the rich history and unique culture of Svalbard at the Svalbard Museum. Explore exhibits showcasing the archipelago's fascinating past, from early exploration and whaling to coal mining and scientific research. Learn about the challenges and triumphs of human life in this remote Arctic region, and gain a deeper understanding of the delicate balance between nature and human activity.", + "locationName": "Longyearbyen", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "svalbard", + "ref": "visit-the-svalbard-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_visit-the-svalbard-museum.jpg" + }, + { + "name": "Snowmobiling across the Tundra", + "description": "Embark on an exhilarating snowmobile adventure across the vast Arctic tundra. Feel the rush of adrenaline as you zoom through the snowy landscapes, taking in the breathtaking scenery and the crisp Arctic air. This thrilling experience offers a unique way to explore the remote wilderness of Svalbard.", + "locationName": "Various locations across Svalbard", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "svalbard", + "ref": "snowmobiling-across-the-tundra", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_snowmobiling-across-the-tundra.jpg" + }, + { + "name": "Hiking to a Glacier", + "description": "Lace up your hiking boots and embark on an unforgettable trek to one of Svalbard's majestic glaciers. Witness the immense power and beauty of these icy giants up close as you traverse the Arctic terrain. Experienced guides will lead you on a safe and informative journey, sharing insights about the region's geology and glacial formations.", + "locationName": "Various glaciers across Svalbard (e.g., Longyearbreen, Esmarkbreen)", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "svalbard", + "ref": "hiking-to-a-glacier", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_hiking-to-a-glacier.jpg" + }, + { + "name": "Boat Trip to Pyramiden", + "description": "Take a scenic boat trip to the abandoned Russian mining settlement of Pyramiden. Explore the ghost town's eerie remains, including its once-grand cultural center, sports complex, and residential buildings. Learn about the fascinating history of this Soviet-era outpost and its sudden abandonment in the 1990s.", + "locationName": "Pyramiden", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "svalbard", + "ref": "boat-trip-to-pyramiden", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_boat-trip-to-pyramiden.jpg" + }, + { + "name": "Visit the North Pole Expedition Museum", + "description": "Delve into the rich history of Arctic exploration at the North Pole Expedition Museum in Longyearbyen. Discover captivating exhibits showcasing artifacts, photographs, and stories from famous expeditions, including those of Roald Amundsen and Fridtjof Nansen. Gain insights into the challenges and triumphs of polar exploration and its impact on our understanding of the Arctic.", + "locationName": "Longyearbyen", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "svalbard", + "ref": "visit-the-north-pole-expedition-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_visit-the-north-pole-expedition-museum.jpg" + }, + { + "name": "Enjoy Local Cuisine and Culture", + "description": "Indulge in the unique flavors of Svalbard's local cuisine. Sample Arctic delicacies like reindeer steak, fresh seafood, and cloudberries. Visit cozy cafes and restaurants in Longyearbyen, where you can savor traditional dishes and immerse yourself in the local culture. Don't miss the opportunity to try Svalbard's own craft beer brewed with glacial water.", + "locationName": "Longyearbyen", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "svalbard", + "ref": "enjoy-local-cuisine-and-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_enjoy-local-cuisine-and-culture.jpg" + }, + { + "name": "Fossil Hunting at Mine 7", + "description": "Embark on a unique adventure to Mine 7, a former coal mine near Longyearbyen. Here, you can explore the remnants of Svalbard's mining history and participate in guided fossil hunting tours. Uncover ancient plant fossils dating back millions of years and learn about the geological forces that shaped this Arctic landscape. This activity offers a fascinating glimpse into Svalbard's past and is suitable for all ages.", + "locationName": "Mine 7", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "svalbard", + "ref": "fossil-hunting-at-mine-7", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_fossil-hunting-at-mine-7.jpg" + }, + { + "name": "Birdwatching at the Alkefjellet Bird Cliffs", + "description": "Witness the spectacle of thousands of seabirds nesting on the dramatic cliffs of Alkefjellet. Take a boat trip to this impressive location and marvel at the guillemots, kittiwakes, and Brünnich's guillemots that call these cliffs home. Capture stunning photographs of the birds in flight and observe their nesting behaviors. This experience is a must for bird enthusiasts and nature lovers.", + "locationName": "Alkefjellet Bird Cliffs", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "svalbard", + "ref": "birdwatching-at-the-alkefjellet-bird-cliffs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_birdwatching-at-the-alkefjellet-bird-cliffs.jpg" + }, + { + "name": "Ice Caving Adventure", + "description": "Delve into the mesmerizing world of ice caves beneath Svalbard's glaciers. Join a guided tour and explore these natural ice formations, adorned with sparkling ice crystals and unique ice sculptures. Learn about the formation of glaciers and ice caves while experiencing the thrill of venturing underground in this Arctic wonderland. This activity is ideal for adventurous travelers seeking an unforgettable experience.", + "locationName": "Various glacier locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "svalbard", + "ref": "ice-caving-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_ice-caving-adventure.jpg" + }, + { + "name": "Relaxation at the Svalbard Seed Vault", + "description": "Visit the iconic Svalbard Global Seed Vault, a secure facility built to safeguard the world's crop diversity. While entry inside the vault is restricted, you can admire its unique architecture and learn about its crucial role in preserving biodiversity. The surrounding area offers stunning views of the Arctic landscape, providing a peaceful setting for reflection and appreciation of nature's resilience.", + "locationName": "Svalbard Global Seed Vault", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "svalbard", + "ref": "relaxation-at-the-svalbard-seed-vault", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_relaxation-at-the-svalbard-seed-vault.jpg" + }, + { + "name": "Stargazing in the Arctic Wilderness", + "description": "Experience the magic of the Arctic night sky away from light pollution. Join a guided stargazing tour and marvel at the celestial wonders above. Learn about constellations, planets, and the Aurora Borealis, also known as the Northern Lights, which illuminate the sky with vibrant colors. This activity offers a unique opportunity to connect with the vastness of the universe and appreciate the beauty of the Arctic night.", + "locationName": "Various locations away from settlements", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "svalbard", + "ref": "stargazing-in-the-arctic-wilderness", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_stargazing-in-the-arctic-wilderness.jpg" + }, + { + "name": "Arctic Photography Expedition", + "description": "Embark on a guided photography tour to capture the stunning landscapes of Svalbard. Learn from professional photographers and get tips on capturing the Arctic's unique light and wildlife. This activity is perfect for both amateur and experienced photographers looking to create lasting memories.", + "locationName": "Various locations throughout Svalbard", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "svalbard", + "ref": "arctic-photography-expedition", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_arctic-photography-expedition.jpg" + }, + { + "name": "Visit Barentsburg, a Russian Mining Town", + "description": "Take a boat trip to Barentsburg, a Russian coal-mining settlement on Spitsbergen. Experience a different culture and explore the town's unique architecture, history, and way of life. You can even enjoy a traditional Russian meal at a local restaurant.", + "locationName": "Barentsburg", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "svalbard", + "ref": "visit-barentsburg-a-russian-mining-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_visit-barentsburg-a-russian-mining-town.jpg" + }, + { + "name": "Go Cross-Country Skiing", + "description": "Explore the Arctic wilderness on skis with a cross-country skiing excursion. Glide across snow-covered landscapes, taking in the breathtaking scenery and enjoying the fresh air and exercise. This activity is suitable for various skill levels, and guided tours are available for beginners.", + "locationName": "Various locations throughout Svalbard", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "svalbard", + "ref": "go-cross-country-skiing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_go-cross-country-skiing.jpg" + }, + { + "name": "Take a Hot Air Balloon Ride over Svalbard", + "description": "Experience the ultimate Arctic adventure with a hot air balloon ride over the stunning landscapes of Svalbard. Enjoy breathtaking aerial views of glaciers, mountains, and fjords, and witness the Arctic wilderness from a unique perspective. This once-in-a-lifetime experience is perfect for special occasions or for those seeking an unforgettable adventure.", + "locationName": "Various locations throughout Svalbard", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "svalbard", + "ref": "take-a-hot-air-balloon-ride-over-svalbard", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_take-a-hot-air-balloon-ride-over-svalbard.jpg" + }, + { + "name": "Enjoy the Local Arts and Culture Scene", + "description": "Explore the local arts and culture scene in Longyearbyen, the largest settlement in Svalbard. Visit art galleries showcasing Arctic-inspired works, attend cultural events, and learn about the unique history and traditions of this remote community.", + "locationName": "Longyearbyen", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "svalbard", + "ref": "enjoy-the-local-arts-and-culture-scene", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/svalbard_enjoy-the-local-arts-and-culture-scene.jpg" + }, + { + "name": "Hiking in the Jungfrau Region", + "description": "Embark on an unforgettable hiking adventure amidst the stunning landscapes of the Jungfrau Region. Explore well-maintained trails that wind through alpine meadows, past glacial lakes, and offer breathtaking panoramic views of snow-capped peaks. Whether you're a seasoned hiker or a beginner, there are trails suitable for all levels of experience. Don't miss the iconic trails like the Panorama Trail from First to Grindelwald or the Eiger Trail for a challenging yet rewarding hike.", + "locationName": "Jungfrau Region", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "swiss-alps", + "ref": "hiking-in-the-jungfrau-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_hiking-in-the-jungfrau-region.jpg" + }, + { + "name": "Skiing in Zermatt", + "description": "Experience world-class skiing in the renowned resort town of Zermatt. With over 360 kilometers of slopes, Zermatt offers something for every skier, from gentle beginner runs to challenging off-piste terrain. Enjoy breathtaking views of the iconic Matterhorn while gliding down the slopes. After a day on the mountain, indulge in the après-ski scene at one of the many cozy restaurants or bars.", + "locationName": "Zermatt", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "swiss-alps", + "ref": "skiing-in-zermatt", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_skiing-in-zermatt.jpg" + }, + { + "name": "Scenic Train Ride on the Glacier Express", + "description": "Embark on a breathtaking journey through the Swiss Alps on the Glacier Express, known as the 'slowest express train in the world.' Sit back and relax as you travel through stunning mountain scenery, passing over bridges, through tunnels, and alongside glaciers. The panoramic windows offer unparalleled views of the alpine landscape, making it a truly unforgettable experience.", + "locationName": "Glacier Express Route", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "swiss-alps", + "ref": "scenic-train-ride-on-the-glacier-express", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_scenic-train-ride-on-the-glacier-express.jpg" + }, + { + "name": "Paragliding Over Interlaken", + "description": "Soar through the skies and experience the Swiss Alps from a unique perspective with a paragliding adventure over Interlaken. Take off from a mountaintop and enjoy breathtaking panoramic views of the surrounding mountains, lakes, and valleys. Feel the thrill of flying as you glide through the air, accompanied by experienced pilots who ensure your safety and enjoyment.", + "locationName": "Interlaken", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 4, + "destinationRef": "swiss-alps", + "ref": "paragliding-over-interlaken", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_paragliding-over-interlaken.jpg" + }, + { + "name": "Visit Charming Villages", + "description": "Explore the charming villages nestled amidst the Swiss Alps, each with its unique character and beauty. Wander through cobbled streets, admire traditional architecture, and discover local shops and restaurants. Visit Grindelwald, a popular village with stunning views of the Eiger, or Zermatt, a car-free village at the foot of the Matterhorn. Immerse yourself in the local culture and enjoy the peaceful atmosphere of these alpine gems.", + "locationName": "Various villages", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "swiss-alps", + "ref": "visit-charming-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_visit-charming-villages.jpg" + }, + { + "name": "Mountain Biking", + "description": "Embark on a thrilling mountain biking adventure through the stunning Swiss Alps. Explore diverse terrains, from gentle slopes to challenging trails, and enjoy breathtaking views of snow-capped peaks, lush valleys, and picturesque villages. Whether you're a seasoned rider or a beginner, there are trails suitable for all skill levels, offering an exhilarating and unforgettable experience.", + "locationName": "Various trails throughout the Swiss Alps", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "swiss-alps", + "ref": "mountain-biking", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_mountain-biking.jpg" + }, + { + "name": "Indulge in Swiss Chocolate Delights", + "description": "Embark on a delectable journey into the world of Swiss chocolate. Visit renowned chocolate factories and artisanal shops, where you can witness the art of chocolate making, learn about its rich history, and savor a wide variety of exquisite chocolates, from creamy milk to intense dark. Don't miss the opportunity to create your own chocolate masterpiece during a fun and interactive workshop.", + "locationName": "Chocolate factories and shops in Swiss towns and cities", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "swiss-alps", + "ref": "indulge-in-swiss-chocolate-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_indulge-in-swiss-chocolate-delights.jpg" + }, + { + "name": "Experience Thrilling Water Sports on Lake Geneva", + "description": "Head to the picturesque Lake Geneva and dive into a world of exciting water sports. Try your hand at windsurfing, sailing, or kayaking, enjoying the refreshing breeze and stunning views of the surrounding mountains. For an adrenaline rush, opt for water skiing or wakeboarding, gliding across the crystal-clear waters. Whether you're seeking adventure or relaxation, Lake Geneva offers endless possibilities.", + "locationName": "Lake Geneva", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "swiss-alps", + "ref": "experience-thrilling-water-sports-on-lake-geneva", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_experience-thrilling-water-sports-on-lake-geneva.jpg" + }, + { + "name": "Unwind in Thermal Baths and Spa Resorts", + "description": "Escape to the tranquil oasis of Swiss thermal baths and spa resorts, renowned for their rejuvenating properties. Immerse yourself in warm, mineral-rich waters, surrounded by breathtaking alpine scenery. Indulge in a variety of wellness treatments, including massages, facials, and body wraps, leaving you feeling refreshed and revitalized.", + "locationName": "Various spa resorts throughout the Swiss Alps", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "swiss-alps", + "ref": "unwind-in-thermal-baths-and-spa-resorts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_unwind-in-thermal-baths-and-spa-resorts.jpg" + }, + { + "name": "Discover Swiss Culture and Heritage", + "description": "Immerse yourself in the rich culture and heritage of Switzerland by visiting charming towns and cities. Explore historical landmarks, museums, and art galleries, learning about the country's fascinating past and vibrant present. Attend traditional festivals and events, experiencing authentic Swiss folklore, music, and dance. Don't forget to sample local delicacies and wines, savoring the unique flavors of the region.", + "locationName": "Swiss towns and cities", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "swiss-alps", + "ref": "discover-swiss-culture-and-heritage", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_discover-swiss-culture-and-heritage.jpg" + }, + { + "name": "Canyoning in Interlaken", + "description": "Embark on an exhilarating canyoning adventure in Interlaken, where you'll rappel down cascading waterfalls, slide down natural rock formations, and jump into crystal-clear pools. This adrenaline-pumping activity offers a unique way to experience the stunning gorges and canyons of the Swiss Alps.", + "locationName": "Interlaken", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "swiss-alps", + "ref": "canyoning-in-interlaken", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_canyoning-in-interlaken.jpg" + }, + { + "name": "Visit the Chillon Castle", + "description": "Step back in time with a visit to the iconic Chillon Castle, a medieval fortress located on the shores of Lake Geneva. Explore its ancient halls, dungeons, and courtyards, and learn about its fascinating history dating back over a thousand years. Enjoy breathtaking views of the lake and surrounding mountains.", + "locationName": "Montreux", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "swiss-alps", + "ref": "visit-the-chillon-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_visit-the-chillon-castle.jpg" + }, + { + "name": "Stargazing in the Mountains", + "description": "Escape the city lights and experience the magic of stargazing in the pristine Swiss Alps. Join a guided tour or find a secluded spot to marvel at the Milky Way and constellations. The clear mountain air and high altitude provide exceptional conditions for observing the night sky.", + "locationName": "Jungfrau Region", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "swiss-alps", + "ref": "stargazing-in-the-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_stargazing-in-the-mountains.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Alps", + "description": "Soar above the majestic Swiss Alps in a hot air balloon and witness breathtaking panoramic views of snow-capped peaks, valleys, and glaciers. Enjoy a peaceful and unforgettable experience as you drift through the sky and capture stunning aerial photos.", + "locationName": "Château-d'Oex", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "swiss-alps", + "ref": "hot-air-balloon-ride-over-the-alps", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_hot-air-balloon-ride-over-the-alps.jpg" + }, + { + "name": "Cheese Fondue and Wine Tasting", + "description": "Indulge in the quintessential Swiss experience of cheese fondue and wine tasting. Visit a traditional restaurant or chalet and savor the rich flavors of melted cheese accompanied by local wines. Learn about the art of fondue making and the different varieties of cheese and wine produced in the region.", + "locationName": "Gruyères", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "swiss-alps", + "ref": "cheese-fondue-and-wine-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_cheese-fondue-and-wine-tasting.jpg" + }, + { + "name": "Ice Climbing on a Glacier", + "description": "Embark on a thrilling ice climbing adventure on one of Switzerland's majestic glaciers. Experienced guides will lead you through the basics of ice axe and crampon use, ensuring your safety as you ascend glistening ice walls. This exhilarating activity offers a unique perspective of the alpine landscape and an unforgettable adrenaline rush.", + "locationName": "Aletsch Glacier or Rhône Glacier", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "swiss-alps", + "ref": "ice-climbing-on-a-glacier", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_ice-climbing-on-a-glacier.jpg" + }, + { + "name": "Wildlife Watching in the Swiss National Park", + "description": "Immerse yourself in the pristine wilderness of the Swiss National Park, a haven for diverse wildlife. Hike through scenic trails and observe animals in their natural habitat, including ibex, chamois, marmots, and golden eagles. Keep an eye out for rare sightings like the elusive lynx or bearded vulture. This experience is perfect for nature enthusiasts and photographers.", + "locationName": "Swiss National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "swiss-alps", + "ref": "wildlife-watching-in-the-swiss-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_wildlife-watching-in-the-swiss-national-park.jpg" + }, + { + "name": "Explore the Charming Town of Gruyères", + "description": "Step back in time and visit the medieval town of Gruyères, renowned for its namesake cheese. Wander through cobbled streets, admire the historic architecture, and visit the Gruyères Castle. Indulge in a cheese fondue tasting and explore the Maison du Gruyère to learn about the cheese-making process. Don't miss the HR Giger Museum, showcasing the works of the Swiss surrealist artist.", + "locationName": "Gruyères", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "swiss-alps", + "ref": "explore-the-charming-town-of-gruy-res", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_explore-the-charming-town-of-gruy-res.jpg" + }, + { + "name": "Take a Boat Ride on Lake Lucerne", + "description": "Enjoy a scenic boat ride on the crystal-clear waters of Lake Lucerne, surrounded by breathtaking mountain vistas. Relax on deck and admire the picturesque towns, rolling hills, and snow-capped peaks. Consider a themed cruise, such as a culinary journey or a historical tour, to enhance your experience.", + "locationName": "Lake Lucerne", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "swiss-alps", + "ref": "take-a-boat-ride-on-lake-lucerne", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_take-a-boat-ride-on-lake-lucerne.jpg" + }, + { + "name": "Visit the Jungfraujoch - Top of Europe", + "description": "Embark on an unforgettable journey to the Jungfraujoch, the highest railway station in Europe, known as the \"Top of Europe\". Marvel at the panoramic views of the surrounding Alps, including the Aletsch Glacier. Explore the Ice Palace, experience the Sphinx Observatory, and enjoy a meal at one of the restaurants with breathtaking views.", + "locationName": "Jungfraujoch", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "swiss-alps", + "ref": "visit-the-jungfraujoch-top-of-europe", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/swiss-alps_visit-the-jungfraujoch-top-of-europe.jpg" + }, + { + "name": "Cradle Mountain National Park Hike", + "description": "Embark on a breathtaking hike through the iconic Cradle Mountain National Park. Witness the rugged beauty of Cradle Mountain, Dove Lake, and surrounding peaks. Keep an eye out for unique wildlife like wombats, wallabies, and Tasmanian devils.", + "locationName": "Cradle Mountain National Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "tasmania", + "ref": "cradle-mountain-national-park-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_cradle-mountain-national-park-hike.jpg" + }, + { + "name": "Wineglass Bay Cruise", + "description": "Sail across the turquoise waters of Wineglass Bay, marveling at the pristine beaches and dramatic cliffs. Enjoy swimming, snorkeling, or simply relaxing on the deck while soaking up the stunning coastal scenery.", + "locationName": "Wineglass Bay", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "tasmania", + "ref": "wineglass-bay-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_wineglass-bay-cruise.jpg" + }, + { + "name": "Port Arthur Historic Site Tour", + "description": "Step back in time at the Port Arthur Historic Site, a former penal colony with a fascinating and sometimes haunting history. Explore the preserved buildings, learn about the lives of convicts, and discover the stories of this UNESCO World Heritage site.", + "locationName": "Port Arthur", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "tasmania", + "ref": "port-arthur-historic-site-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_port-arthur-historic-site-tour.jpg" + }, + { + "name": "Bonorong Wildlife Sanctuary Visit", + "description": "Get up close and personal with Tasmania's unique wildlife at Bonorong Wildlife Sanctuary. See Tasmanian devils, kangaroos, koalas, wombats, and more in their natural habitats. Learn about conservation efforts and the importance of protecting these incredible animals.", + "locationName": "Bonorong Wildlife Sanctuary", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "tasmania", + "ref": "bonorong-wildlife-sanctuary-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_bonorong-wildlife-sanctuary-visit.jpg" + }, + { + "name": "Salamanca Market Exploration", + "description": "Immerse yourself in the vibrant atmosphere of Salamanca Market in Hobart. Browse through stalls offering local arts and crafts, fresh produce, gourmet food, and unique souvenirs. Enjoy live music and entertainment while experiencing the heart of Tasmania's capital city.", + "locationName": "Salamanca Market, Hobart", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "tasmania", + "ref": "salamanca-market-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_salamanca-market-exploration.jpg" + }, + { + "name": "Bruny Island Wilderness Cruise", + "description": "Embark on a thrilling boat tour around Bruny Island, renowned for its rugged coastlines, towering cliffs, and abundant marine life. Witness playful dolphins, curious seals, and majestic seabirds in their natural habitat. Explore sea caves and marvel at the breathtaking scenery, including the iconic Breathing Rock.", + "locationName": "Bruny Island", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "tasmania", + "ref": "bruny-island-wilderness-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_bruny-island-wilderness-cruise.jpg" + }, + { + "name": "Mount Wellington Summit Hike", + "description": "Challenge yourself with a rewarding hike to the summit of Mount Wellington, overlooking the city of Hobart. Enjoy panoramic views of the surrounding landscape, including the Derwent River, Bruny Island, and the Tasman Peninsula. This moderately challenging hike offers a unique perspective of Tasmania's capital and its natural beauty.", + "locationName": "Mount Wellington", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "tasmania", + "ref": "mount-wellington-summit-hike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_mount-wellington-summit-hike.jpg" + }, + { + "name": "Tahune Airwalk and Eagle Glide", + "description": "Experience the rainforest from a new perspective at the Tahune Airwalk. Stroll amongst the treetops on a suspended walkway, offering breathtaking views of the Huon River and surrounding forests. For the ultimate thrill, soar through the air on the Eagle Glide zipline, enjoying an exhilarating journey through the canopy.", + "locationName": "Tahune Forest Airwalk", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "tasmania", + "ref": "tahune-airwalk-and-eagle-glide", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_tahune-airwalk-and-eagle-glide.jpg" + }, + { + "name": "Lavender Farm Tour and Aromatherapy Experience", + "description": "Indulge in the tranquility of a lavender farm, surrounded by the soothing scent of purple blooms. Take a guided tour to learn about lavender cultivation and its uses in aromatherapy and relaxation. Enjoy a workshop to create your own lavender-infused products, taking home a piece of Tasmanian serenity.", + "locationName": "Bridestowe Lavender Estate or other Lavender Farms", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "tasmania", + "ref": "lavender-farm-tour-and-aromatherapy-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_lavender-farm-tour-and-aromatherapy-experience.jpg" + }, + { + "name": "Gordon River Cruise and Heritage Landing", + "description": "Embark on a scenic cruise along the Gordon River, venturing deep into the Tasmanian Wilderness World Heritage Area. Witness the untouched beauty of the rainforest, waterfalls, and gorges. Visit Sarah Island, a former penal colony, and learn about its fascinating history.", + "locationName": "Strahan", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "tasmania", + "ref": "gordon-river-cruise-and-heritage-landing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_gordon-river-cruise-and-heritage-landing.jpg" + }, + { + "name": "Kayaking on the Derwent River", + "description": "Embark on a serene kayaking adventure on the Derwent River, gliding past Hobart's cityscape and enjoying breathtaking views of Mount Wellington. Spot playful dolphins, admire historic landmarks like the Tasman Bridge, and immerse yourself in the tranquility of the surrounding nature. Choose from guided tours or self-guided rentals for a personalized experience.", + "locationName": "Derwent River, Hobart", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tasmania", + "ref": "kayaking-on-the-derwent-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_kayaking-on-the-derwent-river.jpg" + }, + { + "name": "Exploring the Royal Tasmanian Botanical Gardens", + "description": "Wander through the Royal Tasmanian Botanical Gardens, a haven of diverse plant life and serene landscapes. Discover themed gardens like the Japanese Garden and the Subantarctic Plant House, marvel at the vibrant colors of the Conservatory, and enjoy a peaceful picnic amidst the lush greenery. This family-friendly attraction offers something for everyone to appreciate.", + "locationName": "Royal Tasmanian Botanical Gardens, Hobart", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "tasmania", + "ref": "exploring-the-royal-tasmanian-botanical-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_exploring-the-royal-tasmanian-botanical-gardens.jpg" + }, + { + "name": "Delving into History at the Tasmanian Museum and Art Gallery", + "description": "Immerse yourself in Tasmania's rich history and culture at the Tasmanian Museum and Art Gallery. Explore fascinating exhibits showcasing Aboriginal heritage, colonial artifacts, and contemporary art. Discover the island's unique flora and fauna, learn about its maritime history, and gain insights into the lives of Tasmanian people through the ages.", + "locationName": "Tasmanian Museum and Art Gallery, Hobart", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tasmania", + "ref": "delving-into-history-at-the-tasmanian-museum-and-art-gallery", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_delving-into-history-at-the-tasmanian-museum-and-art-gallery.jpg" + }, + { + "name": "Mountain Biking on the Blue Derby Trails", + "description": "Experience the thrill of mountain biking on the world-renowned Blue Derby Trails. With options for all skill levels, these purpose-built trails wind through stunning forests, offering exhilarating descents, challenging climbs, and breathtaking views. Rent a bike or join a guided tour to explore this mountain biking paradise.", + "locationName": "Blue Derby, North-East Tasmania", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "tasmania", + "ref": "mountain-biking-on-the-blue-derby-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_mountain-biking-on-the-blue-derby-trails.jpg" + }, + { + "name": "Stargazing at the Cataract Gorge Reserve", + "description": "Escape the city lights and marvel at the celestial wonders above at the Cataract Gorge Reserve. With minimal light pollution, this natural amphitheater offers spectacular views of the night sky. Join a stargazing tour or simply lay back and enjoy the breathtaking spectacle of stars, constellations, and planets.", + "locationName": "Cataract Gorge Reserve, Launceston", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "tasmania", + "ref": "stargazing-at-the-cataract-gorge-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_stargazing-at-the-cataract-gorge-reserve.jpg" + }, + { + "name": "Scuba Diving in the Tasman Peninsula", + "description": "Embark on an underwater adventure exploring the kelp forests, caves, and shipwrecks around the Tasman Peninsula. Encounter diverse marine life, including seals, seahorses, and colorful fish, in the crystal-clear waters. Several dive operators cater to all experience levels, making it a thrilling experience for beginners and seasoned divers alike.", + "locationName": "Tasman Peninsula", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "tasmania", + "ref": "scuba-diving-in-the-tasman-peninsula", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_scuba-diving-in-the-tasman-peninsula.jpg" + }, + { + "name": "Farm-to-Table Culinary Experience", + "description": "Indulge in Tasmania's renowned gastronomy with a farm-to-table dining experience. Visit local farms and producers, learn about sustainable agricultural practices, and savor the freshest seasonal ingredients transformed into delectable dishes. Many restaurants and wineries offer farm-to-table menus, showcasing the island's culinary bounty.", + "locationName": "Various locations throughout Tasmania", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "tasmania", + "ref": "farm-to-table-culinary-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_farm-to-table-culinary-experience.jpg" + }, + { + "name": "Wildlife Spotting at Maria Island National Park", + "description": "Escape to the car-free haven of Maria Island National Park, known for its abundance of wildlife. Hike or bike through diverse landscapes, encountering wombats, kangaroos, wallabies, and Tasmanian devils in their natural habitat. The island's pristine beaches and historic ruins offer a unique blend of nature and culture.", + "locationName": "Maria Island National Park", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tasmania", + "ref": "wildlife-spotting-at-maria-island-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_wildlife-spotting-at-maria-island-national-park.jpg" + }, + { + "name": "Exploring the Bay of Fires", + "description": "Discover the breathtaking beauty of the Bay of Fires, renowned for its turquoise waters, white sandy beaches, and striking orange-hued granite boulders. Hike along the coast, kayak in the pristine bays, or simply relax on the beach and soak up the scenery. The Bay of Fires offers a perfect blend of relaxation and adventure.", + "locationName": "Bay of Fires", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tasmania", + "ref": "exploring-the-bay-of-fires", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_exploring-the-bay-of-fires.jpg" + }, + { + "name": "Ghost Tour of Port Arthur", + "description": "Delve into the spooky side of Tasmania's history with a ghost tour of Port Arthur Historic Site. Explore the haunting ruins after dark, listening to chilling tales of convicts and paranormal activity. This eerie yet fascinating experience offers a unique perspective on the site's past.", + "locationName": "Port Arthur Historic Site", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "tasmania", + "ref": "ghost-tour-of-port-arthur", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tasmania_ghost-tour-of-port-arthur.jpg" + }, + { + "name": "Relax on the Beach", + "description": "Spend a day soaking up the sun on the beautiful sandy beaches of Tel Aviv. Take a dip in the refreshing Mediterranean Sea, enjoy water sports like surfing or paddleboarding, or simply relax under a beach umbrella with a good book.", + "locationName": "Gordon Beach, Frishman Beach, or Banana Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "tel-aviv", + "ref": "relax-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_relax-on-the-beach.jpg" + }, + { + "name": "Explore the Bauhaus Architecture", + "description": "Tel Aviv is renowned for its collection of Bauhaus buildings, a UNESCO World Heritage Site. Take a walking tour or join a guided excursion to admire the unique architectural style and learn about the history of the White City.", + "locationName": "White City", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "tel-aviv", + "ref": "explore-the-bauhaus-architecture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_explore-the-bauhaus-architecture.jpg" + }, + { + "name": "Wander through Neve Tzedek and Florentin", + "description": "Discover the trendy neighborhoods of Neve Tzedek and Florentin, known for their artistic vibe, boutique shops, and charming cafes. Explore the narrow streets, admire the street art, and soak up the bohemian atmosphere.", + "locationName": "Neve Tzedek and Florentin", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "tel-aviv", + "ref": "wander-through-neve-tzedek-and-florentin", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_wander-through-neve-tzedek-and-florentin.jpg" + }, + { + "name": "Experience the Tel Aviv Nightlife", + "description": "Tel Aviv comes alive at night with its vibrant bar and club scene. Dance the night away at one of the many beachfront clubs, enjoy live music at a local bar, or sip cocktails at a rooftop lounge with stunning city views.", + "locationName": "Rothschild Boulevard, Dizengoff Street", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "tel-aviv", + "ref": "experience-the-tel-aviv-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_experience-the-tel-aviv-nightlife.jpg" + }, + { + "name": "Indulge in Culinary Delights", + "description": "Tel Aviv offers a diverse culinary scene with options to satisfy every taste. From traditional Israeli cuisine to international flavors, explore the city's many restaurants, cafes, and food markets. Don't miss the opportunity to try hummus, falafel, and other local specialties.", + "locationName": "Carmel Market, Sarona Market", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tel-aviv", + "ref": "indulge-in-culinary-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_indulge-in-culinary-delights.jpg" + }, + { + "name": "Jaffa Old City Exploration", + "description": "Embark on a captivating journey through the ancient port city of Jaffa, a historical gem adjacent to Tel Aviv. Wander through its narrow cobblestone streets, discovering hidden alleyways, art galleries, and charming shops. Explore the vibrant Jaffa Flea Market, where you can find unique treasures and antiques. Visit the Ilana Goor Museum, housed in a restored 18th-century building, and admire its eclectic collection of art and artifacts. Immerse yourself in the rich history and cultural tapestry of this ancient city.", + "locationName": "Jaffa", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tel-aviv", + "ref": "jaffa-old-city-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_jaffa-old-city-exploration.jpg" + }, + { + "name": "Carmel Market Immersion", + "description": "Dive into the vibrant atmosphere of the Carmel Market, a bustling hub of sights, sounds, and aromas. Explore the labyrinthine stalls overflowing with fresh produce, spices, clothing, and souvenirs. Sample local delicacies like hummus, falafel, and freshly squeezed juices. Engage with friendly vendors and experience the authentic energy of Tel Aviv's daily life. The Carmel Market is a feast for the senses and a must-visit for any foodie or cultural enthusiast.", + "locationName": "Carmel Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "tel-aviv", + "ref": "carmel-market-immersion", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_carmel-market-immersion.jpg" + }, + { + "name": "Yarkon Park Cycling", + "description": "Escape the urban bustle and enjoy a leisurely bike ride through Yarkon Park, a sprawling green oasis in the heart of Tel Aviv. Rent a bike and explore the park's scenic paths, gardens, and lakes. Visit the Tropical Garden, the Rock Garden, and the Seven Mills. Enjoy a picnic lunch amidst nature or simply relax by the water. Yarkon Park offers a refreshing retreat and a chance to connect with nature.", + "locationName": "Yarkon Park", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "tel-aviv", + "ref": "yarkon-park-cycling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_yarkon-park-cycling.jpg" + }, + { + "name": "Sarona Market Culinary Delights", + "description": "Indulge in a gastronomic adventure at Sarona Market, a trendy culinary destination featuring a diverse array of restaurants, cafes, and gourmet food stalls. Sample international cuisines, from Italian and Asian to Middle Eastern and Mediterranean. Explore artisanal cheese shops, bakeries, and spice shops. Enjoy a coffee or a glass of wine in a stylish setting. Sarona Market is a paradise for food lovers and offers a taste of Tel Aviv's cosmopolitan culinary scene.", + "locationName": "Sarona Market", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "tel-aviv", + "ref": "sarona-market-culinary-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_sarona-market-culinary-delights.jpg" + }, + { + "name": "Tel Aviv Museum of Art", + "description": "Immerse yourself in the world of art at the Tel Aviv Museum of Art, home to an extensive collection of Israeli and international works. Explore galleries showcasing modern and contemporary art, European masterpieces, and Israeli art from various periods. Admire works by renowned artists such as Van Gogh, Picasso, and Chagall. The museum also hosts temporary exhibitions and cultural events, providing a enriching experience for art enthusiasts.", + "locationName": "Tel Aviv Museum of Art", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "tel-aviv", + "ref": "tel-aviv-museum-of-art", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_tel-aviv-museum-of-art.jpg" + }, + { + "name": "Dive into History at the ANU Museum", + "description": "Embark on a captivating journey through time at the ANU - Museum of the Jewish People. Explore interactive exhibits that showcase the rich history, culture, and traditions of the Jewish people from around the world. Discover fascinating stories, artifacts, and multimedia displays that bring Jewish heritage to life.", + "locationName": "ANU - Museum of the Jewish People", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "tel-aviv", + "ref": "dive-into-history-at-the-anu-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_dive-into-history-at-the-anu-museum.jpg" + }, + { + "name": "Sunset Sail along the Mediterranean Coast", + "description": "Experience the magic of Tel Aviv from a different perspective with a breathtaking sunset sail along the Mediterranean coast. As the sun dips below the horizon, casting golden hues across the water, enjoy panoramic views of the city skyline and coastline while feeling the gentle sea breeze.", + "locationName": "Mediterranean Sea", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "tel-aviv", + "ref": "sunset-sail-along-the-mediterranean-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_sunset-sail-along-the-mediterranean-coast.jpg" + }, + { + "name": "Kayak Adventure on the Yarkon River", + "description": "Embark on an exciting kayaking adventure along the Yarkon River, a scenic waterway that winds its way through the heart of Tel Aviv. Paddle through tranquil waters, surrounded by lush greenery and urban landscapes, and discover hidden corners of the city from a unique perspective. ", + "locationName": "Yarkon River", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "tel-aviv", + "ref": "kayak-adventure-on-the-yarkon-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_kayak-adventure-on-the-yarkon-river.jpg" + }, + { + "name": "Shop at the Dizengoff Center", + "description": "Indulge in a shopping spree at the Dizengoff Center, a sprawling indoor mall featuring a wide array of shops, boutiques, and entertainment options. Explore the latest fashion trends, discover unique souvenirs, and enjoy a diverse selection of dining experiences.", + "locationName": "Dizengoff Center", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "tel-aviv", + "ref": "shop-at-the-dizengoff-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_shop-at-the-dizengoff-center.jpg" + }, + { + "name": "Escape to the Tranquility of Hayarkon Park", + "description": "Escape the bustling city life and find serenity in Hayarkon Park, a sprawling green oasis in the heart of Tel Aviv. Enjoy a leisurely stroll or bike ride along the park's scenic paths, have a picnic amidst the lush lawns, or rent a paddleboat and explore the serene lake.", + "locationName": "Hayarkon Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "tel-aviv", + "ref": "escape-to-the-tranquility-of-hayarkon-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_escape-to-the-tranquility-of-hayarkon-park.jpg" + }, + { + "name": "Explore the White City's Architectural Gems", + "description": "Embark on a captivating journey through Tel Aviv's UNESCO-listed White City, renowned for its exceptional collection of Bauhaus buildings. Join a guided walking tour or rent a bike to admire the unique architectural style, characterized by clean lines, white facades, and functional design. Discover iconic landmarks like the Bauhaus Center, Dizengoff Square, and Rothschild Boulevard, and immerse yourself in the city's rich architectural heritage.", + "locationName": "White City", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tel-aviv", + "ref": "explore-the-white-city-s-architectural-gems", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_explore-the-white-city-s-architectural-gems.jpg" + }, + { + "name": "Unwind in the Serene HaYarkon Park", + "description": "Escape the urban bustle and find tranquility in HaYarkon Park, a sprawling green oasis in the heart of Tel Aviv. Rent a paddleboat on the Yarkon River, enjoy a picnic on the grassy lawns, or explore the various gardens and walking paths. The park also offers sports facilities, a bird sanctuary, and an open-air concert venue, providing something for everyone.", + "locationName": "HaYarkon Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "tel-aviv", + "ref": "unwind-in-the-serene-hayarkon-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_unwind-in-the-serene-hayarkon-park.jpg" + }, + { + "name": "Discover History at the Palmach Museum", + "description": "Delve into Israel's fascinating history at the Palmach Museum, dedicated to the elite fighting force that played a crucial role in the country's War of Independence. Explore interactive exhibits, multimedia displays, and historical artifacts that tell the story of the Palmach's courage and sacrifice. Gain a deeper understanding of Israel's past and its fight for independence.", + "locationName": "Palmach Museum", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tel-aviv", + "ref": "discover-history-at-the-palmach-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_discover-history-at-the-palmach-museum.jpg" + }, + { + "name": "Experience the Levinsky Market Spice Trail", + "description": "Embark on a sensory adventure through the vibrant Levinsky Market, known for its colorful stalls brimming with spices, dried fruits, nuts, and other culinary delights. Join a guided food tour to learn about the history of the market, sample exotic flavors, and discover hidden culinary gems. Immerse yourself in the sights, smells, and tastes of this unique cultural experience.", + "locationName": "Levinsky Market", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "tel-aviv", + "ref": "experience-the-levinsky-market-spice-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_experience-the-levinsky-market-spice-trail.jpg" + }, + { + "name": "Catch a Performance at the Habima National Theatre", + "description": "Experience the magic of live theater at the Habima National Theatre, Israel's premier performing arts venue. Choose from a diverse repertoire of plays, musicals, and dance performances, showcasing local and international talent. Enjoy a captivating evening of entertainment in a beautiful and historic setting.", + "locationName": "Habima National Theatre", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "tel-aviv", + "ref": "catch-a-performance-at-the-habima-national-theatre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tel-aviv_catch-a-performance-at-the-habima-national-theatre.jpg" + }, + { + "name": "Explore the Historic City of Kazan", + "description": "Discover the rich history and cultural blend of Kazan, the capital of Tatarstan. Visit the Kazan Kremlin, a UNESCO World Heritage Site, and marvel at the Kul Sharif Mosque, a stunning example of Tatar architecture. Wander through the vibrant Bauman Street, known for its shops, restaurants, and street performers. Immerse yourself in the local culture by trying traditional Tatar dishes like echpochmak (triangular pastries filled with meat and potatoes) and chak-chak (a sweet honey pastry).", + "locationName": "Kazan", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "trans-siberian-railway", + "ref": "explore-the-historic-city-of-kazan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_explore-the-historic-city-of-kazan.jpg" + }, + { + "name": "Cruise on Lake Baikal", + "description": "Experience the beauty and serenity of Lake Baikal, the world's deepest and oldest freshwater lake. Take a boat cruise to explore the lake's crystal-clear waters, rugged coastlines, and diverse wildlife. Visit Olkhon Island, the largest island on Lake Baikal, known for its stunning natural landscapes and ancient shamanistic traditions. Hike to the top of Shaman Rock for panoramic views of the lake and surrounding mountains.", + "locationName": "Lake Baikal", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "cruise-on-lake-baikal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_cruise-on-lake-baikal.jpg" + }, + { + "name": "Visit the Winter Palace and Hermitage Museum in St. Petersburg", + "description": "Step into the opulent world of the Tsars at the Winter Palace, the former residence of Russian emperors. Explore the vast Hermitage Museum, one of the largest and most prestigious art museums in the world, housing an extensive collection of art and artifacts from around the globe. Admire masterpieces by renowned artists such as Leonardo da Vinci, Rembrandt, and Michelangelo. Immerse yourself in the grandeur and history of Russia's imperial past.", + "locationName": "St. Petersburg", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "trans-siberian-railway", + "ref": "visit-the-winter-palace-and-hermitage-museum-in-st-petersburg", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_visit-the-winter-palace-and-hermitage-museum-in-st-petersburg.jpg" + }, + { + "name": "Hike in the Altai Mountains", + "description": "Embark on a hiking adventure in the Altai Mountains, a remote and stunning mountain range in southern Siberia. Explore diverse landscapes, from alpine meadows and glaciers to dense forests and turquoise lakes. Challenge yourself with a multi-day trek or opt for a shorter hike to a scenic viewpoint. Immerse yourself in the tranquility of nature and experience the rugged beauty of the Altai region.", + "locationName": "Altai Mountains", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "hike-in-the-altai-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_hike-in-the-altai-mountains.jpg" + }, + { + "name": "Experience a Traditional Russian Banya", + "description": "Indulge in a relaxing and rejuvenating experience at a traditional Russian banya, a type of steam bath. Enjoy the heat and steam of the banya, followed by a refreshing plunge into cold water. Experience the therapeutic benefits of the banya, which is believed to improve circulation, boost the immune system, and promote relaxation.", + "locationName": "Various locations along the route", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "trans-siberian-railway", + "ref": "experience-a-traditional-russian-banya", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_experience-a-traditional-russian-banya.jpg" + }, + { + "name": "Explore Irkutsk, the 'Paris of Siberia'", + "description": "Discover the charming city of Irkutsk, known for its Siberian Baroque architecture, vibrant cultural scene, and proximity to Lake Baikal. Visit the 19th-century wooden houses, explore the Decembrist Museum, and wander through the bustling market.", + "locationName": "Irkutsk", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "trans-siberian-railway", + "ref": "explore-irkutsk-the-paris-of-siberia-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_explore-irkutsk-the-paris-of-siberia-.jpg" + }, + { + "name": "Go Dog Sledding in Siberia", + "description": "Experience the thrill of dog sledding through the snowy landscapes of Siberia. Learn about the traditional way of life for indigenous people and mush your own team of huskies across the frozen wilderness.", + "locationName": "Siberia", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "trans-siberian-railway", + "ref": "go-dog-sledding-in-siberia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_go-dog-sledding-in-siberia.jpg" + }, + { + "name": "Visit the Yekaterinburg Museum of Fine Arts", + "description": "Immerse yourself in Russian art at the Yekaterinburg Museum of Fine Arts. Admire a diverse collection of paintings, sculptures, and decorative arts, spanning from the 16th century to modern times.", + "locationName": "Yekaterinburg", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "trans-siberian-railway", + "ref": "visit-the-yekaterinburg-museum-of-fine-arts", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_visit-the-yekaterinburg-museum-of-fine-arts.jpg" + }, + { + "name": "Delve into the History of the Gulag at Perm-36", + "description": "Gain insight into the Soviet era with a visit to Perm-36, a former Gulag labor camp turned museum. Explore the preserved barracks, solitary confinement cells, and exhibits that document the harsh realities of the camp system.", + "locationName": "Perm-36", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "delve-into-the-history-of-the-gulag-at-perm-36", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_delve-into-the-history-of-the-gulag-at-perm-36.jpg" + }, + { + "name": "Take a Cooking Class and Learn to Make Pelmeni", + "description": "Discover the secrets of Russian cuisine with a hands-on cooking class. Learn how to make pelmeni, traditional Russian dumplings, and enjoy the fruits of your labor with a delicious meal.", + "locationName": "Various cities along the route", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "take-a-cooking-class-and-learn-to-make-pelmeni", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_take-a-cooking-class-and-learn-to-make-pelmeni.jpg" + }, + { + "name": "Visit the Golden Ring Cities", + "description": "Embark on a captivating detour from the main Trans-Siberian route to explore the Golden Ring, a collection of ancient towns northeast of Moscow. Immerse yourself in Russia's rich history and culture as you admire the iconic onion domes, kremlins, and monasteries in towns like Suzdal, Vladimir, and Sergiev Posad. Experience the charm of traditional Russian life, sample local crafts, and witness the architectural masterpieces that have stood for centuries.", + "locationName": "Golden Ring Cities (e.g., Suzdal, Vladimir, Sergiev Posad)", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "visit-the-golden-ring-cities", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_visit-the-golden-ring-cities.jpg" + }, + { + "name": "Explore the Ulan-Ude Buddhist Temples", + "description": "Step into a different world in Ulan-Ude, the capital of the Republic of Buryatia, where Tibetan Buddhism thrives. Visit the Ivolginsky Datsan, the largest Buddhist temple complex in Russia, and witness the intricate architecture, colorful prayer flags, and serene atmosphere. Engage with the monks, learn about Buddhist traditions, and experience a unique cultural fusion.", + "locationName": "Ulan-Ude", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "trans-siberian-railway", + "ref": "explore-the-ulan-ude-buddhist-temples", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_explore-the-ulan-ude-buddhist-temples.jpg" + }, + { + "name": "Go Ice Fishing on Lake Baikal", + "description": "For a true Siberian adventure, try ice fishing on the frozen surface of Lake Baikal, the world's deepest lake. Experience the thrill of drilling through the thick ice and casting your line into the crystal-clear waters. Learn about traditional ice fishing techniques from local guides and enjoy the tranquility of the winter landscape.", + "locationName": "Lake Baikal", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "go-ice-fishing-on-lake-baikal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_go-ice-fishing-on-lake-baikal.jpg" + }, + { + "name": "Visit the Novosibirsk Opera and Ballet Theatre", + "description": "Indulge in a night of culture and elegance at the Novosibirsk Opera and Ballet Theatre, one of the largest opera houses in the world. Witness world-class performances of classic operas, ballets, and contemporary productions in a stunning architectural setting. Dress up for the occasion and enjoy a taste of Russia's vibrant performing arts scene.", + "locationName": "Novosibirsk", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "trans-siberian-railway", + "ref": "visit-the-novosibirsk-opera-and-ballet-theatre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_visit-the-novosibirsk-opera-and-ballet-theatre.jpg" + }, + { + "name": "Take a Siberian Husky Sled Ride", + "description": "Experience the thrill of gliding through the snowy Siberian landscape on a sled pulled by a team of energetic Siberian Huskies. Enjoy the crisp winter air and the stunning scenery as you mush through forests and across frozen lakes. Learn about the history of dog sledding in Siberia and the special bond between mushers and their dogs.", + "locationName": "Various locations in Siberia", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "take-a-siberian-husky-sled-ride", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_take-a-siberian-husky-sled-ride.jpg" + }, + { + "name": "Visit the Kizhi Island Open-Air Museum", + "description": "Step back in time at the Kizhi Island Open-Air Museum, a UNESCO World Heritage Site showcasing traditional wooden architecture from the Karelia region. Marvel at the intricate craftsmanship of the Church of the Transfiguration with its 22 onion domes, explore historic windmills and peasant houses, and immerse yourself in the rich cultural heritage of the Russian north. This open-air museum offers a unique glimpse into rural life and architectural traditions.", + "locationName": "Kizhi Island, Lake Onega", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "visit-the-kizhi-island-open-air-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_visit-the-kizhi-island-open-air-museum.jpg" + }, + { + "name": "Explore the Charm of Yaroslavl", + "description": "Discover the historic city of Yaroslavl, one of the Golden Ring cities and a UNESCO World Heritage Site. Wander through the well-preserved historical center, admire the 16th-century Spassky Monastery and the Church of Elijah the Prophet, and soak in the vibrant atmosphere of the city's many squares and parks. Yaroslavl offers a delightful blend of history, culture, and architectural beauty.", + "locationName": "Yaroslavl", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "trans-siberian-railway", + "ref": "explore-the-charm-of-yaroslavl", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_explore-the-charm-of-yaroslavl.jpg" + }, + { + "name": "Go Hiking or Biking in the Ural Mountains", + "description": "Embark on an outdoor adventure in the Ural Mountains, the natural border between Europe and Asia. Hike through scenic trails, breathe in the fresh mountain air, and enjoy breathtaking views of the surrounding landscapes. For thrill-seekers, mountain biking offers an exhilarating way to experience the rugged beauty of the Urals. This activity is perfect for those seeking an active escape amidst stunning natural scenery.", + "locationName": "Ural Mountains", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "go-hiking-or-biking-in-the-ural-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_go-hiking-or-biking-in-the-ural-mountains.jpg" + }, + { + "name": "Visit the Taltsy Museum of Wooden Architecture", + "description": "Immerse yourself in Siberian history and culture at the Taltsy Museum, an open-air museum showcasing traditional wooden architecture from the 17th to 20th centuries. Explore relocated historical buildings, including peasant houses, a watchtower, and a watermill, and learn about the way of life of Siberian people in times gone by. The museum offers a fascinating journey through the region's past.", + "locationName": "Taltsy Museum, near Irkutsk", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "trans-siberian-railway", + "ref": "visit-the-taltsy-museum-of-wooden-architecture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_visit-the-taltsy-museum-of-wooden-architecture.jpg" + }, + { + "name": "Sample Local Cuisine and Vodka", + "description": "Embark on a culinary journey and savor the flavors of Russia. Indulge in traditional dishes like borscht, pelmeni, and beef stroganoff, and sample a variety of local vodkas. Whether you choose a cozy restaurant or a lively food market, this experience is a must for food enthusiasts looking to explore the rich culinary heritage of the region.", + "locationName": "Various locations along the Trans-Siberian Railway", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "trans-siberian-railway", + "ref": "sample-local-cuisine-and-vodka", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/trans-siberian-railway_sample-local-cuisine-and-vodka.jpg" + }, + { + "name": "Explore Bran Castle", + "description": "Step into the legendary Bran Castle, perched high on a rocky cliff. This iconic landmark, often associated with Dracula, offers a glimpse into medieval history with its Gothic architecture, secret passages, and intriguing exhibits. Explore the castle's chambers, learn about Vlad the Impaler's connection to the legend, and enjoy breathtaking views of the surrounding landscape.", + "locationName": "Bran Castle", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "transylvania", + "ref": "explore-bran-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_explore-bran-castle.jpg" + }, + { + "name": "Hike in the Carpathian Mountains", + "description": "Embark on a scenic hike through the stunning Carpathian Mountains. Choose from various trails, ranging from easy walks to challenging climbs, and discover picturesque landscapes, hidden waterfalls, and diverse flora and fauna. Keep an eye out for wildlife like brown bears, wolves, and lynx as you immerse yourself in the natural beauty of the region.", + "locationName": "Carpathian Mountains", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "hike-in-the-carpathian-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_hike-in-the-carpathian-mountains.jpg" + }, + { + "name": "Wander through Sibiu's Old Town", + "description": "Get lost in the charming streets of Sibiu's Old Town, a UNESCO World Heritage Site. Admire the colorful medieval houses, explore the historic squares, and visit impressive landmarks like the Brukenthal Palace and the Evangelical Cathedral. Enjoy the relaxed atmosphere, indulge in delicious Romanian cuisine at local restaurants, and discover unique souvenirs at craft shops.", + "locationName": "Sibiu", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "wander-through-sibiu-s-old-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_wander-through-sibiu-s-old-town.jpg" + }, + { + "name": "Discover the Fortified Churches of Transylvania", + "description": "Embark on a journey through history and visit the unique fortified churches of Transylvania. These UNESCO-listed Saxon villages boast impressive churches surrounded by fortified walls, offering a glimpse into the region's past. Explore villages like Biertan, Viscri, and Prejmer, admire the architectural marvels, and learn about the Saxon heritage of Transylvania.", + "locationName": "Various villages in Transylvania", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "transylvania", + "ref": "discover-the-fortified-churches-of-transylvania", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_discover-the-fortified-churches-of-transylvania.jpg" + }, + { + "name": "Indulge in a Traditional Romanian Feast", + "description": "Treat your taste buds to a delicious Romanian feast at a local restaurant or guesthouse. Savor traditional dishes like sarmale (stuffed cabbage rolls), mici (grilled minced meat rolls), and papanasi (fried doughnuts with sour cream and jam). Enjoy the warm hospitality and immerse yourself in the culinary culture of Transylvania.", + "locationName": "Various restaurants and guesthouses throughout Transylvania", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "indulge-in-a-traditional-romanian-feast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_indulge-in-a-traditional-romanian-feast.jpg" + }, + { + "name": "Bear Watching in the Carpathian Mountains", + "description": "Embark on a thrilling wildlife adventure in the Carpathian Mountains, home to one of Europe's largest brown bear populations. Join a guided tour and observe these majestic creatures in their natural habitat, learning about their behavior and conservation efforts. Witnessing these magnificent animals up close is an unforgettable experience.", + "locationName": "Carpathian Mountains", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "transylvania", + "ref": "bear-watching-in-the-carpathian-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_bear-watching-in-the-carpathian-mountains.jpg" + }, + { + "name": "Scenic Drive on the Transfagarasan Highway", + "description": "Experience one of the most breathtaking drives in Europe on the Transfagarasan Highway. This winding mountain road offers stunning vistas of the Carpathian Mountains, with dramatic landscapes, cascading waterfalls, and glacial lakes. Stop at Balea Lake for a cable car ride to the summit and enjoy panoramic views.", + "locationName": "Transfagarasan Highway", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "scenic-drive-on-the-transfagarasan-highway", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_scenic-drive-on-the-transfagarasan-highway.jpg" + }, + { + "name": "Relaxation and Rejuvenation at a Thermal Spa", + "description": "Indulge in a day of pampering and relaxation at one of Transylvania's renowned thermal spas. Experience the therapeutic benefits of mineral-rich waters, enjoy various spa treatments, and unwind in serene surroundings. Popular options include the Baile Felix and Sovata resorts, known for their healing properties and beautiful landscapes.", + "locationName": "Baile Felix or Sovata", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "transylvania", + "ref": "relaxation-and-rejuvenation-at-a-thermal-spa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_relaxation-and-rejuvenation-at-a-thermal-spa.jpg" + }, + { + "name": "Caving Adventure in the Apuseni Mountains", + "description": "Explore the hidden world beneath the surface with a caving adventure in the Apuseni Mountains. Discover stunning cave formations, underground rivers, and unique geological features. Join a guided tour to navigate the caves safely and learn about their fascinating history and ecosystem. This thrilling experience is perfect for adventurous travelers.", + "locationName": "Apuseni Mountains", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "transylvania", + "ref": "caving-adventure-in-the-apuseni-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_caving-adventure-in-the-apuseni-mountains.jpg" + }, + { + "name": "Wine Tasting in the Jidvei Wine Region", + "description": "Discover the rich flavors of Romanian wine with a visit to the Jidvei wine region. Explore the vineyards, learn about the winemaking process, and enjoy guided tastings of local varieties. Savor the unique character of Transylvanian wines, from crisp whites to full-bodied reds, and experience the region's viticultural heritage.", + "locationName": "Jidvei", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 2, + "destinationRef": "transylvania", + "ref": "wine-tasting-in-the-jidvei-wine-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_wine-tasting-in-the-jidvei-wine-region.jpg" + }, + { + "name": "Horseback Riding in the Transylvanian Countryside", + "description": "Embark on a horseback riding adventure through the picturesque Transylvanian countryside. Explore rolling hills, meadows, and forests, taking in the fresh air and stunning scenery. This activity offers a unique way to connect with nature and experience the traditional rural lifestyle of the region.", + "locationName": "Various locations throughout Transylvania", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "transylvania", + "ref": "horseback-riding-in-the-transylvanian-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_horseback-riding-in-the-transylvanian-countryside.jpg" + }, + { + "name": "Visit the UNESCO-listed Villages with Fortified Churches", + "description": "Explore the unique UNESCO-listed villages with fortified churches, such as Biertan, Viscri, and Saschiz. These villages offer a glimpse into the history and culture of the Transylvanian Saxons, with their impressive fortifications and well-preserved medieval architecture.", + "locationName": "Biertan, Viscri, Saschiz", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "visit-the-unesco-listed-villages-with-fortified-churches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_visit-the-unesco-listed-villages-with-fortified-churches.jpg" + }, + { + "name": "Attend a Traditional Folk Festival", + "description": "Immerse yourself in the vibrant culture of Transylvania by attending a traditional folk festival. Experience lively music, colorful costumes, and energetic dances, and learn about the region's rich folklore and customs.", + "locationName": "Various locations throughout Transylvania", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "attend-a-traditional-folk-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_attend-a-traditional-folk-festival.jpg" + }, + { + "name": "Explore the Turda Salt Mine", + "description": "Descend into the depths of the Turda Salt Mine, a unique underground world with a fascinating history. Marvel at the impressive salt formations, take a boat ride on the subterranean lake, and enjoy the therapeutic benefits of the salty air.", + "locationName": "Turda", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "explore-the-turda-salt-mine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_explore-the-turda-salt-mine.jpg" + }, + { + "name": "Visit the Corvin Castle", + "description": "Explore the magnificent Corvin Castle, also known as Hunyadi Castle, a Gothic-Renaissance masterpiece with a rich history dating back to the 15th century. Discover its impressive architecture, legends of Vlad the Impaler, and captivating stories of medieval times.", + "locationName": "Hunedoara", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "visit-the-corvin-castle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_visit-the-corvin-castle.jpg" + }, + { + "name": "Cycle through the picturesque countryside", + "description": "Embark on a cycling adventure through the rolling hills and charming villages of Transylvania. Pedal past sunflower fields, vineyards, and ancient forests, taking in the fresh air and stunning scenery. Choose from various routes suitable for different fitness levels, and discover hidden gems along the way.", + "locationName": "Transylvanian Countryside", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "cycle-through-the-picturesque-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_cycle-through-the-picturesque-countryside.jpg" + }, + { + "name": "Kayaking on the Danube River", + "description": "Experience the tranquility of the Danube River on a kayaking excursion. Paddle along the scenic waterways, surrounded by lush landscapes and diverse wildlife. Enjoy the peaceful atmosphere and observe the natural beauty of the Danube Delta, a UNESCO World Heritage Site.", + "locationName": "Danube Delta", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "transylvania", + "ref": "kayaking-on-the-danube-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_kayaking-on-the-danube-river.jpg" + }, + { + "name": "Stargazing in the Carpathian Mountains", + "description": "Escape the city lights and immerse yourself in the breathtaking night sky of the Carpathian Mountains. Join a stargazing tour led by experienced astronomers, who will guide you through the constellations and share fascinating stories about the cosmos. Witness the Milky Way in all its glory and marvel at the vastness of the universe.", + "locationName": "Carpathian Mountains", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "transylvania", + "ref": "stargazing-in-the-carpathian-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_stargazing-in-the-carpathian-mountains.jpg" + }, + { + "name": "Photography tour of Saxon villages", + "description": "Capture the unique charm of Transylvanian Saxon villages on a photography tour. Explore the well-preserved architecture, colorful houses, and fortified churches, learning about the history and culture of these communities. Receive expert guidance from a professional photographer and create stunning images that will preserve your memories of this enchanting region.", + "locationName": "Saxon Villages", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "transylvania", + "ref": "photography-tour-of-saxon-villages", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_photography-tour-of-saxon-villages.jpg" + }, + { + "name": "Attend a traditional craft workshop", + "description": "Immerse yourself in the rich cultural heritage of Transylvania by participating in a traditional craft workshop. Learn the art of pottery, woodcarving, or weaving from skilled artisans and create your own unique souvenir. Gain insights into the region's artistic traditions and take home a piece of Transylvanian craftsmanship.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "transylvania", + "ref": "attend-a-traditional-craft-workshop", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/transylvania_attend-a-traditional-craft-workshop.jpg" + }, + { + "name": "Explore the Tulum Archaeological Site", + "description": "Step back in time and immerse yourself in Mayan history at the Tulum Archaeological Site. Wander through the ancient ruins, marvel at the iconic El Castillo temple perched on a cliff overlooking the turquoise Caribbean Sea, and imagine life in this once-thriving Mayan port city.", + "locationName": "Tulum Archaeological Site", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "tulum", + "ref": "explore-the-tulum-archaeological-site", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_explore-the-tulum-archaeological-site.jpg" + }, + { + "name": "Relax on Tulum's Pristine Beaches", + "description": "Unwind on the soft white sand beaches of Tulum, where the gentle waves of the Caribbean Sea meet the shore. Soak up the sun, swim in the crystal-clear waters, or simply relax under a palm tree with a refreshing drink. For a more secluded experience, head to Playa Paraíso or Playa Rucondido.", + "locationName": "Tulum Beaches", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "tulum", + "ref": "relax-on-tulum-s-pristine-beaches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_relax-on-tulum-s-pristine-beaches.jpg" + }, + { + "name": "Dive into Cenotes", + "description": "Embark on a unique adventure and explore the mesmerizing cenotes, natural sinkholes filled with crystal-clear freshwater. Snorkel or scuba dive through these enchanting underwater worlds, discovering hidden caves, stalactites, and stalagmites. Gran Cenote and Cenote Dos Ojos are popular choices, offering unforgettable experiences for all levels.", + "locationName": "Gran Cenote or Cenote Dos Ojos", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "tulum", + "ref": "dive-into-cenotes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_dive-into-cenotes.jpg" + }, + { + "name": "Indulge in a Wellness Retreat", + "description": "Escape the stress of everyday life and rejuvenate your mind, body, and soul at one of Tulum's renowned wellness retreats. Practice yoga overlooking the ocean, indulge in spa treatments inspired by Mayan traditions, and connect with nature in a serene and tranquil environment.", + "locationName": "Various wellness centers and resorts", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "tulum", + "ref": "indulge-in-a-wellness-retreat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_indulge-in-a-wellness-retreat.jpg" + }, + { + "name": "Savor Culinary Delights", + "description": "Embark on a culinary journey and explore Tulum's diverse gastronomic scene. From beachfront restaurants serving fresh seafood to trendy cafes offering organic and sustainable cuisine, there's something to tantalize every palate. Don't miss the chance to try traditional Mayan dishes and experience the unique flavors of the region.", + "locationName": "Various restaurants and cafes in Tulum", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "tulum", + "ref": "savor-culinary-delights", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_savor-culinary-delights.jpg" + }, + { + "name": "Jungle Maya Native Park Adventure", + "description": "Embark on a thrilling journey into the heart of the Mayan jungle. Zip-line through the lush canopy, rappel into hidden cenotes for a refreshing swim, and participate in an authentic Mayan blessing ceremony. This action-packed experience offers a unique blend of adventure and cultural immersion.", + "locationName": "Jungle Maya Native Park", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "tulum", + "ref": "jungle-maya-native-park-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_jungle-maya-native-park-adventure.jpg" + }, + { + "name": "Sunset Horseback Riding on the Beach", + "description": "Experience the magic of Tulum's coastline on horseback as the sun dips below the horizon. Ride along the pristine beach, feeling the gentle sea breeze and witnessing the breathtaking colors of the sky. This romantic and unforgettable activity is perfect for couples or anyone seeking a serene connection with nature.", + "locationName": "Tulum Beach", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "tulum", + "ref": "sunset-horseback-riding-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_sunset-horseback-riding-on-the-beach.jpg" + }, + { + "name": "Sian Ka'an Biosphere Reserve Tour", + "description": "Discover the incredible biodiversity of the Sian Ka'an Biosphere Reserve, a UNESCO World Heritage Site. Explore its intricate network of lagoons, mangroves, and tropical forests by boat, encountering diverse wildlife such as dolphins, turtles, and exotic birds. This eco-conscious tour provides a glimpse into the region's rich natural heritage.", + "locationName": "Sian Ka'an Biosphere Reserve", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "tulum", + "ref": "sian-ka-an-biosphere-reserve-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_sian-ka-an-biosphere-reserve-tour.jpg" + }, + { + "name": "Tulum Art Walk and Shopping", + "description": "Immerse yourself in Tulum's vibrant art scene by strolling through its art galleries and boutiques. Discover unique handcrafted jewelry, textiles, and paintings by local artisans. This leisurely activity is perfect for finding special souvenirs and supporting the community's creative spirit.", + "locationName": "Tulum Town", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "tulum", + "ref": "tulum-art-walk-and-shopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_tulum-art-walk-and-shopping.jpg" + }, + { + "name": "Live Music and Nightlife", + "description": "Experience Tulum's energetic nightlife scene, with beach clubs and bars offering live music, DJs, and dancing under the stars. Enjoy cocktails and soak up the vibrant atmosphere as you connect with fellow travelers and locals. This adults-only activity is perfect for those seeking a lively and social evening.", + "locationName": "Tulum Beach", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "tulum", + "ref": "live-music-and-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_live-music-and-nightlife.jpg" + }, + { + "name": "Muyil River Float and Mayan Community Visit", + "description": "Embark on a unique cultural experience, floating down the crystal-clear Muyil River in the Sian Ka'an Biosphere Reserve. Interact with the local Mayan community, learning about their traditions, way of life, and connection to the natural environment. This activity provides a deeper understanding of the region's rich heritage.", + "locationName": "Sian Ka'an Biosphere Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "tulum", + "ref": "muyil-river-float-and-mayan-community-visit", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_muyil-river-float-and-mayan-community-visit.jpg" + }, + { + "name": "Bike Tour through Tulum's Pueblo", + "description": "Explore the vibrant town of Tulum on two wheels, cycling through its charming streets and discovering hidden gems. Visit local markets, street art murals, and authentic eateries, experiencing the town's unique atmosphere and local culture at your own pace.", + "locationName": "Tulum Pueblo", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tulum", + "ref": "bike-tour-through-tulum-s-pueblo", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_bike-tour-through-tulum-s-pueblo.jpg" + }, + { + "name": "Cooking Class with a Local Chef", + "description": "Delve into the world of Mexican cuisine with a hands-on cooking class. Learn traditional recipes and techniques from a local chef, preparing authentic dishes using fresh, regional ingredients. This immersive experience allows you to savor the flavors of Mexico and recreate them at home.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "tulum", + "ref": "cooking-class-with-a-local-chef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_cooking-class-with-a-local-chef.jpg" + }, + { + "name": "Temazcal Ceremony", + "description": "Participate in a traditional Temazcal ceremony, a Mayan steam bath ritual used for purification and spiritual cleansing. Led by a shaman, this ancient practice combines heat, herbs, and chanting to promote relaxation, detoxification, and a connection to nature.", + "locationName": "Various locations", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "tulum", + "ref": "temazcal-ceremony", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_temazcal-ceremony.jpg" + }, + { + "name": "Stargazing on the Beach", + "description": "Escape the city lights and experience the magic of Tulum's night sky. Join a guided stargazing tour on the beach, learning about constellations, planets, and the wonders of the universe. The clear, dark skies provide an unforgettable opportunity to connect with nature and marvel at the cosmos.", + "locationName": "Tulum Beaches", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 2, + "destinationRef": "tulum", + "ref": "stargazing-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_stargazing-on-the-beach.jpg" + }, + { + "name": "Coba Ruins Day Trip", + "description": "Embark on a journey to the ancient Mayan city of Coba, nestled deep within the jungle. Climb the Nohoch Mul pyramid, the tallest in the Yucatan Peninsula, and enjoy breathtaking panoramic views. Explore the vast complex of temples, ball courts, and sacbeob (ancient Mayan roads) by bicycle or on foot, and immerse yourself in the rich history and culture of this remarkable site.", + "locationName": "Coba", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "tulum", + "ref": "coba-ruins-day-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_coba-ruins-day-trip.jpg" + }, + { + "name": "Scuba Diving in the Mesoamerican Reef", + "description": "Dive into the turquoise waters of the Mesoamerican Reef, the second-largest coral reef system in the world. Discover an underwater paradise teeming with vibrant marine life, including colorful fish, graceful sea turtles, and majestic manta rays. Explore underwater caves and caverns, or visit the unique Museo Subacuático de Arte (MUSA), an underwater museum featuring sculptures that promote coral life.", + "locationName": "Mesoamerican Reef", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "tulum", + "ref": "scuba-diving-in-the-mesoamerican-reef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_scuba-diving-in-the-mesoamerican-reef.jpg" + }, + { + "name": "Kaan Luum Lagoon", + "description": "Escape the crowds and unwind in the serene beauty of Kaan Luum Lagoon. This hidden gem boasts crystal-clear waters with varying shades of blue and green, surrounded by lush mangroves. Float in the shallows, take a dip in the cenote at the lagoon's center, or simply relax in a hammock and soak up the tranquil atmosphere.", + "locationName": "Kaan Luum Lagoon", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tulum", + "ref": "kaan-luum-lagoon", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_kaan-luum-lagoon.jpg" + }, + { + "name": "Tulum Tower and Cenote Encantado", + "description": "Climb the iconic Tulum Tower, a watchtower built by the Mayans for coastal surveillance, and enjoy stunning views of the Caribbean Sea and the Tulum Archaeological Site. Afterwards, take a refreshing swim in the nearby Cenote Encantado, a hidden oasis with crystal-clear waters and a rope swing for adventurous souls.", + "locationName": "Tulum Tower and Cenote Encantado", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "tulum", + "ref": "tulum-tower-and-cenote-encantado", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_tulum-tower-and-cenote-encantado.jpg" + }, + { + "name": "Local Market and Street Food Tour", + "description": "Immerse yourself in the vibrant local culture with a visit to a Tulum market. Explore the colorful stalls filled with fresh produce, handcrafted souvenirs, and traditional Mexican clothing. Indulge in a culinary adventure by sampling delicious street food, such as tacos, tamales, and marquesitas, while interacting with friendly vendors and experiencing the authentic flavors of Mexico.", + "locationName": "Tulum Markets", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "tulum", + "ref": "local-market-and-street-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tulum_local-market-and-street-food-tour.jpg" + }, + { + "name": "Explore the Ancient City of Ephesus", + "description": "Step back in time and wander through the remarkably preserved ruins of Ephesus, once a thriving Roman city. Marvel at the Library of Celsus, the Temple of Hadrian, and the Great Theatre, imagining life in ancient times. Guided tours offer fascinating insights into the history and culture of this UNESCO World Heritage Site.", + "locationName": "Ephesus", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "turkish-riviera", + "ref": "explore-the-ancient-city-of-ephesus", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_explore-the-ancient-city-of-ephesus.jpg" + }, + { + "name": "Relax on the Beaches of Antalya", + "description": "Soak up the sun on the golden sands of Antalya's stunning beaches. Whether you choose the popular Konyaalti Beach or the secluded Kaputas Beach, you'll be treated to crystal-clear turquoise waters and breathtaking coastal views. Enjoy swimming, sunbathing, or simply relaxing with a good book.", + "locationName": "Antalya", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "turkish-riviera", + "ref": "relax-on-the-beaches-of-antalya", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_relax-on-the-beaches-of-antalya.jpg" + }, + { + "name": "Embark on a Blue Cruise", + "description": "Set sail on a traditional Turkish gulet and experience the beauty of the Turkish Riviera from the water. Cruise along the coastline, stopping at secluded coves, hidden beaches, and charming coastal towns. Enjoy swimming, snorkeling, and sunbathing on deck, while indulging in delicious Turkish cuisine prepared by the onboard chef.", + "locationName": "Turkish Riviera", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "turkish-riviera", + "ref": "embark-on-a-blue-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_embark-on-a-blue-cruise.jpg" + }, + { + "name": "Discover the Underwater World", + "description": "Dive into the crystal-clear waters of the Mediterranean and explore the vibrant marine life. The Turkish Riviera offers numerous diving and snorkeling spots, where you can encounter colorful fish, ancient shipwrecks, and fascinating underwater landscapes. Whether you're a beginner or an experienced diver, there's an underwater adventure waiting for you.", + "locationName": "Kaş or Kalkan", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "turkish-riviera", + "ref": "discover-the-underwater-world", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_discover-the-underwater-world.jpg" + }, + { + "name": "Indulge in a Turkish Bath Experience", + "description": "Treat yourself to a traditional Turkish bath, also known as a hammam. Experience the ultimate relaxation as you enjoy a steam bath, followed by a body scrub and a soothing massage. This centuries-old tradition is a perfect way to unwind and rejuvenate your body and mind.", + "locationName": "Turkish Riviera", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "indulge-in-a-turkish-bath-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_indulge-in-a-turkish-bath-experience.jpg" + }, + { + "name": "Hike the Lycian Way", + "description": "Embark on a breathtaking journey along the Lycian Way, a 540-kilometer trail that winds through ancient ruins, secluded coves, and dramatic coastal cliffs. Choose from various sections based on your fitness level, and experience the region's natural beauty and rich history.", + "locationName": "Lycian Way", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "hike-the-lycian-way", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_hike-the-lycian-way.jpg" + }, + { + "name": "Go White Water Rafting on the Köprülü River", + "description": "Experience an adrenaline-pumping adventure with white water rafting on the Köprülü River. Navigate through thrilling rapids surrounded by stunning canyon scenery. This activity is perfect for adventure seekers and nature enthusiasts.", + "locationName": "Köprülü River", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "turkish-riviera", + "ref": "go-white-water-rafting-on-the-k-pr-l-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_go-white-water-rafting-on-the-k-pr-l-river.jpg" + }, + { + "name": "Explore the Vibrant City of Antalya", + "description": "Wander through the charming streets of Antalya, a bustling city with a rich history and vibrant culture. Visit Kaleiçi, the historic old town, with its Ottoman-era houses and charming shops. Explore Hadrian's Gate, a triumphal arch dating back to the Roman era, and discover the Antalya Museum with its impressive collection of artifacts.", + "locationName": "Antalya", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "explore-the-vibrant-city-of-antalya", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_explore-the-vibrant-city-of-antalya.jpg" + }, + { + "name": "Take a Cooking Class and Learn to Make Traditional Turkish Dishes", + "description": "Delve into the culinary world of Turkey by taking a cooking class. Learn to prepare authentic dishes like meze platters, kebabs, and baklava, under the guidance of local chefs. This immersive experience offers a delicious way to connect with Turkish culture.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "turkish-riviera", + "ref": "take-a-cooking-class-and-learn-to-make-traditional-turkish-dishes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_take-a-cooking-class-and-learn-to-make-traditional-turkish-dishes.jpg" + }, + { + "name": "Visit the Picturesque Town of Kaş", + "description": "Escape to the charming town of Kaş, known for its bohemian atmosphere, stunning beaches, and ancient Lycian ruins. Explore the narrow streets lined with boutique shops and cafes, or relax on the pebble beaches and enjoy the crystal-clear waters. For a unique experience, take a boat trip to the nearby Greek island of Meis.", + "locationName": "Kaş", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "visit-the-picturesque-town-of-ka-", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_visit-the-picturesque-town-of-ka-.jpg" + }, + { + "name": "Paraglide Over Ölüdeniz", + "description": "Experience the breathtaking beauty of Ölüdeniz from a bird's-eye view as you soar through the sky on a tandem paragliding adventure. Take off from the Babadağ Mountain and glide over the turquoise waters, sandy beaches, and lush landscapes, creating an unforgettable memory.", + "locationName": "Ölüdeniz", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 4, + "destinationRef": "turkish-riviera", + "ref": "paraglide-over-l-deniz", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_paraglide-over-l-deniz.jpg" + }, + { + "name": "Visit the Saklikent Gorge", + "description": "Embark on a journey to Saklikent Gorge, one of the deepest canyons in the world. Hike through the cool, rushing waters, admire the towering cliffs, and discover hidden waterfalls. This natural wonder offers a refreshing escape from the summer heat.", + "locationName": "Saklikent National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "visit-the-saklikent-gorge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_visit-the-saklikent-gorge.jpg" + }, + { + "name": "Explore the Ghost Village of Kayaköy", + "description": "Step back in time and explore the haunting ruins of Kayaköy, a once-thriving Greek village abandoned in the early 20th century. Wander through the deserted streets, houses, and churches, and learn about the village's history and the population exchange between Greece and Turkey.", + "locationName": "Kayaköy", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "explore-the-ghost-village-of-kayak-y", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_explore-the-ghost-village-of-kayak-y.jpg" + }, + { + "name": "Shop at the Fethiye Market", + "description": "Immerse yourself in the vibrant atmosphere of the Fethiye Market, where you can find an array of local goods, including fresh produce, spices, textiles, and souvenirs. Practice your bargaining skills and discover unique treasures to take home.", + "locationName": "Fethiye", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "turkish-riviera", + "ref": "shop-at-the-fethiye-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_shop-at-the-fethiye-market.jpg" + }, + { + "name": "Enjoy a Traditional Turkish Night", + "description": "Experience the vibrant culture of Turkey with a traditional Turkish night. Enjoy a delicious dinner with local cuisine, watch captivating belly dancing performances, and listen to live music, creating a memorable evening of entertainment.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "turkish-riviera", + "ref": "enjoy-a-traditional-turkish-night", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_enjoy-a-traditional-turkish-night.jpg" + }, + { + "name": "Hot Air Balloon Ride Over Cappadocia", + "description": "Experience the breathtaking landscapes of Cappadocia from a unique perspective with a hot air balloon ride at sunrise. Soar above the fairy chimneys, valleys, and rock formations, capturing unforgettable photos and creating lasting memories. This magical experience is perfect for couples, families, and anyone seeking a once-in-a-lifetime adventure.", + "locationName": "Cappadocia", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "turkish-riviera", + "ref": "hot-air-balloon-ride-over-cappadocia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_hot-air-balloon-ride-over-cappadocia.jpg" + }, + { + "name": "Jeep Safari Adventure in the Taurus Mountains", + "description": "Embark on an exhilarating jeep safari through the rugged terrain of the Taurus Mountains. Explore hidden waterfalls, traditional villages, and stunning viewpoints. This adventurous activity is ideal for thrill-seekers and nature enthusiasts who want to experience the wild side of the Turkish Riviera.", + "locationName": "Taurus Mountains", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "turkish-riviera", + "ref": "jeep-safari-adventure-in-the-taurus-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_jeep-safari-adventure-in-the-taurus-mountains.jpg" + }, + { + "name": "Visit the Pamukkale Thermal Pools", + "description": "Discover the natural wonder of Pamukkale, with its cascading white travertine terraces and thermal pools. Take a dip in the mineral-rich waters, known for their healing properties, and enjoy the unique and picturesque landscape. This relaxing experience is perfect for unwinding and rejuvenating.", + "locationName": "Pamukkale", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "visit-the-pamukkale-thermal-pools", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_visit-the-pamukkale-thermal-pools.jpg" + }, + { + "name": "Explore the Ancient City of Perge", + "description": "Step back in time and explore the ruins of Perge, an ancient Greek city that was once a major center of trade and culture. Admire the well-preserved Hellenistic and Roman architecture, including the impressive theater, stadium, and agora. This historical experience is perfect for history buffs and those interested in ancient civilizations.", + "locationName": "Perge", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "turkish-riviera", + "ref": "explore-the-ancient-city-of-perge", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_explore-the-ancient-city-of-perge.jpg" + }, + { + "name": "Wine Tasting Tour in the Vineyards of Bozcaada", + "description": "Embark on a delightful wine tasting tour in the vineyards of Bozcaada, a charming island known for its wine production. Sample local wines, learn about the winemaking process, and enjoy the scenic beauty of the vineyards. This experience is perfect for wine enthusiasts and those seeking a relaxing and flavorful getaway.", + "locationName": "Bozcaada", + "duration": 5, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "turkish-riviera", + "ref": "wine-tasting-tour-in-the-vineyards-of-bozcaada", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/turkish-riviera_wine-tasting-tour-in-the-vineyards-of-bozcaada.jpg" + }, + { + "name": "Wine Tasting Tour in Chianti", + "description": "Embark on a delightful journey through the rolling hills of Chianti, famed for its world-renowned wines. Visit charming vineyards, learn about the winemaking process from passionate producers, and savor the rich flavors of Chianti Classico and other regional varieties. Enjoy breathtaking views of the Tuscan countryside and indulge in local delicacies paired perfectly with your wine.", + "locationName": "Chianti Region", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "tuscany", + "ref": "wine-tasting-tour-in-chianti", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_wine-tasting-tour-in-chianti.jpg" + }, + { + "name": "Explore the Historic City of Florence", + "description": "Step back in time as you wander through the enchanting streets of Florence, the birthplace of the Renaissance. Marvel at architectural masterpieces like the Duomo and Ponte Vecchio, visit world-class museums housing works by Michelangelo and Leonardo da Vinci, and immerse yourself in the vibrant culture of this historic city.", + "locationName": "Florence", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tuscany", + "ref": "explore-the-historic-city-of-florence", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_explore-the-historic-city-of-florence.jpg" + }, + { + "name": "Cooking Class in a Tuscan Farmhouse", + "description": "Unleash your inner chef with a hands-on cooking class in a traditional Tuscan farmhouse. Learn the secrets of authentic Italian cuisine from local experts, using fresh, seasonal ingredients. Create delicious dishes like handmade pasta, savory sauces, and delectable desserts. Enjoy the fruits of your labor with a convivial meal accompanied by regional wines.", + "locationName": "Tuscan Countryside", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "tuscany", + "ref": "cooking-class-in-a-tuscan-farmhouse", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_cooking-class-in-a-tuscan-farmhouse.jpg" + }, + { + "name": "Hot Air Balloon Ride over the Val d'Orcia", + "description": "Soar above the picturesque landscapes of the Val d'Orcia in a hot air balloon, taking in breathtaking panoramic views of rolling hills, vineyards, and charming villages. Experience the serenity of floating through the air as you witness the beauty of the Tuscan countryside from a unique perspective.", + "locationName": "Val d'Orcia", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "tuscany", + "ref": "hot-air-balloon-ride-over-the-val-d-orcia", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_hot-air-balloon-ride-over-the-val-d-orcia.jpg" + }, + { + "name": "Relaxing Spa Day in a Thermal Bath", + "description": "Indulge in a rejuvenating spa day at one of Tuscany's renowned thermal baths. Immerse yourself in the therapeutic waters, rich in minerals and known for their healing properties. Enjoy a variety of spa treatments, such as massages, facials, and body wraps, and experience ultimate relaxation amidst the serene Tuscan surroundings.", + "locationName": "Various locations", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "tuscany", + "ref": "relaxing-spa-day-in-a-thermal-bath", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_relaxing-spa-day-in-a-thermal-bath.jpg" + }, + { + "name": "Truffle Hunting in the Tuscan Countryside", + "description": "Embark on a unique adventure, joining local truffle hunters and their trained dogs to search for the prized delicacy among the oak and chestnut trees. Learn about the art of truffle hunting, the different types of truffles, and their culinary significance in Tuscan cuisine. This immersive experience often concludes with a delicious truffle-infused meal, allowing you to savor the fruits of your labor.", + "locationName": "Various locations in the Tuscan countryside", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "tuscany", + "ref": "truffle-hunting-in-the-tuscan-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_truffle-hunting-in-the-tuscan-countryside.jpg" + }, + { + "name": "Hiking or Biking through the Picturesque Landscapes", + "description": "Explore the breathtaking landscapes of Tuscany at your own pace by hiking or biking through its rolling hills, vineyards, and olive groves. Numerous trails cater to various fitness levels, offering stunning vistas and opportunities to discover hidden gems like charming villages, ancient ruins, and local farms. Pack a picnic lunch and enjoy a peaceful break amidst the idyllic scenery.", + "locationName": "Various locations throughout Tuscany, including the Chianti region, Val d'Orcia, and the Tuscan Archipelago", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tuscany", + "ref": "hiking-or-biking-through-the-picturesque-landscapes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_hiking-or-biking-through-the-picturesque-landscapes.jpg" + }, + { + "name": "Visit the Leaning Tower of Pisa and Explore Pisa", + "description": "Discover the iconic Leaning Tower of Pisa and explore the historic city that surrounds it. Capture memorable photos with the leaning tower, climb its steps for panoramic views, and visit the nearby Cathedral and Baptistery. Wander through Pisa's charming squares and streets, enjoying the local atmosphere and indulging in delicious Italian cuisine.", + "locationName": "Pisa", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tuscany", + "ref": "visit-the-leaning-tower-of-pisa-and-explore-pisa", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_visit-the-leaning-tower-of-pisa-and-explore-pisa.jpg" + }, + { + "name": "Take a Boat Trip to Elba Island", + "description": "Escape to the largest island of the Tuscan Archipelago, Elba, and discover its stunning beaches, crystal-clear waters, and rich history. Take a ferry or boat trip to the island, explore its charming towns and villages, relax on its sandy shores, or embark on a hike or bike ride through its scenic landscapes. Elba also offers opportunities for snorkeling, diving, and exploring historical sites like Napoleon's former residence.", + "locationName": "Elba Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "tuscany", + "ref": "take-a-boat-trip-to-elba-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_take-a-boat-trip-to-elba-island.jpg" + }, + { + "name": "Enjoy a Traditional Tuscan Dinner with a Local Family", + "description": "Immerse yourself in the local culture by enjoying a traditional Tuscan dinner with a welcoming family in their home. Savor authentic home-cooked dishes, learn about local customs and traditions, and share stories and laughter with your hosts. This experience offers a unique opportunity to connect with the people of Tuscany and create lasting memories.", + "locationName": "Various locations in the Tuscan countryside", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "tuscany", + "ref": "enjoy-a-traditional-tuscan-dinner-with-a-local-family", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_enjoy-a-traditional-tuscan-dinner-with-a-local-family.jpg" + }, + { + "name": "Horseback Riding through the Tuscan Hills", + "description": "Embark on a horseback riding adventure through the picturesque Tuscan countryside. Explore rolling hills, vineyards, and olive groves while enjoying the fresh air and stunning views. This activity is suitable for all levels of experience, and local guides will ensure a safe and enjoyable ride.", + "locationName": "Tuscan Countryside", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "tuscany", + "ref": "horseback-riding-through-the-tuscan-hills", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_horseback-riding-through-the-tuscan-hills.jpg" + }, + { + "name": "Visit the Medieval Town of San Gimignano", + "description": "Step back in time with a visit to the charming medieval town of San Gimignano, known as the 'Town of Fine Towers'. Explore the narrow streets, admire the historic architecture, and climb the towers for panoramic views of the surrounding countryside. Don't forget to sample the local gelato, renowned for its delicious flavors.", + "locationName": "San Gimignano", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "tuscany", + "ref": "visit-the-medieval-town-of-san-gimignano", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_visit-the-medieval-town-of-san-gimignano.jpg" + }, + { + "name": "Kayaking or Canoeing on the Arno River", + "description": "Experience Tuscany from a different perspective with a kayaking or canoeing trip on the Arno River. Paddle through the heart of Florence, passing under historic bridges and admiring the city's iconic landmarks from the water. This activity is a great way to combine sightseeing with a bit of exercise and enjoy the outdoors.", + "locationName": "Arno River", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "tuscany", + "ref": "kayaking-or-canoeing-on-the-arno-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_kayaking-or-canoeing-on-the-arno-river.jpg" + }, + { + "name": "Attend a Palio Horse Race in Siena", + "description": "Immerse yourself in the excitement of the Palio, a historic horse race held twice a year in Siena's Piazza del Campo. Witness the pageantry, the fierce competition between the city's districts, and the passionate crowds. This is a truly unique cultural experience that will leave you with lasting memories.", + "locationName": "Siena", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "tuscany", + "ref": "attend-a-palio-horse-race-in-siena", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_attend-a-palio-horse-race-in-siena.jpg" + }, + { + "name": "Go Stargazing in the Tuscan Countryside", + "description": "Escape the city lights and experience the magic of the Tuscan night sky. Join a stargazing tour or simply find a quiet spot away from light pollution. With minimal light interference, you'll have the opportunity to see a breathtaking display of stars and constellations.", + "locationName": "Tuscan Countryside", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "tuscany", + "ref": "go-stargazing-in-the-tuscan-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_go-stargazing-in-the-tuscan-countryside.jpg" + }, + { + "name": "Take a Vespa Tour through the Tuscan Countryside", + "description": "Embark on a thrilling adventure as you zip through the picturesque Tuscan countryside on a Vespa scooter. Feel the wind in your hair and soak up the breathtaking scenery as you explore hidden gems, charming villages, and rolling vineyards. This unique and exhilarating experience allows you to discover the true essence of Tuscany at your own pace.", + "locationName": "Tuscan Countryside", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "tuscany", + "ref": "take-a-vespa-tour-through-the-tuscan-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_take-a-vespa-tour-through-the-tuscan-countryside.jpg" + }, + { + "name": "Visit the Uffizi Gallery and Admire Renaissance Masterpieces", + "description": "Immerse yourself in the world of Renaissance art at the renowned Uffizi Gallery in Florence. Marvel at iconic works by legendary artists such as Leonardo da Vinci, Michelangelo, and Botticelli. Explore the vast collection and witness the evolution of art throughout the ages. This cultural experience is a must for art enthusiasts and history buffs.", + "locationName": "Uffizi Gallery, Florence", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "tuscany", + "ref": "visit-the-uffizi-gallery-and-admire-renaissance-masterpieces", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_visit-the-uffizi-gallery-and-admire-renaissance-masterpieces.jpg" + }, + { + "name": "Go Wine Tasting in the Chianti Classico Region", + "description": "Indulge in the rich flavors of Tuscany's world-famous wines with a visit to the Chianti Classico region. Explore charming wineries, learn about the winemaking process, and savor the distinct taste of Chianti Classico. Enjoy breathtaking vineyard views and discover the perfect bottle to take home as a souvenir.", + "locationName": "Chianti Classico Region", + "duration": 5, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "tuscany", + "ref": "go-wine-tasting-in-the-chianti-classico-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_go-wine-tasting-in-the-chianti-classico-region.jpg" + }, + { + "name": "Explore the Boboli Gardens and Discover a Renaissance Oasis", + "description": "Escape the hustle and bustle of the city and wander through the enchanting Boboli Gardens in Florence. Discover hidden fountains, sculptures, and grottoes as you explore this Renaissance masterpiece. Enjoy a peaceful picnic amidst the lush greenery and admire the panoramic views of the city.", + "locationName": "Boboli Gardens, Florence", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "tuscany", + "ref": "explore-the-boboli-gardens-and-discover-a-renaissance-oasis", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_explore-the-boboli-gardens-and-discover-a-renaissance-oasis.jpg" + }, + { + "name": "Attend a Traditional Opera Performance in a Historic Theater", + "description": "Experience the magic of Italian opera with a captivating performance in a historic theater. Immerse yourself in the drama, music, and costumes as you witness a timeless masterpiece. This cultural evening is a perfect way to appreciate the artistic heritage of Tuscany.", + "locationName": "Various theaters in Tuscany", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "tuscany", + "ref": "attend-a-traditional-opera-performance-in-a-historic-theater", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/tuscany_attend-a-traditional-opera-performance-in-a-historic-theater.jpg" + }, + { + "name": "Snorkeling at Trunk Bay", + "description": "Embark on an underwater adventure at Trunk Bay, renowned for its crystal-clear waters and vibrant coral reefs. Swim among colorful fish, graceful sea turtles, and other fascinating marine life. The underwater snorkeling trail makes it easy to explore the reef's wonders, even for beginners. **Tags: Beach, Snorkeling, Family-friendly**", + "locationName": "Trunk Bay, St. John", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "us-virgin-islands", + "ref": "snorkeling-at-trunk-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_snorkeling-at-trunk-bay.jpg" + }, + { + "name": "Exploring Historic Charlotte Amalie", + "description": "Step back in time with a stroll through the charming streets of Charlotte Amalie, the capital of St. Thomas. Discover colonial architecture, historic forts, and duty-free shopping. Visit Blackbeard's Castle for panoramic views and pirate lore, or explore the 99 Steps, a historic stairway leading to breathtaking vistas. **Tags: City, Historic, Sightseeing, Shopping**", + "locationName": "Charlotte Amalie, St. Thomas", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "us-virgin-islands", + "ref": "exploring-historic-charlotte-amalie", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_exploring-historic-charlotte-amalie.jpg" + }, + { + "name": "Sunset Sail with Cocktails", + "description": "Indulge in a romantic and unforgettable experience with a sunset sail along the coastline. Sip on tropical cocktails as you admire the vibrant hues of the setting sun painting the sky and reflecting on the turquoise waters. Capture stunning photos and create lasting memories. **Tags: Romantic, Relaxing, Nightlife, Luxury**", + "locationName": "Various Locations", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "us-virgin-islands", + "ref": "sunset-sail-with-cocktails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_sunset-sail-with-cocktails.jpg" + }, + { + "name": "Hiking the Reef Bay Trail", + "description": "Embark on a scenic hike through the lush rainforest of Virgin Islands National Park. The Reef Bay Trail leads you past ancient petroglyphs, sugar mill ruins, and breathtaking views of the Caribbean Sea. Descend to the Reef Bay Sugar Mill and explore the historic site. **Tags: Hiking, Historic, Off-the-beaten-path**", + "locationName": "Virgin Islands National Park, St. John", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "us-virgin-islands", + "ref": "hiking-the-reef-bay-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_hiking-the-reef-bay-trail.jpg" + }, + { + "name": "Kayaking in a Bioluminescent Bay", + "description": "Experience the magic of a bioluminescent bay, where the water glows with an ethereal blue light at night. Paddle through the mangrove forests and witness the mesmerizing spectacle of tiny organisms illuminating the water with each stroke of your kayak. **Tags: Adventure, Nightlife, Eco-conscious**", + "locationName": "Various Locations", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "kayaking-in-a-bioluminescent-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_kayaking-in-a-bioluminescent-bay.jpg" + }, + { + "name": "Explore the Virgin Islands National Park", + "description": "Immerse yourself in the natural beauty of St. John by exploring the Virgin Islands National Park. Hike through lush forests, discover hidden beaches, and encounter diverse wildlife. Visit the Annaberg Sugar Plantation ruins for a glimpse into the island's history.", + "locationName": "St. John", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "us-virgin-islands", + "ref": "explore-the-virgin-islands-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_explore-the-virgin-islands-national-park.jpg" + }, + { + "name": "Discover the Coral World Ocean Park", + "description": "Embark on an underwater adventure at Coral World Ocean Park on St. Thomas. Get up close to marine life in the Undersea Observatory, swim with dolphins, hand-feed stingrays, and explore the vibrant coral reefs through snorkeling or diving.", + "locationName": "St. Thomas", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "discover-the-coral-world-ocean-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_discover-the-coral-world-ocean-park.jpg" + }, + { + "name": "Indulge in Duty-Free Shopping", + "description": "Take advantage of the duty-free shopping opportunities in Charlotte Amalie, St. Thomas. Browse through a wide selection of jewelry, perfumes, electronics, and local crafts. Find unique souvenirs and gifts to commemorate your trip.", + "locationName": "Charlotte Amalie", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "us-virgin-islands", + "ref": "indulge-in-duty-free-shopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_indulge-in-duty-free-shopping.jpg" + }, + { + "name": "Sample Local Cuisine", + "description": "Embark on a culinary journey and savor the flavors of the Virgin Islands. Try local specialties like conch fritters, johnnycakes, and callaloo. Visit beachside shacks for fresh seafood or indulge in fine dining experiences with Caribbean-inspired cuisine.", + "locationName": "Various Locations", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "sample-local-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_sample-local-cuisine.jpg" + }, + { + "name": "Go Island Hopping", + "description": "Embark on an island-hopping adventure and discover the unique charm of each island. Take a ferry or boat tour to explore St. John's pristine beaches, St. Croix's historic towns, or Water Island's secluded coves. Experience the diverse landscapes and cultural offerings of the Virgin Islands.", + "locationName": "Inter-Island", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "us-virgin-islands", + "ref": "go-island-hopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_go-island-hopping.jpg" + }, + { + "name": "Windsurfing at Magens Bay", + "description": "Experience the thrill of gliding across the turquoise waters of Magens Bay, renowned as one of the world's most beautiful beaches. Rent windsurfing equipment and catch the trade winds for an exhilarating adventure. Lessons are available for beginners, while experienced windsurfers can enjoy the freedom of exploring the bay at their own pace.", + "locationName": "Magens Bay, St. Thomas", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "windsurfing-at-magens-bay", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_windsurfing-at-magens-bay.jpg" + }, + { + "name": "Horseback Riding on the Beach", + "description": "Embark on a unique and unforgettable adventure with a horseback riding tour along the sandy shores. Several outfitters offer guided tours that cater to all skill levels, allowing you to connect with nature and experience the island's beauty from a different perspective. Enjoy the gentle rhythm of the horse's gait as you take in breathtaking coastal views.", + "locationName": "Various beaches on St. Thomas and St. Croix", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "us-virgin-islands", + "ref": "horseback-riding-on-the-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_horseback-riding-on-the-beach.jpg" + }, + { + "name": "Stargazing on a Secluded Beach", + "description": "Escape the city lights and immerse yourself in the magic of the Caribbean night sky. Find a secluded beach away from light pollution and marvel at the constellations above. The Virgin Islands offer exceptional stargazing opportunities due to their remote location and minimal light interference. Bring a blanket, relax on the sand, and let the celestial wonders captivate you.", + "locationName": "Secluded beaches on St. John or Water Island", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "us-virgin-islands", + "ref": "stargazing-on-a-secluded-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_stargazing-on-a-secluded-beach.jpg" + }, + { + "name": "Explore the Annaberg Sugar Plantation Ruins", + "description": "Step back in time and delve into the Virgin Islands' colonial past at the Annaberg Sugar Plantation Ruins on St. John. Explore the remnants of this historic site, including the factory, windmill, and slave quarters, and learn about the island's sugar production history and the lives of those who worked on the plantation.", + "locationName": "Annaberg Sugar Plantation, St. John", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "us-virgin-islands", + "ref": "explore-the-annaberg-sugar-plantation-ruins", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_explore-the-annaberg-sugar-plantation-ruins.jpg" + }, + { + "name": "Take a Cooking Class and Learn to Make Local Dishes", + "description": "Immerse yourself in the local culture by participating in a cooking class and learning to prepare traditional Virgin Islands dishes. Discover the secrets of Caribbean cuisine, from fresh seafood specialties to flavorful stews and desserts. Many local chefs offer hands-on classes where you can learn about the ingredients, techniques, and cultural significance of the dishes.", + "locationName": "Various locations on St. Thomas and St. Croix", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "take-a-cooking-class-and-learn-to-make-local-dishes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_take-a-cooking-class-and-learn-to-make-local-dishes.jpg" + }, + { + "name": "Dive into History at Fort Christiansvaern", + "description": "Step back in time at Fort Christiansvaern, a meticulously preserved 18th-century Danish fort on the island of St. Croix. Explore the ramparts, barracks, and dungeons, and learn about the island's colonial past and its role in the transatlantic slave trade. Immerse yourself in the fascinating history and stunning architecture of this historic landmark.", + "locationName": "Christiansted, St. Croix", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "us-virgin-islands", + "ref": "dive-into-history-at-fort-christiansvaern", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_dive-into-history-at-fort-christiansvaern.jpg" + }, + { + "name": "Catch a Thrill with Watersports Galore", + "description": "Get your adrenaline pumping with an array of exciting watersports! Rent jet skis and zoom across the turquoise waters, try your hand at parasailing for breathtaking aerial views, or challenge yourself with windsurfing or kitesurfing. The options are endless for an action-packed day on the water.", + "locationName": "Various locations throughout the islands", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "catch-a-thrill-with-watersports-galore", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_catch-a-thrill-with-watersports-galore.jpg" + }, + { + "name": "Indulge in a Culinary Journey", + "description": "Embark on a delectable culinary journey through the Virgin Islands. Join a food tour to discover hidden gems and local favorites, from savory seafood dishes to sweet tropical treats. Explore the vibrant markets, savor fresh island produce, and experience the unique flavors of Caribbean cuisine.", + "locationName": "Various locations throughout the islands", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "indulge-in-a-culinary-journey", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_indulge-in-a-culinary-journey.jpg" + }, + { + "name": "Unwind with a Spa Retreat", + "description": "Escape the hustle and bustle with a rejuvenating spa experience. Treat yourself to a massage, facial, or body wrap using local ingredients like coconut oil and sea salt. Immerse yourself in tranquility and emerge feeling refreshed and revitalized.", + "locationName": "Various resorts and spas", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "us-virgin-islands", + "ref": "unwind-with-a-spa-retreat", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_unwind-with-a-spa-retreat.jpg" + }, + { + "name": "Experience the Nightlife", + "description": "As the sun sets, the islands come alive with vibrant nightlife. Dance the night away at beach bars and clubs, enjoy live music performances, or sip cocktails under the stars. From laid-back beach bars to lively nightclubs, there's something for everyone to enjoy after dark.", + "locationName": "Various locations throughout the islands", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "us-virgin-islands", + "ref": "experience-the-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/us-virgin-islands_experience-the-nightlife.jpg" + }, + { + "name": "Whale Watching Adventure", + "description": "Embark on an unforgettable whale watching tour from Victoria or Tofino. Witness majestic orcas, humpback whales, and other marine life in their natural habitat. Learn about their behavior and conservation efforts from experienced guides. This awe-inspiring experience is perfect for nature enthusiasts of all ages.", + "locationName": "Victoria or Tofino", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "whale-watching-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_whale-watching-adventure.jpg" + }, + { + "name": "Pacific Rim National Park Reserve Exploration", + "description": "Immerse yourself in the wild beauty of Pacific Rim National Park Reserve. Hike through ancient rainforests, explore rugged coastlines, and relax on pristine beaches. Discover diverse ecosystems and encounter unique wildlife. The park offers trails for all levels, making it ideal for both casual walkers and experienced hikers.", + "locationName": "Pacific Rim National Park Reserve", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vancouver-island", + "ref": "pacific-rim-national-park-reserve-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_pacific-rim-national-park-reserve-exploration.jpg" + }, + { + "name": "Kayaking in Clayoquot Sound", + "description": "Paddle through the tranquil waters of Clayoquot Sound, a UNESCO Biosphere Reserve. Explore hidden coves, encounter marine life, and admire the stunning scenery. Kayak tours are available for various skill levels, providing a unique perspective of Vancouver Island's coastal beauty.", + "locationName": "Clayoquot Sound", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "kayaking-in-clayoquot-sound", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_kayaking-in-clayoquot-sound.jpg" + }, + { + "name": "Victoria City Tour and Afternoon Tea", + "description": "Explore the charming city of Victoria, known for its British colonial architecture and vibrant culture. Visit iconic landmarks like the Fairmont Empress Hotel and the Royal BC Museum. Indulge in a traditional afternoon tea experience, complete with scones, pastries, and exquisite tea blends.", + "locationName": "Victoria", + "duration": 5, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "vancouver-island", + "ref": "victoria-city-tour-and-afternoon-tea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_victoria-city-tour-and-afternoon-tea.jpg" + }, + { + "name": "Surfing in Tofino", + "description": "Catch some waves in Tofino, a renowned surfing destination. With its consistent swells and stunning beaches, Tofino offers an unforgettable experience for surfers of all levels. Surfing lessons and rentals are readily available, making it easy to enjoy this exhilarating water sport.", + "locationName": "Tofino", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "surfing-in-tofino", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_surfing-in-tofino.jpg" + }, + { + "name": "Hiking the West Coast Trail", + "description": "Embark on a multi-day backpacking adventure along the legendary West Coast Trail. Traverse through old-growth forests, across rugged beaches, and over suspension bridges, experiencing the raw beauty of Vancouver Island's wild Pacific coast. This challenging hike offers stunning ocean views, encounters with wildlife, and a sense of accomplishment for those who complete it.", + "locationName": "Pacific Rim National Park Reserve", + "duration": 60, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "vancouver-island", + "ref": "hiking-the-west-coast-trail", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_hiking-the-west-coast-trail.jpg" + }, + { + "name": "Exploring Butchart Gardens", + "description": "Immerse yourself in the vibrant colors and fragrant scents of Butchart Gardens, a world-renowned horticultural masterpiece. Stroll through themed gardens, marvel at the intricate floral displays, and enjoy afternoon tea in a charming setting. This family-friendly attraction offers a relaxing escape into a world of natural beauty.", + "locationName": "Victoria", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "exploring-butchart-gardens", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_exploring-butchart-gardens.jpg" + }, + { + "name": "Ziplining Through the Forest Canopy", + "description": "Soar through the air on a thrilling zipline adventure, experiencing the rainforest from a unique perspective. Choose from various zipline courses, each offering breathtaking views and an adrenaline rush. This activity is perfect for adventure seekers looking for an exhilarating experience in nature.", + "locationName": "Various locations on Vancouver Island", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "ziplining-through-the-forest-canopy", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_ziplining-through-the-forest-canopy.jpg" + }, + { + "name": "Storm Watching on the West Coast", + "description": "Witness the raw power of the Pacific Ocean during storm season. Find a cozy cabin or beachfront lodge and watch as massive waves crash against the shore, creating a dramatic spectacle. This unique experience is perfect for those seeking a connection with nature's untamed forces.", + "locationName": "Tofino, Ucluelet", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vancouver-island", + "ref": "storm-watching-on-the-west-coast", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_storm-watching-on-the-west-coast.jpg" + }, + { + "name": "Caving in Horne Lake Caves Provincial Park", + "description": "Embark on a subterranean adventure exploring the Horne Lake Caves. Join a guided tour to discover stunning cave formations, underground rivers, and unique geological wonders. This activity is perfect for those seeking a unique and educational experience.", + "locationName": "Horne Lake Caves Provincial Park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vancouver-island", + "ref": "caving-in-horne-lake-caves-provincial-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_caving-in-horne-lake-caves-provincial-park.jpg" + }, + { + "name": "Bear Watching Tour in the Great Bear Rainforest", + "description": "Embark on a thrilling expedition into the heart of the Great Bear Rainforest, home to the majestic grizzly bears. Join a guided tour from Campbell River or Telegraph Cove and witness these magnificent creatures in their natural habitat as they fish for salmon and roam the pristine wilderness. This unforgettable experience offers a unique glimpse into the lives of these iconic animals.", + "locationName": "Great Bear Rainforest", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "vancouver-island", + "ref": "bear-watching-tour-in-the-great-bear-rainforest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_bear-watching-tour-in-the-great-bear-rainforest.jpg" + }, + { + "name": "Wine Tasting Tour in the Cowichan Valley", + "description": "Discover the burgeoning wine scene of the Cowichan Valley, known for its cool-climate wines and picturesque vineyards. Embark on a delightful wine tasting tour, visiting charming wineries and indulging in award-winning vintages. Learn about the unique terroir and winemaking process while savoring the flavors of Pinot Noir, Chardonnay, and other local specialties. This experience is perfect for wine enthusiasts and those seeking a relaxing escape.", + "locationName": "Cowichan Valley", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "wine-tasting-tour-in-the-cowichan-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_wine-tasting-tour-in-the-cowichan-valley.jpg" + }, + { + "name": "Scenic Drive Along the Pacific Marine Circle Route", + "description": "Embark on a breathtaking road trip along the Pacific Marine Circle Route, a scenic loop that showcases the diverse beauty of Vancouver Island. Drive through charming coastal towns, witness dramatic ocean vistas, and explore hidden coves and beaches. Stop at Sooke Potholes Provincial Park for a refreshing swim in natural rock pools, or visit the quaint village of Cowichan Bay for local arts and crafts. This self-guided adventure offers flexibility and stunning views at every turn.", + "locationName": "Pacific Marine Circle Route", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vancouver-island", + "ref": "scenic-drive-along-the-pacific-marine-circle-route", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_scenic-drive-along-the-pacific-marine-circle-route.jpg" + }, + { + "name": "Mountain Biking in Cumberland", + "description": "Experience the thrill of mountain biking in Cumberland, a renowned destination for off-road enthusiasts. Explore the extensive network of trails that wind through lush forests and offer breathtaking views. Whether you're a beginner or an experienced rider, Cumberland has trails for all skill levels. Rent a bike and gear from local shops and immerse yourself in the vibrant mountain biking culture.", + "locationName": "Cumberland", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "mountain-biking-in-cumberland", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_mountain-biking-in-cumberland.jpg" + }, + { + "name": "Relaxing Spa Day at a Resort", + "description": "Indulge in a rejuvenating spa day at one of Vancouver Island's luxurious resorts. Pamper yourself with a variety of treatments, from massages and facials to body wraps and hydrotherapy. Enjoy the serene atmosphere and stunning natural surroundings as you unwind and recharge. Several resorts offer spa packages, perfect for a romantic getaway or a solo escape.", + "locationName": "Various Resorts", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "vancouver-island", + "ref": "relaxing-spa-day-at-a-resort", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_relaxing-spa-day-at-a-resort.jpg" + }, + { + "name": "Go Salmon Fishing on the Campbell River", + "description": "Experience the thrill of reeling in a mighty salmon on the legendary Campbell River, renowned as the 'Salmon Capital of the World.' Charter a boat with a seasoned guide who'll lead you to the best spots and share their expertise. Whether you're a seasoned angler or a novice, this adventure promises excitement and a chance to connect with Vancouver Island's rich fishing heritage.", + "locationName": "Campbell River", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "go-salmon-fishing-on-the-campbell-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_go-salmon-fishing-on-the-campbell-river.jpg" + }, + { + "name": "Explore the Culinary Scene in Victoria", + "description": "Embark on a delectable journey through Victoria's vibrant culinary scene. Discover farm-to-table restaurants showcasing the island's fresh produce, indulge in artisan chocolates and craft breweries, and savor the multicultural flavors that make Victoria a foodie paradise. Don't miss the chance to visit the iconic Fairmont Empress for a classic afternoon tea experience.", + "locationName": "Victoria", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "vancouver-island", + "ref": "explore-the-culinary-scene-in-victoria", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_explore-the-culinary-scene-in-victoria.jpg" + }, + { + "name": "Discover Indigenous Culture at the Royal BC Museum", + "description": "Immerse yourself in the rich history and culture of the First Nations people at the Royal BC Museum. Explore captivating exhibits that showcase traditional art, artifacts, and storytelling, and gain a deeper understanding of their deep connection to the land and sea. Participate in workshops or cultural events for a truly immersive experience.", + "locationName": "Victoria", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vancouver-island", + "ref": "discover-indigenous-culture-at-the-royal-bc-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_discover-indigenous-culture-at-the-royal-bc-museum.jpg" + }, + { + "name": "Take a Scenic Seaplane Flight", + "description": "Soar above Vancouver Island's breathtaking landscapes on a scenic seaplane flight. Witness the majesty of snow-capped mountains, turquoise waters, and lush forests from a unique perspective. Choose from various routes, including flights over the Gulf Islands, Tofino's coastline, or the remote Clayoquot Sound, for an unforgettable aerial adventure.", + "locationName": "Multiple locations", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "vancouver-island", + "ref": "take-a-scenic-seaplane-flight", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_take-a-scenic-seaplane-flight.jpg" + }, + { + "name": "Go Birdwatching at the Reifel Migratory Bird Sanctuary", + "description": "Escape to the tranquil oasis of the Reifel Migratory Bird Sanctuary, a haven for over 250 bird species. Stroll along the boardwalks and observe a diverse array of waterfowl, shorebirds, and songbirds in their natural habitat. Capture stunning photos, learn about bird conservation efforts, and enjoy the serene beauty of this wildlife sanctuary.", + "locationName": "Reifel Migratory Bird Sanctuary", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "vancouver-island", + "ref": "go-birdwatching-at-the-reifel-migratory-bird-sanctuary", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vancouver-island_go-birdwatching-at-the-reifel-migratory-bird-sanctuary.jpg" + }, + { + "name": "Schönbrunn Palace Tour", + "description": "Step into the opulent world of Habsburg royalty with a tour of the magnificent Schönbrunn Palace. Explore the lavish staterooms, stroll through the sprawling gardens, and immerse yourself in the history of the Austrian Empire.", + "locationName": "Schönbrunn Palace", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vienna", + "ref": "sch-nbrunn-palace-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_sch-nbrunn-palace-tour.jpg" + }, + { + "name": "Vienna State Opera Performance", + "description": "Experience the magic of a world-renowned opera or ballet performance at the Vienna State Opera. Witness exceptional artistry and acoustics in a breathtaking setting, a truly unforgettable evening.", + "locationName": "Vienna State Opera", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "vienna", + "ref": "vienna-state-opera-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_vienna-state-opera-performance.jpg" + }, + { + "name": "Naschmarkt Culinary Adventure", + "description": "Embark on a sensory journey through the vibrant Naschmarkt, Vienna's largest market. Sample diverse flavors from around the world, from local Austrian specialties to exotic spices and fresh produce.", + "locationName": "Naschmarkt", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vienna", + "ref": "naschmarkt-culinary-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_naschmarkt-culinary-adventure.jpg" + }, + { + "name": "Danube River Cruise", + "description": "Enjoy a scenic cruise along the Danube River, admiring the city's iconic landmarks from a unique perspective. Relax and soak in the picturesque views while learning about Vienna's history and culture.", + "locationName": "Danube River", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vienna", + "ref": "danube-river-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_danube-river-cruise.jpg" + }, + { + "name": "MuseumsQuartier Exploration", + "description": "Discover a vibrant hub of art and culture at the MuseumsQuartier. Explore renowned museums like the Leopold Museum and MUMOK, showcasing modern and contemporary art, or simply relax in the trendy courtyards and cafes.", + "locationName": "MuseumsQuartier", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vienna", + "ref": "museumsquartier-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_museumsquartier-exploration.jpg" + }, + { + "name": "Prater Amusement Park", + "description": "Experience thrills and laughter at Prater, Vienna's iconic amusement park! Ride the Wiener Riesenrad Ferris wheel for panoramic city views, test your courage on roller coasters, and enjoy classic carnival games and treats. This historic park offers entertainment for all ages, making it a perfect family outing.", + "locationName": "Prater", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "vienna", + "ref": "prater-amusement-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_prater-amusement-park.jpg" + }, + { + "name": "Vienna Woods Hike and Wine Tasting", + "description": "Escape the city bustle and embark on a scenic hike through the Vienna Woods. Explore lush trails, breathe fresh air, and discover charming villages nestled amidst the rolling hills. Conclude your adventure with a delightful wine tasting at a local vineyard, savoring the region's renowned vintages.", + "locationName": "Vienna Woods", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "vienna", + "ref": "vienna-woods-hike-and-wine-tasting", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_vienna-woods-hike-and-wine-tasting.jpg" + }, + { + "name": "Belvedere Palace Gardens Stroll", + "description": "Immerse yourself in the beauty and tranquility of the Belvedere Palace Gardens. Wander through meticulously manicured landscapes, admire stunning sculptures and fountains, and soak in the serene atmosphere. This is an ideal spot for a relaxing afternoon or a romantic rendezvous.", + "locationName": "Belvedere Palace", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "vienna", + "ref": "belvedere-palace-gardens-stroll", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_belvedere-palace-gardens-stroll.jpg" + }, + { + "name": "Haus des Meeres Aquarium", + "description": "Embark on an underwater journey at Haus des Meeres, Vienna's impressive aquarium housed in a former WWII flak tower. Discover diverse marine life, from sharks and tropical fish to reptiles and birds. The rooftop terrace offers breathtaking city views, making it a unique and educational experience.", + "locationName": "Haus des Meeres", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vienna", + "ref": "haus-des-meeres-aquarium", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_haus-des-meeres-aquarium.jpg" + }, + { + "name": "Naschmarkt Evening Food Tour", + "description": "Indulge your taste buds on a culinary adventure at Naschmarkt, Vienna's vibrant international market. Join a guided evening food tour to sample diverse flavors from around the world, discover hidden culinary gems, and experience the lively atmosphere of this popular foodie destination.", + "locationName": "Naschmarkt", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "vienna", + "ref": "naschmarkt-evening-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_naschmarkt-evening-food-tour.jpg" + }, + { + "name": "Spanish Riding School Performance", + "description": "Witness the equestrian artistry of the Lipizzaner stallions at the Spanish Riding School, a Viennese institution since the 16th century. Marvel at their graceful movements, intricate formations, and the harmonious bond between horse and rider during a captivating performance in the historic Winter Riding School.", + "locationName": "Spanish Riding School", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "vienna", + "ref": "spanish-riding-school-performance", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_spanish-riding-school-performance.jpg" + }, + { + "name": "Vienna Coffee House Culture", + "description": "Indulge in Vienna's renowned coffee house culture by spending a leisurely afternoon at a traditional café. Savor a cup of Viennese coffee, such as a Wiener Melange or Einspänner, and enjoy a slice of Sachertorte or Apfelstrudel while soaking up the elegant ambiance and observing the local way of life.", + "locationName": "Café Central, Café Sacher, or other traditional coffee houses", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "vienna", + "ref": "vienna-coffee-house-culture", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_vienna-coffee-house-culture.jpg" + }, + { + "name": "Third Man Museum & Sewer Tour", + "description": "Delve into the world of espionage and intrigue with a visit to the Third Man Museum, dedicated to the classic film noir \"The Third Man.\" Explore exhibits on the movie's production and historical context, and embark on a unique tour of Vienna's underground sewer system, as featured in the film's iconic chase scene.", + "locationName": "Third Man Museum", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "vienna", + "ref": "third-man-museum-sewer-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_third-man-museum-sewer-tour.jpg" + }, + { + "name": "Hundertwasserhaus & Kunst Haus Wien", + "description": "Discover the whimsical and colorful architecture of Friedensreich Hundertwasser at the Hundertwasserhaus, a unique apartment complex known for its irregular forms, bright facades, and integration of nature. Afterward, explore the Kunst Haus Wien, a museum showcasing Hundertwasser's artistic vision and ecological philosophies.", + "locationName": "Hundertwasserhaus & Kunst Haus Wien", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vienna", + "ref": "hundertwasserhaus-kunst-haus-wien", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_hundertwasserhaus-kunst-haus-wien.jpg" + }, + { + "name": "Vienna City Bike Tour", + "description": "Embark on a leisurely bike tour through Vienna's historic streets and picturesque parks. Explore iconic landmarks, hidden gems, and local neighborhoods while enjoying the fresh air and getting some exercise. Guided tours offer insights into the city's history and culture, while self-guided options provide flexibility and freedom.", + "locationName": "Various bike rental shops and tour operators", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "vienna", + "ref": "vienna-city-bike-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_vienna-city-bike-tour.jpg" + }, + { + "name": "Wachau Valley Day Trip", + "description": "Embark on a scenic journey through the picturesque Wachau Valley, a UNESCO World Heritage Site. Discover charming villages, terraced vineyards, and medieval castles as you cruise along the Danube River. Indulge in wine tastings at local wineries, savor regional delicacies, and soak in the breathtaking landscapes.", + "locationName": "Wachau Valley", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vienna", + "ref": "wachau-valley-day-trip", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_wachau-valley-day-trip.jpg" + }, + { + "name": "Kursalon Vienna Concert", + "description": "Immerse yourself in the enchanting world of Viennese classical music with a captivating concert at the Kursalon Vienna. Delight in the timeless masterpieces of Strauss and Mozart performed by talented musicians in a stunning historic setting. Choose from various concert options and enjoy an unforgettable evening of elegance and culture.", + "locationName": "Kursalon Vienna", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 4, + "destinationRef": "vienna", + "ref": "kursalon-vienna-concert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_kursalon-vienna-concert.jpg" + }, + { + "name": "Central Cemetery Exploration", + "description": "Discover the unique charm of Vienna's Central Cemetery, a sprawling green space that is more than just a burial ground. Explore the ornate tombs of famous figures like Beethoven and Schubert, admire the stunning architecture, and enjoy a peaceful stroll through the serene pathways. Opt for a guided tour to uncover fascinating stories and historical insights.", + "locationName": "Central Cemetery (Zentralfriedhof)", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vienna", + "ref": "central-cemetery-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_central-cemetery-exploration.jpg" + }, + { + "name": "Vienna Rathaus Film Festival", + "description": "Experience the magic of cinema under the stars at the Vienna Rathaus Film Festival. During summer evenings, the square in front of the City Hall transforms into an open-air cinema, showcasing a diverse program of movies, opera performances, and concerts. Enjoy a picnic atmosphere, savor culinary delights from food stalls, and relish a unique cultural experience.", + "locationName": "Vienna City Hall Square", + "duration": 3, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "vienna", + "ref": "vienna-rathaus-film-festival", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_vienna-rathaus-film-festival.jpg" + }, + { + "name": "Grinzing Heuriger Evening", + "description": "Escape the city bustle and venture to Grinzing, a charming village known for its traditional wine taverns called Heuriger. Sample locally produced wines, savor authentic Viennese cuisine, and enjoy live music in a cozy and convivial atmosphere. Experience the authentic Viennese way of life and indulge in the region's rich winemaking heritage.", + "locationName": "Grinzing", + "duration": 4, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "vienna", + "ref": "grinzing-heuriger-evening", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vienna_grinzing-heuriger-evening.jpg" + }, + { + "name": "Explore the Ancient Town", + "description": "Step back in time as you wander through the enchanting streets of Hoi An's Ancient Town, a UNESCO World Heritage Site. Admire the colorful lanterns, traditional wooden houses, and historic temples. Visit the Japanese Covered Bridge, a symbol of the town, and the Fujian Assembly Hall with its intricate carvings. Don't miss the chance to shop for tailor-made clothing and souvenirs at the Central Market.", + "locationName": "Hoi An Ancient Town", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "explore-the-ancient-town", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_explore-the-ancient-town.jpg" + }, + { + "name": "Indulge in a Food Tour", + "description": "Embark on a culinary adventure through Hoi An's vibrant food scene. Join a guided food tour and savor local delicacies like Cao Lau (noodles with pork and greens), White Rose dumplings, and Banh Mi sandwiches. Explore hidden alleyways and discover family-run restaurants, learning about the unique flavors and ingredients of Vietnamese cuisine.", + "locationName": "Various locations in Hoi An", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vietnam", + "ref": "indulge-in-a-food-tour", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_indulge-in-a-food-tour.jpg" + }, + { + "name": "Cruise the Thu Bon River", + "description": "Enjoy a scenic boat ride along the Thu Bon River, which flows through the heart of Hoi An. Admire the picturesque landscapes, observe local life along the riverbanks, and visit nearby villages known for their traditional crafts. You can choose from various boat options, including traditional wooden boats and modern cruises.", + "locationName": "Thu Bon River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "cruise-the-thu-bon-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_cruise-the-thu-bon-river.jpg" + }, + { + "name": "Relax on An Bang Beach", + "description": "Escape the bustling town and unwind on the pristine sands of An Bang Beach. Soak up the sun, swim in the crystal-clear waters, or try water sports like surfing and stand-up paddleboarding. Enjoy fresh seafood at beachfront restaurants and witness stunning sunsets over the East Sea.", + "locationName": "An Bang Beach", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "vietnam", + "ref": "relax-on-an-bang-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_relax-on-an-bang-beach.jpg" + }, + { + "name": "Learn the Art of Lantern Making", + "description": "Immerse yourself in Hoi An's cultural heritage by participating in a lantern-making workshop. Learn about the history and significance of lanterns in Vietnamese culture, and create your own unique lantern to take home as a souvenir. This hands-on experience is a great way to connect with local traditions and unleash your creativity.", + "locationName": "Various workshops in Hoi An", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "learn-the-art-of-lantern-making", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_learn-the-art-of-lantern-making.jpg" + }, + { + "name": "Bike through the Countryside", + "description": "Embark on a leisurely bike ride through the scenic Vietnamese countryside surrounding Hoi An. Pedal along rice paddies, quaint villages, and lush greenery, immersing yourself in the peaceful rural atmosphere. This activity allows you to escape the bustling town and experience the authentic charm of the region at your own pace.", + "locationName": "Hoi An Countryside", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "bike-through-the-countryside", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_bike-through-the-countryside.jpg" + }, + { + "name": "Visit My Son Sanctuary", + "description": "Embark on a historical journey to My Son Sanctuary, a UNESCO World Heritage Site. Explore the ruins of ancient Hindu temples dating back to the Champa Kingdom, marveling at the intricate carvings and architectural wonders. Discover the rich history and cultural significance of this once-thriving religious center.", + "locationName": "My Son Sanctuary", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vietnam", + "ref": "visit-my-son-sanctuary", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_visit-my-son-sanctuary.jpg" + }, + { + "name": "Shop for Custom-Made Clothing", + "description": "Indulge in the renowned tailoring experience of Hoi An. Explore the numerous tailor shops and browse through a vast selection of fabrics and designs. Get measured for a custom-made suit, dress, or any garment of your choice, crafted to your exact specifications. This is a unique opportunity to create a personalized souvenir and embrace the town's tailoring heritage.", + "locationName": "Hoi An Tailor Shops", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "vietnam", + "ref": "shop-for-custom-made-clothing", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_shop-for-custom-made-clothing.jpg" + }, + { + "name": "Take a Cooking Class", + "description": "Delve into the world of Vietnamese cuisine by taking a cooking class. Learn the secrets of preparing traditional dishes, from fresh spring rolls to flavorful pho, under the guidance of experienced local chefs. Discover the art of balancing flavors and using aromatic herbs and spices. This immersive experience allows you to bring home a taste of Vietnam and impress your friends and family with your culinary skills.", + "locationName": "Hoi An Cooking Schools", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "vietnam", + "ref": "take-a-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_take-a-cooking-class.jpg" + }, + { + "name": "Enjoy the Nightlife", + "description": "Experience the vibrant nightlife of Hoi An. Explore the bars and pubs along the riverfront, enjoying live music, refreshing drinks, and a lively atmosphere. Dance the night away at a local club or simply relax and soak up the energetic ambiance. Hoi An offers a diverse nightlife scene catering to various tastes.", + "locationName": "Hoi An Bars and Clubs", + "duration": 3, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "vietnam", + "ref": "enjoy-the-nightlife", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_enjoy-the-nightlife.jpg" + }, + { + "name": "Kayak Through the Nipa Palm Forest", + "description": "Embark on a serene kayaking adventure through the enchanting Nipa Palm Forest. Glide along the tranquil waterways, surrounded by lush greenery and the gentle rustling of palm leaves. Observe local fishermen casting their nets and immerse yourself in the peaceful ambiance of this unique ecosystem.", + "locationName": "Cam Thanh Coconut Village", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "kayak-through-the-nipa-palm-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_kayak-through-the-nipa-palm-forest.jpg" + }, + { + "name": "Discover the Charm of Cam Kim Island", + "description": "Escape the bustling town and venture to Cam Kim Island, a hidden gem just a short ferry ride away. Explore the island's traditional villages, where skilled artisans craft intricate wood carvings and vibrant straw mats. Immerse yourself in the local culture, visit ancient pagodas, and enjoy the peaceful countryside scenery.", + "locationName": "Cam Kim Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "discover-the-charm-of-cam-kim-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_discover-the-charm-of-cam-kim-island.jpg" + }, + { + "name": "Unwind with a Spa Treatment", + "description": "Indulge in a rejuvenating spa experience and let your worries melt away. Hoi An offers a variety of spa treatments, from traditional Vietnamese massages to luxurious body scrubs and facials. Choose from a range of options to suit your needs and emerge feeling refreshed and revitalized.", + "locationName": "Various spas throughout Hoi An", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "vietnam", + "ref": "unwind-with-a-spa-treatment", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_unwind-with-a-spa-treatment.jpg" + }, + { + "name": "Try Your Hand at Basket Boat Riding", + "description": "Experience a unique and thrilling activity by riding a traditional Vietnamese basket boat. Learn how to maneuver these circular boats, used by local fishermen for centuries, and enjoy a fun-filled ride along the Thu Bon River. This is a great way to get a different perspective of the surrounding landscapes and immerse yourself in local culture.", + "locationName": "Thu Bon River", + "duration": 1, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "try-your-hand-at-basket-boat-riding", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_try-your-hand-at-basket-boat-riding.jpg" + }, + { + "name": "Catch a Water Puppet Show", + "description": "Immerse yourself in Vietnamese culture with a captivating water puppet show. Marvel at the intricate puppets as they dance and glide across the water, accompanied by traditional music and storytelling. This unique art form dates back centuries and offers a glimpse into Vietnam's rich cultural heritage.", + "locationName": "Hoi An Theater", + "duration": 1, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "catch-a-water-puppet-show", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_catch-a-water-puppet-show.jpg" + }, + { + "name": "Discover the Marble Mountains", + "description": "Embark on an adventure to the Marble Mountains, a cluster of five marble and limestone hills just south of Hoi An. Explore the natural caves, pagodas, and temples carved into the mountainsides, and enjoy breathtaking panoramic views of the surrounding countryside.", + "locationName": "Marble Mountains", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "discover-the-marble-mountains", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_discover-the-marble-mountains.jpg" + }, + { + "name": "Learn to Surf at An Bang Beach", + "description": "Catch some waves at An Bang Beach, a renowned surfing spot with consistent waves suitable for all levels. Enroll in a surf lesson with experienced instructors and experience the thrill of riding the waves.", + "locationName": "An Bang Beach", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "vietnam", + "ref": "learn-to-surf-at-an-bang-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_learn-to-surf-at-an-bang-beach.jpg" + }, + { + "name": "Visit the Tra Que Vegetable Village", + "description": "Immerse yourself in the local culture at Tra Que Vegetable Village, a charming village known for its organic farming practices. Learn about traditional farming methods, interact with local farmers, and enjoy a delicious farm-to-table meal.", + "locationName": "Tra Que Vegetable Village", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "visit-the-tra-que-vegetable-village", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_visit-the-tra-que-vegetable-village.jpg" + }, + { + "name": "Experience a Traditional Vietnamese Herbal Foot Bath", + "description": "Indulge in a relaxing and rejuvenating experience with a traditional Vietnamese herbal foot bath. Soak your feet in a warm bath infused with local herbs and essential oils, known for their therapeutic properties.", + "locationName": "Various spas and wellness centers", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "experience-a-traditional-vietnamese-herbal-foot-bath", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_experience-a-traditional-vietnamese-herbal-foot-bath.jpg" + }, + { + "name": "Go Birdwatching at the Bay Mau Coconut Forest", + "description": "Embark on a peaceful boat trip through the Bay Mau Coconut Forest, a unique ecosystem home to diverse bird species. Observe the vibrant avian life and immerse yourself in the tranquil beauty of the mangrove forest.", + "locationName": "Bay Mau Coconut Forest", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "vietnam", + "ref": "go-birdwatching-at-the-bay-mau-coconut-forest", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/vietnam_go-birdwatching-at-the-bay-mau-coconut-forest.jpg" + }, + { + "name": "Swim with Whale Sharks at Ningaloo Reef", + "description": "Embark on an unforgettable adventure at Ningaloo Reef, a UNESCO World Heritage Site, and swim alongside gentle giants – whale sharks! These magnificent creatures migrate along the coast of Western Australia between March and August, offering a once-in-a-lifetime experience for snorkelers and divers.", + "locationName": "Ningaloo Reef", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "western-australia", + "ref": "swim-with-whale-sharks-at-ningaloo-reef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_swim-with-whale-sharks-at-ningaloo-reef.jpg" + }, + { + "name": "Explore the Pinnacles Desert", + "description": "Discover the otherworldly landscapes of the Pinnacles Desert in Nambung National Park. Wander through thousands of limestone pillars rising from the golden sand dunes, formed over millions of years. Capture breathtaking photos and enjoy the unique beauty of this natural wonder.", + "locationName": "Nambung National Park", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "western-australia", + "ref": "explore-the-pinnacles-desert", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_explore-the-pinnacles-desert.jpg" + }, + { + "name": "Visit Rottnest Island", + "description": "Escape to Rottnest Island, a car-free paradise just a short ferry ride from Perth. Relax on pristine beaches, cycle around the island, and encounter the adorable quokkas, known as the happiest animals on Earth. Snorkel in crystal-clear waters, explore historic sites, or simply soak up the island vibes.", + "locationName": "Rottnest Island", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "western-australia", + "ref": "visit-rottnest-island", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_visit-rottnest-island.jpg" + }, + { + "name": "Discover the Margaret River Region", + "description": "Indulge in the renowned Margaret River region, famous for its world-class wineries, craft breweries, and gourmet food scene. Embark on a wine tasting tour, savor delicious local produce, and explore the stunning coastline with its dramatic cliffs, pristine beaches, and surf breaks.", + "locationName": "Margaret River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "western-australia", + "ref": "discover-the-margaret-river-region", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_discover-the-margaret-river-region.jpg" + }, + { + "name": "Venture into the Kimberley", + "description": "Embark on an epic adventure to the Kimberley, a remote and rugged region in the north of Western Australia. Discover ancient gorges, cascading waterfalls, Aboriginal rock art, and unique wildlife. Cruise through Horizontal Falls, hike in the Bungle Bungle Range, and experience the raw beauty of this untamed wilderness.", + "locationName": "Kimberley Region", + "duration": 5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "western-australia", + "ref": "venture-into-the-kimberley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_venture-into-the-kimberley.jpg" + }, + { + "name": "Hike the Bibbulmun Track", + "description": "Embark on an epic hiking adventure along the Bibbulmun Track, one of the world's longest and most renowned long-distance trails. Traverse diverse landscapes, from towering forests and coastal cliffs to rolling hills and tranquil valleys, while encountering unique flora and fauna along the way. Choose from various sections to suit your fitness level and time constraints, and immerse yourself in the natural beauty of Western Australia.", + "locationName": "Bibbulmun Track", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "western-australia", + "ref": "hike-the-bibbulmun-track", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_hike-the-bibbulmun-track.jpg" + }, + { + "name": "Stargaze in the Outback", + "description": "Escape the city lights and venture into the vast outback of Western Australia for an unforgettable stargazing experience. With minimal light pollution, the night sky comes alive with a breathtaking display of stars, constellations, and even the Milky Way. Join a guided astronomy tour or simply lie back and marvel at the celestial wonders above, feeling a sense of awe and wonder in the vastness of the universe.", + "locationName": "Outback Western Australia", + "duration": 4, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "western-australia", + "ref": "stargaze-in-the-outback", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_stargaze-in-the-outback.jpg" + }, + { + "name": "Visit the Monkey Mia Dolphins", + "description": "Experience the magic of interacting with wild dolphins at Monkey Mia, a renowned marine reserve located on the Shark Bay World Heritage Site. Witness these intelligent and playful creatures swim close to shore and participate in the daily feeding sessions, where you can learn about their behavior and conservation efforts. This unique and heartwarming experience is perfect for families and nature enthusiasts alike.", + "locationName": "Monkey Mia", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "western-australia", + "ref": "visit-the-monkey-mia-dolphins", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_visit-the-monkey-mia-dolphins.jpg" + }, + { + "name": "Learn to Surf at Margaret River", + "description": "Catch a wave and experience the thrill of surfing at Margaret River, a world-renowned surfing destination. With consistent swells, pristine beaches, and a laid-back atmosphere, it's the perfect place to learn or improve your surfing skills. Take a lesson from experienced instructors, rent a board, and ride the waves, enjoying the exhilaration and connection with the ocean.", + "locationName": "Margaret River", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": false, + "price": 3, + "destinationRef": "western-australia", + "ref": "learn-to-surf-at-margaret-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_learn-to-surf-at-margaret-river.jpg" + }, + { + "name": "Explore Fremantle's Historic Streets", + "description": "Step back in time and explore the charming port city of Fremantle, known for its rich maritime history and well-preserved architecture. Wander through the historic streets lined with heritage buildings, visit Fremantle Prison, a UNESCO World Heritage Site, and explore the bustling Fremantle Markets, offering local crafts, fresh produce, and unique souvenirs.", + "locationName": "Fremantle", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "western-australia", + "ref": "explore-fremantle-s-historic-streets", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_explore-fremantle-s-historic-streets.jpg" + }, + { + "name": "Kayak with Dolphins in Rockingham", + "description": "Embark on a thrilling kayaking adventure from Rockingham, just south of Perth, where you'll have the opportunity to paddle alongside playful dolphins in their natural habitat. Witness these intelligent creatures up close as they swim, leap, and interact with each other, creating an unforgettable wildlife encounter.", + "locationName": "Rockingham", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "western-australia", + "ref": "kayak-with-dolphins-in-rockingham", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_kayak-with-dolphins-in-rockingham.jpg" + }, + { + "name": "4WD Adventure in the Pilbara", + "description": "Embark on an exhilarating 4WD adventure through the rugged landscapes of the Pilbara region. Explore ancient gorges, towering rock formations, and hidden waterfalls, and discover the rich Aboriginal history and culture of the area.", + "locationName": "Pilbara", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "western-australia", + "ref": "4wd-adventure-in-the-pilbara", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_4wd-adventure-in-the-pilbara.jpg" + }, + { + "name": "Wine Tour in Swan Valley", + "description": "Indulge in a delightful wine tour through the picturesque Swan Valley, Western Australia's oldest wine region. Sample a variety of award-winning wines at charming boutique wineries, savor gourmet local produce, and enjoy the scenic beauty of the vineyards.", + "locationName": "Swan Valley", + "duration": 6, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "western-australia", + "ref": "wine-tour-in-swan-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_wine-tour-in-swan-valley.jpg" + }, + { + "name": "Treetop Walk in Walpole Nornalup National Park", + "description": "Experience a unique perspective of the towering tingle forests with a thrilling treetop walk in Walpole Nornalup National Park. Walk amongst the giants of the forest on a series of suspended walkways and bridges, offering breathtaking views of the canopy and the surrounding landscape.", + "locationName": "Walpole Nornalup National Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "western-australia", + "ref": "treetop-walk-in-walpole-nornalup-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_treetop-walk-in-walpole-nornalup-national-park.jpg" + }, + { + "name": "Catch a Sunset at Cable Beach", + "description": "Witness the magical spectacle of a Western Australian sunset at the iconic Cable Beach in Broome. Relax on the pristine white sand, watch the sun dip below the horizon, casting vibrant hues across the sky, and perhaps even enjoy a camel ride along the beach for a truly unforgettable experience.", + "locationName": "Cable Beach, Broome", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "western-australia", + "ref": "catch-a-sunset-at-cable-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_catch-a-sunset-at-cable-beach.jpg" + }, + { + "name": "Go on a wildlife cruise to spot humpback whales", + "description": "Embark on an unforgettable whale-watching cruise from Augusta or Dunsborough between June and December. Witness the majestic humpback whales as they migrate along the coast, breaching and playing in the pristine waters. This is a breathtaking experience for nature enthusiasts and families alike.", + "locationName": "Augusta or Dunsborough", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "western-australia", + "ref": "go-on-a-wildlife-cruise-to-spot-humpback-whales", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_go-on-a-wildlife-cruise-to-spot-humpback-whales.jpg" + }, + { + "name": "Explore the ancient landscapes of Karijini National Park", + "description": "Discover the rugged beauty of Karijini National Park, home to breathtaking gorges, cascading waterfalls, and ancient rock formations. Hike through the park's trails, take a refreshing dip in the natural pools, and marvel at the stunning scenery. This adventure is perfect for outdoor enthusiasts seeking a unique experience.", + "locationName": "Karijini National Park", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "western-australia", + "ref": "explore-the-ancient-landscapes-of-karijini-national-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_explore-the-ancient-landscapes-of-karijini-national-park.jpg" + }, + { + "name": "Visit the world's largest fringing reef, Ningaloo Reef", + "description": "Dive into the turquoise waters of Ningaloo Reef, the world's largest fringing reef, and encounter an abundance of marine life. Snorkel or scuba dive amongst colorful coral reefs, swim with manta rays, and witness the gentle giants of the ocean – whale sharks.", + "locationName": "Ningaloo Reef", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "western-australia", + "ref": "visit-the-world-s-largest-fringing-reef-ningaloo-reef", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_visit-the-world-s-largest-fringing-reef-ningaloo-reef.jpg" + }, + { + "name": "Delve into Aboriginal culture and history", + "description": "Immerse yourself in the rich culture and history of Australia's Aboriginal people through guided tours and experiences. Learn about their ancient traditions, connection to the land, and unique art forms. This is a meaningful and educational experience for travelers seeking a deeper understanding of Australia's heritage.", + "locationName": "Various locations across Western Australia", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "western-australia", + "ref": "delve-into-aboriginal-culture-and-history", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_delve-into-aboriginal-culture-and-history.jpg" + }, + { + "name": "Indulge in a gourmet food and wine experience", + "description": "Western Australia boasts a thriving food and wine scene. Embark on a culinary journey, sampling fresh local produce, award-winning wines, and craft beers. Visit renowned restaurants, charming cafes, and vibrant farmers' markets to savor the flavors of the region.", + "locationName": "Margaret River, Swan Valley, Perth", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "western-australia", + "ref": "indulge-in-a-gourmet-food-and-wine-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/western-australia_indulge-in-a-gourmet-food-and-wine-experience.jpg" + }, + { + "name": "Witness the Eruption of Old Faithful", + "description": "Experience the iconic eruption of Old Faithful, a world-renowned geyser that shoots boiling water high into the air at regular intervals. Witnessing this natural wonder is a must-do for any visitor to Yellowstone.", + "locationName": "Upper Geyser Basin", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "witness-the-eruption-of-old-faithful", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_witness-the-eruption-of-old-faithful.jpg" + }, + { + "name": "Wildlife Watching in Lamar Valley", + "description": "Embark on a wildlife safari in Lamar Valley, known as the 'Serengeti of North America.' Spot herds of bison, elk, and pronghorn, and with some luck, you might even see wolves, bears, or coyotes. Bring your binoculars and camera for an unforgettable experience.", + "locationName": "Lamar Valley", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "wildlife-watching-in-lamar-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_wildlife-watching-in-lamar-valley.jpg" + }, + { + "name": "Hike to the Grand Prismatic Spring", + "description": "Embark on a scenic hike to the Grand Prismatic Spring, the largest hot spring in the United States. Marvel at the vibrant colors of the spring, caused by thermophilic bacteria, and enjoy panoramic views of the surrounding geothermal landscape.", + "locationName": "Midway Geyser Basin", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "hike-to-the-grand-prismatic-spring", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_hike-to-the-grand-prismatic-spring.jpg" + }, + { + "name": "Explore the Mud Volcano Area", + "description": "Discover the fascinating geothermal features of the Mud Volcano Area, where bubbling mudpots and fumaroles create a unique and otherworldly landscape. Learn about the volcanic processes that shape this area and witness the power of nature up close.", + "locationName": "Mud Volcano Area", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "explore-the-mud-volcano-area", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_explore-the-mud-volcano-area.jpg" + }, + { + "name": "Take a Scenic Drive along the Grand Loop Road", + "description": "Embark on a scenic drive along the Grand Loop Road, a 142-mile route that circles the park and offers stunning views of mountains, lakes, geysers, and canyons. Stop at various viewpoints and visitor centers along the way to learn about the park's history and geology.", + "locationName": "Grand Loop Road", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "take-a-scenic-drive-along-the-grand-loop-road", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_take-a-scenic-drive-along-the-grand-loop-road.jpg" + }, + { + "name": "Go horseback riding through scenic trails", + "description": "Experience the beauty of Yellowstone National Park from a unique perspective on a guided horseback riding tour. Several outfitters offer various trail options, catering to different skill levels and interests. Whether you're a seasoned rider or a beginner, you'll enjoy traversing meadows, forests, and mountain vistas while immersing yourself in the park's serene landscapes. Keep an eye out for wildlife sightings along the way, making your horseback adventure even more memorable.", + "locationName": "Various locations within Yellowstone National Park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yellowstone-national-park", + "ref": "go-horseback-riding-through-scenic-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_go-horseback-riding-through-scenic-trails.jpg" + }, + { + "name": "Fly fishing in pristine rivers and streams", + "description": "Yellowstone National Park is a haven for fly fishing enthusiasts, boasting renowned rivers and streams teeming with trout. Cast your line in the crystal-clear waters of the Yellowstone River, the Madison River, or the Firehole River, surrounded by stunning natural beauty. Whether you're a seasoned angler or a novice, the park offers ample opportunities to test your skills and experience the thrill of catching wild trout.", + "locationName": "Yellowstone River, Madison River, Firehole River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "fly-fishing-in-pristine-rivers-and-streams", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_fly-fishing-in-pristine-rivers-and-streams.jpg" + }, + { + "name": "Camp under the stars in designated campgrounds", + "description": "Immerse yourself in the wilderness of Yellowstone National Park by camping under the starry night sky. The park offers numerous campgrounds, each providing a unique experience. Fall asleep to the sounds of nature and wake up to breathtaking views. Whether you prefer a developed campground with amenities or a more primitive backcountry site, camping in Yellowstone is an unforgettable way to connect with the natural world.", + "locationName": "Various campgrounds within Yellowstone National Park", + "duration": 12, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "camp-under-the-stars-in-designated-campgrounds", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_camp-under-the-stars-in-designated-campgrounds.jpg" + }, + { + "name": "Take a boat tour on Yellowstone Lake", + "description": "Embark on a scenic boat tour across the pristine waters of Yellowstone Lake, the largest high-altitude lake in North America. Enjoy breathtaking views of the surrounding mountains and forests while learning about the lake's history, geology, and ecology. Keep an eye out for wildlife such as eagles, ospreys, and waterfowl. Some tours even offer opportunities for fishing or swimming.", + "locationName": "Yellowstone Lake", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "take-a-boat-tour-on-yellowstone-lake", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_take-a-boat-tour-on-yellowstone-lake.jpg" + }, + { + "name": "Visit the historic Old Faithful Inn", + "description": "Step back in time at the iconic Old Faithful Inn, a National Historic Landmark renowned for its rustic architecture and grandeur. Explore the inn's unique features, including the massive stone fireplace, the handcrafted log furniture, and the impressive seven-story lobby. Take a guided tour to learn about the inn's history and construction, or simply relax and soak up the atmosphere of this architectural marvel.", + "locationName": "Old Faithful Inn", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "visit-the-historic-old-faithful-inn", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_visit-the-historic-old-faithful-inn.jpg" + }, + { + "name": "Go Whitewater Rafting on the Yellowstone River", + "description": "Experience the thrill of whitewater rafting on the Yellowstone River. Navigate through exhilarating rapids, surrounded by stunning canyon scenery and the possibility of spotting wildlife along the riverbanks. Several outfitters offer guided tours for various skill levels, ensuring a safe and unforgettable adventure.", + "locationName": "Yellowstone River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yellowstone-national-park", + "ref": "go-whitewater-rafting-on-the-yellowstone-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_go-whitewater-rafting-on-the-yellowstone-river.jpg" + }, + { + "name": "Visit the Grizzly & Wolf Discovery Center", + "description": "Get up close and personal with majestic grizzly bears and gray wolves at the Grizzly & Wolf Discovery Center in West Yellowstone. Learn about these fascinating creatures through educational exhibits and observe their behaviors in spacious enclosures. This experience offers a unique opportunity to understand and appreciate these iconic animals.", + "locationName": "Grizzly & Wolf Discovery Center", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "visit-the-grizzly-wolf-discovery-center", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_visit-the-grizzly-wolf-discovery-center.jpg" + }, + { + "name": "Stargazing in the World's First Dark Sky Park", + "description": "Escape the city lights and marvel at the breathtaking night sky in Yellowstone, designated as the world's first International Dark Sky Park. Join a ranger-led stargazing program or simply find a secluded spot to witness the Milky Way, constellations, and celestial wonders with exceptional clarity.", + "locationName": "Various locations throughout the park", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "stargazing-in-the-world-s-first-dark-sky-park", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_stargazing-in-the-world-s-first-dark-sky-park.jpg" + }, + { + "name": "Explore the Historic Fort Yellowstone", + "description": "Step back in time and explore the historic Fort Yellowstone, established in the late 19th century to protect the park. Visit the preserved buildings, including the former army barracks and officer's quarters, and learn about the early history of Yellowstone and the role of the U.S. Army in its conservation.", + "locationName": "Fort Yellowstone", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "explore-the-historic-fort-yellowstone", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_explore-the-historic-fort-yellowstone.jpg" + }, + { + "name": "Take a Dip in the Boiling River", + "description": "Experience a unique geothermal phenomenon at the Boiling River, where a hot spring flows into the Gardner River, creating a natural hot tub. Relax and soak in the warm waters while enjoying the surrounding scenery. Be sure to follow safety guidelines and check for closures before visiting.", + "locationName": "Boiling River", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "take-a-dip-in-the-boiling-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_take-a-dip-in-the-boiling-river.jpg" + }, + { + "name": "Snowshoeing or Cross-Country Skiing in Winter Wonderland", + "description": "Experience the magic of Yellowstone blanketed in snow with a peaceful snowshoeing or cross-country skiing adventure. Glide through serene meadows and snow-covered forests, surrounded by breathtaking winter scenery. Numerous trails cater to different skill levels, making it a perfect winter activity for families and individuals seeking tranquility in nature.", + "locationName": "Various trails throughout the park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "snowshoeing-or-cross-country-skiing-in-winter-wonderland", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_snowshoeing-or-cross-country-skiing-in-winter-wonderland.jpg" + }, + { + "name": "Photography Tour of Yellowstone's Hidden Gems", + "description": "Embark on a photography tour led by a local expert to capture the essence of Yellowstone's lesser-known wonders. Discover hidden waterfalls, secluded geothermal areas, and picturesque landscapes, while learning photography techniques to immortalize the park's beauty. This tour is ideal for photography enthusiasts and those seeking unique perspectives of Yellowstone.", + "locationName": "Various off-the-beaten-path locations", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yellowstone-national-park", + "ref": "photography-tour-of-yellowstone-s-hidden-gems", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_photography-tour-of-yellowstone-s-hidden-gems.jpg" + }, + { + "name": "Attend a Ranger-led Program", + "description": "Engage in a ranger-led program to delve deeper into Yellowstone's ecosystem, history, and geology. Park rangers offer a variety of informative and entertaining programs throughout the day, including guided walks, campfire talks, and evening presentations. These programs provide valuable insights and enhance your understanding of the park's natural and cultural significance.", + "locationName": "Visitor centers and various locations throughout the park", + "duration": 1, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "attend-a-ranger-led-program", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_attend-a-ranger-led-program.jpg" + }, + { + "name": "Visit the Museum of the National Park Ranger", + "description": "Explore the Museum of the National Park Ranger to discover the history and heritage of park rangers. Learn about their vital role in preserving national parks and the challenges they face. The museum offers exhibits, artifacts, and interactive displays, providing a unique perspective on the park ranger profession.", + "locationName": "Norris Geyser Basin", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yellowstone-national-park", + "ref": "visit-the-museum-of-the-national-park-ranger", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_visit-the-museum-of-the-national-park-ranger.jpg" + }, + { + "name": "Biking on Designated Trails", + "description": "Enjoy a scenic bike ride along Yellowstone's designated trails. Explore different areas of the park at your own pace, immersing yourself in the surrounding nature. Several trails offer stunning views and opportunities for wildlife sightings. Biking is a fantastic way to experience the park's vastness while getting some exercise.", + "locationName": "Various paved and unpaved trails throughout the park", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yellowstone-national-park", + "ref": "biking-on-designated-trails", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yellowstone-national-park_biking-on-designated-trails.jpg" + }, + { + "name": "Hiking to Yosemite Falls", + "description": "Embark on an unforgettable hike to the top of Yosemite Falls, North America's tallest waterfall. Witness breathtaking views of the valley and surrounding granite cliffs as you ascend through lush forests and rocky terrain.", + "locationName": "Yosemite Valley", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "yosemite-national-park", + "ref": "hiking-to-yosemite-falls", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_hiking-to-yosemite-falls.jpg" + }, + { + "name": "Stargazing in Glacier Point", + "description": "Experience the magic of Yosemite's night sky at Glacier Point. Away from city lights, marvel at the Milky Way and countless stars, creating a truly unforgettable celestial experience.", + "locationName": "Glacier Point", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": true, + "price": 1, + "destinationRef": "yosemite-national-park", + "ref": "stargazing-in-glacier-point", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_stargazing-in-glacier-point.jpg" + }, + { + "name": "Rock Climbing El Capitan", + "description": "Challenge yourself with a thrilling rock climbing adventure on El Capitan, one of the world's most iconic rock formations. With various routes for different skill levels, experience the adrenaline rush and stunning views from the top.", + "locationName": "El Capitan", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "yosemite-national-park", + "ref": "rock-climbing-el-capitan", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_rock-climbing-el-capitan.jpg" + }, + { + "name": "Exploring the Mariposa Grove of Giant Sequoias", + "description": "Wander among the majestic giants of Mariposa Grove, home to some of the world's largest and oldest living trees. Walk through the Grizzly Giant Loop Trail and witness the awe-inspiring size and beauty of these ancient sequoias.", + "locationName": "Mariposa Grove", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yosemite-national-park", + "ref": "exploring-the-mariposa-grove-of-giant-sequoias", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_exploring-the-mariposa-grove-of-giant-sequoias.jpg" + }, + { + "name": "Scenic Drive along Tioga Road", + "description": "Embark on a scenic drive along Tioga Road, offering breathtaking views of Yosemite's high country. Pass by alpine meadows, granite domes, and pristine lakes, stopping at lookout points to capture the stunning vistas.", + "locationName": "Tioga Road", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yosemite-national-park", + "ref": "scenic-drive-along-tioga-road", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_scenic-drive-along-tioga-road.jpg" + }, + { + "name": "Whitewater Rafting on the Merced River", + "description": "Experience the thrill of whitewater rafting on the Merced River, navigating through exhilarating rapids surrounded by the stunning scenery of Yosemite Valley. Several outfitters offer guided tours for various skill levels, making it an unforgettable adventure for families and thrill-seekers alike.", + "locationName": "Merced River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yosemite-national-park", + "ref": "whitewater-rafting-on-the-merced-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_whitewater-rafting-on-the-merced-river.jpg" + }, + { + "name": "Biking Through Yosemite Valley", + "description": "Rent a bike and explore the paved paths winding through Yosemite Valley, offering a leisurely way to soak in the breathtaking views of El Capitan, Half Dome, and Yosemite Falls. It's a fantastic option for families with children or those who prefer a more relaxed pace to experience the park's beauty.", + "locationName": "Yosemite Valley", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yosemite-national-park", + "ref": "biking-through-yosemite-valley", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_biking-through-yosemite-valley.jpg" + }, + { + "name": "Photography Tour of Yosemite's Icons", + "description": "Join a photography tour led by a local expert to capture the essence of Yosemite's iconic landmarks. Learn about composition, lighting, and techniques to create stunning images of Half Dome, El Capitan, Yosemite Falls, and the surrounding landscapes. This tour is perfect for photography enthusiasts of all levels.", + "locationName": "Various locations throughout Yosemite Valley", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "yosemite-national-park", + "ref": "photography-tour-of-yosemite-s-icons", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_photography-tour-of-yosemite-s-icons.jpg" + }, + { + "name": "Horseback Riding in the High Sierra", + "description": "Embark on a horseback riding adventure through the scenic trails of the High Sierra. Several stables offer guided tours, allowing you to explore the backcountry, meadows, and forests while enjoying the tranquility of nature and the company of these gentle animals.", + "locationName": "High Sierra Camps or Yosemite Valley stables", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "yosemite-national-park", + "ref": "horseback-riding-in-the-high-sierra", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_horseback-riding-in-the-high-sierra.jpg" + }, + { + "name": "Birdwatching in Yosemite's Diverse Habitats", + "description": "With over 260 bird species recorded in Yosemite, birdwatching is a rewarding activity for nature enthusiasts. Explore various habitats, from meadows and forests to rivers and cliffs, and spot a variety of birds, including Steller's jays, woodpeckers, and even bald eagles.", + "locationName": "Various locations throughout the park", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 1, + "destinationRef": "yosemite-national-park", + "ref": "birdwatching-in-yosemite-s-diverse-habitats", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_birdwatching-in-yosemite-s-diverse-habitats.jpg" + }, + { + "name": "Swimming in the Merced River", + "description": "Cool off with a refreshing dip in the Merced River! Several swimming holes are scattered throughout the park, offering stunning views and a chance to relax in nature. Popular spots include Sentinel Beach and Cathedral Beach. Remember to check the water conditions before swimming and be aware of potential currents.", + "locationName": "Merced River", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 1, + "destinationRef": "yosemite-national-park", + "ref": "swimming-in-the-merced-river", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_swimming-in-the-merced-river.jpg" + }, + { + "name": "Visiting the Yosemite Museum", + "description": "Delve into the rich history and culture of Yosemite Valley at the Yosemite Museum. Discover exhibits on the Ahwahneechee people, the park's geological formations, and the early pioneers who explored the area. Learn about the delicate balance of nature and the importance of conservation efforts.", + "locationName": "Yosemite Valley", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yosemite-national-park", + "ref": "visiting-the-yosemite-museum", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_visiting-the-yosemite-museum.jpg" + }, + { + "name": "Art Classes and Workshops", + "description": "Unleash your creativity amidst the inspiring landscapes of Yosemite! The park offers various art classes and workshops, including painting, photography, and sketching. Capture the beauty of your surroundings on canvas or learn new techniques from experienced instructors.", + "locationName": "Various locations throughout the park", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yosemite-national-park", + "ref": "art-classes-and-workshops", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_art-classes-and-workshops.jpg" + }, + { + "name": "Ranger-Led Programs", + "description": "Join knowledgeable park rangers for informative and engaging programs that delve deeper into Yosemite's wonders. Participate in guided nature walks, campfire talks, and evening presentations. Learn about the park's flora and fauna, its geological history, and ongoing conservation efforts.", + "locationName": "Various locations throughout the park", + "duration": 1.5, + "timeOfDay": "any", + "familyFriendly": true, + "price": 1, + "destinationRef": "yosemite-national-park", + "ref": "ranger-led-programs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_ranger-led-programs.jpg" + }, + { + "name": "Fine Dining at The Ahwahnee", + "description": "Indulge in a memorable dining experience at The Ahwahnee, a historic hotel renowned for its elegant ambiance and exquisite cuisine. Savor delicious meals prepared with fresh, local ingredients while enjoying breathtaking views of Yosemite Valley. Reservations are recommended.", + "locationName": "The Ahwahnee Hotel", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": false, + "price": 4, + "destinationRef": "yosemite-national-park", + "ref": "fine-dining-at-the-ahwahnee", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_fine-dining-at-the-ahwahnee.jpg" + }, + { + "name": "Backpacking in the Yosemite Wilderness", + "description": "Embark on a multi-day backpacking adventure into the heart of Yosemite's wilderness. Hike through pristine landscapes, camp under the stars, and experience the park's raw beauty far from the crowds. Choose from various trails like the John Muir Trail or the High Sierra Camps Loop, offering stunning views and a true escape into nature.", + "locationName": "Yosemite Wilderness", + "duration": 24, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yosemite-national-park", + "ref": "backpacking-in-the-yosemite-wilderness", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_backpacking-in-the-yosemite-wilderness.jpg" + }, + { + "name": "Fishing in Yosemite's Lakes and Streams", + "description": "Cast a line and enjoy a peaceful day of fishing in Yosemite's pristine lakes and streams. Mirror Lake, Tenaya Lake, and the Merced River offer opportunities to catch trout, bass, and other fish species. Obtain a California fishing license and savor the tranquility of nature while waiting for a bite.", + "locationName": "Mirror Lake, Tenaya Lake, Merced River", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yosemite-national-park", + "ref": "fishing-in-yosemite-s-lakes-and-streams", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_fishing-in-yosemite-s-lakes-and-streams.jpg" + }, + { + "name": "Winter Sports in Yosemite", + "description": "Experience the magic of Yosemite in winter with a variety of snow activities. Badger Pass Ski Area offers downhill skiing, snowboarding, and snow tubing for all skill levels. Cross-country skiing and snowshoeing trails wind through the park's winter wonderland, providing breathtaking views and a serene escape.", + "locationName": "Badger Pass Ski Area", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yosemite-national-park", + "ref": "winter-sports-in-yosemite", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_winter-sports-in-yosemite.jpg" + }, + { + "name": "Exploring Yosemite Valley by Bike", + "description": "Rent a bike and explore the wonders of Yosemite Valley on two wheels. Cycle along paved paths, enjoying iconic views of Half Dome, El Capitan, and Yosemite Falls. Stop at various points of interest, have a picnic by the Merced River, and experience the valley's beauty at your own pace.", + "locationName": "Yosemite Valley", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yosemite-national-park", + "ref": "exploring-yosemite-valley-by-bike", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_exploring-yosemite-valley-by-bike.jpg" + }, + { + "name": "Rock Climbing Lessons and Guided Climbs", + "description": "Challenge yourself with rock climbing in Yosemite, a world-renowned destination for this thrilling activity. Take lessons from experienced guides to learn the basics or join a guided climb to conquer iconic formations like El Capitan or Half Dome. Experience the adrenaline rush and breathtaking views from the top.", + "locationName": "El Capitan, Half Dome", + "duration": 8, + "timeOfDay": "any", + "familyFriendly": false, + "price": 4, + "destinationRef": "yosemite-national-park", + "ref": "rock-climbing-lessons-and-guided-climbs", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yosemite-national-park_rock-climbing-lessons-and-guided-climbs.jpg" + }, + { + "name": "Explore Chichen Itza", + "description": "Embark on a journey through time at Chichen Itza, the awe-inspiring ancient Mayan city. Marvel at the iconic El Castillo pyramid, the Great Ball Court, and the Temple of Warriors. Uncover the mysteries of Mayan astronomy at the observatory and immerse yourself in the rich history and culture of this UNESCO World Heritage Site.", + "locationName": "Chichen Itza", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "explore-chichen-itza", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_explore-chichen-itza.jpg" + }, + { + "name": "Dive into Cenotes", + "description": "Discover the hidden underwater world of the Yucatan Peninsula's cenotes. Snorkel or scuba dive in these natural sinkholes filled with crystal-clear freshwater, exploring stunning stalactites, stalagmites, and unique marine life. Dos Ojos Cenote and Gran Cenote offer unforgettable experiences for all levels of divers.", + "locationName": "Various Cenotes (Dos Ojos, Gran Cenote)", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "dive-into-cenotes", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_dive-into-cenotes.jpg" + }, + { + "name": "Relax on Tulum's Beaches", + "description": "Unwind on the pristine white sand beaches of Tulum, where turquoise waters meet ancient Mayan ruins. Soak up the sun, swim in the Caribbean Sea, and enjoy breathtaking views of the Tulum Archaeological Site perched on a clifftop. Explore nearby beach clubs and indulge in delicious local cuisine.", + "locationName": "Tulum Beaches", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "relax-on-tulum-s-beaches", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_relax-on-tulum-s-beaches.jpg" + }, + { + "name": "Swim with Whale Sharks", + "description": "Embark on an unforgettable adventure swimming alongside gentle giants, the whale sharks. From May to September, these magnificent creatures gather off the coast of Isla Mujeres and Holbox. Join a responsible tour and experience the thrill of snorkeling or diving near these majestic animals in their natural habitat.", + "locationName": "Isla Mujeres or Holbox", + "duration": 6, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "yucatan-peninsula", + "ref": "swim-with-whale-sharks", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_swim-with-whale-sharks.jpg" + }, + { + "name": "Explore Valladolid", + "description": "Step back in time in the charming colonial city of Valladolid. Stroll through its colorful streets, admire the historic architecture, and visit the Convent of San Bernardino of Siena. Discover the vibrant local culture at the Mercado Municipal, where you can find handcrafted souvenirs and delicious Yucatecan cuisine.", + "locationName": "Valladolid", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "explore-valladolid", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_explore-valladolid.jpg" + }, + { + "name": "Kayaking through Sian Ka'an Biosphere Reserve", + "description": "Embark on a serene kayaking adventure through the Sian Ka'an Biosphere Reserve, a UNESCO World Heritage Site. Paddle through mangrove forests, spot diverse wildlife like dolphins, turtles, and exotic birds, and immerse yourself in the natural beauty of this protected ecosystem. Choose from guided tours or rent kayaks for a self-guided exploration.", + "locationName": "Sian Ka'an Biosphere Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "kayaking-through-sian-ka-an-biosphere-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_kayaking-through-sian-ka-an-biosphere-reserve.jpg" + }, + { + "name": "Visit the Yellow City of Izamal", + "description": "Step into a world of vibrant yellow hues in the charming colonial town of Izamal. Explore the Convent of San Antonio de Padua, a historic monastery with a vast atrium, and climb the Kinich Kak Moo pyramid for panoramic views. Discover local artisan shops, indulge in Yucatecan cuisine, and experience the tranquil atmosphere of this unique town.", + "locationName": "Izamal", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "visit-the-yellow-city-of-izamal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_visit-the-yellow-city-of-izamal.jpg" + }, + { + "name": "Sample Tequila and Mezcal at a Hacienda", + "description": "Delve into the world of Mexican spirits with a tequila and mezcal tasting at a traditional hacienda. Learn about the production process, discover the distinct flavors of different varieties, and savor the unique aromas. Many haciendas offer tours that showcase the history and culture of the region, providing a glimpse into the Yucatan's past.", + "locationName": "Various haciendas throughout Yucatan", + "duration": 2, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "sample-tequila-and-mezcal-at-a-hacienda", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_sample-tequila-and-mezcal-at-a-hacienda.jpg" + }, + { + "name": "Take a Cooking Class and Learn Yucatecan Cuisine", + "description": "Unleash your inner chef and learn the secrets of Yucatecan cuisine with a hands-on cooking class. Master traditional dishes like cochinita pibil, sopa de lima, and panuchos, using fresh local ingredients. Immerse yourself in the flavors and techniques of this unique culinary tradition, and take home newfound skills to recreate the magic in your own kitchen.", + "locationName": "Various cooking schools and restaurants in Yucatan", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "yucatan-peninsula", + "ref": "take-a-cooking-class-and-learn-yucatecan-cuisine", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_take-a-cooking-class-and-learn-yucatecan-cuisine.jpg" + }, + { + "name": "Go Birdwatching in Celestun Biosphere Reserve", + "description": "Embark on a birdwatching adventure in the Celestun Biosphere Reserve, home to a diverse array of avian species. Observe pink flamingos in their natural habitat, spot herons, pelicans, and other migratory birds. Take a boat tour through the mangroves or explore the reserve's walking trails for an unforgettable experience.", + "locationName": "Celestun Biosphere Reserve", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "go-birdwatching-in-celestun-biosphere-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_go-birdwatching-in-celestun-biosphere-reserve.jpg" + }, + { + "name": "Sunset Sail in the Caribbean Sea", + "description": "Embark on a magical sunset cruise along the turquoise waters of the Caribbean Sea. As the sun dips below the horizon, casting hues of orange and pink across the sky, enjoy breathtaking views of the coastline and the gentle rocking of the boat. Savor delicious cocktails and snacks while keeping an eye out for playful dolphins or sea turtles that might grace you with their presence. This romantic and relaxing experience is perfect for couples or anyone seeking a moment of tranquility.", + "locationName": "Caribbean Sea", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "sunset-sail-in-the-caribbean-sea", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_sunset-sail-in-the-caribbean-sea.jpg" + }, + { + "name": "Explore the Pink Lakes of Las Coloradas", + "description": "Venture to the unique pink lakes of Las Coloradas, a natural wonder that will leave you awestruck. These vibrant pink waters get their color from salt-loving microorganisms and create a surreal landscape, perfect for capturing stunning photos. Learn about the salt production process at the nearby salt factory and take a dip in the refreshing waters for a truly unforgettable experience. ", + "locationName": "Las Coloradas", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "explore-the-pink-lakes-of-las-coloradas", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_explore-the-pink-lakes-of-las-coloradas.jpg" + }, + { + "name": "Discover Ek Balam and Rappel into a Cenote", + "description": "Combine history and adventure with a visit to the ancient Mayan city of Ek Balam. Climb the Acropolis pyramid for panoramic views of the surrounding jungle, and then descend into the depths of a cenote by rappelling down its limestone walls. This thrilling experience allows you to explore the hidden world of these natural sinkholes and cool off in their refreshing waters. ", + "locationName": "Ek Balam", + "duration": 5, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "discover-ek-balam-and-rappel-into-a-cenote", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_discover-ek-balam-and-rappel-into-a-cenote.jpg" + }, + { + "name": "Shop for Handicrafts in Merida's Markets", + "description": "Immerse yourself in the vibrant culture of Merida by exploring its bustling markets. Discover unique handcrafted souvenirs, including textiles, ceramics, and jewelry, all made by local artisans. Wander through the Mercado Lucas de Galvez, the largest market in the city, and soak up the lively atmosphere. This is a great opportunity to find authentic treasures and support the local economy.", + "locationName": "Merida", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "shop-for-handicrafts-in-merida-s-markets", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_shop-for-handicrafts-in-merida-s-markets.jpg" + }, + { + "name": "Horseback Riding through the Jungle", + "description": "Embark on an adventurous horseback riding tour through the lush Yucatan jungle. Follow scenic trails, passing by ancient Mayan ruins and hidden cenotes, and admire the diverse flora and fauna. This is a unique way to experience the natural beauty of the region and create lasting memories. Whether you're an experienced rider or a beginner, this activity offers a thrilling and unforgettable adventure.", + "locationName": "Yucatan Jungle", + "duration": 2, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "horseback-riding-through-the-jungle", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_horseback-riding-through-the-jungle.jpg" + }, + { + "name": "Uncover the Secrets of Coba", + "description": "Embark on a journey to Coba, an ancient Mayan city nestled deep in the jungle. Climb Nohoch Mul, the tallest pyramid in the Yucatan, and enjoy breathtaking panoramic views of the surrounding rainforest. Explore the ancient ball court, temples, and sacbes (white roads) that once connected this bustling city. Rent a bike or hire a bicitaxi to navigate the vast archaeological site and truly immerse yourself in the Mayan world.", + "locationName": "Coba", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "uncover-the-secrets-of-coba", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_uncover-the-secrets-of-coba.jpg" + }, + { + "name": "Take a Salsa Dancing Class", + "description": "Immerse yourself in the vibrant nightlife of the Yucatan Peninsula by taking a salsa dancing class. Learn the basic steps and rhythms of this energetic Latin dance, and then hit the dance floor to practice your newfound skills. Many bars and clubs offer salsa nights, providing the perfect opportunity to show off your moves and mingle with locals.", + "locationName": "Merida or Playa del Carmen", + "duration": 2, + "timeOfDay": "night", + "familyFriendly": false, + "price": 2, + "destinationRef": "yucatan-peninsula", + "ref": "take-a-salsa-dancing-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_take-a-salsa-dancing-class.jpg" + }, + { + "name": "Indulge in a Temazcal Ceremony", + "description": "Experience a traditional Mayan temazcal ceremony, a purifying ritual that combines heat, steam, and medicinal herbs. Enter a dome-shaped sweat lodge led by a shaman and participate in chanting, meditation, and cleansing rituals. This unique cultural experience is believed to promote physical and spiritual well-being.", + "locationName": "Various locations throughout the Yucatan", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "indulge-in-a-temazcal-ceremony", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_indulge-in-a-temazcal-ceremony.jpg" + }, + { + "name": "Go Spelunking in Rio Secreto", + "description": "Embark on an unforgettable underground adventure at Rio Secreto, a stunning network of underground rivers and caves. Swim and wade through crystal-clear waters, marvel at dramatic stalactites and stalagmites, and learn about the geological history of the region. This unique experience offers a glimpse into the hidden world beneath the Yucatan's surface.", + "locationName": "Rio Secreto", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 4, + "destinationRef": "yucatan-peninsula", + "ref": "go-spelunking-in-rio-secreto", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_go-spelunking-in-rio-secreto.jpg" + }, + { + "name": "Explore the Ruins of Uxmal", + "description": "Journey back in time at Uxmal, another impressive Mayan archaeological site renowned for its Puuc architectural style. Admire the intricate carvings on the Pyramid of the Magician, the Governor's Palace, and the Nunnery Quadrangle. Learn about the fascinating history and mythology of the Mayan civilization as you explore this UNESCO World Heritage Site.", + "locationName": "Uxmal", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "yucatan-peninsula", + "ref": "explore-the-ruins-of-uxmal", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/yucatan-peninsula_explore-the-ruins-of-uxmal.jpg" + }, + { + "name": "Stone Town Exploration", + "description": "Embark on a captivating journey through the labyrinthine streets of Stone Town, a UNESCO World Heritage site. Discover its rich history, architectural marvels like the House of Wonders and the Old Fort, and vibrant cultural tapestry. Get lost in the bustling bazaars, savor aromatic spices, and immerse yourself in the unique blend of African, Arab, and European influences.", + "locationName": "Stone Town", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "stone-town-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_stone-town-exploration.jpg" + }, + { + "name": "Spice Tour Adventure", + "description": "Unleash your inner spice enthusiast with a fragrant spice tour. Explore lush spice plantations, learn about the cultivation of cloves, nutmeg, cinnamon, and other exotic spices, and indulge in the tantalizing aromas and flavors. Discover the medicinal and culinary uses of these spices, and experience the island's rich agricultural heritage.", + "locationName": "Spice Plantations", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "spice-tour-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_spice-tour-adventure.jpg" + }, + { + "name": "Underwater Wonders: Scuba Diving or Snorkeling", + "description": "Dive into the vibrant underwater world surrounding Zanzibar. Explore coral reefs teeming with marine life, encounter colorful fish, graceful sea turtles, and perhaps even dolphins. Whether you choose scuba diving or snorkeling, prepare to be amazed by the beauty and biodiversity of the Indian Ocean.", + "locationName": "Mnemba Atoll or other diving/snorkeling sites", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": false, + "price": 3, + "destinationRef": "zanzibar", + "ref": "underwater-wonders-scuba-diving-or-snorkeling", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_underwater-wonders-scuba-diving-or-snorkeling.jpg" + }, + { + "name": "Prison Island Escape", + "description": "Take a short boat trip to Prison Island, also known as Changuu Island. Discover the island's intriguing history as a former quarantine station and prison, and encounter the resident giant tortoises. Relax on pristine beaches, swim in crystal-clear waters, and enjoy a peaceful escape from the mainland.", + "locationName": "Prison Island", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "prison-island-escape", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_prison-island-escape.jpg" + }, + { + "name": "Sunset Dhow Cruise", + "description": "Sail into the golden sunset aboard a traditional dhow, a wooden sailboat. As you glide along the tranquil waters, soak up the breathtaking views of the coastline, enjoy the gentle sea breeze, and witness the magical colors of the sky. Indulge in a delicious seafood dinner on board and create unforgettable memories.", + "locationName": "Zanzibar Coast", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 3, + "destinationRef": "zanzibar", + "ref": "sunset-dhow-cruise", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_sunset-dhow-cruise.jpg" + }, + { + "name": "Jozani Forest Exploration", + "description": "Embark on a journey into the heart of Zanzibar's Jozani Forest, a haven of biodiversity and home to the rare and endemic red colobus monkey. Hike through the lush mangrove swamps and witness these playful primates swinging through the trees. Keep an eye out for other fascinating creatures like bushbabies, duikers, and various bird species. This is a perfect adventure for nature enthusiasts and wildlife watchers.", + "locationName": "Jozani Chwaka Bay National Park", + "duration": 3, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "jozani-forest-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_jozani-forest-exploration.jpg" + }, + { + "name": "Kitesurfing in Paje", + "description": "Experience the thrill of kitesurfing in Paje, a renowned destination for watersports enthusiasts. With consistent winds, shallow turquoise waters, and a vibrant kitesurfing community, Paje offers ideal conditions for both beginners and experienced riders. Take lessons, rent equipment, and soar across the Indian Ocean, enjoying the adrenaline rush and breathtaking coastal views.", + "locationName": "Paje Beach", + "duration": 4, + "timeOfDay": "afternoon", + "familyFriendly": false, + "price": 3, + "destinationRef": "zanzibar", + "ref": "kitesurfing-in-paje", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_kitesurfing-in-paje.jpg" + }, + { + "name": "Forodhani Gardens Food Market", + "description": "Immerse yourself in the vibrant atmosphere of Forodhani Gardens, a bustling food market that comes alive each evening. Sample a diverse array of local Zanzibari street food, from fresh seafood and grilled meats to aromatic curries and tropical fruits. Enjoy the lively ambiance, mingle with locals, and savor the authentic flavors of Zanzibar under the starry sky.", + "locationName": "Forodhani Gardens", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "zanzibar", + "ref": "forodhani-gardens-food-market", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_forodhani-gardens-food-market.jpg" + }, + { + "name": "Spice Farm Tour and Cooking Class", + "description": "Delve into the world of spices on a captivating tour of a local spice farm. Discover the history and cultivation of Zanzibar's renowned spices, such as cloves, nutmeg, and cinnamon. Engage your senses with the vibrant colors and aromas, and then participate in a hands-on cooking class, learning to prepare traditional Zanzibari dishes infused with these aromatic spices. ", + "locationName": "Zanzibar Spice Farms", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "spice-farm-tour-and-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_spice-farm-tour-and-cooking-class.jpg" + }, + { + "name": "Dhow Sailing and Island Hopping", + "description": "Embark on a traditional dhow sailing adventure, exploring the surrounding islands and hidden coves. Sail across the turquoise waters, snorkel in pristine coral reefs, and discover secluded beaches. Visit nearby islands like Mnemba Atoll or Chumbe Island, known for their abundant marine life and untouched natural beauty. Enjoy a leisurely day of sailing, swimming, and soaking up the sun.", + "locationName": "Zanzibar Archipelago", + "duration": 6, + "timeOfDay": "any", + "familyFriendly": true, + "price": 3, + "destinationRef": "zanzibar", + "ref": "dhow-sailing-and-island-hopping", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_dhow-sailing-and-island-hopping.jpg" + }, + { + "name": "Safari Blue Adventure", + "description": "Embark on a full-day sailing excursion to explore the Menai Bay Conservation Area. Swim with dolphins, snorkel amidst vibrant coral reefs, indulge in a seafood feast on a sandbank, and experience the magic of Zanzibar's turquoise waters.", + "locationName": "Menai Bay Conservation Area", + "duration": 8, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 4, + "destinationRef": "zanzibar", + "ref": "safari-blue-adventure", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_safari-blue-adventure.jpg" + }, + { + "name": "The Rock Restaurant Experience", + "description": "Dine at the iconic The Rock Restaurant, perched on a rock formation in the Indian Ocean. Savor delicious seafood and local cuisine while enjoying breathtaking panoramic views of the ocean.", + "locationName": "Michamvi Pingwe", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 4, + "destinationRef": "zanzibar", + "ref": "the-rock-restaurant-experience", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_the-rock-restaurant-experience.jpg" + }, + { + "name": "Mtoni Palace Ruins Exploration", + "description": "Step back in time and explore the haunting ruins of Mtoni Palace, once a majestic residence of Zanzibar's sultans. Discover the palace's history and architectural beauty, and imagine the opulent lifestyle of its former inhabitants.", + "locationName": "Mtoni", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "mtoni-palace-ruins-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_mtoni-palace-ruins-exploration.jpg" + }, + { + "name": "Kendwa Rocks Beach Party", + "description": "Experience Zanzibar's vibrant nightlife at Kendwa Rocks, a renowned beach bar and party hotspot. Dance the night away to live music, DJs, and enjoy the energetic atmosphere under the stars.", + "locationName": "Kendwa", + "duration": 5, + "timeOfDay": "night", + "familyFriendly": false, + "price": 3, + "destinationRef": "zanzibar", + "ref": "kendwa-rocks-beach-party", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_kendwa-rocks-beach-party.jpg" + }, + { + "name": "Zanzibar Butterfly Centre", + "description": "Immerse yourself in the enchanting world of butterflies at the Zanzibar Butterfly Centre. Witness a kaleidoscope of colors as you walk through the enclosed tropical garden and learn about the life cycle of these fascinating creatures.", + "locationName": "Pete", + "duration": 2, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "zanzibar-butterfly-centre", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_zanzibar-butterfly-centre.jpg" + }, + { + "name": "Dolphin Encounter in Kizimkazi", + "description": "Embark on a magical boat trip to Kizimkazi, a fishing village known for its resident population of dolphins. Watch these playful creatures in their natural habitat, and if you're lucky, you might even get the chance to swim alongside them. This experience is perfect for nature lovers and families with children.", + "locationName": "Kizimkazi", + "duration": 4, + "timeOfDay": "morning", + "familyFriendly": true, + "price": 3, + "destinationRef": "zanzibar", + "ref": "dolphin-encounter-in-kizimkazi", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_dolphin-encounter-in-kizimkazi.jpg" + }, + { + "name": "Mangrove Kayaking in Mtoni Marine Reserve", + "description": "Explore the serene beauty of the Mtoni Marine Reserve on a kayak adventure through the mangrove forests. Paddle through the calm waters, observe the diverse ecosystem, and learn about the importance of mangrove conservation. This activity is suitable for all ages and fitness levels, offering a unique perspective of Zanzibar's natural landscape.", + "locationName": "Mtoni Marine Reserve", + "duration": 3, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "mangrove-kayaking-in-mtoni-marine-reserve", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_mangrove-kayaking-in-mtoni-marine-reserve.jpg" + }, + { + "name": "Sunset at Nungwi Beach", + "description": "Experience the breathtaking beauty of a Zanzibar sunset at Nungwi Beach. Relax on the soft sand, sip on a refreshing cocktail, and watch as the sky transforms into a canvas of vibrant colors. Nungwi Beach offers a lively atmosphere with beach bars and restaurants, making it a perfect spot for a romantic evening or a fun night out with friends.", + "locationName": "Nungwi Beach", + "duration": 2, + "timeOfDay": "evening", + "familyFriendly": true, + "price": 1, + "destinationRef": "zanzibar", + "ref": "sunset-at-nungwi-beach", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_sunset-at-nungwi-beach.jpg" + }, + { + "name": "Authentic Swahili Cooking Class", + "description": "Immerse yourself in the local culture with a hands-on Swahili cooking class. Learn the secrets of traditional Zanzibari cuisine, using fresh, local ingredients and aromatic spices. Prepare and savor delicious dishes like pilau rice, coconut bean stew, and grilled seafood. This is a fantastic way to experience the culinary heritage of Zanzibar.", + "locationName": "Various locations", + "duration": 3, + "timeOfDay": "afternoon", + "familyFriendly": true, + "price": 3, + "destinationRef": "zanzibar", + "ref": "authentic-swahili-cooking-class", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_authentic-swahili-cooking-class.jpg" + }, + { + "name": "Jambiani Village and Kuza Cave Exploration", + "description": "Discover the authentic village life of Jambiani, known for its seaweed farming and traditional fishing practices. Interact with the friendly locals, learn about their culture, and explore the Kuza Cave, a natural wonder with crystal-clear water perfect for a refreshing swim. This off-the-beaten-path experience offers a glimpse into the heart of Zanzibar.", + "locationName": "Jambiani Village", + "duration": 4, + "timeOfDay": "any", + "familyFriendly": true, + "price": 2, + "destinationRef": "zanzibar", + "ref": "jambiani-village-and-kuza-cave-exploration", + "imageUrl": "https://storage.googleapis.com/tripedia-images/activities/zanzibar_jambiani-village-and-kuza-cave-exploration.jpg" + } +] diff --git a/compass_app/app/assets/destinations.json b/compass_app/app/assets/destinations.json new file mode 100644 index 000000000..be1f233c5 --- /dev/null +++ b/compass_app/app/assets/destinations.json @@ -0,0 +1,1235 @@ +[ + { + "ref": "alaska", + "name": "Alaska", + "country": "United States", + "continent": "North America", + "knownFor": "Alaska is a haven for outdoor enthusiasts and nature lovers. Visitors can experience glaciers, mountains, and wildlife, making it ideal for hiking, kayaking, and wildlife viewing. Alaska also offers a unique cultural experience with its rich Native American heritage and frontier spirit.", + "tags": ["Mountain", "Off-the-beaten-path", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg" + }, + { + "ref": "amalfi-coast", + "name": "Amalfi Coast", + "country": "Italy", + "continent": "Europe", + "knownFor": "Experience the breathtaking beauty of the Amalfi Coast, with its dramatic cliffs, colorful villages, and turquoise waters. Indulge in delicious Italian cuisine, explore charming towns like Positano and Amalfi, and soak up the sun on picturesque beaches.", + "tags": ["Beach", "Romantic", "Foodie"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/amalfi-coast.jpg" + }, + { + "ref": "amazon-rainforest", + "name": "Amazon Rainforest", + "country": "Brazil", + "continent": "South America", + "knownFor": "Immerse yourself in the biodiversity of the world's largest rainforest. Embark on jungle treks, spot exotic wildlife, and discover indigenous cultures. Take a boat trip down the Amazon River, explore the canopy on a zipline, and experience the unique ecosystem.", + "tags": ["Jungle", "Wildlife watching", "Adventure sports"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/amazon-rainforest.jpg" + }, + { + "ref": "andes-mountains", + "name": "The Andes Mountains", + "country": "South America", + "continent": "South America", + "knownFor": "The Andes Mountains, stretching along the western coast of South America, offer diverse landscapes and experiences. Visitors can trek to Machu Picchu in Peru, explore the salt flats of Salar de Uyuni in Bolivia, or visit the glaciers of Patagonia. The Andes also provide opportunities for skiing, mountaineering, and cultural encounters with indigenous communities.", + "tags": ["Mountain", "Hiking", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/andes-mountains.jpg" + }, + { + "ref": "angkor-wat", + "name": "Angkor Wat", + "country": "Cambodia", + "continent": "Asia", + "knownFor": "Angkor Wat, a vast temple complex in Cambodia, is the largest religious monument in the world and a UNESCO World Heritage site. Visitors can explore the intricate carvings, towering spires, and vast courtyards, marveling at the architectural grandeur and rich history of the Khmer Empire.", + "tags": ["Historic", "Cultural experiences", "Sightseeing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/angkor-wat.jpg" + }, + { + "ref": "antelope-canyon", + "name": "Antelope Canyon", + "country": "United States", + "continent": "North America", + "knownFor": "Experience the awe-inspiring beauty of Antelope Canyon, a slot canyon renowned for its flowing sandstone formations and mesmerizing light beams. Embark on guided tours to navigate the narrow passageways and capture stunning photographs. Learn about the Navajo Nation's history and culture, as the canyon is located on their land.", + "tags": ["Off-the-beaten-path", "Hiking", "Sightseeing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/antelope-canyon.jpg" + }, + { + "ref": "aruba", + "name": "Aruba", + "country": "Aruba", + "continent": "South America", + "knownFor": "Indulge in the beauty of Aruba, a Caribbean paradise known for its pristine beaches, turquoise waters, and year-round sunshine. Relax on the white sands of Eagle Beach, explore the vibrant capital of Oranjestad, and discover hidden coves and natural wonders. Aruba offers a perfect escape for beach lovers and water sports enthusiasts.", + "tags": ["Beach", "Island", "Scuba diving"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/aruba.jpg" + }, + { + "ref": "asheville", + "name": "Asheville", + "country": "USA", + "continent": "North America", + "knownFor": "Asheville, nestled in the Blue Ridge Mountains of North Carolina, is a vibrant city known for its arts scene, craft breweries, and outdoor activities. Visitors can explore the historic Biltmore Estate, hike in the surrounding mountains, sample local beers, and enjoy the city's eclectic shops and restaurants.", + "tags": ["City", "Hiking", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/asheville.jpg" + }, + { + "ref": "azores", + "name": "Azores", + "country": "Portugal", + "continent": "Europe", + "knownFor": "This archipelago in the mid-Atlantic boasts stunning volcanic landscapes, lush green hills, and dramatic coastlines. Hike to crater lakes, soak in natural hot springs, or go whale watching in the surrounding waters. With its relaxed atmosphere and unique culture, the Azores is a perfect destination for nature lovers and adventurers seeking an off-the-beaten-path experience.", + "tags": ["Island", "Off-the-beaten-path", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/azores.jpg" + }, + { + "ref": "bali", + "name": "Bali", + "country": "Indonesia", + "continent": "Asia", + "knownFor": "Discover the cultural heart of Indonesia on the island of Bali. Explore ancient temples, experience vibrant Hindu traditions, and relax on beautiful beaches. Practice yoga and meditation, indulge in spa treatments, and enjoy the island's lush natural beauty.", + "tags": ["Island", "Cultural experiences", "Wellness retreats"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/bali.jpg" + }, + { + "ref": "banff-national-park", + "name": "Banff National Park", + "country": "Canada", + "continent": "North America", + "knownFor": "Nestled in the Canadian Rockies, Banff National Park offers stunning mountain scenery, turquoise lakes, and abundant wildlife. Hike to Lake Louise, explore Johnston Canyon, and enjoy outdoor activities year-round.", + "tags": ["Mountain", "Hiking", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/banff-national-park.jpg" + }, + { + "ref": "belize", + "name": "Belize", + "country": "Belize", + "continent": "North America", + "knownFor": "Embark on an unforgettable adventure in Belize, a Central American gem boasting lush rainforests, ancient Maya ruins, and the world's second-largest barrier reef. Explore the mysteries of Caracol and Xunantunich, dive into the Great Blue Hole, and discover diverse marine life. Belize offers a unique blend of cultural exploration and eco-tourism.", + "tags": ["Jungle", "Historic", "Scuba diving"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/belize.jpg" + }, + { + "ref": "bhutan", + "name": "Bhutan", + "country": "Bhutan", + "continent": "Asia", + "knownFor": "Discover the mystical kingdom of Bhutan, nestled in the Himalayas. Explore ancient monasteries, hike through pristine valleys, and experience the unique culture and traditions. Immerse yourself in the spiritual atmosphere and embrace the concept of Gross National Happiness.", + "tags": ["Mountain", "Cultural experiences", "Off-the-beaten-path"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/bhutan.jpg" + }, + { + "ref": "big-island-hawaii", + "name": "Big Island", + "country": "United States", + "continent": "North America", + "knownFor": "The Big Island of Hawaii offers diverse landscapes, from volcanic craters and black sand beaches to lush rainforests and snow-capped mountains. Visitors can witness the fiery glow of Kilauea volcano, snorkel with manta rays, and stargaze atop Mauna Kea.", + "tags": ["Island", "Hiking", "Snorkeling"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/big-island-hawaii.jpg" + }, + { + "ref": "big-sur", + "name": "Big Sur", + "country": "United States", + "continent": "North America", + "knownFor": "Experience the breathtaking beauty of California's rugged coastline along Big Sur. Drive the iconic Pacific Coast Highway, stopping at dramatic cliffs, hidden coves, and redwood forests. Enjoy hiking, camping, or simply soaking up the awe-inspiring views of this natural wonderland.", + "tags": ["Road trip destination", "Secluded", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/big-sur.jpg" + }, + { + "ref": "bora-bora", + "name": "Bora Bora", + "country": "French Polynesia", + "continent": "Oceania", + "knownFor": "Bora Bora is synonymous with luxury and tranquility. Overwater bungalows perched above turquoise lagoons offer a unique and indulgent experience. Visitors can enjoy snorkeling, diving, and swimming amidst vibrant coral reefs and diverse marine life. The island's lush interior provides opportunities for hiking and exploring, while Polynesian culture adds a touch of exotic charm.", + "tags": ["Island", "Luxury", "Secluded"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/bora-bora.jpg" + }, + { + "ref": "botswana", + "name": "Okavango Delta", + "country": "Botswana", + "continent": "Africa", + "knownFor": "The Okavango Delta, a unique inland delta in Botswana, is a haven for wildlife enthusiasts. Visitors can embark on safari adventures, encountering elephants, lions, hippos, and a diverse array of birds. The delta's waterways offer opportunities for mokoro (canoe) excursions and boat tours, providing a close-up view of the abundant wildlife and stunning landscapes.", + "tags": ["Wildlife watching", "Adventure sports", "Luxury"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/botswana.jpg" + }, + { + "ref": "bruges", + "name": "Bruges", + "country": "Belgium", + "continent": "Europe", + "knownFor": "Step back in time in this charming medieval city with its cobblestone streets, canals, and well-preserved architecture. Explore the historic Markt square, indulge in delicious Belgian chocolate and beer, or take a boat tour through the canals. Bruges offers a romantic and picturesque escape for history buffs and those seeking a quintessential European experience.", + "tags": ["City", "Historic", "Romantic"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/bruges.jpg" + }, + { + "ref": "brunei", + "name": "Brunei", + "country": "Brunei", + "continent": "Asia", + "knownFor": "This small sultanate on the island of Borneo offers a fascinating blend of culture and nature. Visitors can explore the opulent Sultan Omar Ali Saifuddin Mosque, delve into the lush rainforests, and discover the unique water village of Kampong Ayer.", + "tags": ["Secluded", "Cultural experiences", "Island"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/brunei.jpg" + }, + { + "ref": "budapest", + "name": "Budapest", + "country": "Hungary", + "continent": "Europe", + "knownFor": "Discover the charm of Budapest, a historic city divided by the Danube River. Explore Buda's Castle District with its medieval streets and Fisherman's Bastion, offering panoramic views. Relax in the thermal baths, a legacy of the Ottoman era, or visit the Hungarian Parliament Building, a stunning example of Gothic Revival architecture.", + "tags": ["City", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/budapest.jpg" + }, + { + "ref": "burgundy", + "name": "Burgundy", + "country": "France", + "continent": "Europe", + "knownFor": "Burgundy, a region in eastern France, is renowned for its world-class wines, charming villages, and rich history. Explore vineyards, indulge in wine tastings, and visit medieval castles and abbeys. Cycle through rolling hills, savor gourmet cuisine, and experience the art de vivre of this picturesque region.", + "tags": ["Rural", "Wine tasting", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/burgundy.jpg" + }, + { + "ref": "cambodia", + "name": "Cambodia", + "country": "Cambodia", + "continent": "Asia", + "knownFor": "Cambodia, a Southeast Asian nation, is a captivating blend of ancient wonders, natural beauty, and vibrant culture. Explore the magnificent temples of Angkor, relax on pristine beaches, and cruise along the Mekong River. Experience the warmth of the Cambodian people, savor delicious cuisine, and discover the rich history of this fascinating country.", + "tags": ["Historic", "Cultural experiences", "Beach"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/cambodia.jpg" + }, + { + "ref": "canadian-rockies", + "name": "Canadian Rockies", + "country": "Canada", + "continent": "North America", + "knownFor": "Embark on an adventure through the majestic Canadian Rockies, where towering mountains, turquoise lakes, and glaciers create a breathtaking landscape. Hike through scenic trails, go skiing or snowboarding in world-class resorts, and encounter diverse wildlife. Experience the thrill of outdoor activities and the beauty of untouched nature.", + "tags": ["Mountain", "Hiking", "Adventure sports"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/canadian-rockies.jpg" + }, + { + "ref": "canary-islands", + "name": "Canary Islands", + "country": "Spain", + "continent": "Europe", + "knownFor": "Discover the volcanic beauty of the Canary Islands, a Spanish archipelago off the coast of Africa. Explore diverse landscapes, from the dramatic volcanic peaks of Tenerife and Mount Teide to the golden beaches of Gran Canaria and Fuerteventura. Enjoy water sports, hiking, and stargazing in this island paradise.", + "tags": ["Island", "Beach", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/canary-islands.jpg" + }, + { + "ref": "cappadocia", + "name": "Cappadocia", + "country": "Turkey", + "continent": "Asia", + "knownFor": "Embark on a magical journey through a surreal landscape of fairy chimneys, cave dwellings, and underground cities. Soar above the valleys in a hot air balloon, explore ancient rock-cut churches, and experience the unique culture and hospitality of the region.", + "tags": ["Historic", "Off-the-beaten-path", "Adventure sports"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/cappadocia.jpg" + }, + { + "ref": "chilean-lake-district", + "name": "Chilean Lake District", + "country": "Chile", + "continent": "South America", + "knownFor": "The Chilean Lake District is a paradise for nature lovers, with snow-capped volcanoes, turquoise lakes, and lush forests. Hike in national parks, go kayaking on the lakes, and enjoy the tranquility of the surroundings. The region's German heritage adds a unique cultural element.", + "tags": ["Lake", "Mountain", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/chilean-lake-district.jpg" + }, + { + "ref": "cinque-terre", + "name": "Cinque Terre", + "country": "Italy", + "continent": "Europe", + "knownFor": "Explore the picturesque villages of Cinque Terre, perched on the rugged Italian Riviera coastline. Hike the scenic trails connecting the five colorful towns, each with its unique character. Enjoy fresh seafood, local wines, and breathtaking views of the Mediterranean Sea.", + "tags": ["Hiking", "Coastal", "Foodie"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/cinque-terre.jpg" + }, + { + "ref": "colombia", + "name": "Colombia", + "country": "Colombia", + "continent": "South America", + "knownFor": "Colombia is a vibrant country with a diverse landscape, ranging from the Andes Mountains to the Caribbean coast. Explore the colonial city of Cartagena, hike in the Cocora Valley, or dance the night away in Medellín. Discover the coffee region, learn about the indigenous cultures, and experience the warmth of the Colombian people.", + "tags": ["City", "Mountain", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/colombia.jpg" + }, + { + "ref": "corsica", + "name": "Corsica", + "country": "France", + "continent": "Europe", + "knownFor": "This mountainous Mediterranean island offers a diverse landscape of rugged mountains, pristine beaches, and charming villages. Visitors can enjoy hiking, water sports, exploring historical sites, and experiencing the unique Corsican culture.", + "tags": ["Mountain", "Beach", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/corsica.jpg" + }, + { + "ref": "costa-rica", + "name": "Osa Peninsula", + "country": "Costa Rica", + "continent": "North America", + "knownFor": "A haven for eco-tourism, the Osa Peninsula boasts incredible biodiversity, lush rainforests, and pristine beaches. Adventure seekers can go zip-lining, kayaking, and hiking, while nature enthusiasts can spot monkeys, sloths, and exotic birds. The Corcovado National Park, known as one of the most biodiverse places on Earth, is a must-visit for wildlife watching.", + "tags": ["Jungle", "Secluded", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/costa-rica.jpg" + }, + { + "ref": "dubai", + "name": "Dubai", + "country": "United Arab Emirates", + "continent": "Asia", + "knownFor": "Dubai is a modern metropolis known for its towering skyscrapers, luxurious shopping malls, and extravagant attractions. Visitors can experience the thrill of the Burj Khalifa, the world's tallest building, shop at the Dubai Mall, or enjoy a desert safari. With its vibrant nightlife and world-class dining scene, Dubai offers a truly cosmopolitan experience.", + "tags": ["City", "Luxury", "Shopping"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/dubai.jpg" + }, + { + "ref": "dubrovnik", + "name": "Dubrovnik", + "country": "Croatia", + "continent": "Europe", + "knownFor": "Dubrovnik, the \"Pearl of the Adriatic\", is a historic walled city renowned for its stunning architecture, ancient city walls, and breathtaking coastal views. Visitors can explore historical sites, enjoy boat trips, and experience the vibrant cultural scene.", + "tags": ["Historic", "Sightseeing", "City"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/dubrovnik.jpg" + }, + { + "ref": "ethiopia", + "name": "Ethiopia", + "country": "Ethiopia", + "continent": "Africa", + "knownFor": "Ethiopia, a landlocked country in the Horn of Africa, is a unique destination with ancient history, diverse landscapes, and rich culture. Explore the rock-hewn churches of Lalibela, trek through the Simien Mountains, and witness the vibrant tribal traditions. From bustling cities to remote villages, Ethiopia offers an unforgettable journey.", + "tags": ["Off-the-beaten-path", "Cultural experiences", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/ethiopia.jpg" + }, + { + "ref": "fiesole", + "name": "Fiesole", + "country": "Italy", + "continent": "Europe", + "knownFor": "Step back in time in Fiesole, a charming hilltop town overlooking Florence, Italy. Explore Etruscan and Roman ruins, visit the beautiful Fiesole Cathedral, and wander through quaint streets lined with historic buildings. Enjoy breathtaking views of the Tuscan countryside and escape the hustle and bustle of Florence.", + "tags": ["Historic", "Rural", "Romantic"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/fiesole.jpg" + }, + { + "ref": "fiji", + "name": "Fiji", + "country": "Fiji", + "continent": "Oceania", + "knownFor": "Fiji, an archipelago in the South Pacific, is renowned for its pristine beaches, crystal-clear waters, and lush rainforests. Visitors can indulge in water activities like snorkeling, scuba diving, and surfing, or explore the islands' rich cultural heritage and traditions. Fiji is also a popular destination for honeymoons and romantic getaways.", + "tags": ["Island", "Beach", "Scuba diving"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/fiji.jpg" + }, + { + "ref": "french-alps", + "name": "French Alps", + "country": "France", + "continent": "Europe", + "knownFor": "The French Alps offer stunning mountain scenery, charming villages, and world-class skiing. During the winter months, hit the slopes in renowned resorts like Chamonix and Val d'Isère. In the summer, enjoy hiking, mountain biking, and paragliding.", + "tags": ["Mountain", "Skiing", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/french-alps.jpg" + }, + { + "ref": "french-polynesia", + "name": "French Polynesia", + "country": "France", + "continent": "Oceania", + "knownFor": "Escape to the paradise of French Polynesia, where overwater bungalows, turquoise lagoons, and pristine beaches await. Dive into the vibrant underwater world, explore volcanic landscapes, and experience Polynesian culture. Indulge in luxury resorts, romantic getaways, and unforgettable island hopping adventures.", + "tags": ["Tropical", "Island", "Luxury"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/french-polynesia.jpg" + }, + { + "ref": "french-riviera", + "name": "French Riviera", + "country": "France", + "continent": "Europe", + "knownFor": "Discover the glamour of the French Riviera, where glamorous beaches, luxury yachts, and charming coastal towns line the Mediterranean coast. Explore the vibrant city of Nice, visit the iconic Monte Carlo casino, and soak up the sun on the beaches of Cannes. Experience the region's luxurious lifestyle, stunning scenery, and vibrant nightlife.", + "tags": ["Beach", "Luxury", "Nightlife"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/french-riviera.jpg" + }, + { + "ref": "galapagos-islands", + "name": "Galapagos Islands", + "country": "Ecuador", + "continent": "South America", + "knownFor": "Embark on a once-in-a-lifetime adventure to the Galapagos Islands, a living laboratory of evolution. Observe unique wildlife, including giant tortoises, marine iguanas, and blue-footed boobies. Go snorkeling or diving among vibrant coral reefs and explore volcanic landscapes.", + "tags": ["Island", "Wildlife watching", "Scuba diving"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/galapagos-islands.jpg" + }, + { + "ref": "galicia", + "name": "Galicia", + "country": "Spain", + "continent": "Europe", + "knownFor": "This region in northwestern Spain boasts rugged coastlines, green landscapes, and a rich Celtic heritage. Visitors can enjoy fresh seafood, explore charming towns, embark on the Camino de Santiago pilgrimage, and discover the unique Galician culture.", + "tags": ["Hiking", "Cultural experiences", "Foodie"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/galicia.jpg" + }, + { + "ref": "grand-canyon", + "name": "Grand Canyon", + "country": "United States", + "continent": "North America", + "knownFor": "Witness the awe-inspiring vastness and natural beauty of the Grand Canyon, a UNESCO World Heritage Site. Hike along the rim for breathtaking panoramic views, descend into the canyon for a challenging adventure, or raft down the Colorado River. The Grand Canyon offers an unforgettable experience for nature enthusiasts and adventure seekers.", + "tags": ["Mountain", "Hiking", "Adventure sports"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/grand-canyon.jpg" + }, + { + "ref": "great-barrier-reef", + "name": "Great Barrier Reef", + "country": "Australia", + "continent": "Australia", + "knownFor": "The Great Barrier Reef is the world's largest coral reef system, teeming with marine life. Snorkel or scuba dive among colorful corals, spot tropical fish, and experience the underwater wonders of this natural treasure.", + "tags": ["Snorkeling", "Scuba diving", "Adventure sports"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/great-barrier-reef.jpg" + }, + { + "ref": "great-bear-rainforest", + "name": "Great Bear Rainforest", + "country": "Canada", + "continent": "North America", + "knownFor": "The Great Bear Rainforest is a vast and pristine wilderness area on the Pacific coast of British Columbia. It is home to a diverse array of wildlife, including grizzly bears, black bears, wolves, and whales. Visitors can explore the rainforest by boat, kayak, or on foot, and experience the magic of this untouched ecosystem.", + "tags": ["Wildlife watching", "Hiking", "Eco-conscious"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/great-bear-rainforest.jpg" + }, + { + "ref": "greek-islands", + "name": "Greek Islands", + "country": "Greece", + "continent": "Europe", + "knownFor": "Island hop through the Greek Islands, each with its own unique charm and allure. Explore ancient ruins, relax on pristine beaches, and indulge in delicious Greek cuisine. Experience the vibrant nightlife of Mykonos, the romantic sunsets of Santorini, and the historical treasures of Crete. Discover a world of crystal-clear waters, whitewashed villages, and endless sunshine.", + "tags": ["Island", "Beach", "Historic"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/greek-islands.jpg" + }, + { + "ref": "greenland", + "name": "Ilulissat Icefjord", + "country": "Greenland", + "continent": "North America", + "knownFor": "Ilulissat Icefjord is a UNESCO World Heritage site and a breathtaking natural wonder with massive icebergs calving from the Sermeq Kujalleq glacier. Visitors can take boat tours to witness the stunning ice formations, go hiking in the surrounding area, and experience the unique culture of Greenland.", + "tags": ["Off-the-beaten-path", "Adventure sports", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/greenland.jpg" + }, + { + "ref": "guadeloupe", + "name": "Guadeloupe", + "country": "France", + "continent": "North America", + "knownFor": "Guadeloupe, a butterfly-shaped archipelago in the Caribbean, is a French overseas territory boasting stunning natural landscapes. With its lush rainforests, volcanic peaks, and white-sand beaches, it's a paradise for outdoor enthusiasts. Hike to cascading waterfalls, explore vibrant coral reefs, and savor the unique blend of French and Creole culture.", + "tags": ["Island", "Tropical", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/guadeloupe.jpg" + }, + { + "ref": "guatemala", + "name": "Lake Atitlán", + "country": "Guatemala", + "continent": "North America", + "knownFor": "Lake Atitlán, surrounded by volcanoes and traditional Mayan villages, offers a scenic and cultural experience in Guatemala. Visitors can explore the lakeside towns, hike to viewpoints, visit Mayan ruins, and learn about local traditions. The lake also provides opportunities for kayaking, swimming, and boat trips.", + "tags": ["Lake", "Cultural experiences", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/guatemala.jpg" + }, + { + "ref": "ha-long-bay", + "name": "Ha Long Bay", + "country": "Vietnam", + "continent": "Asia", + "knownFor": "Ha Long Bay is a breathtaking UNESCO World Heritage Site, featuring thousands of limestone islands and islets rising from emerald waters. Visitors can cruise through the bay, explore hidden caves, kayak among the karst formations, and experience the unique beauty of this natural wonder.", + "tags": ["Island", "Secluded", "Sightseeing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/ha-long-bay.jpg" + }, + { + "ref": "harrisburg", + "name": "Harrisburg", + "country": "USA", + "continent": "North America", + "knownFor": "Discover the charm of Harrisburg, Pennsylvania's historic capital city. Explore the impressive Pennsylvania State Capitol Building, delve into history at the National Civil War Museum, and enjoy family fun at City Island. With its scenic riverfront location, Harrisburg offers a blend of cultural attractions and outdoor activities.", + "tags": ["City", "Historic", "Family-friendly"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/harrisburg.jpg" + }, + { + "ref": "havana", + "name": "Havana", + "country": "Cuba", + "continent": "North America", + "knownFor": "Step back in time in Havana, the vibrant capital of Cuba. Stroll along the Malecón, a seaside promenade, and admire the colorful vintage cars. Explore Old Havana, a UNESCO World Heritage Site, with its colonial architecture and lively squares. Immerse yourself in Cuban culture, music, and dance.", + "tags": ["City", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/havana.jpg" + }, + { + "ref": "ho-chi-minh-city", + "name": "Ho Chi Minh City", + "country": "Vietnam", + "continent": "Asia", + "knownFor": "Ho Chi Minh City is a vibrant metropolis with a rich history and delicious street food. Explore the bustling markets, visit historical landmarks like the Cu Chi Tunnels, and immerse yourself in the city's energetic atmosphere. The blend of French colonial architecture and modern skyscrapers creates a unique cityscape.", + "tags": ["City", "Cultural experiences", "Food tours"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/ho-chi-minh-city.jpg" + }, + { + "ref": "iceland", + "name": "Iceland", + "country": "Iceland", + "continent": "Europe", + "knownFor": "Iceland's dramatic landscapes include glaciers, volcanoes, geysers, and waterfalls. Explore the Golden Circle, relax in geothermal pools, and witness the Northern Lights in winter.", + "tags": ["Secluded", "Adventure sports", "Winter destination"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/iceland.jpg" + }, + { + "ref": "japan-alps", + "name": "Japanese Alps", + "country": "Japan", + "continent": "Asia", + "knownFor": "The Japanese Alps offer stunning mountain scenery, traditional villages, and outdoor adventures. Hike through the Kamikochi Valley, ski in Hakuba, or soak in the onsen hot springs. Visit Matsumoto Castle, a historic landmark, and experience the unique culture of the mountain communities.", + "tags": ["Mountain", "Hiking", "Skiing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/japan-alps.jpg" + }, + { + "ref": "jeju-island", + "name": "Jeju Island", + "country": "South Korea", + "continent": "Asia", + "knownFor": "Escape to the volcanic paradise of Jeju Island, a popular destination off the coast of South Korea. Discover stunning natural landscapes, from volcanic craters and lava tubes to pristine beaches and waterfalls. Explore unique museums, hike Mount Hallasan, and relax in charming coastal towns.", + "tags": ["Island", "Hiking", "Secluded"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/jeju-island.jpg" + }, + { + "ref": "jordan", + "name": "Petra", + "country": "Jordan", + "continent": "Asia", + "knownFor": "Petra, an ancient city carved into rose-colored sandstone cliffs, is a UNESCO World Heritage site and one of the New Seven Wonders of the World. Visitors can marvel at the Treasury, explore the Siq, and discover hidden tombs and temples. Petra offers a glimpse into the fascinating history and culture of the Nabataean civilization.", + "tags": ["Historic", "Cultural experiences", "Off-the-beaten-path"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/jordan.jpg" + }, + { + "ref": "kauai", + "name": "Kauai", + "country": "United States", + "continent": "North America", + "knownFor": "Escape to the Garden Isle of Kauai, a paradise of lush rainforests, dramatic cliffs, and pristine beaches. Hike the challenging Kalalau Trail along the Na Pali Coast, kayak the Wailua River, or relax on Poipu Beach. Discover hidden waterfalls, explore Waimea Canyon, and experience the island's laid-back atmosphere.", + "tags": ["Island", "Hiking", "Beach"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/kauai.jpg" + }, + { + "ref": "kenya", + "name": "Kenya", + "country": "Kenya", + "continent": "Africa", + "knownFor": "Embark on an unforgettable safari adventure in Kenya, home to diverse wildlife and stunning landscapes. Witness the Great Migration, encounter lions, elephants, and rhinos, and experience the rich culture of the Maasai people.", + "tags": ["Wildlife watching", "Safari", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/kenya.jpg" + }, + { + "ref": "kyoto", + "name": "Kyoto", + "country": "Japan", + "continent": "Asia", + "knownFor": "Kyoto, Japan's former capital, is a cultural treasure trove with numerous temples, shrines, and gardens. Experience traditional tea ceremonies, stroll through the Arashiyama Bamboo Grove, and immerse yourself in Japanese history and spirituality.", + "tags": ["Historic", "Cultural experiences", "City"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/kyoto.jpg" + }, + { + "ref": "lake-bled", + "name": "Lake Bled", + "country": "Slovenia", + "continent": "Europe", + "knownFor": "Nestled in the Julian Alps, Lake Bled is a fairytale-like destination with a stunning glacial lake, a charming island church, and a medieval castle perched on a cliff. Visitors can enjoy swimming, boating, hiking, and exploring the surrounding mountains. Bled is also known for its delicious cream cake and thermal springs.", + "tags": ["Lake", "Mountain", "Romantic"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/lake-bled.jpg" + }, + { + "ref": "lake-como", + "name": "Lake Como", + "country": "Italy", + "continent": "Europe", + "knownFor": "Escape to the picturesque shores of Lake Como, surrounded by charming villages, luxurious villas, and stunning mountain scenery. Take a boat tour on the lake, explore historic gardens, and indulge in fine dining and Italian wines. Enjoy hiking, biking, and water sports in the surrounding area.", + "tags": ["Lake", "Romantic", "Luxury"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/lake-como.jpg" + }, + { + "ref": "lake-district", + "name": "Lake District National Park", + "country": "England", + "continent": "Europe", + "knownFor": "Nestled in the heart of Cumbria, the Lake District offers breathtaking landscapes with rolling hills, shimmering lakes, and charming villages. Visitors can enjoy hiking, boating, and exploring the literary legacy of Beatrix Potter and William Wordsworth. The region is also known for its delicious local produce and cozy pubs.", + "tags": ["Lake", "Hiking", "Rural"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/lake-district.jpg" + }, + { + "ref": "lake-garda", + "name": "Lake Garda", + "country": "Italy", + "continent": "Europe", + "knownFor": "Lake Garda is the largest lake in Italy, known for its stunning scenery, charming towns, and historic sites. Visitors can enjoy swimming, sailing, windsurfing, and hiking in the surrounding mountains. The area is also famous for its lemon groves and olive oil production, offering delicious local cuisine and wine tasting experiences.", + "tags": ["Lake", "Mountain", "Food tours"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/lake-garda.jpg" + }, + { + "ref": "lake-tahoe", + "name": "Lake Tahoe", + "country": "USA", + "continent": "North America", + "knownFor": "Lake Tahoe offers a blend of outdoor adventure and stunning natural beauty. Visitors enjoy skiing in the winter and water sports like kayaking and paddleboarding in the summer. The crystal-clear lake, surrounded by mountains, provides breathtaking scenery and a relaxing atmosphere.", + "tags": ["Lake", "Mountain", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/lake-tahoe.jpg" + }, + { + "ref": "laos", + "name": "Laos", + "country": "Laos", + "continent": "Asia", + "knownFor": "Laos is a landlocked country in Southeast Asia, known for its laid-back atmosphere, stunning natural beauty, and ancient temples. Explore the UNESCO World Heritage city of Luang Prabang, kayak down the Mekong River, discover the Kuang Si Falls, and visit the Pak Ou Caves filled with thousands of Buddha statues.", + "tags": ["Off-the-beaten-path", "Cultural experiences", "River"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/laos.jpg" + }, + { + "ref": "lofoten-islands", + "name": "Lofoten Islands", + "country": "Norway", + "continent": "Europe", + "knownFor": "Experience the breathtaking beauty of the Arctic Circle with dramatic landscapes, towering mountains, and charming fishing villages. Hike scenic trails, kayak along pristine fjords, and marvel at the Northern Lights. Explore Viking history and indulge in fresh seafood delicacies.", + "tags": ["Island", "Secluded", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/lofoten-islands.jpg" + }, + { + "ref": "lombok", + "name": "Lombok", + "country": "Indonesia", + "continent": "Asia", + "knownFor": "Lombok, Bali's less-crowded neighbor, offers pristine beaches, lush rainforests, and the majestic Mount Rinjani volcano. Visitors can enjoy surfing, diving, hiking, and exploring the island's cultural attractions.", + "tags": ["Beach", "Mountain", "Adventure sports"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/lombok.jpg" + }, + { + "ref": "luang-prabang", + "name": "Luang Prabang", + "country": "Laos", + "continent": "Asia", + "knownFor": "Immerse yourself in the tranquility of Luang Prabang, a UNESCO World Heritage town in Laos. Visit ornate temples like Wat Xieng Thong, witness the alms-giving ceremony at dawn, and explore the night market. Cruise down the Mekong River, discover Kuang Si Falls, and experience the town's spiritual atmosphere.", + "tags": ["Off-the-beaten-path", "Cultural experiences", "River"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/luang-prabang.jpg" + }, + { + "ref": "madagascar", + "name": "Madagascar", + "country": "Madagascar", + "continent": "Africa", + "knownFor": "Madagascar, an island nation off the southeast coast of Africa, is a biodiversity hotspot with unique flora and fauna. Explore rainforests, baobab-lined avenues, and pristine beaches. Encounter lemurs, chameleons, and other endemic species, and discover the rich cultural heritage of the Malagasy people. Madagascar offers an unforgettable adventure for nature lovers.", + "tags": ["Island", "Wildlife watching", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/madagascar.jpg" + }, + { + "ref": "maldives", + "name": "Maldives", + "country": "Maldives", + "continent": "Asia", + "knownFor": "The Maldives, a tropical island nation, offers luxurious overwater bungalows, pristine beaches, and world-class diving. Relax on the white sand, swim in the crystal-clear waters, and explore the vibrant coral reefs. The Maldives is the perfect destination for a romantic getaway or a relaxing beach vacation.", + "tags": ["Island", "Beach", "Scuba diving"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/maldives.jpg" + }, + { + "ref": "mallorca", + "name": "Mallorca", + "country": "Spain", + "continent": "Europe", + "knownFor": "Mallorca offers a diverse experience, from stunning beaches and turquoise waters to charming villages and rugged mountains. Visitors can explore historic Palma, hike the Serra de Tramuntana, or simply relax on the beach and enjoy the Mediterranean sunshine.", + "tags": ["Beach", "Island", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/mallorca.jpg" + }, + { + "ref": "malta", + "name": "Malta", + "country": "Malta", + "continent": "Europe", + "knownFor": "Malta, an archipelago in the central Mediterranean, is a captivating blend of history, culture, and stunning natural beauty. Its ancient temples, fortified cities, and hidden coves attract history buffs and adventurers alike. From exploring the UNESCO-listed capital Valletta to diving in crystal-clear waters, Malta offers a diverse experience for every traveler.", + "tags": ["Island", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/malta.jpg" + }, + { + "ref": "marrakech", + "name": "Marrakech", + "country": "Morocco", + "continent": "Africa", + "knownFor": "Step into a world of vibrant colours and bustling souks in Marrakech. Explore the historic Medina, with its maze-like alleys and hidden treasures, or marvel at the intricate architecture of mosques and palaces. Indulge in the rich flavours of Moroccan cuisine and experience the unique culture of this magical city.", + "tags": ["Cultural experiences", "City", "Shopping"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/marrakech.jpg" + }, + { + "ref": "maui", + "name": "Maui", + "country": "United States", + "continent": "North America", + "knownFor": "Experience the diverse landscapes of Maui, from volcanic craters to lush rainforests and stunning beaches. Drive the scenic Road to Hana, watch the sunrise from Haleakala Crater, or snorkel in Molokini Crater. Enjoy water sports, whale watching, and the island's relaxed vibes.", + "tags": ["Island", "Road trip", "Beach"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/maui.jpg" + }, + { + "ref": "milford-sound", + "name": "Milford Sound", + "country": "New Zealand", + "continent": "Oceania", + "knownFor": "Milford Sound, nestled in Fiordland National Park, offers breathtaking landscapes with towering cliffs, cascading waterfalls, and pristine waters. Visitors can cruise the fiord, kayak among the peaks, or hike the Milford Track for a multi-day adventure. The area is also known for its rich biodiversity, including dolphins, seals, and penguins.", + "tags": ["Secluded", "Hiking", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/milford-sound.jpg" + }, + { + "ref": "moab", + "name": "Moab", + "country": "United States", + "continent": "North America", + "knownFor": "Moab is an adventurer's paradise, renowned for its stunning red rock formations and world-class outdoor activities. Hiking, mountain biking, and off-roading are popular pursuits in Arches and Canyonlands National Parks. The Colorado River offers white-water rafting and kayaking, while the surrounding desert landscapes provide endless opportunities for exploration and discovery.", + "tags": ["Desert", "Adventure sports", "Off-the-beaten-path"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/moab.jpg" + }, + { + "ref": "montenegro", + "name": "Montenegro", + "country": "Montenegro", + "continent": "Europe", + "knownFor": "Montenegro is a small Balkan country with a dramatic coastline, soaring mountains, and charming towns. Explore the Bay of Kotor, a UNESCO World Heritage Site, hike in Durmitor National Park, or relax on the beaches of Budva. Discover the historic cities of Kotor and Cetinje and enjoy the local seafood specialties.", + "tags": ["Beach", "Mountain", "Historic"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/montenegro.jpg" + }, + { + "ref": "mosel-valley", + "name": "Mosel Valley", + "country": "Germany", + "continent": "Europe", + "knownFor": "Embark on a journey through picturesque vineyards and charming villages along the Mosel River. Explore medieval castles, indulge in world-renowned Riesling wines, and savor authentic German cuisine. Hike or bike along scenic trails, or take a leisurely river cruise to soak in the breathtaking landscapes.", + "tags": ["River", "Wine tasting", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/mosel-valley.jpg" + }, + { + "ref": "myanmar", + "name": "Myanmar", + "country": "Myanmar", + "continent": "Asia", + "knownFor": "Myanmar (formerly Burma) is a country rich in culture and history, with ancient temples, stunning landscapes, and friendly people. Explore the iconic Shwedagon Pagoda in Yangon, visit the temple complex of Bagan, and cruise along the Irrawaddy River.", + "tags": ["Secluded", "Cultural experiences", "Off-the-beaten-path"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/myanmar.jpg" + }, + { + "ref": "mykonos", + "name": "Mykonos", + "country": "Greece", + "continent": "Europe", + "knownFor": "Mykonos is a glamorous Greek island famous for its whitewashed houses, iconic windmills, and vibrant nightlife. Visitors can relax on beautiful beaches, explore charming towns, and indulge in delicious Greek cuisine. Mykonos is also known for its luxury hotels, designer boutiques, and lively beach clubs.", + "tags": ["Island", "Beach", "Nightlife"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/mykonos.jpg" + }, + { + "ref": "nairobi", + "name": "Nairobi", + "country": "Kenya", + "continent": "Africa", + "knownFor": "Nairobi, the bustling capital of Kenya, serves as a gateway to the country's renowned safari destinations. Visit the David Sheldrick Elephant Orphanage, explore the Karen Blixen Museum, and experience the vibrant nightlife and cultural scene.", + "tags": ["City", "Wildlife watching", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/nairobi.jpg" + }, + { + "ref": "namibia", + "name": "Sossusvlei", + "country": "Namibia", + "continent": "Africa", + "knownFor": "Sossusvlei is a mesmerizing salt and clay pan surrounded by towering red sand dunes in the Namib Desert. Visitors can embark on scenic drives, climb the dunes for panoramic views, and capture breathtaking photos of the unique landscape. Sossusvlei is a photographer's paradise and a must-visit for desert enthusiasts.", + "tags": ["Desert", "Off-the-beaten-path", "Photography"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/namibia.jpg" + }, + { + "ref": "napa-valley", + "name": "Napa Valley", + "country": "United States", + "continent": "North America", + "knownFor": "Indulge in the world-renowned wine region of Napa Valley, California. Visit picturesque vineyards, sample exquisite wines, and savor gourmet cuisine at Michelin-starred restaurants. Explore charming towns like St. Helena and Yountville, or relax in luxurious spa resorts. Napa Valley offers a sophisticated and relaxing getaway for wine lovers and foodies.", + "tags": ["Wine tasting", "Food tours", "Luxury"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/napa-valley.jpg" + }, + { + "ref": "new-orleans", + "name": "New Orleans", + "country": "United States", + "continent": "North America", + "knownFor": "New Orleans is a vibrant city with a unique culture, known for its jazz music, Mardi Gras celebrations, and Creole cuisine. Explore the French Quarter, listen to live music on Frenchmen Street, or visit the historic cemeteries. Experience the nightlife, enjoy the local food, and immerse yourself in the spirit of New Orleans.", + "tags": ["City", "Cultural experiences", "Foodie"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/new-orleans.jpg" + }, + { + "ref": "new-zealand", + "name": "New Zealand", + "country": "New Zealand", + "continent": "Oceania", + "knownFor": "Embark on an adventure in New Zealand, a land of diverse landscapes, from snow-capped mountains and glaciers to geothermal wonders and lush rainforests. Hike through Fiordland National Park, explore the Waitomo Caves, and experience the thrill of bungee jumping and white-water rafting. Discover the Maori culture, indulge in delicious local cuisine, and marvel at the country's natural beauty.", + "tags": ["Adventure sports", "Hiking", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/new-zealand.jpg" + }, + { + "ref": "newfoundland", + "name": "Newfoundland", + "country": "Canada", + "continent": "North America", + "knownFor": "Newfoundland boasts rugged coastlines, charming fishing villages, and abundant wildlife. Hike along scenic trails, go whale watching, and experience the unique local culture. The island's friendly people and lively music scene add to its appeal.", + "tags": ["Island", "Wildlife watching", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/newfoundland.jpg" + }, + { + "ref": "nicaragua", + "name": "Nicaragua", + "country": "Nicaragua", + "continent": "North America", + "knownFor": "Nicaragua offers a diverse landscape of volcanoes, lakes, beaches, and rainforests. Visitors can enjoy adventure activities like surfing, volcano boarding, and zip-lining, as well as exploring colonial cities and experiencing the rich Nicaraguan culture.", + "tags": ["Adventure sports", "Beach", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/nicaragua.jpg" + }, + { + "ref": "northern-territory", + "name": "Kakadu National Park", + "country": "Australia", + "continent": "Oceania", + "knownFor": "Kakadu National Park is a UNESCO World Heritage site with diverse landscapes, including wetlands, sandstone escarpments, and ancient rock art sites. Visitors can explore Aboriginal culture, go bird watching, take boat tours through wetlands, and admire cascading waterfalls. Kakadu is a haven for wildlife, with crocodiles, wallabies, and numerous bird species.", + "tags": ["National Park", "Wildlife watching", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/northern-territory.jpg" + }, + { + "ref": "oaxaca", + "name": "Oaxaca", + "country": "Mexico", + "continent": "North America", + "knownFor": "Immerse yourself in the vibrant culture and rich history of Oaxaca, Mexico. Explore ancient Zapotec ruins, visit colorful markets filled with handicrafts, and experience traditional festivals. Sample the region's renowned cuisine, including mole sauces and mezcal. Oaxaca offers a unique and authentic travel experience for culture enthusiasts and foodies.", + "tags": ["Cultural experiences", "Food tours", "Historic"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/oaxaca.jpg" + }, + { + "ref": "okavango-delta", + "name": "Okavango Delta", + "country": "Botswana", + "continent": "Africa", + "knownFor": "The Okavango Delta, a vast inland delta in Botswana, is a haven for wildlife. Explore the waterways by mokoro (traditional canoe) and witness elephants, lions, hippos, and an array of bird species in their natural habitat.", + "tags": ["River", "Wildlife watching", "Adventure sports"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/okavango-delta.jpg" + }, + { + "ref": "oman", + "name": "Oman", + "country": "Oman", + "continent": "Asia", + "knownFor": "Oman, a country on the Arabian Peninsula, is a hidden gem with dramatic landscapes, ancient forts, and warm hospitality. Explore the vast deserts, swim in turquoise wadis, and hike through rugged mountains. Visit traditional souks, experience Bedouin culture, and discover the unique blend of modernity and tradition in this captivating destination.", + "tags": ["Desert", "Secluded", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/oman.jpg" + }, + { + "ref": "pagos-islands", + "name": "Galápagos Islands", + "country": "Ecuador", + "continent": "South America", + "knownFor": "A unique archipelago off the coast of Ecuador, the Galápagos Islands is a haven for wildlife enthusiasts. Encounter giant tortoises, marine iguanas, blue-footed boobies, and sea lions in their natural habitat. Snorkeling and diving opportunities reveal a vibrant underwater world.", + "tags": ["Island", "Wildlife watching", "Snorkeling"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/pagos-islands.jpg" + }, + { + "ref": "patagonia", + "name": "Patagonia", + "country": "Argentina and Chile", + "continent": "South America", + "knownFor": "Patagonia is a vast region at the southern tip of South America, known for its glaciers, mountains, and diverse wildlife. Visitors can embark on trekking adventures, witness the Perito Moreno Glacier, go kayaking, and spot penguins, whales, and other animals.", + "tags": ["Hiking", "Adventure sports", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/patagonia.jpg" + }, + { + "ref": "peru", + "name": "Arequipa", + "country": "Peru", + "continent": "South America", + "knownFor": "Arequipa, known as the \"White City\" due to its buildings made of white volcanic stone, is a beautiful colonial city in southern Peru. Visitors can explore the historic center, visit the Santa Catalina Monastery, and enjoy stunning views of the surrounding volcanoes. Arequipa is also a gateway to the Colca Canyon, one of the deepest canyons in the world.", + "tags": ["City", "Historic", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/peru.jpg" + }, + { + "ref": "peruvian-amazon", + "name": "Peruvian Amazon", + "country": "Peru", + "continent": "South America", + "knownFor": "Venture into the heart of the Amazon rainforest, a biodiversity hotspot teeming with exotic wildlife and indigenous cultures. Embark on jungle treks, navigate the Amazon River, and spot unique flora and fauna. Experience the thrill of adventure travel and connect with nature in its purest form.", + "tags": ["Jungle", "Adventure sports", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/peruvian-amazon.jpg" + }, + { + "ref": "phnom-penh", + "name": "Phnom Penh", + "country": "Cambodia", + "continent": "Asia", + "knownFor": "Immerse yourself in the vibrant culture and rich history of Phnom Penh, Cambodia's bustling capital. Visit the Royal Palace, explore ancient temples like Wat Phnom, and delve into the poignant history at the Tuol Sleng Genocide Museum. Experience the city's energetic nightlife and savor delicious Khmer cuisine.", + "tags": ["City", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/phnom-penh.jpg" + }, + { + "ref": "phuket", + "name": "Phuket", + "country": "Thailand", + "continent": "Asia", + "knownFor": "Relax on the stunning beaches of Phuket, Thailand's largest island. Explore the turquoise waters of the Andaman Sea, go snorkeling or scuba diving among coral reefs, or visit nearby islands like Phi Phi. Enjoy the vibrant nightlife, indulge in Thai massages, and experience the local culture. Phuket offers a perfect blend of relaxation and adventure for beach lovers and those seeking a tropical escape.", + "tags": ["Beach", "Island", "Snorkeling"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/phuket.jpg" + }, + { + "ref": "positano", + "name": "Positano", + "country": "Italy", + "continent": "Europe", + "knownFor": "Nestled along the Amalfi Coast, Positano enchants with its colorful cliffside houses, pebble beaches, and luxury boutiques. Explore the narrow streets, indulge in delicious Italian cuisine, and soak up the romantic atmosphere.", + "tags": ["Beach", "Romantic", "Luxury"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/positano.jpg" + }, + { + "ref": "prague", + "name": "Prague", + "country": "Czech Republic", + "continent": "Europe", + "knownFor": "Prague, with its stunning architecture and rich history, is a fairytale city. Explore the Prague Castle, wander through the Old Town Square, and enjoy a traditional Czech meal. The city's charming atmosphere and affordable prices make it a popular destination.", + "tags": ["City", "Historic", "Sightseeing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/prague.jpg" + }, + { + "ref": "puerto-rico", + "name": "Puerto Rico", + "country": "United States", + "continent": "North America", + "knownFor": "Puerto Rico is a Caribbean island with a rich history, vibrant culture, and stunning natural beauty. Explore the historic forts of Old San Juan, relax on the beaches of Vieques, or hike in El Yunque National Forest. Experience the bioluminescent bays, go salsa dancing, and enjoy the local cuisine.", + "tags": ["Island", "Beach", "Historic"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/puerto-rico.jpg" + }, + { + "ref": "punta-cana", + "name": "Punta Cana", + "country": "Dominican Republic", + "continent": "North America", + "knownFor": "Punta Cana is a renowned beach destination with pristine white sand, crystal-clear waters, and luxurious resorts. Enjoy water sports, golf, or simply unwind by the ocean and experience the vibrant Dominican culture.", + "tags": ["Beach", "All-inclusive", "Family-friendly"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/punta-cana.jpg" + }, + { + "ref": "quebec-city", + "name": "Quebec City", + "country": "Canada", + "continent": "North America", + "knownFor": "Experience the European charm of Quebec City, a UNESCO World Heritage Site. Wander through the historic Old Town with its cobblestone streets and fortified walls, visit the iconic Chateau Frontenac, and admire the stunning views of the St. Lawrence River. Quebec City offers a unique blend of history, culture, and French Canadian charm for a memorable getaway.", + "tags": ["City", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/quebec-city.jpg" + }, + { + "ref": "queenstown", + "name": "Queenstown", + "country": "New Zealand", + "continent": "Oceania", + "knownFor": "Experience the adventure capital of the world in Queenstown, New Zealand. Surrounded by stunning mountains and Lake Wakatipu, this town offers everything from bungy jumping and skydiving to skiing and hiking.", + "tags": ["Adventure sports", "Lake", "Mountain"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/queenstown.jpg" + }, + { + "ref": "rajasthan", + "name": "Rajasthan", + "country": "India", + "continent": "Asia", + "knownFor": "Rajasthan, a state in northwestern India, is known for its opulent palaces, vibrant culture, and desert landscapes. Visitors can explore the cities of Jaipur, Jodhpur, and Udaipur, with their magnificent forts and palaces. The region also offers camel safaris, desert camping, and opportunities to experience traditional Rajasthani music and dance.", + "tags": ["Historic", "Desert", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/rajasthan.jpg" + }, + { + "ref": "reunion-island", + "name": "Réunion Island", + "country": "France", + "continent": "Africa", + "knownFor": "This volcanic island boasts dramatic landscapes, including Piton de la Fournaise, one of the world's most active volcanoes. Hike through lush rainforests, relax on black sand beaches, and experience the unique Creole culture.", + "tags": ["Secluded", "Hiking", "Tropical"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/reunion-island.jpg" + }, + { + "ref": "rio-de-janeiro", + "name": "Rio de Janeiro", + "country": "Brazil", + "continent": "South America", + "knownFor": "Rio de Janeiro is a vibrant city known for its stunning beaches, iconic landmarks like Christ the Redeemer and Sugarloaf Mountain, and lively Carnival celebrations. Visitors can enjoy sunbathing, surfing, and exploring the city's diverse neighborhoods, experiencing the infectious energy and cultural richness of Brazil.", + "tags": ["City", "Beach", "Party"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/rio-de-janeiro.jpg" + }, + { + "ref": "salar-de-uyuni", + "name": "Salar de Uyuni", + "country": "Bolivia", + "continent": "South America", + "knownFor": "Witness the surreal beauty of the world's largest salt flats, a mesmerizing landscape that transforms into a giant mirror during the rainy season. Capture incredible photos, explore unique rock formations, and visit nearby lagoons teeming with flamingos.", + "tags": ["Desert", "Off-the-beaten-path", "Photography"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/salar-de-uyuni.jpg" + }, + { + "ref": "san-diego", + "name": "San Diego", + "country": "United States", + "continent": "North America", + "knownFor": "San Diego, a sunny coastal city in Southern California, boasts beautiful beaches, a world-famous zoo, and a vibrant cultural scene. Explore Balboa Park, visit the historic Gaslamp Quarter, and enjoy water sports along the Pacific coast.", + "tags": ["City", "Beach", "Family-friendly"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/san-diego.jpg" + }, + { + "ref": "san-miguel-de-allende", + "name": "San Miguel de Allende", + "country": "Mexico", + "continent": "North America", + "knownFor": "This colonial city in central Mexico is a UNESCO World Heritage site with stunning Spanish architecture, vibrant cultural events, and a thriving arts scene. Visitors can explore historic churches, wander through cobbled streets lined with colorful houses, and enjoy delicious Mexican cuisine. San Miguel de Allende is also a popular destination for art classes and workshops.", + "tags": ["City", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/san-miguel-de-allende.jpg" + }, + { + "ref": "san-sebastian", + "name": "San Sebastian", + "country": "Spain", + "continent": "Europe", + "knownFor": "Indulge in the culinary delights of this coastal paradise, renowned for its Michelin-starred restaurants and pintxos bars. Relax on the beautiful beaches, explore the charming Old Town, and hike or bike in the surrounding hills. Experience the vibrant culture and lively festivals of the Basque region.", + "tags": ["Beach", "City", "Foodie"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/san-sebastian.jpg" + }, + { + "ref": "santorini", + "name": "Santorini", + "country": "Greece", + "continent": "Europe", + "knownFor": "Santorini's iconic whitewashed villages perched on volcanic cliffs offer breathtaking views of the Aegean Sea. Explore charming Oia, visit ancient Akrotiri, and enjoy romantic sunsets with caldera views.", + "tags": ["Island", "Romantic", "Luxury"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/santorini.jpg" + }, + { + "ref": "sardinia", + "name": "Sardinia", + "country": "Italy", + "continent": "Europe", + "knownFor": "Experience the allure of Sardinia, a Mediterranean island boasting stunning coastlines, turquoise waters, and rugged mountains. Explore charming villages, ancient ruins, and secluded coves. Indulge in delicious Sardinian cuisine, hike scenic trails, and discover the island's rich history and culture.", + "tags": ["Island", "Beach", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/sardinia.jpg" + }, + { + "ref": "scotland", + "name": "Scotland", + "country": "United Kingdom", + "continent": "Europe", + "knownFor": "Scotland is known for its dramatic landscapes, historic castles, and vibrant cities. Explore the Scottish Highlands, visit Edinburgh Castle, and sample Scotch whisky. The country's rich history and culture, along with its friendly people, make it a captivating destination.", + "tags": ["Mountain", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/scotland.jpg" + }, + { + "ref": "scottish-highlands", + "name": "Scottish Highlands", + "country": "Scotland", + "continent": "Europe", + "knownFor": "The Scottish Highlands, a mountainous region in northern Scotland, is renowned for its rugged beauty, ancient castles, and rich history. Visitors can explore the dramatic landscapes through hiking, climbing, and scenic drives, or visit historic sites like Loch Ness and Eilean Donan Castle. The region is also famous for its whisky distilleries and traditional Highland culture.", + "tags": ["Mountain", "Historic", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/scottish-highlands.jpg" + }, + { + "ref": "seoul", + "name": "Seoul", + "country": "South Korea", + "continent": "Asia", + "knownFor": "Seoul is a vibrant metropolis blending modern skyscrapers with ancient palaces and temples. Visitors can explore historical landmarks, experience K-pop culture, indulge in delicious Korean cuisine, and enjoy the city's bustling nightlife.", + "tags": ["City", "Cultural experiences", "Nightlife"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/seoul.jpg" + }, + { + "ref": "serengeti-national-park", + "name": "Serengeti National Park", + "country": "Tanzania", + "continent": "Africa", + "knownFor": "Serengeti National Park is renowned for its incredible wildlife and the annual Great Migration, where millions of wildebeest, zebras, and other animals traverse the plains in search of fresh grazing. Visitors can embark on thrilling safari adventures, witness predator-prey interactions, and marvel at the diversity of the African savanna.", + "tags": ["Wildlife watching", "Safari", "Adventure"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/serengeti-national-park.jpg" + }, + { + "ref": "seville", + "name": "Seville", + "country": "Spain", + "continent": "Europe", + "knownFor": "Seville, the vibrant capital of Andalusia, is renowned for its flamenco dancing, Moorish architecture, and lively tapas bars. Explore the stunning Alcázar palace, witness a passionate flamenco performance, and wander through the charming Santa Cruz district.", + "tags": ["City", "Cultural experiences", "Food tours"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/seville.jpg" + }, + { + "ref": "singapore", + "name": "Singapore", + "country": "Singapore", + "continent": "Asia", + "knownFor": "Experience a vibrant mix of cultures, cutting-edge architecture, and lush green spaces in this dynamic city-state. Discover futuristic Gardens by the Bay, indulge in diverse culinary delights, and explore world-class shopping and entertainment options.", + "tags": ["City", "Cultural experiences", "Foodie"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/singapore.jpg" + }, + { + "ref": "slovenia", + "name": "Slovenia", + "country": "Slovenia", + "continent": "Europe", + "knownFor": "Slovenia is a small country in Central Europe with stunning alpine scenery, charming towns, and a rich history. Visit Lake Bled, a picturesque lake with a church on an island, explore the Postojna Cave, or hike in Triglav National Park. Discover the capital city of Ljubljana, enjoy the local wines, and experience the Slovenian hospitality.", + "tags": ["Lake", "Mountain", "City"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/slovenia.jpg" + }, + { + "ref": "sri-lanka", + "name": "Sri Lanka", + "country": "Sri Lanka", + "continent": "Asia", + "knownFor": "Sri Lanka is an island nation off the southern coast of India, known for its ancient ruins, beautiful beaches, and diverse wildlife. Visit the Sigiriya rock fortress, relax on the beaches of Bentota, or go on a safari in Yala National Park. Explore the tea plantations, experience the local culture, and enjoy the delicious Sri Lankan cuisine.", + "tags": ["Island", "Beach", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/sri-lanka.jpg" + }, + { + "ref": "svalbard", + "name": "Svalbard", + "country": "Norway", + "continent": "Europe", + "knownFor": "Svalbard, an Arctic archipelago under Norwegian sovereignty, is a remote and captivating destination for adventurers and nature enthusiasts. Witness glaciers, fjords, and ice-covered landscapes. Spot polar bears, walruses, and reindeer, and experience the midnight sun or the northern lights. Svalbard offers a unique opportunity to explore the Arctic wilderness.", + "tags": ["Off-the-beaten-path", "Wildlife watching", "Winter destination"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/svalbard.jpg" + }, + { + "ref": "swiss-alps", + "name": "Swiss Alps", + "country": "Switzerland", + "continent": "Europe", + "knownFor": "Discover the breathtaking beauty of the Swiss Alps, a paradise for outdoor enthusiasts. Hike through scenic mountain trails, go skiing or snowboarding in world-class resorts, or take a scenic train ride through the mountains. Enjoy the fresh air, charming villages, and stunning scenery. The Swiss Alps offer an unforgettable experience for nature lovers and adventure seekers.", + "tags": ["Mountain", "Hiking", "Skiing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/swiss-alps.jpg" + }, + { + "ref": "tasmania", + "name": "Tasmania", + "country": "Australia", + "continent": "Oceania", + "knownFor": "Discover the wild beauty of Tasmania, an island state off the coast of Australia. Explore Cradle Mountain-Lake St Clair National Park, with its rugged mountains and pristine lakes. Visit Port Arthur Historic Site, a former penal colony, or encounter unique wildlife like Tasmanian devils and quolls.", + "tags": ["Island", "Hiking", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/tasmania.jpg" + }, + { + "ref": "tel-aviv", + "name": "Tel Aviv", + "country": "Israel", + "continent": "Asia", + "knownFor": "Experience the vibrant and cosmopolitan city of Tel Aviv, known for its beaches, Bauhaus architecture, and thriving nightlife. Relax on the sandy shores of the Mediterranean Sea, explore the trendy neighborhoods of Neve Tzedek and Florentin, and enjoy the city's diverse culinary scene. Tel Aviv offers a perfect blend of beach relaxation, cultural experiences, and exciting nightlife.", + "tags": ["City", "Beach", "Nightlife"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/tel-aviv.jpg" + }, + { + "ref": "trans-siberian-railway", + "name": "Trans-Siberian Railway", + "country": "Russia", + "continent": "Asia", + "knownFor": "The Trans-Siberian Railway is the longest railway line in the world, stretching over 9,000 kilometers from Moscow to Vladivostok. This epic journey offers travelers a unique opportunity to experience the vastness and diversity of Russia, passing through bustling cities, remote villages, and stunning natural landscapes.", + "tags": ["Adventure sports", "Cultural experiences", "Long-haul vacation"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/trans-siberian-railway.jpg" + }, + { + "ref": "transylvania", + "name": "Transylvania", + "country": "Romania", + "continent": "Europe", + "knownFor": "Transylvania, a region in Romania, is famous for its medieval towns, fortified churches, and stunning Carpathian Mountain scenery. Visitors can explore Bran Castle, associated with the Dracula legend, visit historic cities like Brasov and Sibiu, and hike or ski in the mountains. The region also offers opportunities to experience traditional Romanian culture and cuisine.", + "tags": ["Historic", "Mountain", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/transylvania.jpg" + }, + { + "ref": "tulum", + "name": "Tulum", + "country": "Mexico", + "continent": "North America", + "knownFor": "Tulum seamlessly blends ancient Mayan history with modern bohemian vibes. Visitors can explore the Tulum Archaeological Site, perched on cliffs overlooking the Caribbean Sea, and discover well-preserved ruins. Pristine beaches offer relaxation and water activities, while the town's eco-chic atmosphere provides yoga retreats, wellness centers, and sustainable dining options.", + "tags": ["Beach", "Cultural experiences", "Wellness retreats"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/tulum.jpg" + }, + { + "ref": "turkish-riviera", + "name": "Turkish Riviera", + "country": "Turkey", + "continent": "Asia", + "knownFor": "The Turkish Riviera offers a mix of ancient ruins, stunning beaches, and turquoise waters. Explore the historical sites of Ephesus and Antalya, relax on the sandy shores, and enjoy water sports like sailing and snorkeling. The region's delicious cuisine and affordable prices add to its appeal.", + "tags": ["Beach", "Historic", "Sightseeing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/turkish-riviera.jpg" + }, + { + "ref": "tuscany", + "name": "Tuscany", + "country": "Italy", + "continent": "Europe", + "knownFor": "Explore the rolling hills and vineyards of Tuscany, indulging in wine tastings and farm-to-table cuisine. Discover charming medieval towns, Renaissance art, and historic cities like Florence and Siena. Immerse yourself in the region's rich culture and art scene, or simply relax and soak up the idyllic scenery.", + "tags": ["Cultural experiences", "Food tours", "Wine tasting"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/tuscany.jpg" + }, + { + "ref": "us-virgin-islands", + "name": "US Virgin Islands", + "country": "United States", + "continent": "North America", + "knownFor": "Escape to the Caribbean paradise of the US Virgin Islands, where you can relax on pristine beaches, explore coral reefs, and experience the laid-back island lifestyle. Visit the historic towns of Charlotte Amalie and Christiansted, go sailing or snorkeling in crystal-clear waters, or simply soak up the sun. The US Virgin Islands offer a perfect tropical getaway for beach lovers and those seeking a relaxing escape.", + "tags": ["Island", "Beach", "Relaxing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/us-virgin-islands.jpg" + }, + { + "ref": "vancouver-island", + "name": "Vancouver Island", + "country": "Canada", + "continent": "North America", + "knownFor": "Vancouver Island, located off Canada's Pacific coast, is a haven for nature lovers and adventure seekers. Explore the rugged coastline, ancient rainforests, and snow-capped mountains. Go whale watching, kayaking, or surfing, and discover charming towns and vibrant cities like Victoria. Vancouver Island offers a perfect blend of wilderness and urban experiences.", + "tags": ["Island", "Adventure sports", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/vancouver-island.jpg" + }, + { + "ref": "vienna", + "name": "Vienna", + "country": "Austria", + "continent": "Europe", + "knownFor": "Step into the imperial city of Vienna, where grand palaces, historical landmarks, and elegant cafes exude charm and sophistication. Explore museums, art galleries, and renowned opera houses, or visit Schönbrunn Palace and delve into Habsburg history. Enjoy classical music concerts, indulge in Viennese pastries, and experience the city's rich cultural heritage.", + "tags": ["City", "Historic", "Cultural experiences"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/vienna.jpg" + }, + { + "ref": "vietnam", + "name": "Vietnam", + "country": "Vietnam", + "continent": "Asia", + "knownFor": "Vietnam offers a rich tapestry of culture, history, and natural beauty. Explore the bustling streets of Hanoi, cruise through the scenic Ha Long Bay, and discover the ancient town of Hoi An. From delicious street food to stunning landscapes, Vietnam is a destination that will captivate your senses.", + "tags": ["Cultural experiences", "Food tours", "Sightseeing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/vietnam.jpg" + }, + { + "ref": "western-australia", + "name": "Western Australia", + "country": "Australia", + "continent": "Australia", + "knownFor": "Western Australia, the largest state in Australia, is a land of vast landscapes, stunning coastlines, and unique wildlife. Explore the vibrant city of Perth, swim with whale sharks at Ningaloo Reef, and discover the ancient rock formations of the Kimberley region. From wineries to deserts, Western Australia offers a diverse and unforgettable experience.", + "tags": ["Beach", "Road trip destination", "Wildlife watching"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/western-australia.jpg" + }, + { + "ref": "yellowstone-national-park", + "name": "Yellowstone National Park", + "country": "United States", + "continent": "North America", + "knownFor": "Witness the geothermal wonders of Yellowstone, with its geysers, hot springs, and mudpots. Observe abundant wildlife, including bison, elk, and wolves. Explore the Grand Canyon of the Yellowstone, go hiking or camping, and enjoy winter sports.", + "tags": ["National Park", "Wildlife watching", "Hiking"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/yellowstone-national-park.jpg" + }, + { + "ref": "yosemite-national-park", + "name": "Yosemite National Park", + "country": "United States", + "continent": "North America", + "knownFor": "Yosemite National Park, located in California's Sierra Nevada mountains, is renowned for its towering granite cliffs, giant sequoia trees, and stunning waterfalls. Visitors can enjoy hiking, camping, rock climbing, and exploring the park's natural wonders, including Yosemite Valley, Half Dome, and Glacier Point.", + "tags": ["Mountain", "Hiking", "Sightseeing"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/yosemite-national-park.jpg" + }, + { + "ref": "yucatan-peninsula", + "name": "Yucatan Peninsula", + "country": "Mexico", + "continent": "North America", + "knownFor": "Discover ancient Mayan ruins, explore vibrant coral reefs, and relax on pristine beaches in the Yucatan Peninsula. Dive into cenotes, swim with whale sharks, and experience the rich culture and history of this captivating region.", + "tags": ["Beach", "Historic", "Scuba diving"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/yucatan-peninsula.jpg" + }, + { + "ref": "zanzibar", + "name": "Zanzibar", + "country": "Tanzania", + "continent": "Africa", + "knownFor": "Zanzibar is a Tanzanian archipelago off the coast of East Africa, known for its stunning beaches, turquoise waters, and historical Stone Town. Visitors can relax on the beach, explore the UNESCO-listed Stone Town, go diving or snorkeling, and experience the island's unique blend of African, Arab, and European influences.", + "tags": ["Beach", "Cultural experiences", "Scuba diving"], + "imageUrl": "https://storage.googleapis.com/tripedia-images/destinations/zanzibar.jpg" + } +] diff --git a/compass_app/app/assets/logo.svg b/compass_app/app/assets/logo.svg new file mode 100644 index 000000000..1bf798e05 --- /dev/null +++ b/compass_app/app/assets/logo.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/compass_app/app/assets/user.jpg b/compass_app/app/assets/user.jpg new file mode 100644 index 000000000..1e79068e1 Binary files /dev/null and b/compass_app/app/assets/user.jpg differ diff --git a/compass_app/app/devtools_options.yaml b/compass_app/app/devtools_options.yaml new file mode 100644 index 000000000..fa0b357c4 --- /dev/null +++ b/compass_app/app/devtools_options.yaml @@ -0,0 +1,3 @@ +description: This file stores settings for Dart & Flutter DevTools. +documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states +extensions: diff --git a/compass_app/app/integration_test/app_local_data_test.dart b/compass_app/app/integration_test/app_local_data_test.dart new file mode 100644 index 000000000..3a8090e6a --- /dev/null +++ b/compass_app/app/integration_test/app_local_data_test.dart @@ -0,0 +1,145 @@ +import 'package:compass_app/config/dependencies.dart'; +import 'package:compass_app/main.dart'; +import 'package:compass_app/ui/activities/widgets/activities_screen.dart'; +import 'package:compass_app/ui/booking/widgets/booking_screen.dart'; +import 'package:compass_app/ui/core/ui/custom_checkbox.dart'; +import 'package:compass_app/ui/core/ui/home_button.dart'; +import 'package:compass_app/ui/home/widgets/home_screen.dart'; +import 'package:compass_app/ui/results/widgets/result_card.dart'; +import 'package:compass_app/ui/results/widgets/results_screen.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_guests.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_screen.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_submit.dart'; +import 'package:flutter/foundation.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; +import 'package:provider/provider.dart'; + +/// This Integration Test launches the Compass-App with the local configuration. +/// The app uses data from the assets folder to create a booking. +void main() { + IntegrationTestWidgetsFlutterBinding.ensureInitialized(); + + group('end-to-end test with local data', () { + testWidgets('should load app', (tester) async { + // Load app widget. + await tester.pumpWidget( + MultiProvider( + providers: providersLocal, + child: const MainApp(), + ), + ); + }); + + testWidgets('Open a booking', (tester) async { + // Load app widget with local configuration + await tester.pumpWidget( + MultiProvider( + providers: providersLocal, + child: const MainApp(), + ), + ); + + await tester.pumpAndSettle(); + + // Home screen + expect(find.byType(HomeScreen), findsOneWidget); + await tester.pumpAndSettle(); + + // Should show user name + expect(find.text('Sofie\'s Trips'), findsOneWidget); + + // Tap on booking (Alaska is created by default) + await tester.tap(find.text('Alaska, North America')); + await tester.pumpAndSettle(); + + // Should be at booking screen + expect(find.byType(BookingScreen), findsOneWidget); + expect(find.text('Alaska'), findsOneWidget); + }); + + testWidgets('Create booking', (tester) async { + // Load app widget with local configuration + await tester.pumpWidget( + MultiProvider( + providers: providersLocal, + child: const MainApp(), + ), + ); + await tester.pumpAndSettle(); + + // Home screen + expect(find.byType(HomeScreen), findsOneWidget); + await tester.pumpAndSettle(); + + // Select create new booking + await tester.tap(find.byKey(const ValueKey(bookingButtonKey))); + await tester.pumpAndSettle(); + + // Search destinations screen + expect(find.byType(SearchFormScreen), findsOneWidget); + + // Select Europe because it is always the first result + await tester.tap(find.text('Europe'), warnIfMissed: false); + + // Select dates + await tester.tap(find.text('Add Dates')); + await tester.pumpAndSettle(); + final tomorrow = DateTime.now().add(const Duration(days: 1)).day; + final nextDay = DateTime.now().add(const Duration(days: 2)).day; + // Select first and last widget that matches today number + //and tomorrow number, sort of ensures a valid range + await tester.tap(find.text(tomorrow.toString()).first); + await tester.pumpAndSettle(); + await tester.tap(find.text(nextDay.toString()).first); + await tester.pumpAndSettle(); + await tester.tap(find.text('Save')); + await tester.pumpAndSettle(); + + // Select guests + await tester.tap(find.byKey(const ValueKey(addGuestsKey)), + warnIfMissed: false); + + // Refresh screen state + await tester.pumpAndSettle(); + + // Perform search and navigate to next screen + await tester.tap(find.byKey(const ValueKey(searchFormSubmitButtonKey))); + await tester.pumpAndSettle(); + + // Results Screen + expect(find.byType(ResultsScreen), findsOneWidget); + + // Amalfi Coast should be the first result for Europe + // Tap and navigate to activities screen + await tester.tap(find.byType(ResultCard).first); + await tester.pumpAndSettle(); + + // Activities Screen + expect(find.byType(ActivitiesScreen), findsOneWidget); + + // Select one activity + await tester.tap(find.byType(CustomCheckbox).first); + await tester.pumpAndSettle(); + expect(find.text('1 selected'), findsOneWidget); + + // Submit selection + await tester.tap(find.byKey(const ValueKey(confirmButtonKey))); + await tester.pumpAndSettle(); + + // Should be at booking screen + expect(find.byType(BookingScreen), findsOneWidget); + expect(find.text('Amalfi Coast'), findsOneWidget); + + // Navigate back home + await tester.tap(find.byType(HomeButton)); + await tester.pumpAndSettle(); + + // Home screen + expect(find.byType(HomeScreen), findsOneWidget); + + // New Booking should appear + expect(find.text('Amalfi Coast, Europe'), findsOneWidget); + }); + }); +} diff --git a/compass_app/app/integration_test/app_server_data_test.dart b/compass_app/app/integration_test/app_server_data_test.dart new file mode 100644 index 000000000..d23d52874 --- /dev/null +++ b/compass_app/app/integration_test/app_server_data_test.dart @@ -0,0 +1,208 @@ +import 'dart:io'; + +import 'package:compass_app/config/dependencies.dart'; +import 'package:compass_app/main.dart'; +import 'package:compass_app/ui/activities/widgets/activities_screen.dart'; +import 'package:compass_app/ui/auth/login/widgets/login_screen.dart'; +import 'package:compass_app/ui/auth/logout/widgets/logout_button.dart'; +import 'package:compass_app/ui/booking/widgets/booking_screen.dart'; +import 'package:compass_app/ui/core/ui/custom_checkbox.dart'; +import 'package:compass_app/ui/core/ui/home_button.dart'; +import 'package:compass_app/ui/home/widgets/home_screen.dart'; +import 'package:compass_app/ui/results/widgets/result_card.dart'; +import 'package:compass_app/ui/results/widgets/results_screen.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_screen.dart'; +import 'package:flutter/foundation.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; +import 'package:provider/provider.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +/// This Integration Test starts the Dart server +/// before launching the Compass-App with the remote configuration. +/// The app connects to its endpoints to perform login and create a booking. +void main() { + IntegrationTestWidgetsFlutterBinding.ensureInitialized(); + + group('end-to-end test with remote data', () { + const port = '8080'; + late Process p; + + setUpAll(() async { + // Clear any stored shared preferences + final sharedPreferences = await SharedPreferences.getInstance(); + await sharedPreferences.clear(); + + // Start the dart server + p = await Process.start( + 'dart', + ['run', 'bin/compass_server.dart'], + environment: {'PORT': port}, + // Relative to the app/ folder + workingDirectory: '../server', + ); + // Wait for server to start and print to stdout. + await p.stdout.first; + }); + + tearDownAll(() => p.kill()); + + testWidgets('should load app', (tester) async { + // Load app widget. + await tester.pumpWidget( + MultiProvider( + providers: providersRemote, + child: const MainApp(), + ), + ); + + await tester.pumpAndSettle(); + + // Login screen because logget out + expect(find.byType(LoginScreen), findsOneWidget); + }); + + testWidgets('Open a booking', (tester) async { + // Load app widget with local configuration + await tester.pumpWidget( + MultiProvider( + providers: providersRemote, + child: const MainApp(), + ), + ); + + await tester.pumpAndSettle(); + + // Login screen because logget out + expect(find.byType(LoginScreen), findsOneWidget); + + // Perform login (credentials are prefilled) + await tester.tap(find.text('Login')); + await tester.pumpAndSettle(); + + // Home screen + expect(find.byType(HomeScreen), findsOneWidget); + await tester.pumpAndSettle(); + + // Should show user name + expect(find.text('Sofie\'s Trips'), findsOneWidget); + + // Tap on booking (Alaska is created by default) + await tester.tap(find.text('Alaska, North America')); + await tester.pumpAndSettle(); + + // Should be at booking screen + expect(find.byType(BookingScreen), findsOneWidget); + expect(find.text('Alaska'), findsOneWidget); + + // Navigate back to home + await tester.tap(find.byType(HomeButton).first); + await tester.pumpAndSettle(); + + // Home screen + expect(find.byType(HomeScreen), findsOneWidget); + + // Perform logout + await tester.tap(find.byType(LogoutButton).first); + await tester.pumpAndSettle(); + expect(find.byType(LoginScreen), findsOneWidget); + }); + + testWidgets('Create booking', (tester) async { + // Load app widget with local configuration + await tester.pumpWidget( + MultiProvider( + providers: providersRemote, + child: const MainApp(), + ), + ); + + await tester.pumpAndSettle(); + + // Login screen because logget out + expect(find.byType(LoginScreen), findsOneWidget); + + // Perform login (credentials are prefilled) + await tester.tap(find.text('Login')); + await tester.pumpAndSettle(); + + // Home screen + expect(find.byType(HomeScreen), findsOneWidget); + await tester.pumpAndSettle(); + + // Select create new booking + await tester.tap(find.byKey(const ValueKey('booking-button'))); + await tester.pumpAndSettle(); + + // Search destinations screen + expect(find.byType(SearchFormScreen), findsOneWidget); + + // Select Europe because it is always the first result + await tester.tap(find.text('Europe'), warnIfMissed: false); + + // Select dates + await tester.tap(find.text('Add Dates')); + await tester.pumpAndSettle(); + final tomorrow = DateTime.now().add(const Duration(days: 1)).day; + final nextDay = DateTime.now().add(const Duration(days: 2)).day; + // Select first and last widget that matches today number + //and tomorrow number, sort of ensures a valid range + await tester.tap(find.text(tomorrow.toString()).first); + await tester.pumpAndSettle(); + await tester.tap(find.text(nextDay.toString()).first); + await tester.pumpAndSettle(); + await tester.tap(find.text('Save')); + await tester.pumpAndSettle(); + + // Select guests + await tester.tap(find.byKey(const ValueKey('add_guests')), + warnIfMissed: false); + + // Refresh screen state + await tester.pumpAndSettle(); + + // Perform search and navigate to next screen + await tester.tap(find.byKey(const ValueKey('submit_button'))); + await tester.pumpAndSettle(); + + // Results Screen + expect(find.byType(ResultsScreen), findsOneWidget); + + // Amalfi Coast should be the first result for Europe + // Tap and navigate to activities screen + await tester.tap(find.byType(ResultCard).first); + await tester.pumpAndSettle(); + + // Activities Screen + expect(find.byType(ActivitiesScreen), findsOneWidget); + + // Select one activity + await tester.tap(find.byType(CustomCheckbox).first); + await tester.pumpAndSettle(); + expect(find.text('1 selected'), findsOneWidget); + + // Submit selection + await tester.tap(find.byKey(const ValueKey('confirm-button'))); + await tester.pumpAndSettle(); + + // Should be at booking screen + expect(find.byType(BookingScreen), findsOneWidget); + expect(find.text('Amalfi Coast'), findsOneWidget); + + // Navigate back to home + await tester.tap(find.byType(HomeButton).first); + await tester.pumpAndSettle(); + + // Home screen + expect(find.byType(HomeScreen), findsOneWidget); + + // New Booking should appear + expect(find.text('Amalfi Coast, Europe'), findsOneWidget); + + // Perform logout + await tester.tap(find.byType(LogoutButton).first); + await tester.pumpAndSettle(); + expect(find.byType(LoginScreen), findsOneWidget); + }); + }); +} diff --git a/compass_app/app/ios/.gitignore b/compass_app/app/ios/.gitignore new file mode 100644 index 000000000..7a7f9873a --- /dev/null +++ b/compass_app/app/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/compass_app/app/ios/Flutter/AppFrameworkInfo.plist b/compass_app/app/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 000000000..7c5696400 --- /dev/null +++ b/compass_app/app/ios/Flutter/AppFrameworkInfo.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + App + CFBundleIdentifier + io.flutter.flutter.app + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + App + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + MinimumOSVersion + 12.0 + + diff --git a/compass_app/app/ios/Flutter/Debug.xcconfig b/compass_app/app/ios/Flutter/Debug.xcconfig new file mode 100644 index 000000000..ec97fc6f3 --- /dev/null +++ b/compass_app/app/ios/Flutter/Debug.xcconfig @@ -0,0 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" +#include "Generated.xcconfig" diff --git a/compass_app/app/ios/Flutter/Release.xcconfig b/compass_app/app/ios/Flutter/Release.xcconfig new file mode 100644 index 000000000..c4855bfe2 --- /dev/null +++ b/compass_app/app/ios/Flutter/Release.xcconfig @@ -0,0 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" +#include "Generated.xcconfig" diff --git a/compass_app/app/ios/Podfile b/compass_app/app/ios/Podfile new file mode 100644 index 000000000..d97f17e22 --- /dev/null +++ b/compass_app/app/ios/Podfile @@ -0,0 +1,44 @@ +# Uncomment this line to define a global platform for your project +# platform :ios, '12.0' + +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. +ENV['COCOAPODS_DISABLE_STATS'] = 'true' + +project 'Runner', { + 'Debug' => :debug, + 'Profile' => :release, + 'Release' => :release, +} + +def flutter_root + generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) + unless File.exist?(generated_xcode_build_settings_path) + raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" + end + + File.foreach(generated_xcode_build_settings_path) do |line| + matches = line.match(/FLUTTER_ROOT\=(.*)/) + return matches[1].strip if matches + end + raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" +end + +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) + +flutter_ios_podfile_setup + +target 'Runner' do + use_frameworks! + use_modular_headers! + + flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) + target 'RunnerTests' do + inherit! :search_paths + end +end + +post_install do |installer| + installer.pods_project.targets.each do |target| + flutter_additional_ios_build_settings(target) + end +end diff --git a/compass_app/app/ios/Runner.xcodeproj/project.pbxproj b/compass_app/app/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 000000000..9a72577f6 --- /dev/null +++ b/compass_app/app/ios/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,616 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 97C146E61CF9000F007C117D /* Project object */; + proxyType = 1; + remoteGlobalIDString = 97C146ED1CF9000F007C117D; + remoteInfo = Runner; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 9705A1C41CF9048500538489 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; + 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; + 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; + 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 97C146EB1CF9000F007C117D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 331C8082294A63A400263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C807B294A618700263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; + sourceTree = ""; + }; + 9740EEB11CF90186004384FC /* Flutter */ = { + isa = PBXGroup; + children = ( + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, + 9740EEB21CF90195004384FC /* Debug.xcconfig */, + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, + 9740EEB31CF90195004384FC /* Generated.xcconfig */, + ); + name = Flutter; + sourceTree = ""; + }; + 97C146E51CF9000F007C117D = { + isa = PBXGroup; + children = ( + 9740EEB11CF90186004384FC /* Flutter */, + 97C146F01CF9000F007C117D /* Runner */, + 97C146EF1CF9000F007C117D /* Products */, + 331C8082294A63A400263BE5 /* RunnerTests */, + ); + sourceTree = ""; + }; + 97C146EF1CF9000F007C117D /* Products */ = { + isa = PBXGroup; + children = ( + 97C146EE1CF9000F007C117D /* Runner.app */, + 331C8081294A63A400263BE5 /* RunnerTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 97C146F01CF9000F007C117D /* Runner */ = { + isa = PBXGroup; + children = ( + 97C146FA1CF9000F007C117D /* Main.storyboard */, + 97C146FD1CF9000F007C117D /* Assets.xcassets */, + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, + 97C147021CF9000F007C117D /* Info.plist */, + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + ); + path = Runner; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 331C8080294A63A400263BE5 /* RunnerTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; + buildPhases = ( + 331C807D294A63A400263BE5 /* Sources */, + 331C807F294A63A400263BE5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 331C8086294A63A400263BE5 /* PBXTargetDependency */, + ); + name = RunnerTests; + productName = RunnerTests; + productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 97C146ED1CF9000F007C117D /* Runner */ = { + isa = PBXNativeTarget; + buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; + buildPhases = ( + 9740EEB61CF901F6004384FC /* Run Script */, + 97C146EA1CF9000F007C117D /* Sources */, + 97C146EB1CF9000F007C117D /* Frameworks */, + 97C146EC1CF9000F007C117D /* Resources */, + 9705A1C41CF9048500538489 /* Embed Frameworks */, + 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Runner; + productName = Runner; + productReference = 97C146EE1CF9000F007C117D /* Runner.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 97C146E61CF9000F007C117D /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = YES; + LastUpgradeCheck = 1510; + ORGANIZATIONNAME = ""; + TargetAttributes = { + 331C8080294A63A400263BE5 = { + CreatedOnToolsVersion = 14.0; + TestTargetID = 97C146ED1CF9000F007C117D; + }; + 97C146ED1CF9000F007C117D = { + CreatedOnToolsVersion = 7.3.1; + LastSwiftMigration = 1100; + }; + }; + }; + buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 97C146E51CF9000F007C117D; + productRefGroup = 97C146EF1CF9000F007C117D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 97C146ED1CF9000F007C117D /* Runner */, + 331C8080294A63A400263BE5 /* RunnerTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 331C807F294A63A400263BE5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 97C146EC1CF9000F007C117D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", + ); + name = "Thin Binary"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; + }; + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 331C807D294A63A400263BE5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 97C146EA1CF9000F007C117D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 97C146ED1CF9000F007C117D /* Runner */; + targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 97C146FA1CF9000F007C117D /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C146FB1CF9000F007C117D /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C147001CF9000F007C117D /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 249021D3217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Profile; + }; + 249021D4217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Profile; + }; + 331C8088294A63A400263BE5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Debug; + }; + 331C8089294A63A400263BE5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Release; + }; + 331C808A294A63A400263BE5 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Profile; + }; + 97C147031CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 97C147041CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 97C147061CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 97C147071CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 331C8088294A63A400263BE5 /* Debug */, + 331C8089294A63A400263BE5 /* Release */, + 331C808A294A63A400263BE5 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147031CF9000F007C117D /* Debug */, + 97C147041CF9000F007C117D /* Release */, + 249021D3217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147061CF9000F007C117D /* Debug */, + 97C147071CF9000F007C117D /* Release */, + 249021D4217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 97C146E61CF9000F007C117D /* Project object */; +} diff --git a/compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..919434a62 --- /dev/null +++ b/compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/experimental/linting_tool/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from experimental/linting_tool/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..f9b0d7c5e --- /dev/null +++ b/compass_app/app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/compass_app/app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/compass_app/app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 000000000..8e3ca5dfe --- /dev/null +++ b/compass_app/app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/compass_app/app/ios/Runner.xcworkspace/contents.xcworkspacedata b/compass_app/app/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..1d526a16e --- /dev/null +++ b/compass_app/app/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/experimental/linting_tool/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/compass_app/app/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from experimental/linting_tool/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to compass_app/app/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/compass_app/app/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/compass_app/app/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..f9b0d7c5e --- /dev/null +++ b/compass_app/app/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/compass_app/app/ios/Runner/AppDelegate.swift b/compass_app/app/ios/Runner/AppDelegate.swift new file mode 100644 index 000000000..9074fee92 --- /dev/null +++ b/compass_app/app/ios/Runner/AppDelegate.swift @@ -0,0 +1,13 @@ +import Flutter +import UIKit + +@UIApplicationMain +@objc class AppDelegate: FlutterAppDelegate { + override func application( + _ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? + ) -> Bool { + GeneratedPluginRegistrant.register(with: self) + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } +} diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 000000000..d36b1fab2 --- /dev/null +++ b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,122 @@ +{ + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "Icon-App-20x20@2x.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "Icon-App-20x20@3x.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@1x.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@3x.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-App-40x40@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-App-40x40@3x.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-App-60x60@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-App-60x60@3x.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon-App-20x20@1x.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon-App-20x20@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-App-29x29@1x.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-App-29x29@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-App-40x40@1x.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-App-40x40@2x.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-App-76x76@1x.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-App-76x76@2x.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "Icon-App-83.5x83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "Icon-App-1024x1024@1x.png", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png new file mode 100644 index 000000000..dc9ada472 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png new file mode 100644 index 000000000..7353c41ec Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png new file mode 100644 index 000000000..797d452e4 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png new file mode 100644 index 000000000..6ed2d933e Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png new file mode 100644 index 000000000..4cd7b0099 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png new file mode 100644 index 000000000..fe730945a Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png new file mode 100644 index 000000000..321773cd8 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png new file mode 100644 index 000000000..797d452e4 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png new file mode 100644 index 000000000..502f463a9 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png new file mode 100644 index 000000000..0ec303439 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png new file mode 100644 index 000000000..0ec303439 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png new file mode 100644 index 000000000..e9f5fea27 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png new file mode 100644 index 000000000..84ac32ae7 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png new file mode 100644 index 000000000..8953cba09 Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png new file mode 100644 index 000000000..0467bf12a Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json new file mode 100644 index 000000000..0bedcf2fd --- /dev/null +++ b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LaunchImage.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png new file mode 100644 index 000000000..9da19eaca Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png new file mode 100644 index 000000000..9da19eaca Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png new file mode 100644 index 000000000..9da19eaca Binary files /dev/null and b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ diff --git a/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md new file mode 100644 index 000000000..89c2725b7 --- /dev/null +++ b/compass_app/app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md @@ -0,0 +1,5 @@ +# Launch Screen Assets + +You can customize the launch screen with your own desired assets by replacing the image files in this directory. + +You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/compass_app/app/ios/Runner/Base.lproj/LaunchScreen.storyboard b/compass_app/app/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 000000000..f2e259c7c --- /dev/null +++ b/compass_app/app/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/compass_app/app/ios/Runner/Base.lproj/Main.storyboard b/compass_app/app/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 000000000..f3c28516f --- /dev/null +++ b/compass_app/app/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/compass_app/app/ios/Runner/Info.plist b/compass_app/app/ios/Runner/Info.plist new file mode 100644 index 000000000..e8a8df16d --- /dev/null +++ b/compass_app/app/ios/Runner/Info.plist @@ -0,0 +1,49 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Compass App + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + compass_app + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + CADisableMinimumFrameDurationOnPhone + + UIApplicationSupportsIndirectInputEvents + + + diff --git a/compass_app/app/ios/Runner/Runner-Bridging-Header.h b/compass_app/app/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 000000000..308a2a560 --- /dev/null +++ b/compass_app/app/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/compass_app/app/ios/RunnerTests/RunnerTests.swift b/compass_app/app/ios/RunnerTests/RunnerTests.swift new file mode 100644 index 000000000..86a7c3b1b --- /dev/null +++ b/compass_app/app/ios/RunnerTests/RunnerTests.swift @@ -0,0 +1,12 @@ +import Flutter +import UIKit +import XCTest + +class RunnerTests: XCTestCase { + + func testExample() { + // If you add code to the Runner application, consider adding tests here. + // See https://developer.apple.com/documentation/xctest for more information about using XCTest. + } + +} diff --git a/compass_app/app/lib/config/assets.dart b/compass_app/app/lib/config/assets.dart new file mode 100644 index 000000000..b60059e0a --- /dev/null +++ b/compass_app/app/lib/config/assets.dart @@ -0,0 +1,8 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +class Assets { + static const activities = 'assets/activities.json'; + static const destinations = 'assets/destinations.json'; +} diff --git a/compass_app/app/lib/config/dependencies.dart b/compass_app/app/lib/config/dependencies.dart new file mode 100644 index 000000000..42e283477 --- /dev/null +++ b/compass_app/app/lib/config/dependencies.dart @@ -0,0 +1,144 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:provider/single_child_widget.dart'; +import 'package:provider/provider.dart'; + +import '../data/repositories/auth/auth_repository.dart'; +import '../data/repositories/auth/auth_repository_dev.dart'; +import '../data/repositories/auth/auth_repository_remote.dart'; +import '../data/repositories/booking/booking_repository.dart'; +import '../data/repositories/booking/booking_repository_local.dart'; +import '../data/repositories/booking/booking_repository_remote.dart'; +import '../data/repositories/user/user_repository.dart'; +import '../data/repositories/user/user_repository_local.dart'; +import '../data/repositories/user/user_repository_remote.dart'; +import '../data/services/api/auth_api_client.dart'; +import '../data/services/local/local_data_service.dart'; +import '../data/services/shared_preferences_service.dart'; +import '../data/repositories/activity/activity_repository.dart'; +import '../data/repositories/activity/activity_repository_local.dart'; +import '../data/repositories/activity/activity_repository_remote.dart'; +import '../data/repositories/continent/continent_repository.dart'; +import '../data/repositories/continent/continent_repository_local.dart'; +import '../data/repositories/continent/continent_repository_remote.dart'; +import '../data/repositories/destination/destination_repository.dart'; +import '../data/repositories/destination/destination_repository_local.dart'; +import '../data/repositories/destination/destination_repository_remote.dart'; +import '../data/repositories/itinerary_config/itinerary_config_repository.dart'; +import '../data/repositories/itinerary_config/itinerary_config_repository_memory.dart'; +import '../data/services/api/api_client.dart'; +import '../domain/use_cases/booking/booking_create_use_case.dart'; +import '../domain/use_cases/booking/booking_share_use_case.dart'; + +/// Shared providers for all configurations. +List _sharedProviders = [ + Provider( + lazy: true, + create: (context) => BookingCreateUseCase( + destinationRepository: context.read(), + activityRepository: context.read(), + bookingRepository: context.read(), + ), + ), + Provider( + lazy: true, + create: (context) => BookingShareUseCase.withSharePlus(), + ), +]; + +/// Configure dependencies for remote data. +/// This dependency list uses repositories that connect to a remote server. +List get providersRemote { + return [ + Provider( + create: (context) => AuthApiClient(), + ), + Provider( + create: (context) => ApiClient(), + ), + Provider( + create: (context) => SharedPreferencesService(), + ), + ChangeNotifierProvider( + create: (context) => AuthRepositoryRemote( + authApiClient: context.read(), + apiClient: context.read(), + sharedPreferencesService: context.read(), + ) as AuthRepository, + ), + Provider( + create: (context) => DestinationRepositoryRemote( + apiClient: context.read(), + ) as DestinationRepository, + ), + Provider( + create: (context) => ContinentRepositoryRemote( + apiClient: context.read(), + ) as ContinentRepository, + ), + Provider( + create: (context) => ActivityRepositoryRemote( + apiClient: context.read(), + ) as ActivityRepository, + ), + Provider.value( + value: ItineraryConfigRepositoryMemory() as ItineraryConfigRepository, + ), + Provider( + create: (context) => BookingRepositoryRemote( + apiClient: context.read(), + ) as BookingRepository, + ), + Provider( + create: (context) => UserRepositoryRemote( + apiClient: context.read(), + ) as UserRepository, + ), + ..._sharedProviders, + ]; +} + +/// Configure dependencies for local data. +/// This dependency list uses repositories that provide local data. +/// The user is always logged in. +List get providersLocal { + return [ + ChangeNotifierProvider.value( + value: AuthRepositoryDev() as AuthRepository, + ), + Provider.value( + value: LocalDataService(), + ), + Provider( + create: (context) => DestinationRepositoryLocal( + localDataService: context.read(), + ) as DestinationRepository, + ), + Provider( + create: (context) => ContinentRepositoryLocal( + localDataService: context.read(), + ) as ContinentRepository, + ), + Provider( + create: (context) => ActivityRepositoryLocal( + localDataService: context.read(), + ) as ActivityRepository, + ), + Provider( + create: (context) => BookingRepositoryLocal( + localDataService: context.read(), + ) as BookingRepository, + ), + Provider.value( + value: ItineraryConfigRepositoryMemory() as ItineraryConfigRepository, + ), + Provider( + create: (context) => UserRepositoryLocal( + localDataService: context.read(), + ) as UserRepository, + ), + ..._sharedProviders, + ]; +} diff --git a/compass_app/app/lib/data/repositories/activity/activity_repository.dart b/compass_app/app/lib/data/repositories/activity/activity_repository.dart new file mode 100644 index 000000000..ab0c79296 --- /dev/null +++ b/compass_app/app/lib/data/repositories/activity/activity_repository.dart @@ -0,0 +1,12 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/activity/activity.dart'; +import '../../../utils/result.dart'; + +/// Data source for activities. +abstract class ActivityRepository { + /// Get activities by [Destination] ref. + Future>> getByDestination(String ref); +} diff --git a/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart b/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart new file mode 100644 index 000000000..fb2bb23a3 --- /dev/null +++ b/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart @@ -0,0 +1,31 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/activity/activity.dart'; +import '../../../utils/result.dart'; +import '../../services/local/local_data_service.dart'; +import 'activity_repository.dart'; + +/// Local implementation of ActivityRepository +/// Uses data from assets folder +class ActivityRepositoryLocal implements ActivityRepository { + ActivityRepositoryLocal({ + required LocalDataService localDataService, + }) : _localDataService = localDataService; + + final LocalDataService _localDataService; + + @override + Future>> getByDestination(String ref) async { + try { + final activities = (await _localDataService.getActivities()) + .where((activity) => activity.destinationRef == ref) + .toList(); + + return Result.ok(activities); + } on Exception catch (error) { + return Result.error(error); + } + } +} diff --git a/compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart b/compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart new file mode 100644 index 000000000..6d2d0bcc5 --- /dev/null +++ b/compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart @@ -0,0 +1,36 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/activity/activity.dart'; +import '../../../utils/result.dart'; +import '../../services/api/api_client.dart'; +import 'activity_repository.dart'; + +/// Remote data source for [Activity]. +/// Implements basic local caching. +/// See: https://docs.flutter.dev/get-started/fwe/local-caching +class ActivityRepositoryRemote implements ActivityRepository { + ActivityRepositoryRemote({ + required ApiClient apiClient, + }) : _apiClient = apiClient; + + final ApiClient _apiClient; + + final Map> _cachedData = {}; + + @override + Future>> getByDestination(String ref) async { + if (!_cachedData.containsKey(ref)) { + // No cached data, request activities + final result = await _apiClient.getActivityByDestination(ref); + if (result is Ok) { + _cachedData[ref] = result.asOk.value; + } + return result; + } else { + // Return cached data if available + return Result.ok(_cachedData[ref]!); + } + } +} diff --git a/compass_app/app/lib/data/repositories/auth/auth_repository.dart b/compass_app/app/lib/data/repositories/auth/auth_repository.dart new file mode 100644 index 000000000..b2d1f98f0 --- /dev/null +++ b/compass_app/app/lib/data/repositories/auth/auth_repository.dart @@ -0,0 +1,22 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/foundation.dart'; + +import '../../../utils/result.dart'; + +abstract class AuthRepository extends ChangeNotifier { + /// Returns true when the user is logged in + /// Returns [Future] because it will load a stored auth state the first time. + Future get isAuthenticated; + + /// Perform login + Future> login({ + required String email, + required String password, + }); + + /// Perform logout + Future> logout(); +} diff --git a/compass_app/app/lib/data/repositories/auth/auth_repository_dev.dart b/compass_app/app/lib/data/repositories/auth/auth_repository_dev.dart new file mode 100644 index 000000000..5c56b9621 --- /dev/null +++ b/compass_app/app/lib/data/repositories/auth/auth_repository_dev.dart @@ -0,0 +1,27 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../utils/result.dart'; +import 'auth_repository.dart'; + +class AuthRepositoryDev extends AuthRepository { + /// User is always authenticated in dev scenarios + @override + Future get isAuthenticated => Future.value(true); + + /// Login is always successful in dev scenarios + @override + Future> login({ + required String email, + required String password, + }) async { + return Result.ok(null); + } + + /// Logout is always successful in dev scenarios + @override + Future> logout() async { + return Result.ok(null); + } +} diff --git a/compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart b/compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart new file mode 100644 index 000000000..8d8687f68 --- /dev/null +++ b/compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart @@ -0,0 +1,112 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:logging/logging.dart'; + +import '../../../utils/result.dart'; +import '../../services/api/api_client.dart'; +import '../../services/api/auth_api_client.dart'; +import '../../services/api/model/login_request/login_request.dart'; +import '../../services/api/model/login_response/login_response.dart'; +import '../../services/shared_preferences_service.dart'; +import 'auth_repository.dart'; + +class AuthRepositoryRemote extends AuthRepository { + AuthRepositoryRemote({ + required ApiClient apiClient, + required AuthApiClient authApiClient, + required SharedPreferencesService sharedPreferencesService, + }) : _apiClient = apiClient, + _authApiClient = authApiClient, + _sharedPreferencesService = sharedPreferencesService { + _apiClient.authHeaderProvider = _authHeaderProvider; + } + + final AuthApiClient _authApiClient; + final ApiClient _apiClient; + final SharedPreferencesService _sharedPreferencesService; + + bool? _isAuthenticated; + String? _authToken; + final _log = Logger('AuthRepositoryRemote'); + + /// Fetch token from shared preferences + Future _fetch() async { + final result = await _sharedPreferencesService.fetchToken(); + switch (result) { + case Ok(): + _authToken = result.value; + _isAuthenticated = result.value != null; + case Error(): + _log.severe( + 'Failed to fech Token from SharedPreferences', + result.error, + ); + } + } + + @override + Future get isAuthenticated async { + // Status is cached + if (_isAuthenticated != null) { + return _isAuthenticated!; + } + // No status cached, fetch from storage + await _fetch(); + return _isAuthenticated ?? false; + } + + @override + Future> login({ + required String email, + required String password, + }) async { + try { + final result = await _authApiClient.login( + LoginRequest( + email: email, + password: password, + ), + ); + switch (result) { + case Ok(): + _log.info('User logged int'); + // Set auth status + _isAuthenticated = true; + _authToken = result.value.token; + // Store in Shared preferences + return await _sharedPreferencesService.saveToken(result.value.token); + case Error(): + _log.warning('Error logging in: ${result.error}'); + return Result.error(result.error); + } + } finally { + notifyListeners(); + } + } + + @override + Future> logout() async { + _log.info('User logged out'); + try { + // Clear stored auth token + final result = await _sharedPreferencesService.saveToken(null); + if (result is Error) { + _log.severe('Failed to clear stored auth token'); + } + + // Clear token in ApiClient + _authToken = null; + + // Clear authenticated status + _isAuthenticated = false; + return result; + } finally { + notifyListeners(); + } + } + + String? _authHeaderProvider() => + _authToken != null ? 'Bearer $_authToken' : null; +} diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository.dart b/compass_app/app/lib/data/repositories/booking/booking_repository.dart new file mode 100644 index 000000000..aeda7c74b --- /dev/null +++ b/compass_app/app/lib/data/repositories/booking/booking_repository.dart @@ -0,0 +1,21 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/booking/booking.dart'; +import '../../../domain/models/booking/booking_summary.dart'; +import '../../../utils/result.dart'; + +abstract class BookingRepository { + /// Returns the list of [BookingSummary] for the current user. + Future>> getBookingsList(); + + /// Returns a full [Booking] given the id. + Future> getBooking(int id); + + /// Creates a new [Booking]. + Future> createBooking(Booking booking); + + /// Delete booking + Future> delete(int id); +} diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart b/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart new file mode 100644 index 000000000..4a340d7c2 --- /dev/null +++ b/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart @@ -0,0 +1,97 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:async'; + +import 'package:collection/collection.dart'; + +import '../../../domain/models/booking/booking.dart'; +import '../../../domain/models/booking/booking_summary.dart'; +import '../../../utils/result.dart'; + +import '../../services/local/local_data_service.dart'; +import 'booking_repository.dart'; + +class BookingRepositoryLocal implements BookingRepository { + BookingRepositoryLocal({ + required LocalDataService localDataService, + }) : _localDataService = localDataService; + + // Only create default booking once + bool _isInitialized = false; + // Used to generate IDs for bookings + int _sequentialId = 0; + + final _bookings = List.empty(growable: true); + final LocalDataService _localDataService; + + @override + Future> createBooking(Booking booking) async { + // Bookings created come without id, we need to assign one + final bookingWithId = booking.copyWith(id: _sequentialId++); + _bookings.add(bookingWithId); + return Result.ok(null); + } + + @override + Future> getBooking(int id) async { + final booking = _bookings.firstWhereOrNull((booking) => booking.id == id); + if (booking == null) { + return Result.error(Exception('Booking not found')); + } + return Result.ok(booking); + } + + @override + Future>> getBookingsList() async { + // Initialize the repository with a default booking + if (!_isInitialized) { + await _createDefaultBooking(); + _isInitialized = true; + } + + return Result.ok(_createSummaries()); + } + + List _createSummaries() { + return _bookings + .map( + (booking) => BookingSummary( + id: booking.id!, + name: + '${booking.destination.name}, ${booking.destination.continent}', + startDate: booking.startDate, + endDate: booking.endDate, + ), + ) + .toList(); + } + + Future _createDefaultBooking() async { + // create a default booking the first time + if (_bookings.isEmpty) { + final destination = (await _localDataService.getDestinations()).first; + final activities = (await _localDataService.getActivities()) + .where((activity) => activity.destinationRef == destination.ref) + .take(4) + .toList(); + + _bookings.add( + Booking( + id: _sequentialId++, + startDate: DateTime(2024, 1, 1), + endDate: DateTime(2024, 2, 1), + destination: destination, + activity: activities, + ), + ); + } + } + + @override + Future> delete(int id) async { + _bookings.removeWhere((booking) => booking.id == id); + return Result.ok(null); + } +} diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart new file mode 100644 index 000000000..1ac1cd7cd --- /dev/null +++ b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart @@ -0,0 +1,118 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/activity/activity.dart'; +import '../../../domain/models/booking/booking.dart'; +import '../../../domain/models/booking/booking_summary.dart'; +import '../../../domain/models/destination/destination.dart'; +import '../../../utils/result.dart'; +import '../../services/api/api_client.dart'; +import '../../services/api/model/booking/booking_api_model.dart'; +import 'booking_repository.dart'; + +class BookingRepositoryRemote implements BookingRepository { + BookingRepositoryRemote({ + required ApiClient apiClient, + }) : _apiClient = apiClient; + + final ApiClient _apiClient; + + List? _cachedDestinations; + + @override + Future> createBooking(Booking booking) async { + try { + final BookingApiModel bookingApiModel = BookingApiModel( + startDate: booking.startDate, + endDate: booking.endDate, + name: '${booking.destination.name}, ${booking.destination.continent}', + destinationRef: booking.destination.ref, + activitiesRef: + booking.activity.map((activity) => activity.ref).toList(), + ); + return _apiClient.postBooking(bookingApiModel); + } on Exception catch (e) { + return Result.error(e); + } + } + + @override + Future> getBooking(int id) async { + try { + // Get booking by ID from server + final resultBooking = await _apiClient.getBooking(id); + if (resultBooking is Error) { + return Result.error(resultBooking.error); + } + final booking = resultBooking.asOk.value; + + // Load destinations if not loaded yet + if (_cachedDestinations == null) { + final resultDestination = await _apiClient.getDestinations(); + if (resultDestination is Error>) { + return Result.error(resultDestination.error); + } + _cachedDestinations = resultDestination.asOk.value; + } + + // Get destination for booking + final destination = _cachedDestinations!.firstWhere( + (destination) => destination.ref == booking.destinationRef); + + final resultActivities = + await _apiClient.getActivityByDestination(destination.ref); + + if (resultActivities is Error>) { + return Result.error(resultActivities.error); + } + final activities = resultActivities.asOk.value + .where((activity) => booking.activitiesRef.contains(activity.ref)) + .toList(); + + return Result.ok( + Booking( + id: booking.id, + startDate: booking.startDate, + endDate: booking.endDate, + destination: destination, + activity: activities, + ), + ); + } on Exception catch (e) { + return Result.error(e); + } + } + + @override + Future>> getBookingsList() async { + try { + final result = await _apiClient.getBookings(); + if (result is Error>) { + return Result.error(result.error); + } + final bookingsApi = result.asOk.value; + return Result.ok(bookingsApi + .map( + (bookingApi) => BookingSummary( + id: bookingApi.id!, + name: bookingApi.name, + startDate: bookingApi.startDate, + endDate: bookingApi.endDate, + ), + ) + .toList()); + } on Exception catch (e) { + return Result.error(e); + } + } + + @override + Future> delete(int id) async { + try { + return _apiClient.deleteBooking(id); + } on Exception catch (e) { + return Result.error(e); + } + } +} diff --git a/compass_app/app/lib/data/repositories/continent/continent_repository.dart b/compass_app/app/lib/data/repositories/continent/continent_repository.dart new file mode 100644 index 000000000..14690b6ec --- /dev/null +++ b/compass_app/app/lib/data/repositories/continent/continent_repository.dart @@ -0,0 +1,12 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/continent/continent.dart'; +import '../../../utils/result.dart'; + +/// Data source with all possible continents. +abstract class ContinentRepository { + /// Get complete list of continents. + Future>> getContinents(); +} diff --git a/compass_app/app/lib/data/repositories/continent/continent_repository_local.dart b/compass_app/app/lib/data/repositories/continent/continent_repository_local.dart new file mode 100644 index 000000000..8c64f05f7 --- /dev/null +++ b/compass_app/app/lib/data/repositories/continent/continent_repository_local.dart @@ -0,0 +1,22 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/continent/continent.dart'; +import '../../../utils/result.dart'; +import '../../services/local/local_data_service.dart'; +import 'continent_repository.dart'; + +/// Local data source with all possible continents. +class ContinentRepositoryLocal implements ContinentRepository { + ContinentRepositoryLocal({ + required LocalDataService localDataService, + }) : _localDataService = localDataService; + + final LocalDataService _localDataService; + + @override + Future>> getContinents() async { + return Future.value(Result.ok(_localDataService.getContinents())); + } +} diff --git a/compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart b/compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart new file mode 100644 index 000000000..58a6e439e --- /dev/null +++ b/compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart @@ -0,0 +1,37 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/continent/continent.dart'; +import '../../../utils/result.dart'; +import '../../services/api/api_client.dart'; +import 'continent_repository.dart'; + +/// Remote data source for [Continent]. +/// Implements basic local caching. +/// See: https://docs.flutter.dev/get-started/fwe/local-caching +class ContinentRepositoryRemote implements ContinentRepository { + ContinentRepositoryRemote({ + required ApiClient apiClient, + }) : _apiClient = apiClient; + + final ApiClient _apiClient; + + List? _cachedData; + + @override + Future>> getContinents() async { + if (_cachedData == null) { + // No cached data, request continents + final result = await _apiClient.getContinents(); + if (result is Ok) { + // Store value if result Ok + _cachedData = result.asOk.value; + } + return result; + } else { + // Return cached data if available + return Result.ok(_cachedData!); + } + } +} diff --git a/compass_app/app/lib/data/repositories/destination/destination_repository.dart b/compass_app/app/lib/data/repositories/destination/destination_repository.dart new file mode 100644 index 000000000..64af520ce --- /dev/null +++ b/compass_app/app/lib/data/repositories/destination/destination_repository.dart @@ -0,0 +1,12 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/destination/destination.dart'; +import '../../../utils/result.dart'; + +/// Data source with all possible destinations +abstract class DestinationRepository { + /// Get complete list of destinations + Future>> getDestinations(); +} diff --git a/compass_app/app/lib/data/repositories/destination/destination_repository_local.dart b/compass_app/app/lib/data/repositories/destination/destination_repository_local.dart new file mode 100644 index 000000000..8604251b7 --- /dev/null +++ b/compass_app/app/lib/data/repositories/destination/destination_repository_local.dart @@ -0,0 +1,28 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/destination/destination.dart'; +import '../../../utils/result.dart'; +import '../../services/local/local_data_service.dart'; +import 'destination_repository.dart'; + +/// Local implementation of DestinationRepository +/// Uses data from assets folder +class DestinationRepositoryLocal implements DestinationRepository { + DestinationRepositoryLocal({ + required LocalDataService localDataService, + }) : _localDataService = localDataService; + + final LocalDataService _localDataService; + + /// Obtain list of destinations from local assets + @override + Future>> getDestinations() async { + try { + return Result.ok(await _localDataService.getDestinations()); + } on Exception catch (error) { + return Result.error(error); + } + } +} diff --git a/compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart b/compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart new file mode 100644 index 000000000..191b2a6ed --- /dev/null +++ b/compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart @@ -0,0 +1,37 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/destination/destination.dart'; +import '../../../utils/result.dart'; +import '../../services/api/api_client.dart'; +import 'destination_repository.dart'; + +/// Remote data source for [Destination]. +/// Implements basic local caching. +/// See: https://docs.flutter.dev/get-started/fwe/local-caching +class DestinationRepositoryRemote implements DestinationRepository { + DestinationRepositoryRemote({ + required ApiClient apiClient, + }) : _apiClient = apiClient; + + final ApiClient _apiClient; + + List? _cachedData; + + @override + Future>> getDestinations() async { + if (_cachedData == null) { + // No cached data, request destinations + final result = await _apiClient.getDestinations(); + if (result is Ok) { + // Store value if result Ok + _cachedData = result.asOk.value; + } + return result; + } else { + // Return cached data if available + return Result.ok(_cachedData!); + } + } +} diff --git a/compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository.dart b/compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository.dart new file mode 100644 index 000000000..a48297620 --- /dev/null +++ b/compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository.dart @@ -0,0 +1,17 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/itinerary_config/itinerary_config.dart'; +import '../../../utils/result.dart'; + +/// Data source for the current [ItineraryConfig] +abstract class ItineraryConfigRepository { + /// Get current [ItineraryConfig], may be empty if no configuration started. + /// Method is async to support writing to database, file, etc. + Future> getItineraryConfig(); + + /// Sets [ItineraryConfig], overrides the previous one stored. + /// Returns Result.Ok if set is successful. + Future> setItineraryConfig(ItineraryConfig itineraryConfig); +} diff --git a/compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository_memory.dart b/compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository_memory.dart new file mode 100644 index 000000000..5bd9cc0d5 --- /dev/null +++ b/compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository_memory.dart @@ -0,0 +1,27 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:async'; + +import '../../../domain/models/itinerary_config/itinerary_config.dart'; +import '../../../utils/result.dart'; +import 'itinerary_config_repository.dart'; + +/// In-memory implementation of [ItineraryConfigRepository]. +class ItineraryConfigRepositoryMemory implements ItineraryConfigRepository { + ItineraryConfig? _itineraryConfig; + + @override + Future> getItineraryConfig() async { + return Result.ok(_itineraryConfig ?? const ItineraryConfig()); + } + + @override + Future> setItineraryConfig( + ItineraryConfig itineraryConfig, + ) async { + _itineraryConfig = itineraryConfig; + return Result.ok(true); + } +} diff --git a/compass_app/app/lib/data/repositories/user/user_repository.dart b/compass_app/app/lib/data/repositories/user/user_repository.dart new file mode 100644 index 000000000..142060c46 --- /dev/null +++ b/compass_app/app/lib/data/repositories/user/user_repository.dart @@ -0,0 +1,12 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/user/user.dart'; +import '../../../utils/result.dart'; + +/// Data source for user related data +abstract class UserRepository { + /// Get current user + Future> getUser(); +} diff --git a/compass_app/app/lib/data/repositories/user/user_repository_local.dart b/compass_app/app/lib/data/repositories/user/user_repository_local.dart new file mode 100644 index 000000000..09ad4300b --- /dev/null +++ b/compass_app/app/lib/data/repositories/user/user_repository_local.dart @@ -0,0 +1,21 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/user/user.dart'; +import '../../../utils/result.dart'; +import '../../services/local/local_data_service.dart'; +import 'user_repository.dart'; + +class UserRepositoryLocal implements UserRepository { + UserRepositoryLocal({ + required LocalDataService localDataService, + }) : _localDataService = localDataService; + + final LocalDataService _localDataService; + + @override + Future> getUser() async { + return Result.ok(_localDataService.getUser()); + } +} diff --git a/compass_app/app/lib/data/repositories/user/user_repository_remote.dart b/compass_app/app/lib/data/repositories/user/user_repository_remote.dart new file mode 100644 index 000000000..35e47ff6d --- /dev/null +++ b/compass_app/app/lib/data/repositories/user/user_repository_remote.dart @@ -0,0 +1,39 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../domain/models/user/user.dart'; +import '../../../utils/result.dart'; +import '../../services/api/api_client.dart'; +import '../../services/api/model/user/user_api_model.dart'; +import 'user_repository.dart'; + +class UserRepositoryRemote implements UserRepository { + UserRepositoryRemote({ + required ApiClient apiClient, + }) : _apiClient = apiClient; + + final ApiClient _apiClient; + + User? _cachedData; + + @override + Future> getUser() async { + if (_cachedData != null) { + return Future.value(Result.ok(_cachedData!)); + } + + final result = await _apiClient.getUser(); + switch (result) { + case Ok(): + final user = User( + name: result.value.name, + picture: result.value.picture, + ); + _cachedData = user; + return Result.ok(user); + case Error(): + return Result.error(result.error); + } + } +} diff --git a/compass_app/app/lib/data/services/api/api_client.dart b/compass_app/app/lib/data/services/api/api_client.dart new file mode 100644 index 000000000..58f2d7a0a --- /dev/null +++ b/compass_app/app/lib/data/services/api/api_client.dart @@ -0,0 +1,210 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; +import 'dart:io'; + +import '../../../domain/models/activity/activity.dart'; +import '../../../domain/models/continent/continent.dart'; +import '../../../domain/models/destination/destination.dart'; +import '../../../utils/result.dart'; +import 'model/booking/booking_api_model.dart'; +import 'model/user/user_api_model.dart'; + +/// Adds the `Authentication` header to a header configuration. +typedef AuthHeaderProvider = String? Function(); + +class ApiClient { + ApiClient({ + String? host, + int? port, + HttpClient Function()? clientFactory, + }) : _host = host ?? 'localhost', + _port = port ?? 8080, + _clientFactory = clientFactory ?? (() => HttpClient()); + + final String _host; + final int _port; + final HttpClient Function() _clientFactory; + + AuthHeaderProvider? _authHeaderProvider; + + set authHeaderProvider(AuthHeaderProvider authHeaderProvider) { + _authHeaderProvider = authHeaderProvider; + } + + Future _authHeader(HttpHeaders headers) async { + final header = _authHeaderProvider?.call(); + if (header != null) { + headers.add(HttpHeaders.authorizationHeader, header); + } + } + + Future>> getContinents() async { + final client = _clientFactory(); + try { + final request = await client.get(_host, _port, '/continent'); + await _authHeader(request.headers); + final response = await request.close(); + if (response.statusCode == 200) { + final stringData = await response.transform(utf8.decoder).join(); + final json = jsonDecode(stringData) as List; + return Result.ok( + json.map((element) => Continent.fromJson(element)).toList()); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } + + Future>> getDestinations() async { + final client = _clientFactory(); + try { + final request = await client.get(_host, _port, '/destination'); + await _authHeader(request.headers); + final response = await request.close(); + if (response.statusCode == 200) { + final stringData = await response.transform(utf8.decoder).join(); + final json = jsonDecode(stringData) as List; + return Result.ok( + json.map((element) => Destination.fromJson(element)).toList()); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } + + Future>> getActivityByDestination(String ref) async { + final client = _clientFactory(); + try { + final request = + await client.get(_host, _port, '/destination/$ref/activity'); + await _authHeader(request.headers); + final response = await request.close(); + if (response.statusCode == 200) { + final stringData = await response.transform(utf8.decoder).join(); + final json = jsonDecode(stringData) as List; + final activities = + json.map((element) => Activity.fromJson(element)).toList(); + return Result.ok(activities); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } + + Future>> getBookings() async { + final client = _clientFactory(); + try { + final request = await client.get(_host, _port, '/booking'); + await _authHeader(request.headers); + final response = await request.close(); + if (response.statusCode == 200) { + final stringData = await response.transform(utf8.decoder).join(); + final json = jsonDecode(stringData) as List; + final bookings = + json.map((element) => BookingApiModel.fromJson(element)).toList(); + return Result.ok(bookings); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } + + Future> getBooking(int id) async { + final client = _clientFactory(); + try { + final request = await client.get(_host, _port, '/booking/$id'); + await _authHeader(request.headers); + final response = await request.close(); + if (response.statusCode == 200) { + final stringData = await response.transform(utf8.decoder).join(); + final booking = BookingApiModel.fromJson(jsonDecode(stringData)); + return Result.ok(booking); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } + + Future> postBooking(BookingApiModel booking) async { + final client = _clientFactory(); + try { + final request = await client.post(_host, _port, '/booking'); + await _authHeader(request.headers); + request.write(jsonEncode(booking)); + final response = await request.close(); + if (response.statusCode == 201) { + final stringData = await response.transform(utf8.decoder).join(); + final booking = BookingApiModel.fromJson(jsonDecode(stringData)); + return Result.ok(booking); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } + + Future> getUser() async { + final client = _clientFactory(); + try { + final request = await client.get(_host, _port, '/user'); + await _authHeader(request.headers); + final response = await request.close(); + if (response.statusCode == 200) { + final stringData = await response.transform(utf8.decoder).join(); + final user = UserApiModel.fromJson(jsonDecode(stringData)); + return Result.ok(user); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } + + Future> deleteBooking(int id) async { + final client = _clientFactory(); + try { + final request = await client.delete(_host, _port, '/booking/$id'); + await _authHeader(request.headers); + final response = await request.close(); + // Response 204 "No Content", delete was successful + if (response.statusCode == 204) { + return Result.ok(null); + } else { + return Result.error(const HttpException("Invalid response")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } +} diff --git a/compass_app/app/lib/data/services/api/auth_api_client.dart b/compass_app/app/lib/data/services/api/auth_api_client.dart new file mode 100644 index 000000000..7c2191b46 --- /dev/null +++ b/compass_app/app/lib/data/services/api/auth_api_client.dart @@ -0,0 +1,43 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; +import 'dart:io'; + +import '../../../utils/result.dart'; +import 'model/login_request/login_request.dart'; +import 'model/login_response/login_response.dart'; + +class AuthApiClient { + AuthApiClient({ + String? host, + int? port, + HttpClient Function()? clientFactory, + }) : _host = host ?? 'localhost', + _port = port ?? 8080, + _clientFactory = clientFactory ?? (() => HttpClient()); + + final String _host; + final int _port; + final HttpClient Function() _clientFactory; + + Future> login(LoginRequest loginRequest) async { + final client = _clientFactory(); + try { + final request = await client.post(_host, _port, '/login'); + request.write(jsonEncode(loginRequest)); + final response = await request.close(); + if (response.statusCode == 200) { + final stringData = await response.transform(utf8.decoder).join(); + return Result.ok(LoginResponse.fromJson(jsonDecode(stringData))); + } else { + return Result.error(const HttpException("Login error")); + } + } on Exception catch (error) { + return Result.error(error); + } finally { + client.close(); + } + } +} diff --git a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.dart b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.dart new file mode 100644 index 000000000..bbd0ec35a --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.dart @@ -0,0 +1,35 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'booking_api_model.freezed.dart'; +part 'booking_api_model.g.dart'; + +@freezed +class BookingApiModel with _$BookingApiModel { + const factory BookingApiModel({ + /// Booking ID. Generated when stored in server. + int? id, + + /// Start date of the trip + required DateTime startDate, + + /// End date of the trip + required DateTime endDate, + + /// Booking name + /// Should be "Destination, Continent" + required String name, + + /// Destination of the trip + required String destinationRef, + + /// List of chosen activities + required List activitiesRef, + }) = _BookingApiModel; + + factory BookingApiModel.fromJson(Map json) => + _$BookingApiModelFromJson(json); +} diff --git a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart new file mode 100644 index 000000000..e3589dc52 --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart @@ -0,0 +1,317 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'booking_api_model.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +BookingApiModel _$BookingApiModelFromJson(Map json) { + return _BookingApiModel.fromJson(json); +} + +/// @nodoc +mixin _$BookingApiModel { + /// Booking ID. Generated when stored in server. + int? get id => throw _privateConstructorUsedError; + + /// Start date of the trip + DateTime get startDate => throw _privateConstructorUsedError; + + /// End date of the trip + DateTime get endDate => throw _privateConstructorUsedError; + + /// Booking name + /// Should be "Destination, Continent" + String get name => throw _privateConstructorUsedError; + + /// Destination of the trip + String get destinationRef => throw _privateConstructorUsedError; + + /// List of chosen activities + List get activitiesRef => throw _privateConstructorUsedError; + + /// Serializes this BookingApiModel to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of BookingApiModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $BookingApiModelCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $BookingApiModelCopyWith<$Res> { + factory $BookingApiModelCopyWith( + BookingApiModel value, $Res Function(BookingApiModel) then) = + _$BookingApiModelCopyWithImpl<$Res, BookingApiModel>; + @useResult + $Res call( + {int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef}); +} + +/// @nodoc +class _$BookingApiModelCopyWithImpl<$Res, $Val extends BookingApiModel> + implements $BookingApiModelCopyWith<$Res> { + _$BookingApiModelCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of BookingApiModel + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = freezed, + Object? startDate = null, + Object? endDate = null, + Object? name = null, + Object? destinationRef = null, + Object? activitiesRef = null, + }) { + return _then(_value.copyWith( + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value.activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$BookingApiModelImplCopyWith<$Res> + implements $BookingApiModelCopyWith<$Res> { + factory _$$BookingApiModelImplCopyWith(_$BookingApiModelImpl value, + $Res Function(_$BookingApiModelImpl) then) = + __$$BookingApiModelImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef}); +} + +/// @nodoc +class __$$BookingApiModelImplCopyWithImpl<$Res> + extends _$BookingApiModelCopyWithImpl<$Res, _$BookingApiModelImpl> + implements _$$BookingApiModelImplCopyWith<$Res> { + __$$BookingApiModelImplCopyWithImpl( + _$BookingApiModelImpl _value, $Res Function(_$BookingApiModelImpl) _then) + : super(_value, _then); + + /// Create a copy of BookingApiModel + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = freezed, + Object? startDate = null, + Object? endDate = null, + Object? name = null, + Object? destinationRef = null, + Object? activitiesRef = null, + }) { + return _then(_$BookingApiModelImpl( + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value._activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$BookingApiModelImpl implements _BookingApiModel { + const _$BookingApiModelImpl( + {this.id, + required this.startDate, + required this.endDate, + required this.name, + required this.destinationRef, + required final List activitiesRef}) + : _activitiesRef = activitiesRef; + + factory _$BookingApiModelImpl.fromJson(Map json) => + _$$BookingApiModelImplFromJson(json); + + /// Booking ID. Generated when stored in server. + @override + final int? id; + + /// Start date of the trip + @override + final DateTime startDate; + + /// End date of the trip + @override + final DateTime endDate; + + /// Booking name + /// Should be "Destination, Continent" + @override + final String name; + + /// Destination of the trip + @override + final String destinationRef; + + /// List of chosen activities + final List _activitiesRef; + + /// List of chosen activities + @override + List get activitiesRef { + if (_activitiesRef is EqualUnmodifiableListView) return _activitiesRef; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_activitiesRef); + } + + @override + String toString() { + return 'BookingApiModel(id: $id, startDate: $startDate, endDate: $endDate, name: $name, destinationRef: $destinationRef, activitiesRef: $activitiesRef)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$BookingApiModelImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.startDate, startDate) || + other.startDate == startDate) && + (identical(other.endDate, endDate) || other.endDate == endDate) && + (identical(other.name, name) || other.name == name) && + (identical(other.destinationRef, destinationRef) || + other.destinationRef == destinationRef) && + const DeepCollectionEquality() + .equals(other._activitiesRef, _activitiesRef)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, id, startDate, endDate, name, + destinationRef, const DeepCollectionEquality().hash(_activitiesRef)); + + /// Create a copy of BookingApiModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$BookingApiModelImplCopyWith<_$BookingApiModelImpl> get copyWith => + __$$BookingApiModelImplCopyWithImpl<_$BookingApiModelImpl>( + this, _$identity); + + @override + Map toJson() { + return _$$BookingApiModelImplToJson( + this, + ); + } +} + +abstract class _BookingApiModel implements BookingApiModel { + const factory _BookingApiModel( + {final int? id, + required final DateTime startDate, + required final DateTime endDate, + required final String name, + required final String destinationRef, + required final List activitiesRef}) = _$BookingApiModelImpl; + + factory _BookingApiModel.fromJson(Map json) = + _$BookingApiModelImpl.fromJson; + + /// Booking ID. Generated when stored in server. + @override + int? get id; + + /// Start date of the trip + @override + DateTime get startDate; + + /// End date of the trip + @override + DateTime get endDate; + + /// Booking name + /// Should be "Destination, Continent" + @override + String get name; + + /// Destination of the trip + @override + String get destinationRef; + + /// List of chosen activities + @override + List get activitiesRef; + + /// Create a copy of BookingApiModel + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$BookingApiModelImplCopyWith<_$BookingApiModelImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart new file mode 100644 index 000000000..8be3181bf --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart @@ -0,0 +1,31 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'booking_api_model.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$BookingApiModelImpl _$$BookingApiModelImplFromJson( + Map json) => + _$BookingApiModelImpl( + id: (json['id'] as num?)?.toInt(), + startDate: DateTime.parse(json['startDate'] as String), + endDate: DateTime.parse(json['endDate'] as String), + name: json['name'] as String, + destinationRef: json['destinationRef'] as String, + activitiesRef: (json['activitiesRef'] as List) + .map((e) => e as String) + .toList(), + ); + +Map _$$BookingApiModelImplToJson( + _$BookingApiModelImpl instance) => + { + 'id': instance.id, + 'startDate': instance.startDate.toIso8601String(), + 'endDate': instance.endDate.toIso8601String(), + 'name': instance.name, + 'destinationRef': instance.destinationRef, + 'activitiesRef': instance.activitiesRef, + }; diff --git a/compass_app/app/lib/data/services/api/model/login_request/login_request.dart b/compass_app/app/lib/data/services/api/model/login_request/login_request.dart new file mode 100644 index 000000000..e30ec7cf6 --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/login_request/login_request.dart @@ -0,0 +1,24 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'login_request.freezed.dart'; + +part 'login_request.g.dart'; + +/// Simple data class to hold login request data. +@freezed +class LoginRequest with _$LoginRequest { + const factory LoginRequest({ + /// Email address. + required String email, + + /// Plain text password. + required String password, + }) = _LoginRequest; + + factory LoginRequest.fromJson(Map json) => + _$LoginRequestFromJson(json); +} diff --git a/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart b/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart new file mode 100644 index 000000000..d130b9a4f --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart @@ -0,0 +1,192 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'login_request.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +LoginRequest _$LoginRequestFromJson(Map json) { + return _LoginRequest.fromJson(json); +} + +/// @nodoc +mixin _$LoginRequest { + /// Email address. + String get email => throw _privateConstructorUsedError; + + /// Plain text password. + String get password => throw _privateConstructorUsedError; + + /// Serializes this LoginRequest to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $LoginRequestCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $LoginRequestCopyWith<$Res> { + factory $LoginRequestCopyWith( + LoginRequest value, $Res Function(LoginRequest) then) = + _$LoginRequestCopyWithImpl<$Res, LoginRequest>; + @useResult + $Res call({String email, String password}); +} + +/// @nodoc +class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> + implements $LoginRequestCopyWith<$Res> { + _$LoginRequestCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? email = null, + Object? password = null, + }) { + return _then(_value.copyWith( + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$LoginRequestImplCopyWith<$Res> + implements $LoginRequestCopyWith<$Res> { + factory _$$LoginRequestImplCopyWith( + _$LoginRequestImpl value, $Res Function(_$LoginRequestImpl) then) = + __$$LoginRequestImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String email, String password}); +} + +/// @nodoc +class __$$LoginRequestImplCopyWithImpl<$Res> + extends _$LoginRequestCopyWithImpl<$Res, _$LoginRequestImpl> + implements _$$LoginRequestImplCopyWith<$Res> { + __$$LoginRequestImplCopyWithImpl( + _$LoginRequestImpl _value, $Res Function(_$LoginRequestImpl) _then) + : super(_value, _then); + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? email = null, + Object? password = null, + }) { + return _then(_$LoginRequestImpl( + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$LoginRequestImpl implements _LoginRequest { + const _$LoginRequestImpl({required this.email, required this.password}); + + factory _$LoginRequestImpl.fromJson(Map json) => + _$$LoginRequestImplFromJson(json); + + /// Email address. + @override + final String email; + + /// Plain text password. + @override + final String password; + + @override + String toString() { + return 'LoginRequest(email: $email, password: $password)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$LoginRequestImpl && + (identical(other.email, email) || other.email == email) && + (identical(other.password, password) || + other.password == password)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, email, password); + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$LoginRequestImplCopyWith<_$LoginRequestImpl> get copyWith => + __$$LoginRequestImplCopyWithImpl<_$LoginRequestImpl>(this, _$identity); + + @override + Map toJson() { + return _$$LoginRequestImplToJson( + this, + ); + } +} + +abstract class _LoginRequest implements LoginRequest { + const factory _LoginRequest( + {required final String email, + required final String password}) = _$LoginRequestImpl; + + factory _LoginRequest.fromJson(Map json) = + _$LoginRequestImpl.fromJson; + + /// Email address. + @override + String get email; + + /// Plain text password. + @override + String get password; + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$LoginRequestImplCopyWith<_$LoginRequestImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/data/services/api/model/login_request/login_request.g.dart b/compass_app/app/lib/data/services/api/model/login_request/login_request.g.dart new file mode 100644 index 000000000..0a11bd9f2 --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/login_request/login_request.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'login_request.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$LoginRequestImpl _$$LoginRequestImplFromJson(Map json) => + _$LoginRequestImpl( + email: json['email'] as String, + password: json['password'] as String, + ); + +Map _$$LoginRequestImplToJson(_$LoginRequestImpl instance) => + { + 'email': instance.email, + 'password': instance.password, + }; diff --git a/compass_app/app/lib/data/services/api/model/login_response/login_response.dart b/compass_app/app/lib/data/services/api/model/login_response/login_response.dart new file mode 100644 index 000000000..bc17d6a9f --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/login_response/login_response.dart @@ -0,0 +1,24 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'login_response.freezed.dart'; + +part 'login_response.g.dart'; + +/// LoginResponse model. +@freezed +class LoginResponse with _$LoginResponse { + const factory LoginResponse({ + /// The token to be used for authentication. + required String token, + + /// The user id. + required String userId, + }) = _LoginResponse; + + factory LoginResponse.fromJson(Map json) => + _$LoginResponseFromJson(json); +} diff --git a/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart b/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart new file mode 100644 index 000000000..bfc5829a6 --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart @@ -0,0 +1,191 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'login_response.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +LoginResponse _$LoginResponseFromJson(Map json) { + return _LoginResponse.fromJson(json); +} + +/// @nodoc +mixin _$LoginResponse { + /// The token to be used for authentication. + String get token => throw _privateConstructorUsedError; + + /// The user id. + String get userId => throw _privateConstructorUsedError; + + /// Serializes this LoginResponse to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $LoginResponseCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $LoginResponseCopyWith<$Res> { + factory $LoginResponseCopyWith( + LoginResponse value, $Res Function(LoginResponse) then) = + _$LoginResponseCopyWithImpl<$Res, LoginResponse>; + @useResult + $Res call({String token, String userId}); +} + +/// @nodoc +class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> + implements $LoginResponseCopyWith<$Res> { + _$LoginResponseCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? token = null, + Object? userId = null, + }) { + return _then(_value.copyWith( + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$LoginResponseImplCopyWith<$Res> + implements $LoginResponseCopyWith<$Res> { + factory _$$LoginResponseImplCopyWith( + _$LoginResponseImpl value, $Res Function(_$LoginResponseImpl) then) = + __$$LoginResponseImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String token, String userId}); +} + +/// @nodoc +class __$$LoginResponseImplCopyWithImpl<$Res> + extends _$LoginResponseCopyWithImpl<$Res, _$LoginResponseImpl> + implements _$$LoginResponseImplCopyWith<$Res> { + __$$LoginResponseImplCopyWithImpl( + _$LoginResponseImpl _value, $Res Function(_$LoginResponseImpl) _then) + : super(_value, _then); + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? token = null, + Object? userId = null, + }) { + return _then(_$LoginResponseImpl( + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$LoginResponseImpl implements _LoginResponse { + const _$LoginResponseImpl({required this.token, required this.userId}); + + factory _$LoginResponseImpl.fromJson(Map json) => + _$$LoginResponseImplFromJson(json); + + /// The token to be used for authentication. + @override + final String token; + + /// The user id. + @override + final String userId; + + @override + String toString() { + return 'LoginResponse(token: $token, userId: $userId)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$LoginResponseImpl && + (identical(other.token, token) || other.token == token) && + (identical(other.userId, userId) || other.userId == userId)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, token, userId); + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$LoginResponseImplCopyWith<_$LoginResponseImpl> get copyWith => + __$$LoginResponseImplCopyWithImpl<_$LoginResponseImpl>(this, _$identity); + + @override + Map toJson() { + return _$$LoginResponseImplToJson( + this, + ); + } +} + +abstract class _LoginResponse implements LoginResponse { + const factory _LoginResponse( + {required final String token, + required final String userId}) = _$LoginResponseImpl; + + factory _LoginResponse.fromJson(Map json) = + _$LoginResponseImpl.fromJson; + + /// The token to be used for authentication. + @override + String get token; + + /// The user id. + @override + String get userId; + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$LoginResponseImplCopyWith<_$LoginResponseImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/data/services/api/model/login_response/login_response.g.dart b/compass_app/app/lib/data/services/api/model/login_response/login_response.g.dart new file mode 100644 index 000000000..f1ee1db63 --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/login_response/login_response.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'login_response.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$LoginResponseImpl _$$LoginResponseImplFromJson(Map json) => + _$LoginResponseImpl( + token: json['token'] as String, + userId: json['userId'] as String, + ); + +Map _$$LoginResponseImplToJson(_$LoginResponseImpl instance) => + { + 'token': instance.token, + 'userId': instance.userId, + }; diff --git a/compass_app/app/lib/data/services/api/model/user/user_api_model.dart b/compass_app/app/lib/data/services/api/model/user/user_api_model.dart new file mode 100644 index 000000000..09629cd07 --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/user/user_api_model.dart @@ -0,0 +1,28 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'user_api_model.freezed.dart'; +part 'user_api_model.g.dart'; + +@freezed +abstract class UserApiModel with _$UserApiModel { + const factory UserApiModel({ + /// The user's ID. + required String id, + + /// The user's name. + required String name, + + /// The user's email. + required String email, + + /// The user's picture URL. + required String picture, + }) = _UserApiModel; + + factory UserApiModel.fromJson(Map json) => + _$UserApiModelFromJson(json); +} diff --git a/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart b/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart new file mode 100644 index 000000000..6725b7f02 --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart @@ -0,0 +1,241 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'user_api_model.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +UserApiModel _$UserApiModelFromJson(Map json) { + return _UserApiModel.fromJson(json); +} + +/// @nodoc +mixin _$UserApiModel { + /// The user's ID. + String get id => throw _privateConstructorUsedError; + + /// The user's name. + String get name => throw _privateConstructorUsedError; + + /// The user's email. + String get email => throw _privateConstructorUsedError; + + /// The user's picture URL. + String get picture => throw _privateConstructorUsedError; + + /// Serializes this UserApiModel to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of UserApiModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $UserApiModelCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $UserApiModelCopyWith<$Res> { + factory $UserApiModelCopyWith( + UserApiModel value, $Res Function(UserApiModel) then) = + _$UserApiModelCopyWithImpl<$Res, UserApiModel>; + @useResult + $Res call({String id, String name, String email, String picture}); +} + +/// @nodoc +class _$UserApiModelCopyWithImpl<$Res, $Val extends UserApiModel> + implements $UserApiModelCopyWith<$Res> { + _$UserApiModelCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of UserApiModel + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = null, + Object? name = null, + Object? email = null, + Object? picture = null, + }) { + return _then(_value.copyWith( + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$UserApiModelImplCopyWith<$Res> + implements $UserApiModelCopyWith<$Res> { + factory _$$UserApiModelImplCopyWith( + _$UserApiModelImpl value, $Res Function(_$UserApiModelImpl) then) = + __$$UserApiModelImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String id, String name, String email, String picture}); +} + +/// @nodoc +class __$$UserApiModelImplCopyWithImpl<$Res> + extends _$UserApiModelCopyWithImpl<$Res, _$UserApiModelImpl> + implements _$$UserApiModelImplCopyWith<$Res> { + __$$UserApiModelImplCopyWithImpl( + _$UserApiModelImpl _value, $Res Function(_$UserApiModelImpl) _then) + : super(_value, _then); + + /// Create a copy of UserApiModel + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = null, + Object? name = null, + Object? email = null, + Object? picture = null, + }) { + return _then(_$UserApiModelImpl( + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$UserApiModelImpl implements _UserApiModel { + const _$UserApiModelImpl( + {required this.id, + required this.name, + required this.email, + required this.picture}); + + factory _$UserApiModelImpl.fromJson(Map json) => + _$$UserApiModelImplFromJson(json); + + /// The user's ID. + @override + final String id; + + /// The user's name. + @override + final String name; + + /// The user's email. + @override + final String email; + + /// The user's picture URL. + @override + final String picture; + + @override + String toString() { + return 'UserApiModel(id: $id, name: $name, email: $email, picture: $picture)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$UserApiModelImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.name, name) || other.name == name) && + (identical(other.email, email) || other.email == email) && + (identical(other.picture, picture) || other.picture == picture)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, id, name, email, picture); + + /// Create a copy of UserApiModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$UserApiModelImplCopyWith<_$UserApiModelImpl> get copyWith => + __$$UserApiModelImplCopyWithImpl<_$UserApiModelImpl>(this, _$identity); + + @override + Map toJson() { + return _$$UserApiModelImplToJson( + this, + ); + } +} + +abstract class _UserApiModel implements UserApiModel { + const factory _UserApiModel( + {required final String id, + required final String name, + required final String email, + required final String picture}) = _$UserApiModelImpl; + + factory _UserApiModel.fromJson(Map json) = + _$UserApiModelImpl.fromJson; + + /// The user's ID. + @override + String get id; + + /// The user's name. + @override + String get name; + + /// The user's email. + @override + String get email; + + /// The user's picture URL. + @override + String get picture; + + /// Create a copy of UserApiModel + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$UserApiModelImplCopyWith<_$UserApiModelImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/data/services/api/model/user/user_api_model.g.dart b/compass_app/app/lib/data/services/api/model/user/user_api_model.g.dart new file mode 100644 index 000000000..b40cb814a --- /dev/null +++ b/compass_app/app/lib/data/services/api/model/user/user_api_model.g.dart @@ -0,0 +1,23 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'user_api_model.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$UserApiModelImpl _$$UserApiModelImplFromJson(Map json) => + _$UserApiModelImpl( + id: json['id'] as String, + name: json['name'] as String, + email: json['email'] as String, + picture: json['picture'] as String, + ); + +Map _$$UserApiModelImplToJson(_$UserApiModelImpl instance) => + { + 'id': instance.id, + 'name': instance.name, + 'email': instance.email, + 'picture': instance.picture, + }; diff --git a/compass_app/app/lib/data/services/local/local_data_service.dart b/compass_app/app/lib/data/services/local/local_data_service.dart new file mode 100644 index 000000000..c88828b2d --- /dev/null +++ b/compass_app/app/lib/data/services/local/local_data_service.dart @@ -0,0 +1,71 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; + +import 'package:flutter/services.dart'; + +import '../../../config/assets.dart'; +import '../../../domain/models/activity/activity.dart'; +import '../../../domain/models/continent/continent.dart'; +import '../../../domain/models/destination/destination.dart'; +import '../../../domain/models/user/user.dart'; + +class LocalDataService { + List getContinents() { + return [ + const Continent( + name: 'Europe', + imageUrl: 'https://rstr.in/google/tripedia/TmR12QdlVTT', + ), + const Continent( + name: 'Asia', + imageUrl: 'https://rstr.in/google/tripedia/VJ8BXlQg8O1', + ), + const Continent( + name: 'South America', + imageUrl: 'https://rstr.in/google/tripedia/flm_-o1aI8e', + ), + const Continent( + name: 'Africa', + imageUrl: 'https://rstr.in/google/tripedia/-nzi8yFOBpF', + ), + const Continent( + name: 'North America', + imageUrl: 'https://rstr.in/google/tripedia/jlbgFDrSUVE', + ), + const Continent( + name: 'Oceania', + imageUrl: 'https://rstr.in/google/tripedia/vxyrDE-fZVL', + ), + const Continent( + name: 'Australia', + imageUrl: 'https://rstr.in/google/tripedia/z6vy6HeRyvZ', + ), + ]; + } + + Future> getActivities() async { + final json = await _loadStringAsset(Assets.activities); + return json.map((json) => Activity.fromJson(json)).toList(); + } + + Future> getDestinations() async { + final json = await _loadStringAsset(Assets.destinations); + return json.map((json) => Destination.fromJson(json)).toList(); + } + + Future>> _loadStringAsset(String asset) async { + final localData = await rootBundle.loadString(asset); + return (jsonDecode(localData) as List).cast>(); + } + + User getUser() { + return const User( + name: 'Sofie', + // For demo purposes we use a local asset + picture: 'assets/user.jpg', + ); + } +} diff --git a/compass_app/app/lib/data/services/shared_preferences_service.dart b/compass_app/app/lib/data/services/shared_preferences_service.dart new file mode 100644 index 000000000..05a684601 --- /dev/null +++ b/compass_app/app/lib/data/services/shared_preferences_service.dart @@ -0,0 +1,41 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:logging/logging.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +import '../../utils/result.dart'; + +class SharedPreferencesService { + static const _tokenKey = 'TOKEN'; + final _log = Logger('SharedPreferencesService'); + + Future> fetchToken() async { + try { + final sharedPreferences = await SharedPreferences.getInstance(); + _log.finer('Got token from SharedPreferences'); + return Result.ok(sharedPreferences.getString(_tokenKey)); + } on Exception catch (e) { + _log.warning('Failed to get token', e); + return Result.error(e); + } + } + + Future> saveToken(String? token) async { + try { + final sharedPreferences = await SharedPreferences.getInstance(); + if (token == null) { + _log.finer('Removed token'); + await sharedPreferences.remove(_tokenKey); + } else { + _log.finer('Replaced token'); + await sharedPreferences.setString(_tokenKey, token); + } + return Result.ok(null); + } on Exception catch (e) { + _log.warning('Failed to set token', e); + return Result.error(e); + } + } +} diff --git a/compass_app/app/lib/domain/models/activity/activity.dart b/compass_app/app/lib/domain/models/activity/activity.dart new file mode 100644 index 000000000..eef66e8dc --- /dev/null +++ b/compass_app/app/lib/domain/models/activity/activity.dart @@ -0,0 +1,56 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'activity.freezed.dart'; + +part 'activity.g.dart'; + +enum TimeOfDay { + any, + morning, + afternoon, + evening, + night, +} + +@freezed +class Activity with _$Activity { + const factory Activity({ + /// e.g. 'Glacier Trekking and Ice Climbing' + required String name, + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + required String description, + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + required String locationName, + + /// Duration in days. + /// e.g. 8 + required int duration, + + /// e.g. 'morning' + required TimeOfDay timeOfDay, + + /// e.g. false + required bool familyFriendly, + + /// e.g. 4 + required int price, + + /// e.g. 'alaska' + required String destinationRef, + + /// e.g. 'glacier-trekking-and-ice-climbing' + required String ref, + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + required String imageUrl, + }) = _Activity; + + factory Activity.fromJson(Map json) => + _$ActivityFromJson(json); +} diff --git a/compass_app/app/lib/domain/models/activity/activity.freezed.dart b/compass_app/app/lib/domain/models/activity/activity.freezed.dart new file mode 100644 index 000000000..6e277d0bc --- /dev/null +++ b/compass_app/app/lib/domain/models/activity/activity.freezed.dart @@ -0,0 +1,425 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'activity.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Activity _$ActivityFromJson(Map json) { + return _Activity.fromJson(json); +} + +/// @nodoc +mixin _$Activity { + /// e.g. 'Glacier Trekking and Ice Climbing' + String get name => throw _privateConstructorUsedError; + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + String get description => throw _privateConstructorUsedError; + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + String get locationName => throw _privateConstructorUsedError; + + /// Duration in days. + /// e.g. 8 + int get duration => throw _privateConstructorUsedError; + + /// e.g. 'morning' + TimeOfDay get timeOfDay => throw _privateConstructorUsedError; + + /// e.g. false + bool get familyFriendly => throw _privateConstructorUsedError; + + /// e.g. 4 + int get price => throw _privateConstructorUsedError; + + /// e.g. 'alaska' + String get destinationRef => throw _privateConstructorUsedError; + + /// e.g. 'glacier-trekking-and-ice-climbing' + String get ref => throw _privateConstructorUsedError; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + String get imageUrl => throw _privateConstructorUsedError; + + /// Serializes this Activity to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $ActivityCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $ActivityCopyWith<$Res> { + factory $ActivityCopyWith(Activity value, $Res Function(Activity) then) = + _$ActivityCopyWithImpl<$Res, Activity>; + @useResult + $Res call( + {String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl}); +} + +/// @nodoc +class _$ActivityCopyWithImpl<$Res, $Val extends Activity> + implements $ActivityCopyWith<$Res> { + _$ActivityCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? description = null, + Object? locationName = null, + Object? duration = null, + Object? timeOfDay = null, + Object? familyFriendly = null, + Object? price = null, + Object? destinationRef = null, + Object? ref = null, + Object? imageUrl = null, + }) { + return _then(_value.copyWith( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$ActivityImplCopyWith<$Res> + implements $ActivityCopyWith<$Res> { + factory _$$ActivityImplCopyWith( + _$ActivityImpl value, $Res Function(_$ActivityImpl) then) = + __$$ActivityImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl}); +} + +/// @nodoc +class __$$ActivityImplCopyWithImpl<$Res> + extends _$ActivityCopyWithImpl<$Res, _$ActivityImpl> + implements _$$ActivityImplCopyWith<$Res> { + __$$ActivityImplCopyWithImpl( + _$ActivityImpl _value, $Res Function(_$ActivityImpl) _then) + : super(_value, _then); + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? description = null, + Object? locationName = null, + Object? duration = null, + Object? timeOfDay = null, + Object? familyFriendly = null, + Object? price = null, + Object? destinationRef = null, + Object? ref = null, + Object? imageUrl = null, + }) { + return _then(_$ActivityImpl( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$ActivityImpl implements _Activity { + const _$ActivityImpl( + {required this.name, + required this.description, + required this.locationName, + required this.duration, + required this.timeOfDay, + required this.familyFriendly, + required this.price, + required this.destinationRef, + required this.ref, + required this.imageUrl}); + + factory _$ActivityImpl.fromJson(Map json) => + _$$ActivityImplFromJson(json); + + /// e.g. 'Glacier Trekking and Ice Climbing' + @override + final String name; + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + @override + final String description; + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + @override + final String locationName; + + /// Duration in days. + /// e.g. 8 + @override + final int duration; + + /// e.g. 'morning' + @override + final TimeOfDay timeOfDay; + + /// e.g. false + @override + final bool familyFriendly; + + /// e.g. 4 + @override + final int price; + + /// e.g. 'alaska' + @override + final String destinationRef; + + /// e.g. 'glacier-trekking-and-ice-climbing' + @override + final String ref; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + @override + final String imageUrl; + + @override + String toString() { + return 'Activity(name: $name, description: $description, locationName: $locationName, duration: $duration, timeOfDay: $timeOfDay, familyFriendly: $familyFriendly, price: $price, destinationRef: $destinationRef, ref: $ref, imageUrl: $imageUrl)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$ActivityImpl && + (identical(other.name, name) || other.name == name) && + (identical(other.description, description) || + other.description == description) && + (identical(other.locationName, locationName) || + other.locationName == locationName) && + (identical(other.duration, duration) || + other.duration == duration) && + (identical(other.timeOfDay, timeOfDay) || + other.timeOfDay == timeOfDay) && + (identical(other.familyFriendly, familyFriendly) || + other.familyFriendly == familyFriendly) && + (identical(other.price, price) || other.price == price) && + (identical(other.destinationRef, destinationRef) || + other.destinationRef == destinationRef) && + (identical(other.ref, ref) || other.ref == ref) && + (identical(other.imageUrl, imageUrl) || + other.imageUrl == imageUrl)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash( + runtimeType, + name, + description, + locationName, + duration, + timeOfDay, + familyFriendly, + price, + destinationRef, + ref, + imageUrl); + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$ActivityImplCopyWith<_$ActivityImpl> get copyWith => + __$$ActivityImplCopyWithImpl<_$ActivityImpl>(this, _$identity); + + @override + Map toJson() { + return _$$ActivityImplToJson( + this, + ); + } +} + +abstract class _Activity implements Activity { + const factory _Activity( + {required final String name, + required final String description, + required final String locationName, + required final int duration, + required final TimeOfDay timeOfDay, + required final bool familyFriendly, + required final int price, + required final String destinationRef, + required final String ref, + required final String imageUrl}) = _$ActivityImpl; + + factory _Activity.fromJson(Map json) = + _$ActivityImpl.fromJson; + + /// e.g. 'Glacier Trekking and Ice Climbing' + @override + String get name; + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + @override + String get description; + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + @override + String get locationName; + + /// Duration in days. + /// e.g. 8 + @override + int get duration; + + /// e.g. 'morning' + @override + TimeOfDay get timeOfDay; + + /// e.g. false + @override + bool get familyFriendly; + + /// e.g. 4 + @override + int get price; + + /// e.g. 'alaska' + @override + String get destinationRef; + + /// e.g. 'glacier-trekking-and-ice-climbing' + @override + String get ref; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + @override + String get imageUrl; + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$ActivityImplCopyWith<_$ActivityImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/domain/models/activity/activity.g.dart b/compass_app/app/lib/domain/models/activity/activity.g.dart new file mode 100644 index 000000000..8ad67d674 --- /dev/null +++ b/compass_app/app/lib/domain/models/activity/activity.g.dart @@ -0,0 +1,43 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'activity.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$ActivityImpl _$$ActivityImplFromJson(Map json) => + _$ActivityImpl( + name: json['name'] as String, + description: json['description'] as String, + locationName: json['locationName'] as String, + duration: (json['duration'] as num).toInt(), + timeOfDay: $enumDecode(_$TimeOfDayEnumMap, json['timeOfDay']), + familyFriendly: json['familyFriendly'] as bool, + price: (json['price'] as num).toInt(), + destinationRef: json['destinationRef'] as String, + ref: json['ref'] as String, + imageUrl: json['imageUrl'] as String, + ); + +Map _$$ActivityImplToJson(_$ActivityImpl instance) => + { + 'name': instance.name, + 'description': instance.description, + 'locationName': instance.locationName, + 'duration': instance.duration, + 'timeOfDay': _$TimeOfDayEnumMap[instance.timeOfDay]!, + 'familyFriendly': instance.familyFriendly, + 'price': instance.price, + 'destinationRef': instance.destinationRef, + 'ref': instance.ref, + 'imageUrl': instance.imageUrl, + }; + +const _$TimeOfDayEnumMap = { + TimeOfDay.any: 'any', + TimeOfDay.morning: 'morning', + TimeOfDay.afternoon: 'afternoon', + TimeOfDay.evening: 'evening', + TimeOfDay.night: 'night', +}; diff --git a/compass_app/app/lib/domain/models/booking/booking.dart b/compass_app/app/lib/domain/models/booking/booking.dart new file mode 100644 index 000000000..e94f51b3c --- /dev/null +++ b/compass_app/app/lib/domain/models/booking/booking.dart @@ -0,0 +1,35 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +import '../activity/activity.dart'; +import '../destination/destination.dart'; + +part 'booking.freezed.dart'; +part 'booking.g.dart'; + +@freezed +class Booking with _$Booking { + const factory Booking({ + /// Optional ID of the booking. + /// May be null if the booking is not yet stored. + int? id, + + /// Start date of the trip + required DateTime startDate, + + /// End date of the trip + required DateTime endDate, + + /// Destination of the trip + required Destination destination, + + /// List of chosen activities + required List activity, + }) = _Booking; + + factory Booking.fromJson(Map json) => + _$BookingFromJson(json); +} diff --git a/compass_app/app/lib/domain/models/booking/booking.freezed.dart b/compass_app/app/lib/domain/models/booking/booking.freezed.dart new file mode 100644 index 000000000..680856e46 --- /dev/null +++ b/compass_app/app/lib/domain/models/booking/booking.freezed.dart @@ -0,0 +1,300 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'booking.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Booking _$BookingFromJson(Map json) { + return _Booking.fromJson(json); +} + +/// @nodoc +mixin _$Booking { + /// Optional ID of the booking. + /// May be null if the booking is not yet stored. + int? get id => throw _privateConstructorUsedError; + + /// Start date of the trip + DateTime get startDate => throw _privateConstructorUsedError; + + /// End date of the trip + DateTime get endDate => throw _privateConstructorUsedError; + + /// Destination of the trip + Destination get destination => throw _privateConstructorUsedError; + + /// List of chosen activities + List get activity => throw _privateConstructorUsedError; + + /// Serializes this Booking to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $BookingCopyWith get copyWith => throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $BookingCopyWith<$Res> { + factory $BookingCopyWith(Booking value, $Res Function(Booking) then) = + _$BookingCopyWithImpl<$Res, Booking>; + @useResult + $Res call( + {int? id, + DateTime startDate, + DateTime endDate, + Destination destination, + List activity}); + + $DestinationCopyWith<$Res> get destination; +} + +/// @nodoc +class _$BookingCopyWithImpl<$Res, $Val extends Booking> + implements $BookingCopyWith<$Res> { + _$BookingCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = freezed, + Object? startDate = null, + Object? endDate = null, + Object? destination = null, + Object? activity = null, + }) { + return _then(_value.copyWith( + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + destination: null == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as Destination, + activity: null == activity + ? _value.activity + : activity // ignore: cast_nullable_to_non_nullable + as List, + ) as $Val); + } + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @override + @pragma('vm:prefer-inline') + $DestinationCopyWith<$Res> get destination { + return $DestinationCopyWith<$Res>(_value.destination, (value) { + return _then(_value.copyWith(destination: value) as $Val); + }); + } +} + +/// @nodoc +abstract class _$$BookingImplCopyWith<$Res> implements $BookingCopyWith<$Res> { + factory _$$BookingImplCopyWith( + _$BookingImpl value, $Res Function(_$BookingImpl) then) = + __$$BookingImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {int? id, + DateTime startDate, + DateTime endDate, + Destination destination, + List activity}); + + @override + $DestinationCopyWith<$Res> get destination; +} + +/// @nodoc +class __$$BookingImplCopyWithImpl<$Res> + extends _$BookingCopyWithImpl<$Res, _$BookingImpl> + implements _$$BookingImplCopyWith<$Res> { + __$$BookingImplCopyWithImpl( + _$BookingImpl _value, $Res Function(_$BookingImpl) _then) + : super(_value, _then); + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = freezed, + Object? startDate = null, + Object? endDate = null, + Object? destination = null, + Object? activity = null, + }) { + return _then(_$BookingImpl( + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + destination: null == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as Destination, + activity: null == activity + ? _value._activity + : activity // ignore: cast_nullable_to_non_nullable + as List, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$BookingImpl implements _Booking { + const _$BookingImpl( + {this.id, + required this.startDate, + required this.endDate, + required this.destination, + required final List activity}) + : _activity = activity; + + factory _$BookingImpl.fromJson(Map json) => + _$$BookingImplFromJson(json); + + /// Optional ID of the booking. + /// May be null if the booking is not yet stored. + @override + final int? id; + + /// Start date of the trip + @override + final DateTime startDate; + + /// End date of the trip + @override + final DateTime endDate; + + /// Destination of the trip + @override + final Destination destination; + + /// List of chosen activities + final List _activity; + + /// List of chosen activities + @override + List get activity { + if (_activity is EqualUnmodifiableListView) return _activity; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_activity); + } + + @override + String toString() { + return 'Booking(id: $id, startDate: $startDate, endDate: $endDate, destination: $destination, activity: $activity)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$BookingImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.startDate, startDate) || + other.startDate == startDate) && + (identical(other.endDate, endDate) || other.endDate == endDate) && + (identical(other.destination, destination) || + other.destination == destination) && + const DeepCollectionEquality().equals(other._activity, _activity)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, id, startDate, endDate, + destination, const DeepCollectionEquality().hash(_activity)); + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$BookingImplCopyWith<_$BookingImpl> get copyWith => + __$$BookingImplCopyWithImpl<_$BookingImpl>(this, _$identity); + + @override + Map toJson() { + return _$$BookingImplToJson( + this, + ); + } +} + +abstract class _Booking implements Booking { + const factory _Booking( + {final int? id, + required final DateTime startDate, + required final DateTime endDate, + required final Destination destination, + required final List activity}) = _$BookingImpl; + + factory _Booking.fromJson(Map json) = _$BookingImpl.fromJson; + + /// Optional ID of the booking. + /// May be null if the booking is not yet stored. + @override + int? get id; + + /// Start date of the trip + @override + DateTime get startDate; + + /// End date of the trip + @override + DateTime get endDate; + + /// Destination of the trip + @override + Destination get destination; + + /// List of chosen activities + @override + List get activity; + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$BookingImplCopyWith<_$BookingImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/domain/models/booking/booking.g.dart b/compass_app/app/lib/domain/models/booking/booking.g.dart new file mode 100644 index 000000000..65a1990f9 --- /dev/null +++ b/compass_app/app/lib/domain/models/booking/booking.g.dart @@ -0,0 +1,28 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'booking.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$BookingImpl _$$BookingImplFromJson(Map json) => + _$BookingImpl( + id: (json['id'] as num?)?.toInt(), + startDate: DateTime.parse(json['startDate'] as String), + endDate: DateTime.parse(json['endDate'] as String), + destination: + Destination.fromJson(json['destination'] as Map), + activity: (json['activity'] as List) + .map((e) => Activity.fromJson(e as Map)) + .toList(), + ); + +Map _$$BookingImplToJson(_$BookingImpl instance) => + { + 'id': instance.id, + 'startDate': instance.startDate.toIso8601String(), + 'endDate': instance.endDate.toIso8601String(), + 'destination': instance.destination, + 'activity': instance.activity, + }; diff --git a/compass_app/app/lib/domain/models/booking/booking_summary.dart b/compass_app/app/lib/domain/models/booking/booking_summary.dart new file mode 100644 index 000000000..4836e5ec5 --- /dev/null +++ b/compass_app/app/lib/domain/models/booking/booking_summary.dart @@ -0,0 +1,34 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'booking_summary.freezed.dart'; +part 'booking_summary.g.dart'; + +/// BookingSummary contains the necessary data to display a booking +/// in the user home screen, but lacks the rest of the booking data +/// like activitities or destination. +/// +/// Use the [BookingRepository] to obtain a full [Booking] +/// using the [BookingSummary.id]. +@freezed +class BookingSummary with _$BookingSummary { + const factory BookingSummary({ + /// Booking id + required int id, + + /// Name to be displayed + required String name, + + /// Start date of the booking + required DateTime startDate, + + /// End date of the booking + required DateTime endDate, + }) = _BookingSummary; + + factory BookingSummary.fromJson(Map json) => + _$BookingSummaryFromJson(json); +} diff --git a/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart b/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart new file mode 100644 index 000000000..ddfe78ae7 --- /dev/null +++ b/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart @@ -0,0 +1,243 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'booking_summary.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +BookingSummary _$BookingSummaryFromJson(Map json) { + return _BookingSummary.fromJson(json); +} + +/// @nodoc +mixin _$BookingSummary { + /// Booking id + int get id => throw _privateConstructorUsedError; + + /// Name to be displayed + String get name => throw _privateConstructorUsedError; + + /// Start date of the booking + DateTime get startDate => throw _privateConstructorUsedError; + + /// End date of the booking + DateTime get endDate => throw _privateConstructorUsedError; + + /// Serializes this BookingSummary to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of BookingSummary + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $BookingSummaryCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $BookingSummaryCopyWith<$Res> { + factory $BookingSummaryCopyWith( + BookingSummary value, $Res Function(BookingSummary) then) = + _$BookingSummaryCopyWithImpl<$Res, BookingSummary>; + @useResult + $Res call({int id, String name, DateTime startDate, DateTime endDate}); +} + +/// @nodoc +class _$BookingSummaryCopyWithImpl<$Res, $Val extends BookingSummary> + implements $BookingSummaryCopyWith<$Res> { + _$BookingSummaryCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of BookingSummary + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = null, + Object? name = null, + Object? startDate = null, + Object? endDate = null, + }) { + return _then(_value.copyWith( + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$BookingSummaryImplCopyWith<$Res> + implements $BookingSummaryCopyWith<$Res> { + factory _$$BookingSummaryImplCopyWith(_$BookingSummaryImpl value, + $Res Function(_$BookingSummaryImpl) then) = + __$$BookingSummaryImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({int id, String name, DateTime startDate, DateTime endDate}); +} + +/// @nodoc +class __$$BookingSummaryImplCopyWithImpl<$Res> + extends _$BookingSummaryCopyWithImpl<$Res, _$BookingSummaryImpl> + implements _$$BookingSummaryImplCopyWith<$Res> { + __$$BookingSummaryImplCopyWithImpl( + _$BookingSummaryImpl _value, $Res Function(_$BookingSummaryImpl) _then) + : super(_value, _then); + + /// Create a copy of BookingSummary + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = null, + Object? name = null, + Object? startDate = null, + Object? endDate = null, + }) { + return _then(_$BookingSummaryImpl( + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$BookingSummaryImpl implements _BookingSummary { + const _$BookingSummaryImpl( + {required this.id, + required this.name, + required this.startDate, + required this.endDate}); + + factory _$BookingSummaryImpl.fromJson(Map json) => + _$$BookingSummaryImplFromJson(json); + + /// Booking id + @override + final int id; + + /// Name to be displayed + @override + final String name; + + /// Start date of the booking + @override + final DateTime startDate; + + /// End date of the booking + @override + final DateTime endDate; + + @override + String toString() { + return 'BookingSummary(id: $id, name: $name, startDate: $startDate, endDate: $endDate)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$BookingSummaryImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.name, name) || other.name == name) && + (identical(other.startDate, startDate) || + other.startDate == startDate) && + (identical(other.endDate, endDate) || other.endDate == endDate)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, id, name, startDate, endDate); + + /// Create a copy of BookingSummary + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$BookingSummaryImplCopyWith<_$BookingSummaryImpl> get copyWith => + __$$BookingSummaryImplCopyWithImpl<_$BookingSummaryImpl>( + this, _$identity); + + @override + Map toJson() { + return _$$BookingSummaryImplToJson( + this, + ); + } +} + +abstract class _BookingSummary implements BookingSummary { + const factory _BookingSummary( + {required final int id, + required final String name, + required final DateTime startDate, + required final DateTime endDate}) = _$BookingSummaryImpl; + + factory _BookingSummary.fromJson(Map json) = + _$BookingSummaryImpl.fromJson; + + /// Booking id + @override + int get id; + + /// Name to be displayed + @override + String get name; + + /// Start date of the booking + @override + DateTime get startDate; + + /// End date of the booking + @override + DateTime get endDate; + + /// Create a copy of BookingSummary + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$BookingSummaryImplCopyWith<_$BookingSummaryImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/domain/models/booking/booking_summary.g.dart b/compass_app/app/lib/domain/models/booking/booking_summary.g.dart new file mode 100644 index 000000000..456acf50b --- /dev/null +++ b/compass_app/app/lib/domain/models/booking/booking_summary.g.dart @@ -0,0 +1,24 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'booking_summary.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$BookingSummaryImpl _$$BookingSummaryImplFromJson(Map json) => + _$BookingSummaryImpl( + id: (json['id'] as num).toInt(), + name: json['name'] as String, + startDate: DateTime.parse(json['startDate'] as String), + endDate: DateTime.parse(json['endDate'] as String), + ); + +Map _$$BookingSummaryImplToJson( + _$BookingSummaryImpl instance) => + { + 'id': instance.id, + 'name': instance.name, + 'startDate': instance.startDate.toIso8601String(), + 'endDate': instance.endDate.toIso8601String(), + }; diff --git a/compass_app/app/lib/domain/models/continent/continent.dart b/compass_app/app/lib/domain/models/continent/continent.dart new file mode 100644 index 000000000..e0a309d59 --- /dev/null +++ b/compass_app/app/lib/domain/models/continent/continent.dart @@ -0,0 +1,23 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'continent.freezed.dart'; + +part 'continent.g.dart'; + +@freezed +class Continent with _$Continent { + const factory Continent({ + /// e.g. 'Europe' + required String name, + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + required String imageUrl, + }) = _Continent; + + factory Continent.fromJson(Map json) => + _$ContinentFromJson(json); +} diff --git a/compass_app/app/lib/domain/models/continent/continent.freezed.dart b/compass_app/app/lib/domain/models/continent/continent.freezed.dart new file mode 100644 index 000000000..f69d01046 --- /dev/null +++ b/compass_app/app/lib/domain/models/continent/continent.freezed.dart @@ -0,0 +1,191 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'continent.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Continent _$ContinentFromJson(Map json) { + return _Continent.fromJson(json); +} + +/// @nodoc +mixin _$Continent { + /// e.g. 'Europe' + String get name => throw _privateConstructorUsedError; + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + String get imageUrl => throw _privateConstructorUsedError; + + /// Serializes this Continent to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $ContinentCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $ContinentCopyWith<$Res> { + factory $ContinentCopyWith(Continent value, $Res Function(Continent) then) = + _$ContinentCopyWithImpl<$Res, Continent>; + @useResult + $Res call({String name, String imageUrl}); +} + +/// @nodoc +class _$ContinentCopyWithImpl<$Res, $Val extends Continent> + implements $ContinentCopyWith<$Res> { + _$ContinentCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? imageUrl = null, + }) { + return _then(_value.copyWith( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$ContinentImplCopyWith<$Res> + implements $ContinentCopyWith<$Res> { + factory _$$ContinentImplCopyWith( + _$ContinentImpl value, $Res Function(_$ContinentImpl) then) = + __$$ContinentImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String name, String imageUrl}); +} + +/// @nodoc +class __$$ContinentImplCopyWithImpl<$Res> + extends _$ContinentCopyWithImpl<$Res, _$ContinentImpl> + implements _$$ContinentImplCopyWith<$Res> { + __$$ContinentImplCopyWithImpl( + _$ContinentImpl _value, $Res Function(_$ContinentImpl) _then) + : super(_value, _then); + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? imageUrl = null, + }) { + return _then(_$ContinentImpl( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$ContinentImpl implements _Continent { + const _$ContinentImpl({required this.name, required this.imageUrl}); + + factory _$ContinentImpl.fromJson(Map json) => + _$$ContinentImplFromJson(json); + + /// e.g. 'Europe' + @override + final String name; + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + @override + final String imageUrl; + + @override + String toString() { + return 'Continent(name: $name, imageUrl: $imageUrl)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$ContinentImpl && + (identical(other.name, name) || other.name == name) && + (identical(other.imageUrl, imageUrl) || + other.imageUrl == imageUrl)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, name, imageUrl); + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$ContinentImplCopyWith<_$ContinentImpl> get copyWith => + __$$ContinentImplCopyWithImpl<_$ContinentImpl>(this, _$identity); + + @override + Map toJson() { + return _$$ContinentImplToJson( + this, + ); + } +} + +abstract class _Continent implements Continent { + const factory _Continent( + {required final String name, + required final String imageUrl}) = _$ContinentImpl; + + factory _Continent.fromJson(Map json) = + _$ContinentImpl.fromJson; + + /// e.g. 'Europe' + @override + String get name; + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + @override + String get imageUrl; + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$ContinentImplCopyWith<_$ContinentImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/domain/models/continent/continent.g.dart b/compass_app/app/lib/domain/models/continent/continent.g.dart new file mode 100644 index 000000000..41aba78b6 --- /dev/null +++ b/compass_app/app/lib/domain/models/continent/continent.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'continent.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$ContinentImpl _$$ContinentImplFromJson(Map json) => + _$ContinentImpl( + name: json['name'] as String, + imageUrl: json['imageUrl'] as String, + ); + +Map _$$ContinentImplToJson(_$ContinentImpl instance) => + { + 'name': instance.name, + 'imageUrl': instance.imageUrl, + }; diff --git a/compass_app/app/lib/domain/models/destination/destination.dart b/compass_app/app/lib/domain/models/destination/destination.dart new file mode 100644 index 000000000..457a12533 --- /dev/null +++ b/compass_app/app/lib/domain/models/destination/destination.dart @@ -0,0 +1,38 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'destination.freezed.dart'; + +part 'destination.g.dart'; + +@freezed +class Destination with _$Destination { + const factory Destination({ + /// e.g. 'alaska' + required String ref, + + /// e.g. 'Alaska' + required String name, + + /// e.g. 'United States' + required String country, + + /// e.g. 'North America' + required String continent, + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + required String knownFor, + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + required List tags, + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + required String imageUrl, + }) = _Destination; + + factory Destination.fromJson(Map json) => + _$DestinationFromJson(json); +} diff --git a/compass_app/app/lib/domain/models/destination/destination.freezed.dart b/compass_app/app/lib/domain/models/destination/destination.freezed.dart new file mode 100644 index 000000000..faaec5902 --- /dev/null +++ b/compass_app/app/lib/domain/models/destination/destination.freezed.dart @@ -0,0 +1,339 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'destination.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Destination _$DestinationFromJson(Map json) { + return _Destination.fromJson(json); +} + +/// @nodoc +mixin _$Destination { + /// e.g. 'alaska' + String get ref => throw _privateConstructorUsedError; + + /// e.g. 'Alaska' + String get name => throw _privateConstructorUsedError; + + /// e.g. 'United States' + String get country => throw _privateConstructorUsedError; + + /// e.g. 'North America' + String get continent => throw _privateConstructorUsedError; + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + String get knownFor => throw _privateConstructorUsedError; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + List get tags => throw _privateConstructorUsedError; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + String get imageUrl => throw _privateConstructorUsedError; + + /// Serializes this Destination to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $DestinationCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $DestinationCopyWith<$Res> { + factory $DestinationCopyWith( + Destination value, $Res Function(Destination) then) = + _$DestinationCopyWithImpl<$Res, Destination>; + @useResult + $Res call( + {String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl}); +} + +/// @nodoc +class _$DestinationCopyWithImpl<$Res, $Val extends Destination> + implements $DestinationCopyWith<$Res> { + _$DestinationCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? ref = null, + Object? name = null, + Object? country = null, + Object? continent = null, + Object? knownFor = null, + Object? tags = null, + Object? imageUrl = null, + }) { + return _then(_value.copyWith( + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value.tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$DestinationImplCopyWith<$Res> + implements $DestinationCopyWith<$Res> { + factory _$$DestinationImplCopyWith( + _$DestinationImpl value, $Res Function(_$DestinationImpl) then) = + __$$DestinationImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl}); +} + +/// @nodoc +class __$$DestinationImplCopyWithImpl<$Res> + extends _$DestinationCopyWithImpl<$Res, _$DestinationImpl> + implements _$$DestinationImplCopyWith<$Res> { + __$$DestinationImplCopyWithImpl( + _$DestinationImpl _value, $Res Function(_$DestinationImpl) _then) + : super(_value, _then); + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? ref = null, + Object? name = null, + Object? country = null, + Object? continent = null, + Object? knownFor = null, + Object? tags = null, + Object? imageUrl = null, + }) { + return _then(_$DestinationImpl( + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value._tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$DestinationImpl implements _Destination { + const _$DestinationImpl( + {required this.ref, + required this.name, + required this.country, + required this.continent, + required this.knownFor, + required final List tags, + required this.imageUrl}) + : _tags = tags; + + factory _$DestinationImpl.fromJson(Map json) => + _$$DestinationImplFromJson(json); + + /// e.g. 'alaska' + @override + final String ref; + + /// e.g. 'Alaska' + @override + final String name; + + /// e.g. 'United States' + @override + final String country; + + /// e.g. 'North America' + @override + final String continent; + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + @override + final String knownFor; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + final List _tags; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + @override + List get tags { + if (_tags is EqualUnmodifiableListView) return _tags; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_tags); + } + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + @override + final String imageUrl; + + @override + String toString() { + return 'Destination(ref: $ref, name: $name, country: $country, continent: $continent, knownFor: $knownFor, tags: $tags, imageUrl: $imageUrl)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$DestinationImpl && + (identical(other.ref, ref) || other.ref == ref) && + (identical(other.name, name) || other.name == name) && + (identical(other.country, country) || other.country == country) && + (identical(other.continent, continent) || + other.continent == continent) && + (identical(other.knownFor, knownFor) || + other.knownFor == knownFor) && + const DeepCollectionEquality().equals(other._tags, _tags) && + (identical(other.imageUrl, imageUrl) || + other.imageUrl == imageUrl)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, ref, name, country, continent, + knownFor, const DeepCollectionEquality().hash(_tags), imageUrl); + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$DestinationImplCopyWith<_$DestinationImpl> get copyWith => + __$$DestinationImplCopyWithImpl<_$DestinationImpl>(this, _$identity); + + @override + Map toJson() { + return _$$DestinationImplToJson( + this, + ); + } +} + +abstract class _Destination implements Destination { + const factory _Destination( + {required final String ref, + required final String name, + required final String country, + required final String continent, + required final String knownFor, + required final List tags, + required final String imageUrl}) = _$DestinationImpl; + + factory _Destination.fromJson(Map json) = + _$DestinationImpl.fromJson; + + /// e.g. 'alaska' + @override + String get ref; + + /// e.g. 'Alaska' + @override + String get name; + + /// e.g. 'United States' + @override + String get country; + + /// e.g. 'North America' + @override + String get continent; + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + @override + String get knownFor; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + @override + List get tags; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + @override + String get imageUrl; + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$DestinationImplCopyWith<_$DestinationImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/domain/models/destination/destination.g.dart b/compass_app/app/lib/domain/models/destination/destination.g.dart new file mode 100644 index 000000000..796e2bbbd --- /dev/null +++ b/compass_app/app/lib/domain/models/destination/destination.g.dart @@ -0,0 +1,29 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'destination.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$DestinationImpl _$$DestinationImplFromJson(Map json) => + _$DestinationImpl( + ref: json['ref'] as String, + name: json['name'] as String, + country: json['country'] as String, + continent: json['continent'] as String, + knownFor: json['knownFor'] as String, + tags: (json['tags'] as List).map((e) => e as String).toList(), + imageUrl: json['imageUrl'] as String, + ); + +Map _$$DestinationImplToJson(_$DestinationImpl instance) => + { + 'ref': instance.ref, + 'name': instance.name, + 'country': instance.country, + 'continent': instance.continent, + 'knownFor': instance.knownFor, + 'tags': instance.tags, + 'imageUrl': instance.imageUrl, + }; diff --git a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.dart b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.dart new file mode 100644 index 000000000..7d55b7c64 --- /dev/null +++ b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.dart @@ -0,0 +1,35 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'itinerary_config.freezed.dart'; + +part 'itinerary_config.g.dart'; + +@freezed +class ItineraryConfig with _$ItineraryConfig { + const factory ItineraryConfig({ + /// [Continent] name + String? continent, + + /// Start date (check in) of itinerary + DateTime? startDate, + + /// End date (check out) of itinerary + DateTime? endDate, + + /// Number of guests + int? guests, + + /// Selected [Destination] reference + String? destination, + + /// Selected [Activity] references + @Default([]) List activities, + }) = _ItineraryConfig; + + factory ItineraryConfig.fromJson(Map json) => + _$ItineraryConfigFromJson(json); +} diff --git a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart new file mode 100644 index 000000000..38facb873 --- /dev/null +++ b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart @@ -0,0 +1,316 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'itinerary_config.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +ItineraryConfig _$ItineraryConfigFromJson(Map json) { + return _ItineraryConfig.fromJson(json); +} + +/// @nodoc +mixin _$ItineraryConfig { + /// [Continent] name + String? get continent => throw _privateConstructorUsedError; + + /// Start date (check in) of itinerary + DateTime? get startDate => throw _privateConstructorUsedError; + + /// End date (check out) of itinerary + DateTime? get endDate => throw _privateConstructorUsedError; + + /// Number of guests + int? get guests => throw _privateConstructorUsedError; + + /// Selected [Destination] reference + String? get destination => throw _privateConstructorUsedError; + + /// Selected [Activity] references + List get activities => throw _privateConstructorUsedError; + + /// Serializes this ItineraryConfig to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of ItineraryConfig + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $ItineraryConfigCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $ItineraryConfigCopyWith<$Res> { + factory $ItineraryConfigCopyWith( + ItineraryConfig value, $Res Function(ItineraryConfig) then) = + _$ItineraryConfigCopyWithImpl<$Res, ItineraryConfig>; + @useResult + $Res call( + {String? continent, + DateTime? startDate, + DateTime? endDate, + int? guests, + String? destination, + List activities}); +} + +/// @nodoc +class _$ItineraryConfigCopyWithImpl<$Res, $Val extends ItineraryConfig> + implements $ItineraryConfigCopyWith<$Res> { + _$ItineraryConfigCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of ItineraryConfig + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? continent = freezed, + Object? startDate = freezed, + Object? endDate = freezed, + Object? guests = freezed, + Object? destination = freezed, + Object? activities = null, + }) { + return _then(_value.copyWith( + continent: freezed == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String?, + startDate: freezed == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + endDate: freezed == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + guests: freezed == guests + ? _value.guests + : guests // ignore: cast_nullable_to_non_nullable + as int?, + destination: freezed == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as String?, + activities: null == activities + ? _value.activities + : activities // ignore: cast_nullable_to_non_nullable + as List, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$ItineraryConfigImplCopyWith<$Res> + implements $ItineraryConfigCopyWith<$Res> { + factory _$$ItineraryConfigImplCopyWith(_$ItineraryConfigImpl value, + $Res Function(_$ItineraryConfigImpl) then) = + __$$ItineraryConfigImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {String? continent, + DateTime? startDate, + DateTime? endDate, + int? guests, + String? destination, + List activities}); +} + +/// @nodoc +class __$$ItineraryConfigImplCopyWithImpl<$Res> + extends _$ItineraryConfigCopyWithImpl<$Res, _$ItineraryConfigImpl> + implements _$$ItineraryConfigImplCopyWith<$Res> { + __$$ItineraryConfigImplCopyWithImpl( + _$ItineraryConfigImpl _value, $Res Function(_$ItineraryConfigImpl) _then) + : super(_value, _then); + + /// Create a copy of ItineraryConfig + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? continent = freezed, + Object? startDate = freezed, + Object? endDate = freezed, + Object? guests = freezed, + Object? destination = freezed, + Object? activities = null, + }) { + return _then(_$ItineraryConfigImpl( + continent: freezed == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String?, + startDate: freezed == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + endDate: freezed == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + guests: freezed == guests + ? _value.guests + : guests // ignore: cast_nullable_to_non_nullable + as int?, + destination: freezed == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as String?, + activities: null == activities + ? _value._activities + : activities // ignore: cast_nullable_to_non_nullable + as List, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$ItineraryConfigImpl implements _ItineraryConfig { + const _$ItineraryConfigImpl( + {this.continent, + this.startDate, + this.endDate, + this.guests, + this.destination, + final List activities = const []}) + : _activities = activities; + + factory _$ItineraryConfigImpl.fromJson(Map json) => + _$$ItineraryConfigImplFromJson(json); + + /// [Continent] name + @override + final String? continent; + + /// Start date (check in) of itinerary + @override + final DateTime? startDate; + + /// End date (check out) of itinerary + @override + final DateTime? endDate; + + /// Number of guests + @override + final int? guests; + + /// Selected [Destination] reference + @override + final String? destination; + + /// Selected [Activity] references + final List _activities; + + /// Selected [Activity] references + @override + @JsonKey() + List get activities { + if (_activities is EqualUnmodifiableListView) return _activities; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_activities); + } + + @override + String toString() { + return 'ItineraryConfig(continent: $continent, startDate: $startDate, endDate: $endDate, guests: $guests, destination: $destination, activities: $activities)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$ItineraryConfigImpl && + (identical(other.continent, continent) || + other.continent == continent) && + (identical(other.startDate, startDate) || + other.startDate == startDate) && + (identical(other.endDate, endDate) || other.endDate == endDate) && + (identical(other.guests, guests) || other.guests == guests) && + (identical(other.destination, destination) || + other.destination == destination) && + const DeepCollectionEquality() + .equals(other._activities, _activities)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, continent, startDate, endDate, + guests, destination, const DeepCollectionEquality().hash(_activities)); + + /// Create a copy of ItineraryConfig + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$ItineraryConfigImplCopyWith<_$ItineraryConfigImpl> get copyWith => + __$$ItineraryConfigImplCopyWithImpl<_$ItineraryConfigImpl>( + this, _$identity); + + @override + Map toJson() { + return _$$ItineraryConfigImplToJson( + this, + ); + } +} + +abstract class _ItineraryConfig implements ItineraryConfig { + const factory _ItineraryConfig( + {final String? continent, + final DateTime? startDate, + final DateTime? endDate, + final int? guests, + final String? destination, + final List activities}) = _$ItineraryConfigImpl; + + factory _ItineraryConfig.fromJson(Map json) = + _$ItineraryConfigImpl.fromJson; + + /// [Continent] name + @override + String? get continent; + + /// Start date (check in) of itinerary + @override + DateTime? get startDate; + + /// End date (check out) of itinerary + @override + DateTime? get endDate; + + /// Number of guests + @override + int? get guests; + + /// Selected [Destination] reference + @override + String? get destination; + + /// Selected [Activity] references + @override + List get activities; + + /// Create a copy of ItineraryConfig + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$ItineraryConfigImplCopyWith<_$ItineraryConfigImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart new file mode 100644 index 000000000..1176e4239 --- /dev/null +++ b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart @@ -0,0 +1,36 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'itinerary_config.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$ItineraryConfigImpl _$$ItineraryConfigImplFromJson( + Map json) => + _$ItineraryConfigImpl( + continent: json['continent'] as String?, + startDate: json['startDate'] == null + ? null + : DateTime.parse(json['startDate'] as String), + endDate: json['endDate'] == null + ? null + : DateTime.parse(json['endDate'] as String), + guests: (json['guests'] as num?)?.toInt(), + destination: json['destination'] as String?, + activities: (json['activities'] as List?) + ?.map((e) => e as String) + .toList() ?? + const [], + ); + +Map _$$ItineraryConfigImplToJson( + _$ItineraryConfigImpl instance) => + { + 'continent': instance.continent, + 'startDate': instance.startDate?.toIso8601String(), + 'endDate': instance.endDate?.toIso8601String(), + 'guests': instance.guests, + 'destination': instance.destination, + 'activities': instance.activities, + }; diff --git a/compass_app/app/lib/domain/models/user/user.dart b/compass_app/app/lib/domain/models/user/user.dart new file mode 100644 index 000000000..001a5ad06 --- /dev/null +++ b/compass_app/app/lib/domain/models/user/user.dart @@ -0,0 +1,21 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'user.freezed.dart'; +part 'user.g.dart'; + +@freezed +abstract class User with _$User { + const factory User({ + /// The user's name. + required String name, + + /// The user's picture URL. + required String picture, + }) = _User; + + factory User.fromJson(Map json) => _$UserFromJson(json); +} diff --git a/compass_app/app/lib/domain/models/user/user.freezed.dart b/compass_app/app/lib/domain/models/user/user.freezed.dart new file mode 100644 index 000000000..214f6d8b4 --- /dev/null +++ b/compass_app/app/lib/domain/models/user/user.freezed.dart @@ -0,0 +1,185 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'user.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +User _$UserFromJson(Map json) { + return _User.fromJson(json); +} + +/// @nodoc +mixin _$User { + /// The user's name. + String get name => throw _privateConstructorUsedError; + + /// The user's picture URL. + String get picture => throw _privateConstructorUsedError; + + /// Serializes this User to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $UserCopyWith get copyWith => throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $UserCopyWith<$Res> { + factory $UserCopyWith(User value, $Res Function(User) then) = + _$UserCopyWithImpl<$Res, User>; + @useResult + $Res call({String name, String picture}); +} + +/// @nodoc +class _$UserCopyWithImpl<$Res, $Val extends User> + implements $UserCopyWith<$Res> { + _$UserCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? picture = null, + }) { + return _then(_value.copyWith( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$UserImplCopyWith<$Res> implements $UserCopyWith<$Res> { + factory _$$UserImplCopyWith( + _$UserImpl value, $Res Function(_$UserImpl) then) = + __$$UserImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String name, String picture}); +} + +/// @nodoc +class __$$UserImplCopyWithImpl<$Res> + extends _$UserCopyWithImpl<$Res, _$UserImpl> + implements _$$UserImplCopyWith<$Res> { + __$$UserImplCopyWithImpl(_$UserImpl _value, $Res Function(_$UserImpl) _then) + : super(_value, _then); + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? picture = null, + }) { + return _then(_$UserImpl( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$UserImpl implements _User { + const _$UserImpl({required this.name, required this.picture}); + + factory _$UserImpl.fromJson(Map json) => + _$$UserImplFromJson(json); + + /// The user's name. + @override + final String name; + + /// The user's picture URL. + @override + final String picture; + + @override + String toString() { + return 'User(name: $name, picture: $picture)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$UserImpl && + (identical(other.name, name) || other.name == name) && + (identical(other.picture, picture) || other.picture == picture)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, name, picture); + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$UserImplCopyWith<_$UserImpl> get copyWith => + __$$UserImplCopyWithImpl<_$UserImpl>(this, _$identity); + + @override + Map toJson() { + return _$$UserImplToJson( + this, + ); + } +} + +abstract class _User implements User { + const factory _User( + {required final String name, required final String picture}) = _$UserImpl; + + factory _User.fromJson(Map json) = _$UserImpl.fromJson; + + /// The user's name. + @override + String get name; + + /// The user's picture URL. + @override + String get picture; + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$UserImplCopyWith<_$UserImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/app/lib/domain/models/user/user.g.dart b/compass_app/app/lib/domain/models/user/user.g.dart new file mode 100644 index 000000000..5493bf822 --- /dev/null +++ b/compass_app/app/lib/domain/models/user/user.g.dart @@ -0,0 +1,18 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'user.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$UserImpl _$$UserImplFromJson(Map json) => _$UserImpl( + name: json['name'] as String, + picture: json['picture'] as String, + ); + +Map _$$UserImplToJson(_$UserImpl instance) => + { + 'name': instance.name, + 'picture': instance.picture, + }; diff --git a/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart new file mode 100644 index 000000000..eff951159 --- /dev/null +++ b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart @@ -0,0 +1,106 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:logging/logging.dart'; + +import '../../../data/repositories/activity/activity_repository.dart'; +import '../../../data/repositories/booking/booking_repository.dart'; +import '../../../data/repositories/destination/destination_repository.dart'; +import '../../../utils/result.dart'; +import '../../models/activity/activity.dart'; +import '../../models/booking/booking.dart'; +import '../../models/destination/destination.dart'; +import '../../models/itinerary_config/itinerary_config.dart'; + +/// UseCase for creating [Booking] objects from [ItineraryConfig]. +/// +/// Fetches [Destination] and [Activity] objects from repositories, +/// checks if dates are set and creates a [Booking] object. +class BookingCreateUseCase { + BookingCreateUseCase({ + required DestinationRepository destinationRepository, + required ActivityRepository activityRepository, + required BookingRepository bookingRepository, + }) : _destinationRepository = destinationRepository, + _activityRepository = activityRepository, + _bookingRepository = bookingRepository; + + final DestinationRepository _destinationRepository; + final ActivityRepository _activityRepository; + final BookingRepository _bookingRepository; + final _log = Logger('BookingCreateUseCase'); + + /// Create [Booking] from a stored [ItineraryConfig] + Future> createFrom(ItineraryConfig itineraryConfig) async { + // Get Destination object from repository + if (itineraryConfig.destination == null) { + _log.warning('Destination is not set'); + return Result.error(Exception('Destination is not set')); + } + final destinationResult = + await _fetchDestination(itineraryConfig.destination!); + if (destinationResult is Error) { + _log.warning('Error fetching destination: ${destinationResult.error}'); + return Result.error(destinationResult.error); + } + _log.fine('Destination loaded: ${destinationResult.asOk.value.ref}'); + + // Get Activity objects from repository + if (itineraryConfig.activities.isEmpty) { + _log.warning('Activities are not set'); + return Result.error(Exception('Activities are not set')); + } + final activitiesResult = await _activityRepository.getByDestination( + itineraryConfig.destination!, + ); + if (activitiesResult is Error>) { + _log.warning('Error fetching activities: ${activitiesResult.error}'); + return Result.error(activitiesResult.error); + } + final activities = activitiesResult.asOk.value + .where( + (activity) => itineraryConfig.activities.contains(activity.ref), + ) + .toList(); + _log.fine('Activities loaded (${activities.length})'); + + // Check if dates are set + if (itineraryConfig.startDate == null || itineraryConfig.endDate == null) { + _log.warning('Dates are not set'); + return Result.error(Exception('Dates are not set')); + } + + final booking = Booking( + startDate: itineraryConfig.startDate!, + endDate: itineraryConfig.endDate!, + destination: destinationResult.asOk.value, + activity: activities, + ); + + final saveBookingResult = await _bookingRepository.createBooking(booking); + switch (saveBookingResult) { + case Ok(): + _log.fine('Booking saved successfully'); + break; + case Error(): + _log.warning('Failed to save booking', saveBookingResult.error); + return Result.error(saveBookingResult.error); + } + + // Create Booking object + return Result.ok(booking); + } + + Future> _fetchDestination(String destinationRef) async { + final result = await _destinationRepository.getDestinations(); + switch (result) { + case Ok>(): + final destination = result.value + .firstWhere((destination) => destination.ref == destinationRef); + return Ok(destination); + case Error>(): + return Result.error(result.error); + } + } +} diff --git a/compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart b/compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart new file mode 100644 index 000000000..cff2f852b --- /dev/null +++ b/compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart @@ -0,0 +1,46 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:logging/logging.dart'; +import 'package:share_plus/share_plus.dart'; + +import '../../../utils/result.dart'; +import '../../../ui/core/ui/date_format_start_end.dart'; +import '../../models/booking/booking.dart'; + +typedef ShareFunction = Future Function(String text); + +/// UseCase for sharing a booking. +class BookingShareUseCase { + BookingShareUseCase._(this._share); + + /// Create a [BookingShareUseCase] that uses `share_plus` package. + factory BookingShareUseCase.withSharePlus() => + BookingShareUseCase._(Share.share); + + /// Create a [BookingShareUseCase] with a custom share function. + factory BookingShareUseCase.custom(ShareFunction share) => + BookingShareUseCase._(share); + + final ShareFunction _share; + final _log = Logger('BookingShareUseCase'); + + Future> shareBooking(Booking booking) async { + final text = 'Trip to ${booking.destination.name}\n' + 'on ${dateFormatStartEnd(DateTimeRange(start: booking.startDate, end: booking.endDate))}\n' + 'Activities:\n' + '${booking.activity.map((a) => ' - ${a.name}').join('\n')}.'; + + _log.info('Sharing booking: $text'); + try { + await _share(text); + _log.fine('Shared booking'); + return Result.ok(null); + } on Exception catch (error) { + _log.severe('Failed to share booking', error); + return Result.error(error); + } + } +} diff --git a/compass_app/app/lib/main.dart b/compass_app/app/lib/main.dart new file mode 100644 index 000000000..65b39e0d4 --- /dev/null +++ b/compass_app/app/lib/main.dart @@ -0,0 +1,40 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter_localizations/flutter_localizations.dart'; +import 'package:provider/provider.dart'; + +import 'ui/core/localization/applocalization.dart'; +import 'ui/core/themes/theme.dart'; +import 'routing/router.dart'; +import 'package:flutter/material.dart'; + +import 'ui/core/ui/scroll_behavior.dart'; +import 'main_development.dart' as development; + +/// Default main method +void main() { + // Launch development config by default + development.main(); +} + +class MainApp extends StatelessWidget { + const MainApp({super.key}); + + @override + Widget build(BuildContext context) { + return MaterialApp.router( + localizationsDelegates: [ + GlobalWidgetsLocalizations.delegate, + GlobalMaterialLocalizations.delegate, + AppLocalizationDelegate(), + ], + scrollBehavior: AppCustomScrollBehavior(), + theme: AppTheme.lightTheme, + darkTheme: AppTheme.darkTheme, + themeMode: ThemeMode.system, + routerConfig: router(context.read()), + ); + } +} diff --git a/compass_app/app/lib/main_development.dart b/compass_app/app/lib/main_development.dart new file mode 100644 index 000000000..4754e22cd --- /dev/null +++ b/compass_app/app/lib/main_development.dart @@ -0,0 +1,24 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:logging/logging.dart'; +import 'package:provider/provider.dart'; + +import 'config/dependencies.dart'; +import 'main.dart'; + +/// Development config entry point. +/// Launch with `flutter run --target lib/main_development.dart`. +/// Uses local data. +void main() { + Logger.root.level = Level.ALL; + + runApp( + MultiProvider( + providers: providersLocal, + child: const MainApp(), + ), + ); +} diff --git a/compass_app/app/lib/main_staging.dart b/compass_app/app/lib/main_staging.dart new file mode 100644 index 000000000..d6d87ba99 --- /dev/null +++ b/compass_app/app/lib/main_staging.dart @@ -0,0 +1,24 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:logging/logging.dart'; +import 'package:provider/provider.dart'; + +import 'config/dependencies.dart'; +import 'main.dart'; + +/// Staging config entry point. +/// Launch with `flutter run --target lib/main_staging.dart`. +/// Uses remote data from a server. +void main() { + Logger.root.level = Level.ALL; + + runApp( + MultiProvider( + providers: providersRemote, + child: const MainApp(), + ), + ); +} diff --git a/compass_app/app/lib/routing/router.dart b/compass_app/app/lib/routing/router.dart new file mode 100644 index 000000000..e0e085b43 --- /dev/null +++ b/compass_app/app/lib/routing/router.dart @@ -0,0 +1,154 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/cupertino.dart'; +import 'package:go_router/go_router.dart'; +import 'package:provider/provider.dart'; + +import '../data/repositories/auth/auth_repository.dart'; +import '../ui/activities/view_models/activities_viewmodel.dart'; +import '../ui/activities/widgets/activities_screen.dart'; +import '../ui/auth/login/view_models/login_viewmodel.dart'; +import '../ui/auth/login/widgets/login_screen.dart'; +import '../ui/booking/widgets/booking_screen.dart'; +import '../ui/booking/view_models/booking_viewmodel.dart'; +import '../ui/home/view_models/home_viewmodel.dart'; +import '../ui/home/widgets/home_screen.dart'; +import '../ui/results/view_models/results_viewmodel.dart'; +import '../ui/results/widgets/results_screen.dart'; +import '../ui/search_form/view_models/search_form_viewmodel.dart'; +import '../ui/search_form/widgets/search_form_screen.dart'; +import 'routes.dart'; + +/// Top go_router entry point. +/// +/// Listens to changes in [AuthTokenRepository] to redirect the user +/// to /login when the user logs out. +GoRouter router( + AuthRepository authRepository, +) => + GoRouter( + initialLocation: Routes.home, + debugLogDiagnostics: true, + redirect: _redirect, + refreshListenable: authRepository, + routes: [ + GoRoute( + path: Routes.login, + builder: (context, state) { + return LoginScreen( + viewModel: LoginViewModel( + authRepository: context.read(), + ), + ); + }, + ), + GoRoute( + path: Routes.home, + builder: (context, state) { + final viewModel = HomeViewModel( + bookingRepository: context.read(), + userRepository: context.read(), + ); + return HomeScreen(viewModel: viewModel); + }, + routes: [ + GoRoute( + path: Routes.searchRelative, + builder: (context, state) { + final viewModel = SearchFormViewModel( + continentRepository: context.read(), + itineraryConfigRepository: context.read(), + ); + return SearchFormScreen(viewModel: viewModel); + }, + ), + GoRoute( + path: Routes.resultsRelative, + builder: (context, state) { + final viewModel = ResultsViewModel( + destinationRepository: context.read(), + itineraryConfigRepository: context.read(), + ); + return ResultsScreen( + viewModel: viewModel, + ); + }, + ), + GoRoute( + path: Routes.activitiesRelative, + builder: (context, state) { + final viewModel = ActivitiesViewModel( + activityRepository: context.read(), + itineraryConfigRepository: context.read(), + ); + return ActivitiesScreen( + viewModel: viewModel, + ); + }, + ), + GoRoute( + path: Routes.bookingRelative, + builder: (context, state) { + final viewModel = BookingViewModel( + itineraryConfigRepository: context.read(), + createBookingUseCase: context.read(), + shareBookingUseCase: context.read(), + bookingRepository: context.read(), + ); + + // When opening the booking screen directly + // create a new booking from the stored ItineraryConfig. + viewModel.createBooking.execute(); + + return BookingScreen( + viewModel: viewModel, + ); + }, + routes: [ + GoRoute( + path: ':id', + builder: (context, state) { + final id = int.parse(state.pathParameters['id']!); + final viewModel = BookingViewModel( + itineraryConfigRepository: context.read(), + createBookingUseCase: context.read(), + shareBookingUseCase: context.read(), + bookingRepository: context.read(), + ); + + // When opening the booking screen with an existing id + // load and display that booking. + viewModel.loadBooking.execute(id); + + return BookingScreen( + viewModel: viewModel, + ); + }, + ), + ], + ), + ], + ), + ], + ); + +// From https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/redirection.dart +Future _redirect(BuildContext context, GoRouterState state) async { + // if the user is not logged in, they need to login + final bool loggedIn = await context.read().isAuthenticated; + final bool loggingIn = state.matchedLocation == Routes.login; + if (!loggedIn) { + return Routes.login; + } + + // if the user is logged in but still on the login page, send them to + // the home page + if (loggingIn) { + return Routes.home; + } + + // no need to redirect at all + return null; +} diff --git a/compass_app/app/lib/routing/routes.dart b/compass_app/app/lib/routing/routes.dart new file mode 100644 index 000000000..bba607532 --- /dev/null +++ b/compass_app/app/lib/routing/routes.dart @@ -0,0 +1,17 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +class Routes { + static const home = '/'; + static const login = '/login'; + static const search = '/$searchRelative'; + static const searchRelative = 'search'; + static const results = '/$resultsRelative'; + static const resultsRelative = 'results'; + static const activities = '/$activitiesRelative'; + static const activitiesRelative = 'activities'; + static const booking = '/$bookingRelative'; + static const bookingRelative = 'booking'; + static String bookingWithId(int id) => '$booking/$id'; +} diff --git a/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart b/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart new file mode 100644 index 000000000..dc86b6f48 --- /dev/null +++ b/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart @@ -0,0 +1,142 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/foundation.dart'; +import 'package:logging/logging.dart'; + +import '../../../data/repositories/activity/activity_repository.dart'; +import '../../../data/repositories/itinerary_config/itinerary_config_repository.dart'; +import '../../../domain/models/activity/activity.dart'; +import '../../../utils/command.dart'; +import '../../../utils/result.dart'; + +class ActivitiesViewModel extends ChangeNotifier { + ActivitiesViewModel({ + required ActivityRepository activityRepository, + required ItineraryConfigRepository itineraryConfigRepository, + }) : _activityRepository = activityRepository, + _itineraryConfigRepository = itineraryConfigRepository { + loadActivities = Command0(_loadActivities)..execute(); + saveActivities = Command0(_saveActivities); + } + + final _log = Logger('ActivitiesViewModel'); + final ActivityRepository _activityRepository; + final ItineraryConfigRepository _itineraryConfigRepository; + List _daytimeActivities = []; + List _eveningActivities = []; + final Set _selectedActivities = {}; + + /// List of daytime [Activity] per destination. + List get daytimeActivities => _daytimeActivities; + + /// List of evening [Activity] per destination. + List get eveningActivities => _eveningActivities; + + /// Selected [Activity] by ref. + Set get selectedActivities => _selectedActivities; + + /// Load list of [Activity] for a [Destination] by ref. + late final Command0 loadActivities; + + /// Save list [selectedActivities] into itinerary configuration. + late final Command0 saveActivities; + + Future> _loadActivities() async { + final result = await _itineraryConfigRepository.getItineraryConfig(); + if (result is Error) { + _log.warning( + 'Failed to load stored ItineraryConfig', + result.asError.error, + ); + return result; + } + + final destinationRef = result.asOk.value.destination; + if (destinationRef == null) { + _log.severe('Destination missing in ItineraryConfig'); + return Result.error(Exception('Destination not found')); + } + + _selectedActivities.addAll(result.asOk.value.activities); + + final resultActivities = + await _activityRepository.getByDestination(destinationRef); + switch (resultActivities) { + case Ok(): + { + _daytimeActivities = resultActivities.value + .where((activity) => [ + TimeOfDay.any, + TimeOfDay.morning, + TimeOfDay.afternoon, + ].contains(activity.timeOfDay)) + .toList(); + + _eveningActivities = resultActivities.value + .where((activity) => [ + TimeOfDay.evening, + TimeOfDay.night, + ].contains(activity.timeOfDay)) + .toList(); + + _log.fine('Activities (daytime: ${_daytimeActivities.length}, ' + 'evening: ${_eveningActivities.length}) loaded'); + } + case Error(): + { + _log.warning('Failed to load activities', resultActivities.error); + } + } + + notifyListeners(); + return resultActivities; + } + + /// Add [Activity] to selected list. + void addActivity(String activityRef) { + assert( + (_daytimeActivities + _eveningActivities) + .any((activity) => activity.ref == activityRef), + "Activity $activityRef not found", + ); + _selectedActivities.add(activityRef); + _log.finest('Activity $activityRef added'); + notifyListeners(); + } + + /// Remove [Activity] from selected list. + void removeActivity(String activityRef) { + assert( + (_daytimeActivities + _eveningActivities) + .any((activity) => activity.ref == activityRef), + "Activity $activityRef not found", + ); + _selectedActivities.remove(activityRef); + _log.finest('Activity $activityRef removed'); + notifyListeners(); + } + + Future> _saveActivities() async { + final resultConfig = await _itineraryConfigRepository.getItineraryConfig(); + if (resultConfig is Error) { + _log.warning( + 'Failed to load stored ItineraryConfig', + resultConfig.asError.error, + ); + return resultConfig; + } + + final itineraryConfig = resultConfig.asOk.value; + final result = await _itineraryConfigRepository.setItineraryConfig( + itineraryConfig.copyWith(activities: _selectedActivities.toList())); + if (result is Error) { + _log.warning( + 'Failed to store ItineraryConfig', + result.asError.error, + ); + } + return result; + } +} diff --git a/compass_app/app/lib/ui/activities/widgets/activities_header.dart b/compass_app/app/lib/ui/activities/widgets/activities_header.dart new file mode 100644 index 000000000..3e91c10fe --- /dev/null +++ b/compass_app/app/lib/ui/activities/widgets/activities_header.dart @@ -0,0 +1,48 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../routing/routes.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/back_button.dart'; +import '../../core/ui/home_button.dart'; + +class ActivitiesHeader extends StatelessWidget { + const ActivitiesHeader({super.key}); + + @override + Widget build(BuildContext context) { + return SafeArea( + top: true, + bottom: false, + child: Padding( + padding: EdgeInsets.only( + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenHorizontal, + top: Dimens.of(context).paddingScreenVertical, + bottom: Dimens.paddingVertical, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + CustomBackButton( + onTap: () { + // Navigate to ResultsScreen and edit search + context.go(Routes.results); + }, + ), + Text( + AppLocalization.of(context).activities, + style: Theme.of(context).textTheme.titleLarge, + ), + const HomeButton(), + ], + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/activities/widgets/activities_list.dart b/compass_app/app/lib/ui/activities/widgets/activities_list.dart new file mode 100644 index 000000000..dcb0b69eb --- /dev/null +++ b/compass_app/app/lib/ui/activities/widgets/activities_list.dart @@ -0,0 +1,61 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../../core/themes/dimens.dart'; +import '../view_models/activities_viewmodel.dart'; +import 'activity_entry.dart'; +import 'activity_time_of_day.dart'; + +class ActivitiesList extends StatelessWidget { + const ActivitiesList({ + super.key, + required this.viewModel, + required this.activityTimeOfDay, + }); + + final ActivitiesViewModel viewModel; + final ActivityTimeOfDay activityTimeOfDay; + + @override + Widget build(BuildContext context) { + final list = switch (activityTimeOfDay) { + ActivityTimeOfDay.daytime => viewModel.daytimeActivities, + ActivityTimeOfDay.evening => viewModel.eveningActivities, + }; + return SliverPadding( + padding: EdgeInsets.only( + top: Dimens.paddingVertical, + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenHorizontal, + bottom: Dimens.paddingVertical, + ), + sliver: SliverList( + delegate: SliverChildBuilderDelegate( + (context, index) { + final activity = list[index]; + return Padding( + padding: + EdgeInsets.only(bottom: index < list.length - 1 ? 20 : 0), + child: ActivityEntry( + key: ValueKey(activity.ref), + activity: activity, + selected: viewModel.selectedActivities.contains(activity.ref), + onChanged: (value) { + if (value!) { + viewModel.addActivity(activity.ref); + } else { + viewModel.removeActivity(activity.ref); + } + }, + ), + ); + }, + childCount: list.length, + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/activities/widgets/activities_screen.dart b/compass_app/app/lib/ui/activities/widgets/activities_screen.dart new file mode 100644 index 000000000..00565e74a --- /dev/null +++ b/compass_app/app/lib/ui/activities/widgets/activities_screen.dart @@ -0,0 +1,188 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../routing/routes.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/error_indicator.dart'; +import '../view_models/activities_viewmodel.dart'; +import 'activities_header.dart'; +import 'activities_list.dart'; +import 'activities_title.dart'; +import 'activity_time_of_day.dart'; + +const String confirmButtonKey = 'confirm-button'; + +class ActivitiesScreen extends StatefulWidget { + const ActivitiesScreen({ + super.key, + required this.viewModel, + }); + + final ActivitiesViewModel viewModel; + + @override + State createState() => _ActivitiesScreenState(); +} + +class _ActivitiesScreenState extends State { + @override + void initState() { + super.initState(); + widget.viewModel.saveActivities.addListener(_onResult); + } + + @override + void didUpdateWidget(covariant ActivitiesScreen oldWidget) { + super.didUpdateWidget(oldWidget); + oldWidget.viewModel.saveActivities.removeListener(_onResult); + widget.viewModel.saveActivities.addListener(_onResult); + } + + @override + void dispose() { + widget.viewModel.saveActivities.removeListener(_onResult); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + return PopScope( + canPop: false, + onPopInvokedWithResult: (didPop, r) { + if (!didPop) context.go(Routes.results); + }, + child: Scaffold( + body: ListenableBuilder( + listenable: widget.viewModel.loadActivities, + builder: (context, child) { + if (widget.viewModel.loadActivities.completed) { + return child!; + } + return Column( + children: [ + const ActivitiesHeader(), + if (widget.viewModel.loadActivities.running) + const Expanded( + child: Center(child: CircularProgressIndicator())), + if (widget.viewModel.loadActivities.error) + Expanded( + child: Center( + child: ErrorIndicator( + title: AppLocalization.of(context) + .errorWhileLoadingActivities, + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.loadActivities.execute, + ), + ), + ), + ], + ); + }, + child: ListenableBuilder( + listenable: widget.viewModel, + builder: (context, child) { + return Column( + children: [ + Expanded( + child: CustomScrollView( + slivers: [ + const SliverToBoxAdapter( + child: ActivitiesHeader(), + ), + ActivitiesTitle( + viewModel: widget.viewModel, + activityTimeOfDay: ActivityTimeOfDay.daytime, + ), + ActivitiesList( + viewModel: widget.viewModel, + activityTimeOfDay: ActivityTimeOfDay.daytime, + ), + ActivitiesTitle( + viewModel: widget.viewModel, + activityTimeOfDay: ActivityTimeOfDay.evening, + ), + ActivitiesList( + viewModel: widget.viewModel, + activityTimeOfDay: ActivityTimeOfDay.evening, + ), + ], + ), + ), + _BottomArea(viewModel: widget.viewModel), + ], + ); + }, + ), + ), + ), + ); + } + + void _onResult() { + if (widget.viewModel.saveActivities.completed) { + widget.viewModel.saveActivities.clearResult(); + context.go(Routes.booking); + } + + if (widget.viewModel.saveActivities.error) { + widget.viewModel.saveActivities.clearResult(); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).errorWhileSavingActivities), + action: SnackBarAction( + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.saveActivities.execute, + ), + ), + ); + } + } +} + +class _BottomArea extends StatelessWidget { + const _BottomArea({ + required this.viewModel, + }); + + final ActivitiesViewModel viewModel; + + @override + Widget build(BuildContext context) { + return SafeArea( + bottom: true, + child: Material( + elevation: 8, + child: Padding( + padding: EdgeInsets.only( + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenVertical, + top: Dimens.paddingVertical, + bottom: Dimens.of(context).paddingScreenVertical, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + AppLocalization.of(context) + .selected(viewModel.selectedActivities.length), + style: Theme.of(context).textTheme.labelLarge, + ), + FilledButton( + key: const Key(confirmButtonKey), + onPressed: viewModel.selectedActivities.isNotEmpty + ? viewModel.saveActivities.execute + : null, + child: Text(AppLocalization.of(context).confirm), + ), + ], + ), + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/activities/widgets/activities_title.dart b/compass_app/app/lib/ui/activities/widgets/activities_title.dart new file mode 100644 index 000000000..9319db4f1 --- /dev/null +++ b/compass_app/app/lib/ui/activities/widgets/activities_title.dart @@ -0,0 +1,43 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../view_models/activities_viewmodel.dart'; +import 'activity_time_of_day.dart'; + +class ActivitiesTitle extends StatelessWidget { + const ActivitiesTitle({ + super.key, + required this.activityTimeOfDay, + required this.viewModel, + }); + + final ActivitiesViewModel viewModel; + final ActivityTimeOfDay activityTimeOfDay; + + @override + Widget build(BuildContext context) { + final list = switch (activityTimeOfDay) { + ActivityTimeOfDay.daytime => viewModel.daytimeActivities, + ActivityTimeOfDay.evening => viewModel.eveningActivities, + }; + if (list.isEmpty) { + return const SliverToBoxAdapter(child: SizedBox()); + } + return SliverToBoxAdapter( + child: Padding( + padding: Dimens.of(context).edgeInsetsScreenHorizontal, + child: Text(_label(context)), + ), + ); + } + + String _label(BuildContext context) => switch (activityTimeOfDay) { + ActivityTimeOfDay.daytime => AppLocalization.of(context).daytime, + ActivityTimeOfDay.evening => AppLocalization.of(context).evening, + }; +} diff --git a/compass_app/app/lib/ui/activities/widgets/activity_entry.dart b/compass_app/app/lib/ui/activities/widgets/activity_entry.dart new file mode 100644 index 000000000..884919603 --- /dev/null +++ b/compass_app/app/lib/ui/activities/widgets/activity_entry.dart @@ -0,0 +1,68 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/material.dart'; + +import '../../../domain/models/activity/activity.dart'; +import '../../../utils/image_error_listener.dart'; +import '../../core/ui/custom_checkbox.dart'; + +class ActivityEntry extends StatelessWidget { + const ActivityEntry({ + super.key, + required this.activity, + required this.selected, + required this.onChanged, + }); + + final Activity activity; + final bool selected; + final ValueChanged onChanged; + + @override + Widget build(BuildContext context) { + return SizedBox( + height: 80, + child: Row( + children: [ + ClipRRect( + borderRadius: BorderRadius.circular(8), + child: CachedNetworkImage( + imageUrl: activity.imageUrl, + height: 80, + width: 80, + errorListener: imageErrorListener, + ), + ), + const SizedBox(width: 20), + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.start, + children: [ + Text( + activity.timeOfDay.name.toUpperCase(), + style: Theme.of(context).textTheme.labelSmall, + ), + Text( + activity.name, + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: Theme.of(context).textTheme.bodyMedium, + ), + ], + ), + ), + const SizedBox(width: 20), + CustomCheckbox( + key: ValueKey('${activity.ref}-checkbox'), + value: selected, + onChanged: onChanged, + ) + ], + ), + ); + } +} diff --git a/compass_app/app/lib/ui/activities/widgets/activity_time_of_day.dart b/compass_app/app/lib/ui/activities/widgets/activity_time_of_day.dart new file mode 100644 index 000000000..04cf7df59 --- /dev/null +++ b/compass_app/app/lib/ui/activities/widgets/activity_time_of_day.dart @@ -0,0 +1,5 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +enum ActivityTimeOfDay { daytime, evening } diff --git a/compass_app/app/lib/ui/auth/login/view_models/login_viewmodel.dart b/compass_app/app/lib/ui/auth/login/view_models/login_viewmodel.dart new file mode 100644 index 000000000..f81d1e774 --- /dev/null +++ b/compass_app/app/lib/ui/auth/login/view_models/login_viewmodel.dart @@ -0,0 +1,34 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:logging/logging.dart'; + +import '../../../../data/repositories/auth/auth_repository.dart'; +import '../../../../utils/command.dart'; +import '../../../../utils/result.dart'; + +class LoginViewModel { + LoginViewModel({ + required AuthRepository authRepository, + }) : _authRepository = authRepository { + login = Command1(_login); + } + + final AuthRepository _authRepository; + final _log = Logger('LoginViewModel'); + + late Command1 login; + + Future> _login((String, String) credentials) async { + final (email, password) = credentials; + final result = await _authRepository.login( + email: email, + password: password, + ); + if (result is Error) { + _log.warning('Login failed! ${result.error}'); + } + return result; + } +} diff --git a/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart b/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart new file mode 100644 index 000000000..8734f2271 --- /dev/null +++ b/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart @@ -0,0 +1,113 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../../routing/routes.dart'; +import '../../../core/localization/applocalization.dart'; +import '../../../core/themes/dimens.dart'; +import '../view_models/login_viewmodel.dart'; +import 'tilted_cards.dart'; + +class LoginScreen extends StatefulWidget { + const LoginScreen({ + super.key, + required this.viewModel, + }); + + final LoginViewModel viewModel; + + @override + State createState() => _LoginScreenState(); +} + +class _LoginScreenState extends State { + final TextEditingController _email = + TextEditingController(text: 'email@example.com'); + final TextEditingController _password = + TextEditingController(text: 'password'); + + @override + void initState() { + super.initState(); + widget.viewModel.login.addListener(_onResult); + } + + @override + void didUpdateWidget(covariant LoginScreen oldWidget) { + super.didUpdateWidget(oldWidget); + oldWidget.viewModel.login.removeListener(_onResult); + widget.viewModel.login.addListener(_onResult); + } + + @override + void dispose() { + widget.viewModel.login.removeListener(_onResult); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + body: Column( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: [ + const TiltedCards(), + Padding( + padding: Dimens.of(context).edgeInsetsScreenSymmetric, + child: Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + TextField( + controller: _email, + ), + const SizedBox(height: Dimens.paddingVertical), + TextField( + controller: _password, + obscureText: true, + ), + const SizedBox(height: Dimens.paddingVertical), + ListenableBuilder( + listenable: widget.viewModel.login, + builder: (context, _) { + return FilledButton( + onPressed: () { + widget.viewModel.login + .execute((_email.value.text, _password.value.text)); + }, + child: Text(AppLocalization.of(context).login), + ); + }, + ), + ], + ), + ), + ], + ), + ); + } + + void _onResult() { + if (widget.viewModel.login.completed) { + widget.viewModel.login.clearResult(); + context.go(Routes.home); + } + + if (widget.viewModel.login.error) { + widget.viewModel.login.clearResult(); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).errorWhileLogin), + action: SnackBarAction( + label: AppLocalization.of(context).tryAgain, + onPressed: () => widget.viewModel.login + .execute((_email.value.text, _password.value.text)), + ), + ), + ); + } + } +} diff --git a/compass_app/app/lib/ui/auth/login/widgets/tilted_cards.dart b/compass_app/app/lib/ui/auth/login/widgets/tilted_cards.dart new file mode 100644 index 000000000..5acb08673 --- /dev/null +++ b/compass_app/app/lib/ui/auth/login/widgets/tilted_cards.dart @@ -0,0 +1,97 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_svg/svg.dart'; + +import '../../../../utils/image_error_listener.dart'; + +class TiltedCards extends StatelessWidget { + const TiltedCards({super.key}); + + @override + Widget build(BuildContext context) { + return ConstrainedBox( + constraints: const BoxConstraints(maxWidth: 300), + child: const AspectRatio( + aspectRatio: 1, + child: Stack( + alignment: Alignment.center, + children: [ + Positioned( + left: 0, + child: _Card( + imageUrl: 'https://rstr.in/google/tripedia/g2i0BsYPKW-', + width: 200, + height: 273, + tilt: -3.83 / 360, + ), + ), + Positioned( + right: 0, + child: _Card( + imageUrl: 'https://rstr.in/google/tripedia/980sqNgaDRK', + width: 180, + height: 230, + tilt: 3.46 / 360, + ), + ), + _Card( + imageUrl: 'https://rstr.in/google/tripedia/pHfPmf3o5NU', + width: 225, + height: 322, + tilt: 0, + showTitle: true, + ), + ], + ), + ), + ); + } +} + +class _Card extends StatelessWidget { + const _Card({ + required this.imageUrl, + required this.width, + required this.height, + required this.tilt, + this.showTitle = false, + }); + + final double tilt; + final double width; + final double height; + final String imageUrl; + final bool showTitle; + + @override + Widget build(BuildContext context) { + return RotationTransition( + turns: AlwaysStoppedAnimation(tilt), + child: SizedBox( + width: width, + height: height, + child: ClipRRect( + borderRadius: BorderRadius.circular(20), + child: Stack( + fit: StackFit.expand, + alignment: Alignment.center, + children: [ + CachedNetworkImage( + imageUrl: imageUrl, + fit: BoxFit.cover, + color: showTitle ? Colors.black.withOpacity(0.5) : null, + colorBlendMode: showTitle ? BlendMode.darken : null, + errorListener: imageErrorListener, + ), + if (showTitle) Center(child: SvgPicture.asset('assets/logo.svg')), + ], + ), + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/auth/logout/view_models/logout_viewmodel.dart b/compass_app/app/lib/ui/auth/logout/view_models/logout_viewmodel.dart new file mode 100644 index 000000000..0effd434d --- /dev/null +++ b/compass_app/app/lib/ui/auth/logout/view_models/logout_viewmodel.dart @@ -0,0 +1,34 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../../../../data/repositories/auth/auth_repository.dart'; +import '../../../../data/repositories/itinerary_config/itinerary_config_repository.dart'; +import '../../../../domain/models/itinerary_config/itinerary_config.dart'; +import '../../../../utils/command.dart'; +import '../../../../utils/result.dart'; + +class LogoutViewModel { + LogoutViewModel({ + required AuthRepository authRepository, + required ItineraryConfigRepository itineraryConfigRepository, + }) : _authLogoutRepository = authRepository, + _itineraryConfigRepository = itineraryConfigRepository { + logout = Command0(_logout); + } + final AuthRepository _authLogoutRepository; + final ItineraryConfigRepository _itineraryConfigRepository; + late Command0 logout; + + Future _logout() async { + var result = await _authLogoutRepository.logout(); + switch (result) { + case Ok(): + // clear stored itinerary config + return _itineraryConfigRepository + .setItineraryConfig(const ItineraryConfig()); + case Error(): + return result; + } + } +} diff --git a/compass_app/app/lib/ui/auth/logout/widgets/logout_button.dart b/compass_app/app/lib/ui/auth/logout/widgets/logout_button.dart new file mode 100644 index 000000000..ff500bed0 --- /dev/null +++ b/compass_app/app/lib/ui/auth/logout/widgets/logout_button.dart @@ -0,0 +1,88 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../../../core/localization/applocalization.dart'; +import '../../../core/themes/colors.dart'; +import '../view_models/logout_viewmodel.dart'; + +class LogoutButton extends StatefulWidget { + const LogoutButton({ + super.key, + required this.viewModel, + }); + + final LogoutViewModel viewModel; + + @override + State createState() => _LogoutButtonState(); +} + +class _LogoutButtonState extends State { + @override + void initState() { + super.initState(); + widget.viewModel.logout.addListener(_onResult); + } + + @override + void didUpdateWidget(covariant LogoutButton oldWidget) { + super.didUpdateWidget(oldWidget); + oldWidget.viewModel.logout.removeListener(_onResult); + widget.viewModel.logout.addListener(_onResult); + } + + @override + void dispose() { + widget.viewModel.logout.removeListener(_onResult); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + return SizedBox( + height: 40.0, + width: 40.0, + child: DecoratedBox( + decoration: BoxDecoration( + border: Border.all(color: AppColors.grey1), + borderRadius: BorderRadius.circular(8.0), + color: Colors.transparent, + ), + child: InkResponse( + borderRadius: BorderRadius.circular(8.0), + onTap: () { + widget.viewModel.logout.execute(); + }, + child: Center( + child: Icon( + size: 24.0, + Icons.logout, + color: Theme.of(context).colorScheme.onSurface, + ), + ), + ), + ), + ); + } + + void _onResult() { + // We do not need to navigate to `/login` on logout, + // it is done automatically by GoRouter. + + if (widget.viewModel.logout.error) { + widget.viewModel.logout.clearResult(); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).errorWhileLogout), + action: SnackBarAction( + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.logout.execute, + ), + ), + ); + } + } +} diff --git a/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart b/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart new file mode 100644 index 000000000..c2e44ead6 --- /dev/null +++ b/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart @@ -0,0 +1,89 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/foundation.dart'; +import 'package:logging/logging.dart'; + +import '../../../data/repositories/booking/booking_repository.dart'; +import '../../../data/repositories/itinerary_config/itinerary_config_repository.dart'; +import '../../../domain/models/booking/booking.dart'; +import '../../../domain/models/itinerary_config/itinerary_config.dart'; +import '../../../utils/command.dart'; +import '../../../utils/result.dart'; +import '../../../domain/use_cases/booking/booking_create_use_case.dart'; +import '../../../domain/use_cases/booking/booking_share_use_case.dart'; + +class BookingViewModel extends ChangeNotifier { + BookingViewModel({ + required BookingCreateUseCase createBookingUseCase, + required BookingShareUseCase shareBookingUseCase, + required ItineraryConfigRepository itineraryConfigRepository, + required BookingRepository bookingRepository, + }) : _createUseCase = createBookingUseCase, + _shareUseCase = shareBookingUseCase, + _itineraryConfigRepository = itineraryConfigRepository, + _bookingRepository = bookingRepository { + createBooking = Command0(_createBooking); + shareBooking = Command0(() => _shareUseCase.shareBooking(_booking!)); + loadBooking = Command1(_load); + } + + final BookingCreateUseCase _createUseCase; + final BookingShareUseCase _shareUseCase; + final ItineraryConfigRepository _itineraryConfigRepository; + final BookingRepository _bookingRepository; + final _log = Logger('BookingViewModel'); + Booking? _booking; + + Booking? get booking => _booking; + + /// Creates a booking from the ItineraryConfig + /// and saves it to the user bookins + late final Command0 createBooking; + + /// Loads booking by id + late final Command1 loadBooking; + + /// Share the current booking using the OS share dialog. + late final Command0 shareBooking; + + Future> _createBooking() async { + _log.fine('Loading booking'); + final itineraryConfig = + await _itineraryConfigRepository.getItineraryConfig(); + switch (itineraryConfig) { + case Ok(): + _log.fine('Loaded stored ItineraryConfig'); + final result = await _createUseCase.createFrom(itineraryConfig.value); + switch (result) { + case Ok(): + _log.fine('Created Booking'); + _booking = result.value; + notifyListeners(); + return Result.ok(null); + case Error(): + _log.warning('Booking error: ${result.error}'); + notifyListeners(); + return Result.error(result.asError.error); + } + case Error(): + _log.warning('ItineraryConfig error: ${itineraryConfig.error}'); + notifyListeners(); + return Result.error(itineraryConfig.error); + } + } + + Future> _load(int id) async { + final result = await _bookingRepository.getBooking(id); + switch (result) { + case Ok(): + _log.fine('Loaded booking $id'); + _booking = result.value; + notifyListeners(); + case Error(): + _log.warning('Failed to load booking $id'); + } + return result; + } +} diff --git a/compass_app/app/lib/ui/booking/widgets/booking_body.dart b/compass_app/app/lib/ui/booking/widgets/booking_body.dart new file mode 100644 index 000000000..9d36ad1c8 --- /dev/null +++ b/compass_app/app/lib/ui/booking/widgets/booking_body.dart @@ -0,0 +1,104 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/material.dart'; + +import '../../../domain/models/activity/activity.dart'; +import '../../../utils/image_error_listener.dart'; +import '../../core/themes/dimens.dart'; +import '../view_models/booking_viewmodel.dart'; +import 'booking_header.dart'; + +class BookingBody extends StatelessWidget { + const BookingBody({ + super.key, + required this.viewModel, + }); + + final BookingViewModel viewModel; + + @override + Widget build(BuildContext context) { + return ListenableBuilder( + listenable: viewModel, + builder: (context, _) { + final booking = viewModel.booking; + if (booking == null) return const SizedBox(); + return CustomScrollView( + slivers: [ + SliverToBoxAdapter(child: BookingHeader(booking: booking)), + SliverList( + delegate: SliverChildBuilderDelegate( + (context, index) { + final activity = booking.activity[index]; + return _Activity(activity: activity); + }, + childCount: booking.activity.length, + ), + ), + const SliverToBoxAdapter(child: SizedBox(height: 200)), + ], + ); + }, + ); + } +} + +class _Activity extends StatelessWidget { + const _Activity({ + required this.activity, + }); + + final Activity activity; + + @override + Widget build(BuildContext context) { + return Padding( + padding: EdgeInsets.only( + top: Dimens.paddingVertical, + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenHorizontal, + ), + child: Row( + children: [ + ClipRRect( + borderRadius: BorderRadius.circular(8), + child: CachedNetworkImage( + imageUrl: activity.imageUrl, + height: 80, + width: 80, + errorListener: imageErrorListener, + ), + ), + const SizedBox(width: 20), + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.start, + children: [ + Text( + activity.timeOfDay.name.toUpperCase(), + style: Theme.of(context).textTheme.labelSmall, + ), + Text( + activity.name, + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: Theme.of(context).textTheme.bodyMedium, + ), + Text( + activity.description, + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: Theme.of(context).textTheme.bodySmall, + ), + ], + ), + ), + ], + ), + ); + } +} diff --git a/compass_app/app/lib/ui/booking/widgets/booking_header.dart b/compass_app/app/lib/ui/booking/widgets/booking_header.dart new file mode 100644 index 000000000..e1d767857 --- /dev/null +++ b/compass_app/app/lib/ui/booking/widgets/booking_header.dart @@ -0,0 +1,191 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/material.dart'; + +import '../../../domain/models/booking/booking.dart'; +import '../../../utils/image_error_listener.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/colors.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/date_format_start_end.dart'; +import '../../core/ui/home_button.dart'; +import '../../core/ui/tag_chip.dart'; + +class BookingHeader extends StatelessWidget { + const BookingHeader({ + super.key, + required this.booking, + }); + + final Booking booking; + + @override + Widget build(BuildContext context) { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _Top(booking: booking), + Padding( + padding: Dimens.of(context).edgeInsetsScreenHorizontal, + child: Text( + booking.destination.knownFor, + style: Theme.of(context).textTheme.bodyLarge, + ), + ), + const SizedBox(height: Dimens.paddingVertical), + _Tags(booking: booking), + const SizedBox(height: Dimens.paddingVertical), + Padding( + padding: Dimens.of(context).edgeInsetsScreenHorizontal, + child: Text( + AppLocalization.of(context).yourChosenActivities, + style: Theme.of(context).textTheme.headlineSmall, + ), + ), + ], + ); + } +} + +class _Top extends StatelessWidget { + const _Top({ + required this.booking, + }); + + final Booking booking; + + @override + Widget build(BuildContext context) { + return SizedBox( + height: 260, + child: Stack( + fit: StackFit.expand, + children: [ + _HeaderImage(booking: booking), + const _Gradient(), + _Headline(booking: booking), + Positioned( + right: Dimens.of(context).paddingScreenHorizontal, + top: Dimens.of(context).paddingScreenVertical, + child: const SafeArea( + top: true, + child: HomeButton(blur: true), + ), + ), + ], + ), + ); + } +} + +class _Tags extends StatelessWidget { + const _Tags({ + required this.booking, + }); + + final Booking booking; + + @override + Widget build(BuildContext context) { + final brightness = Theme.of(context).brightness; + final chipColor = switch (brightness) { + Brightness.dark => AppColors.whiteTransparent, + Brightness.light => AppColors.blackTransparent, + }; + return Padding( + padding: Dimens.of(context).edgeInsetsScreenHorizontal, + child: Wrap( + spacing: 6, + runSpacing: 6, + children: booking.destination.tags + .map( + (tag) => TagChip( + tag: tag, + fontSize: 16, + height: 32, + chipColor: chipColor, + onChipColor: Theme.of(context).colorScheme.onSurface, + ), + ) + .toList(), + ), + ); + } +} + +class _Headline extends StatelessWidget { + const _Headline({ + required this.booking, + }); + + final Booking booking; + + @override + Widget build(BuildContext context) { + return Align( + alignment: AlignmentDirectional.bottomStart, + child: Padding( + padding: Dimens.of(context).edgeInsetsScreenSymmetric, + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + booking.destination.name, + style: Theme.of(context).textTheme.headlineLarge, + ), + Text( + dateFormatStartEnd( + DateTimeRange( + start: booking.startDate, + end: booking.endDate, + ), + ), + style: Theme.of(context).textTheme.headlineSmall, + ), + ], + ), + ), + ); + } +} + +class _HeaderImage extends StatelessWidget { + const _HeaderImage({ + required this.booking, + }); + + final Booking booking; + + @override + Widget build(BuildContext context) { + return CachedNetworkImage( + fit: BoxFit.fitWidth, + imageUrl: booking.destination.imageUrl, + errorListener: imageErrorListener, + ); + } +} + +class _Gradient extends StatelessWidget { + const _Gradient(); + + @override + Widget build(BuildContext context) { + return DecoratedBox( + decoration: BoxDecoration( + gradient: LinearGradient( + begin: Alignment.topCenter, + end: Alignment.bottomCenter, + colors: [ + Colors.transparent, + Theme.of(context).colorScheme.surface, + ], + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/booking/widgets/booking_screen.dart b/compass_app/app/lib/ui/booking/widgets/booking_screen.dart new file mode 100644 index 000000000..1c87036fc --- /dev/null +++ b/compass_app/app/lib/ui/booking/widgets/booking_screen.dart @@ -0,0 +1,115 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../routing/routes.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/ui/error_indicator.dart'; +import '../view_models/booking_viewmodel.dart'; +import 'booking_body.dart'; + +class BookingScreen extends StatefulWidget { + const BookingScreen({ + super.key, + required this.viewModel, + }); + + final BookingViewModel viewModel; + + @override + State createState() => _BookingScreenState(); +} + +class _BookingScreenState extends State { + @override + void initState() { + super.initState(); + widget.viewModel.shareBooking.addListener(_listener); + } + + @override + void dispose() { + widget.viewModel.shareBooking.removeListener(_listener); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + return PopScope( + canPop: false, + onPopInvokedWithResult: (didPop, r) { + // Back navigation always goes to home + if (!didPop) context.go(Routes.home); + }, + child: Scaffold( + floatingActionButton: ListenableBuilder( + listenable: widget.viewModel, + builder: (context, _) => FloatingActionButton.extended( + // Workaround for https://github.com/flutter/flutter/issues/115358#issuecomment-2117157419 + heroTag: null, + key: const ValueKey('share-button'), + onPressed: widget.viewModel.booking != null + ? widget.viewModel.shareBooking.execute + : null, + label: Text(AppLocalization.of(context).shareTrip), + icon: const Icon(Icons.share_outlined), + ), + ), + body: ListenableBuilder( + // Listen to changes in both commands + listenable: Listenable.merge([ + widget.viewModel.createBooking, + widget.viewModel.loadBooking, + ]), + builder: (context, child) { + // If either command is running, show progress indicator + if (widget.viewModel.createBooking.running || + widget.viewModel.loadBooking.running) { + return const Center( + child: CircularProgressIndicator(), + ); + } + // If fails to create booking, tap to try again + if (widget.viewModel.createBooking.error) { + return Center( + child: ErrorIndicator( + title: AppLocalization.of(context).errorWhileLoadingBooking, + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.createBooking.execute, + ), + ); + } + // If existing booking fails to load, tap to go /home + if (widget.viewModel.loadBooking.error) { + return Center( + child: ErrorIndicator( + title: AppLocalization.of(context).errorWhileLoadingBooking, + label: AppLocalization.of(context).close, + onPressed: () => context.go(Routes.home), + ), + ); + } + return child!; + }, + child: BookingBody(viewModel: widget.viewModel), + ), + ), + ); + } + + void _listener() { + if (widget.viewModel.shareBooking.error) { + widget.viewModel.shareBooking.clearResult(); + ScaffoldMessenger.of(context).showSnackBar(SnackBar( + content: Text(AppLocalization.of(context).errorWhileSharing), + action: SnackBarAction( + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.shareBooking.execute, + ), + )); + } + } +} diff --git a/compass_app/app/lib/ui/core/localization/applocalization.dart b/compass_app/app/lib/ui/core/localization/applocalization.dart new file mode 100644 index 000000000..923796cbb --- /dev/null +++ b/compass_app/app/lib/ui/core/localization/applocalization.dart @@ -0,0 +1,121 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/foundation.dart'; +import 'package:flutter/material.dart'; + +/// Simple Localizations similar to +/// https://docs.flutter.dev/ui/accessibility-and-internationalization/internationalization#an-alternative-class-for-the-apps-localized-resources +class AppLocalization { + static AppLocalization of(BuildContext context) { + return Localizations.of(context, AppLocalization); + } + + static const _strings = { + 'activities': 'Activities', + 'addDates': 'Add Dates', + 'bookingDeleted': 'Booking deleted', + 'bookNewTrip': 'Book New Trip', + 'close': 'Close', + 'confirm': 'Confirm', + 'daytime': 'Daytime', + 'errorWhileDeletingBooking': 'Error while deleting booking', + 'errorWhileLoadingActivities': 'Error while loading activities', + 'errorWhileLoadingBooking': 'Error while loading booking', + 'errorWhileLoadingContinents': 'Error while loading continents', + 'errorWhileLoadingDestinations': 'Error while loading destinations', + 'errorWhileLoadingHome': 'Error while loading home', + 'errorWhileLogin': 'Error while trying to login', + 'errorWhileLogout': 'Error while trying to logout', + 'errorWhileSavingActivities': 'Error while saving activities', + 'errorWhileSavingItinerary': 'Error while saving itinerary', + 'errorWhileSharing': 'Error while sharing booking', + 'evening': 'Evening', + 'login': 'Login', + 'nameTrips': '{name}\'s Trips', + 'search': 'Search', + 'searchDestination': 'Search destination', + 'selected': '{1} selected', + 'shareTrip': 'Share Trip', + 'tryAgain': 'Try again', + 'yourChosenActivities': 'Your chosen activities', + 'when': 'When', + }; + + // If string for "label" does not exist, will show "[LABEL]" + static String _get(String label) => + _strings[label] ?? '[${label.toUpperCase()}]'; + + String get activities => _get('activities'); + + String get addDates => _get('addDates'); + + String get confirm => _get('confirm'); + + String get daytime => _get('daytime'); + + String get errorWhileLoadingActivities => _get('errorWhileLoadingActivities'); + + String get errorWhileLoadingBooking => _get('errorWhileLoadingBooking'); + + String get errorWhileLoadingContinents => _get('errorWhileLoadingContinents'); + + String get errorWhileLoadingDestinations => + _get('errorWhileLoadingDestinations'); + + String get errorWhileSavingActivities => _get('errorWhileSavingActivities'); + + String get errorWhileSavingItinerary => _get('errorWhileSavingItinerary'); + + String get evening => _get('evening'); + + String get search => _get('search'); + + String get searchDestination => _get('searchDestination'); + + String get shareTrip => _get('shareTrip'); + + String get tryAgain => _get('tryAgain'); + + String get yourChosenActivities => _get('yourChosenActivities'); + + String get when => _get('when'); + + String get errorWhileLogin => _get('errorWhileLogin'); + + String get login => _get('login'); + + String get errorWhileLogout => _get('errorWhileLogout'); + + String get close => _get('close'); + + String get errorWhileSharing => _get('errorWhileSharing'); + + String get bookNewTrip => _get('bookNewTrip'); + + String get errorWhileLoadingHome => _get('errorWhileLoadingHome'); + + String get bookingDeleted => _get('bookingDeleted'); + + String get errorWhileDeletingBooking => _get('errorWhileDeletingBooking'); + + String nameTrips(String name) => _get('nameTrips').replaceAll('{name}', name); + + String selected(int value) => + _get('selected').replaceAll('{1}', value.toString()); +} + +class AppLocalizationDelegate extends LocalizationsDelegate { + @override + bool isSupported(Locale locale) => locale.languageCode == 'en'; + + @override + Future load(Locale locale) { + return SynchronousFuture(AppLocalization()); + } + + @override + bool shouldReload(covariant LocalizationsDelegate old) => + false; +} diff --git a/compass_app/app/lib/ui/core/themes/colors.dart b/compass_app/app/lib/ui/core/themes/colors.dart new file mode 100644 index 000000000..9e42e36ec --- /dev/null +++ b/compass_app/app/lib/ui/core/themes/colors.dart @@ -0,0 +1,41 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +class AppColors { + static const black1 = Color(0xFF101010); + static const white1 = Color(0xFFFFF7FA); + static const grey1 = Color(0xFFF2F2F2); + static const grey2 = Color(0xFF4D4D4D); + static const grey3 = Color(0xFFA4A4A4); + static const whiteTransparent = + Color(0x4DFFFFFF); // Figma rgba(255, 255, 255, 0.3) + static const blackTransparent = Color(0x4D000000); + static const red1 = Color(0xFFE74C3C); + + static const lightColorScheme = ColorScheme( + brightness: Brightness.light, + primary: AppColors.black1, + onPrimary: AppColors.white1, + secondary: AppColors.black1, + onSecondary: AppColors.white1, + surface: Colors.white, + onSurface: AppColors.black1, + error: Colors.white, + onError: Colors.red, + ); + + static const darkColorScheme = ColorScheme( + brightness: Brightness.dark, + primary: AppColors.white1, + onPrimary: AppColors.black1, + secondary: AppColors.white1, + onSecondary: AppColors.black1, + surface: AppColors.black1, + onSurface: Colors.white, + error: Colors.black, + onError: AppColors.red1, + ); +} diff --git a/compass_app/app/lib/ui/core/themes/dimens.dart b/compass_app/app/lib/ui/core/themes/dimens.dart new file mode 100644 index 000000000..c2c895ae8 --- /dev/null +++ b/compass_app/app/lib/ui/core/themes/dimens.dart @@ -0,0 +1,65 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +sealed class Dimens { + const Dimens(); + + /// General horizontal padding used to separate UI items + static const paddingHorizontal = 20.0; + + /// General vertical padding used to separate UI items + static const paddingVertical = 24.0; + + /// Horizontal padding for screen edges + abstract final double paddingScreenHorizontal; + + /// Vertical padding for screen edges + abstract final double paddingScreenVertical; + + /// Horizontal symmetric padding for screen edges + EdgeInsets get edgeInsetsScreenHorizontal => + EdgeInsets.symmetric(horizontal: paddingScreenHorizontal); + + /// Symmetric padding for screen edges + EdgeInsets get edgeInsetsScreenSymmetric => EdgeInsets.symmetric( + horizontal: paddingScreenHorizontal, vertical: paddingScreenVertical); + + static final dimensDesktop = DimensDesktop(); + static final dimensMobile = DimensMobile(); + + /// Get dimensions definition based on screen size + factory Dimens.of(BuildContext context) => + switch (MediaQuery.sizeOf(context).width) { + > 600 => dimensDesktop, + _ => dimensMobile, + }; + + abstract final double profilePictureSize; +} + +/// Mobile dimensions +class DimensMobile extends Dimens { + @override + double paddingScreenHorizontal = Dimens.paddingHorizontal; + + @override + double paddingScreenVertical = Dimens.paddingVertical; + + @override + double get profilePictureSize => 64.0; +} + +/// Desktop/Web dimensions +class DimensDesktop extends Dimens { + @override + double paddingScreenHorizontal = 100.0; + + @override + double paddingScreenVertical = 64.0; + + @override + double get profilePictureSize => 128.0; +} diff --git a/compass_app/app/lib/ui/core/themes/theme.dart b/compass_app/app/lib/ui/core/themes/theme.dart new file mode 100644 index 000000000..34ae0c989 --- /dev/null +++ b/compass_app/app/lib/ui/core/themes/theme.dart @@ -0,0 +1,84 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'colors.dart'; +import '../ui/tag_chip.dart'; +import 'package:flutter/material.dart'; + +class AppTheme { + static const _textTheme = TextTheme( + headlineLarge: TextStyle( + fontSize: 32, + fontWeight: FontWeight.w500, + ), + headlineSmall: TextStyle( + fontSize: 18, + fontWeight: FontWeight.w400, + ), + titleMedium: TextStyle( + fontSize: 18, + fontWeight: FontWeight.w500, + ), + bodyLarge: TextStyle( + fontSize: 18, + fontWeight: FontWeight.w400, + ), + bodyMedium: TextStyle( + fontSize: 16, + fontWeight: FontWeight.w400, + ), + bodySmall: TextStyle( + fontSize: 14, + fontWeight: FontWeight.w400, + color: AppColors.grey3, + ), + labelSmall: TextStyle( + fontSize: 10, + fontWeight: FontWeight.w500, + color: AppColors.grey3, + ), + labelLarge: TextStyle( + fontSize: 18, + fontWeight: FontWeight.w400, + color: AppColors.grey3, + ), + ); + + static const _inputDecorationTheme = InputDecorationTheme( + hintStyle: TextStyle( + // grey3 works for both light and dark themes + color: AppColors.grey3, + fontSize: 18.0, + fontWeight: FontWeight.w400, + ), + ); + + static ThemeData lightTheme = ThemeData( + useMaterial3: true, + brightness: Brightness.light, + colorScheme: AppColors.lightColorScheme, + textTheme: _textTheme, + inputDecorationTheme: _inputDecorationTheme, + extensions: [ + TagChipTheme( + chipColor: AppColors.whiteTransparent, + onChipColor: Colors.white, + ), + ], + ); + + static ThemeData darkTheme = ThemeData( + useMaterial3: true, + brightness: Brightness.dark, + colorScheme: AppColors.darkColorScheme, + textTheme: _textTheme, + inputDecorationTheme: _inputDecorationTheme, + extensions: [ + TagChipTheme( + chipColor: AppColors.blackTransparent, + onChipColor: Colors.white, + ), + ], + ); +} diff --git a/compass_app/app/lib/ui/core/ui/back_button.dart b/compass_app/app/lib/ui/core/ui/back_button.dart new file mode 100644 index 000000000..5d0bf5f46 --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/back_button.dart @@ -0,0 +1,63 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../themes/colors.dart'; +import 'blur_filter.dart'; + +/// Custom back button to pop navigation. +class CustomBackButton extends StatelessWidget { + const CustomBackButton({ + super.key, + this.onTap, + this.blur = false, + }); + + final bool blur; + final GestureTapCallback? onTap; + + @override + Widget build(BuildContext context) { + return SizedBox( + height: 40.0, + width: 40.0, + child: Stack( + children: [ + if (blur) + ClipRect( + child: BackdropFilter( + filter: kBlurFilter, + child: const SizedBox(height: 40.0, width: 40.0), + ), + ), + DecoratedBox( + decoration: BoxDecoration( + border: Border.all(color: AppColors.grey1), + borderRadius: BorderRadius.circular(8.0), + ), + child: InkWell( + borderRadius: BorderRadius.circular(8.0), + onTap: () { + if (onTap != null) { + onTap!(); + } else { + context.pop(); + } + }, + child: Center( + child: Icon( + size: 24.0, + Icons.arrow_back, + color: Theme.of(context).colorScheme.onSurface, + ), + ), + ), + ), + ], + ), + ); + } +} diff --git a/compass_app/app/lib/ui/core/ui/blur_filter.dart b/compass_app/app/lib/ui/core/ui/blur_filter.dart new file mode 100644 index 000000000..5ceccd6dd --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/blur_filter.dart @@ -0,0 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:ui'; + +final kBlurFilter = ImageFilter.blur(sigmaX: 2, sigmaY: 2); diff --git a/compass_app/app/lib/ui/core/ui/custom_checkbox.dart b/compass_app/app/lib/ui/core/ui/custom_checkbox.dart new file mode 100644 index 000000000..515e91a3d --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/custom_checkbox.dart @@ -0,0 +1,50 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../themes/colors.dart'; + +class CustomCheckbox extends StatelessWidget { + const CustomCheckbox({ + super.key, + required this.value, + required this.onChanged, + }); + + final bool value; + final ValueChanged onChanged; + + @override + Widget build(BuildContext context) { + return InkResponse( + radius: 24, + onTap: () => onChanged(!value), + child: DecoratedBox( + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(24), + border: Border.all(color: AppColors.grey3), + ), + child: Material( + borderRadius: BorderRadius.circular(24), + color: value + ? Theme.of(context).colorScheme.primary + : Colors.transparent, + child: SizedBox( + width: 24, + height: 24, + child: Visibility( + visible: value, + child: Icon( + Icons.check, + size: 14, + color: Theme.of(context).colorScheme.onPrimary, + ), + ), + ), + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/core/ui/date_format_start_end.dart b/compass_app/app/lib/ui/core/ui/date_format_start_end.dart new file mode 100644 index 000000000..2b2d00e45 --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/date_format_start_end.dart @@ -0,0 +1,24 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:intl/intl.dart'; + +final _dateFormatDay = DateFormat('d'); +final _dateFormatDayMonth = DateFormat('d MMM'); + +String dateFormatStartEnd(DateTimeRange dateTimeRange) { + final start = dateTimeRange.start; + final end = dateTimeRange.end; + + final dayMonthEnd = _dateFormatDayMonth.format(end); + + if (start.month == end.month) { + final dayStart = _dateFormatDay.format(start); + return '$dayStart - $dayMonthEnd'; + } + + final dayMonthStart = _dateFormatDayMonth.format(start); + return '$dayMonthStart - $dayMonthEnd'; +} diff --git a/compass_app/app/lib/ui/core/ui/error_indicator.dart b/compass_app/app/lib/ui/core/ui/error_indicator.dart new file mode 100644 index 000000000..5e328546b --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/error_indicator.dart @@ -0,0 +1,63 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../themes/colors.dart'; + +class ErrorIndicator extends StatelessWidget { + const ErrorIndicator({ + super.key, + required this.title, + required this.label, + required this.onPressed, + }); + + final String title; + final String label; + final VoidCallback onPressed; + + @override + Widget build(BuildContext context) { + return Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + IntrinsicWidth( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: Center( + child: Row( + children: [ + Icon( + Icons.error_outline, + color: Theme.of(context).colorScheme.onError, + ), + const SizedBox(width: 10), + Text( + title, + style: TextStyle( + color: Theme.of(context).colorScheme.onError, + ), + ), + ], + ), + ), + ), + ), + const SizedBox( + height: 10, + ), + FilledButton( + onPressed: onPressed, + style: const ButtonStyle( + backgroundColor: WidgetStatePropertyAll(AppColors.red1), + foregroundColor: WidgetStatePropertyAll(Colors.white), + ), + child: Text(label), + ), + ], + ); + } +} diff --git a/compass_app/app/lib/ui/core/ui/home_button.dart b/compass_app/app/lib/ui/core/ui/home_button.dart new file mode 100644 index 000000000..460c6b301 --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/home_button.dart @@ -0,0 +1,60 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../routing/routes.dart'; +import '../themes/colors.dart'; +import 'blur_filter.dart'; + +/// Home button to navigate back to the '/' path. +class HomeButton extends StatelessWidget { + const HomeButton({ + super.key, + this.blur = false, + }); + + final bool blur; + + @override + Widget build(BuildContext context) { + return SizedBox( + height: 40.0, + width: 40.0, + child: Stack( + fit: StackFit.expand, + children: [ + if (blur) + ClipRect( + child: BackdropFilter( + filter: kBlurFilter, + child: const SizedBox(height: 40.0, width: 40.0), + ), + ), + DecoratedBox( + decoration: BoxDecoration( + border: Border.all(color: AppColors.grey1), + borderRadius: BorderRadius.circular(8.0), + color: Colors.transparent, + ), + child: InkWell( + borderRadius: BorderRadius.circular(8.0), + onTap: () { + context.go(Routes.home); + }, + child: Center( + child: Icon( + size: 24.0, + Icons.home_outlined, + color: Theme.of(context).colorScheme.onSurface, + ), + ), + ), + ), + ], + ), + ); + } +} diff --git a/compass_app/app/lib/ui/core/ui/scroll_behavior.dart b/compass_app/app/lib/ui/core/ui/scroll_behavior.dart new file mode 100644 index 000000000..eda9d171c --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/scroll_behavior.dart @@ -0,0 +1,17 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/gestures.dart'; +import 'package:flutter/material.dart'; + +/// Custom scroll behavior to allow dragging with mouse. +/// Necessary to allow dragging with mouse on Continents carousel. +class AppCustomScrollBehavior extends MaterialScrollBehavior { + @override + Set get dragDevices => { + PointerDeviceKind.touch, + // Allow to drag with mouse on Regions carousel + PointerDeviceKind.mouse, + }; +} diff --git a/compass_app/app/lib/ui/core/ui/search_bar.dart b/compass_app/app/lib/ui/core/ui/search_bar.dart new file mode 100644 index 000000000..18859d4d1 --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/search_bar.dart @@ -0,0 +1,111 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../../../domain/models/itinerary_config/itinerary_config.dart'; +import '../localization/applocalization.dart'; +import '../themes/colors.dart'; +import '../themes/dimens.dart'; +import 'date_format_start_end.dart'; +import 'home_button.dart'; + +/// Application top search bar. +/// +/// Displays a search bar with the current configuration. +/// Includes [HomeButton] to navigate back to the '/' path. +class AppSearchBar extends StatelessWidget { + const AppSearchBar({ + super.key, + this.config, + this.onTap, + }); + + final ItineraryConfig? config; + final GestureTapCallback? onTap; + + @override + Widget build(BuildContext context) { + return Row( + children: [ + Expanded( + child: InkWell( + borderRadius: BorderRadius.circular(16.0), + onTap: onTap, + child: Container( + height: 64, + decoration: BoxDecoration( + border: Border.all(color: AppColors.grey1), + borderRadius: BorderRadius.circular(16.0), + ), + child: Padding( + padding: const EdgeInsets.symmetric( + horizontal: Dimens.paddingHorizontal, + ), + child: Align( + alignment: AlignmentDirectional.centerStart, + child: _QueryText(config: config), + ), + ), + ), + ), + ), + const SizedBox(width: 10), + const HomeButton(), + ], + ); + } +} + +class _QueryText extends StatelessWidget { + const _QueryText({ + required this.config, + }); + + final ItineraryConfig? config; + + @override + Widget build(BuildContext context) { + if (config == null) { + return const _EmptySearch(); + } + + final ItineraryConfig(:continent, :startDate, :endDate, :guests) = config!; + if (startDate == null || + endDate == null || + guests == null || + continent == null) { + return const _EmptySearch(); + } + + return Text( + '$continent - ${dateFormatStartEnd(DateTimeRange(start: startDate, end: endDate))} - Guests: $guests', + textAlign: TextAlign.center, + style: Theme.of(context).textTheme.bodyLarge, + ); + } +} + +class _EmptySearch extends StatelessWidget { + const _EmptySearch(); + + @override + Widget build(BuildContext context) { + return Row( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.start, + children: [ + const Icon(Icons.search), + const SizedBox(width: 12), + Expanded( + child: Text( + AppLocalization.of(context).searchDestination, + textAlign: TextAlign.start, + style: Theme.of(context).inputDecorationTheme.hintStyle, + ), + ), + ], + ); + } +} diff --git a/compass_app/app/lib/ui/core/ui/tag_chip.dart b/compass_app/app/lib/ui/core/ui/tag_chip.dart new file mode 100644 index 000000000..a06fea6f3 --- /dev/null +++ b/compass_app/app/lib/ui/core/ui/tag_chip.dart @@ -0,0 +1,144 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:ui'; + +import '../themes/colors.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; + +class TagChip extends StatelessWidget { + const TagChip({ + super.key, + required this.tag, + this.fontSize = 10, + this.height = 20, + this.chipColor, + this.onChipColor, + }); + + final String tag; + + final double fontSize; + final double height; + final Color? chipColor; + final Color? onChipColor; + + @override + Widget build(BuildContext context) { + return ClipRRect( + borderRadius: BorderRadius.circular(height / 2), + child: BackdropFilter( + filter: ImageFilter.blur(sigmaX: 3, sigmaY: 3), + child: DecoratedBox( + decoration: BoxDecoration( + color: chipColor ?? + Theme.of(context).extension()?.chipColor ?? + AppColors.whiteTransparent, + ), + child: SizedBox( + height: height, + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 6.0), + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisSize: MainAxisSize.min, + children: [ + Icon( + _iconFrom(tag), + color: onChipColor ?? + Theme.of(context) + .extension() + ?.onChipColor ?? + Colors.white, + size: fontSize, + ), + const SizedBox(width: 4), + Text( + tag, + textAlign: TextAlign.center, + style: _textStyle(context), + ), + ], + ), + ), + ), + ), + ), + ); + } + + IconData? _iconFrom(String tag) { + return switch (tag) { + 'Adventure sports' => Icons.kayaking_outlined, + 'Beach' => Icons.beach_access_outlined, + 'City' => Icons.location_city_outlined, + 'Cultural experiences' => Icons.museum_outlined, + 'Foodie' || 'Food tours' => Icons.restaurant, + 'Hiking' => Icons.hiking, + 'Historic' => Icons.menu_book_outlined, + 'Island' || 'Coastal' || 'Lake' || 'River' => Icons.water, + 'Luxury' => Icons.attach_money_outlined, + 'Mountain' || 'Wildlife watching' => Icons.landscape_outlined, + 'Nightlife' => Icons.local_bar_outlined, + 'Off-the-beaten-path' => Icons.do_not_step_outlined, + 'Romantic' => Icons.favorite_border_outlined, + 'Rural' => Icons.agriculture_outlined, + 'Secluded' => Icons.church_outlined, + 'Sightseeing' => Icons.attractions_outlined, + 'Skiing' => Icons.downhill_skiing_outlined, + 'Wine tasting' => Icons.wine_bar_outlined, + 'Winter destination' => Icons.ac_unit, + _ => Icons.label_outlined, + }; + } + + // Note: original Figma file uses Google Sans + // which is not available on GoogleFonts + _textStyle(BuildContext context) => GoogleFonts.openSans( + textStyle: TextStyle( + fontWeight: FontWeight.w500, + fontSize: fontSize, + color: onChipColor ?? + Theme.of(context).extension()?.onChipColor ?? + Colors.white, + textBaseline: TextBaseline.alphabetic, + ), + ); +} + +class TagChipTheme extends ThemeExtension { + final Color chipColor; + final Color onChipColor; + + TagChipTheme({ + required this.chipColor, + required this.onChipColor, + }); + + @override + ThemeExtension copyWith({ + Color? chipColor, + Color? onChipColor, + }) { + return TagChipTheme( + chipColor: chipColor ?? this.chipColor, + onChipColor: onChipColor ?? this.onChipColor, + ); + } + + @override + ThemeExtension lerp( + covariant ThemeExtension other, + double t, + ) { + if (other is! TagChipTheme) { + return this; + } + return TagChipTheme( + chipColor: Color.lerp(chipColor, other.chipColor, t) ?? chipColor, + onChipColor: Color.lerp(onChipColor, other.onChipColor, t) ?? onChipColor, + ); + } +} diff --git a/compass_app/app/lib/ui/home/view_models/home_viewmodel.dart b/compass_app/app/lib/ui/home/view_models/home_viewmodel.dart new file mode 100644 index 000000000..093cb75fc --- /dev/null +++ b/compass_app/app/lib/ui/home/view_models/home_viewmodel.dart @@ -0,0 +1,95 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:async'; + +import 'package:flutter/foundation.dart'; +import 'package:logging/logging.dart'; + +import '../../../data/repositories/booking/booking_repository.dart'; +import '../../../data/repositories/user/user_repository.dart'; +import '../../../domain/models/booking/booking_summary.dart'; +import '../../../domain/models/user/user.dart'; +import '../../../utils/command.dart'; +import '../../../utils/result.dart'; + +class HomeViewModel extends ChangeNotifier { + HomeViewModel({ + required BookingRepository bookingRepository, + required UserRepository userRepository, + }) : _bookingRepository = bookingRepository, + _userRepository = userRepository { + load = Command0(_load)..execute(); + deleteBooking = Command1(_deleteBooking); + } + + final BookingRepository _bookingRepository; + final UserRepository _userRepository; + final _log = Logger('HomeViewModel'); + List _bookings = []; + User? _user; + + late Command0 load; + late Command1 deleteBooking; + + List get bookings => _bookings; + + User? get user => _user; + + Future _load() async { + try { + final result = await _bookingRepository.getBookingsList(); + switch (result) { + case Ok>(): + _bookings = result.value; + _log.fine('Loaded bookings'); + case Error>(): + _log.warning('Failed to load bookings', result.error); + return result; + } + + final userResult = await _userRepository.getUser(); + switch (userResult) { + case Ok(): + _user = userResult.value; + _log.fine('Loaded user'); + case Error(): + _log.warning('Failed to load user', userResult.error); + } + + return userResult; + } finally { + notifyListeners(); + } + } + + Future> _deleteBooking(int id) async { + try { + final resultDelete = await _bookingRepository.delete(id); + switch (resultDelete) { + case Ok(): + _log.fine('Deleted booking $id'); + case Error(): + _log.warning('Failed to delete booking $id', resultDelete.error); + return resultDelete; + } + + // After deleting the booking, we need to reload the bookings list. + // BookingRepository is the source of truth for bookings. + final resultLoadBookings = await _bookingRepository.getBookingsList(); + switch (resultLoadBookings) { + case Ok>(): + _bookings = resultLoadBookings.value; + _log.fine('Loaded bookings'); + case Error>(): + _log.warning('Failed to load bookings', resultLoadBookings.error); + return resultLoadBookings; + } + + return resultLoadBookings; + } finally { + notifyListeners(); + } + } +} diff --git a/compass_app/app/lib/ui/home/widgets/home_screen.dart b/compass_app/app/lib/ui/home/widgets/home_screen.dart new file mode 100644 index 000000000..5a3fce717 --- /dev/null +++ b/compass_app/app/lib/ui/home/widgets/home_screen.dart @@ -0,0 +1,198 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../domain/models/booking/booking_summary.dart'; +import '../../../routing/routes.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/date_format_start_end.dart'; +import '../../core/ui/error_indicator.dart'; +import '../view_models/home_viewmodel.dart'; +import 'home_title.dart'; + +const String bookingButtonKey = 'booking-button'; + +class HomeScreen extends StatefulWidget { + const HomeScreen({ + super.key, + required this.viewModel, + }); + + final HomeViewModel viewModel; + + @override + State createState() => _HomeScreenState(); +} + +class _HomeScreenState extends State { + @override + void initState() { + super.initState(); + widget.viewModel.deleteBooking.addListener(_onResult); + } + + @override + void didUpdateWidget(covariant HomeScreen oldWidget) { + super.didUpdateWidget(oldWidget); + oldWidget.viewModel.deleteBooking.removeListener(_onResult); + widget.viewModel.deleteBooking.addListener(_onResult); + } + + @override + void dispose() { + widget.viewModel.deleteBooking.removeListener(_onResult); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + floatingActionButton: FloatingActionButton.extended( + // Workaround for https://github.com/flutter/flutter/issues/115358#issuecomment-2117157419 + heroTag: null, + key: const ValueKey(bookingButtonKey), + onPressed: () => context.go(Routes.search), + label: Text(AppLocalization.of(context).bookNewTrip), + icon: const Icon(Icons.add_location_outlined), + ), + body: SafeArea( + top: true, + bottom: true, + child: ListenableBuilder( + listenable: widget.viewModel.load, + builder: (context, child) { + if (widget.viewModel.load.running) { + return const Center( + child: CircularProgressIndicator(), + ); + } + + if (widget.viewModel.load.error) { + return ErrorIndicator( + title: AppLocalization.of(context).errorWhileLoadingHome, + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.load.execute, + ); + } + + return child!; + }, + child: ListenableBuilder( + listenable: widget.viewModel, + builder: (context, _) { + return CustomScrollView( + slivers: [ + SliverToBoxAdapter( + child: Padding( + padding: EdgeInsets.symmetric( + vertical: Dimens.of(context).paddingScreenVertical, + horizontal: Dimens.of(context).paddingScreenHorizontal, + ), + child: HomeHeader(viewModel: widget.viewModel), + ), + ), + SliverList.builder( + itemCount: widget.viewModel.bookings.length, + itemBuilder: (_, index) => _Booking( + key: ValueKey(widget.viewModel.bookings[index].id), + booking: widget.viewModel.bookings[index], + onTap: () => context.push(Routes.bookingWithId( + widget.viewModel.bookings[index].id)), + confirmDismiss: (_) async { + // wait for command to complete + await widget.viewModel.deleteBooking.execute( + widget.viewModel.bookings[index].id, + ); + // if command completed successfully, return true + if (widget.viewModel.deleteBooking.completed) { + // removes the dismissable from the list + return true; + } else { + // the dismissable stays in the list + return false; + } + }, + ), + ) + ], + ); + }, + ), + ), + ), + ); + } + + void _onResult() { + if (widget.viewModel.deleteBooking.completed) { + widget.viewModel.deleteBooking.clearResult(); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).bookingDeleted), + ), + ); + } + + if (widget.viewModel.deleteBooking.error) { + widget.viewModel.deleteBooking.clearResult(); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).errorWhileDeletingBooking), + ), + ); + } + } +} + +class _Booking extends StatelessWidget { + const _Booking({ + super.key, + required this.booking, + required this.onTap, + required this.confirmDismiss, + }); + + final BookingSummary booking; + final GestureTapCallback onTap; + final ConfirmDismissCallback confirmDismiss; + + @override + Widget build(BuildContext context) { + return Dismissible( + key: ValueKey(booking.id), + direction: DismissDirection.endToStart, + confirmDismiss: confirmDismiss, + child: InkWell( + onTap: onTap, + child: Padding( + padding: EdgeInsets.symmetric( + horizontal: Dimens.of(context).paddingScreenHorizontal, + vertical: Dimens.paddingVertical, + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + booking.name, + style: Theme.of(context).textTheme.titleLarge, + ), + Text( + dateFormatStartEnd( + DateTimeRange( + start: booking.startDate, + end: booking.endDate, + ), + ), + style: Theme.of(context).textTheme.bodyLarge, + ), + ], + ), + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/home/widgets/home_title.dart b/compass_app/app/lib/ui/home/widgets/home_title.dart new file mode 100644 index 000000000..4d9dfacf5 --- /dev/null +++ b/compass_app/app/lib/ui/home/widgets/home_title.dart @@ -0,0 +1,89 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; +import 'package:provider/provider.dart'; + +import '../../auth/logout/view_models/logout_viewmodel.dart'; +import '../../auth/logout/widgets/logout_button.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../view_models/home_viewmodel.dart'; + +class HomeHeader extends StatelessWidget { + const HomeHeader({ + super.key, + required this.viewModel, + }); + + final HomeViewModel viewModel; + + @override + Widget build(BuildContext context) { + final user = viewModel.user; + if (user == null) { + return const SizedBox(); + } + return Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + ClipOval( + child: Image.asset( + user.picture, + width: Dimens.of(context).profilePictureSize, + height: Dimens.of(context).profilePictureSize, + ), + ), + LogoutButton( + viewModel: LogoutViewModel( + authRepository: context.read(), + itineraryConfigRepository: context.read(), + ), + ), + ], + ), + const SizedBox(height: Dimens.paddingVertical), + _Title( + text: AppLocalization.of(context).nameTrips(user.name), + ), + ], + ); + } +} + +class _Title extends StatelessWidget { + const _Title({ + required this.text, + }); + + final String text; + + @override + Widget build(BuildContext context) { + return ShaderMask( + blendMode: BlendMode.srcIn, + shaderCallback: (bounds) => RadialGradient( + center: Alignment.bottomLeft, + radius: 2, + colors: [ + Colors.purple.shade700, + Colors.purple.shade400, + ], + ).createShader( + Rect.fromLTWH(0, 0, bounds.width, bounds.height), + ), + child: Text( + text, + style: GoogleFonts.rubik( + textStyle: Theme.of(context).textTheme.headlineLarge, + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart b/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart new file mode 100644 index 000000000..5a2690ab9 --- /dev/null +++ b/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart @@ -0,0 +1,111 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:logging/logging.dart'; + +import '../../../data/repositories/destination/destination_repository.dart'; +import '../../../data/repositories/itinerary_config/itinerary_config_repository.dart'; +import '../../../domain/models/destination/destination.dart'; +import '../../../domain/models/itinerary_config/itinerary_config.dart'; +import '../../../utils/command.dart'; +import '../../../utils/result.dart'; +import 'package:flutter/cupertino.dart'; + +/// Results screen view model +/// Based on https://docs.flutter.dev/get-started/fwe/state-management#using-mvvm-for-your-applications-architecture +class ResultsViewModel extends ChangeNotifier { + ResultsViewModel({ + required DestinationRepository destinationRepository, + required ItineraryConfigRepository itineraryConfigRepository, + }) : _destinationRepository = destinationRepository, + _itineraryConfigRepository = itineraryConfigRepository { + updateItineraryConfig = Command1(_updateItineraryConfig); + search = Command0(_search)..execute(); + } + + final _log = Logger('ResultsViewModel'); + + final DestinationRepository _destinationRepository; + + final ItineraryConfigRepository _itineraryConfigRepository; + + // Setters are private + List _destinations = []; + + /// List of destinations, may be empty but never null + List get destinations => _destinations; + + ItineraryConfig? _itineraryConfig; + + /// Filter options to display on search bar + ItineraryConfig get config => _itineraryConfig ?? const ItineraryConfig(); + + /// Perform search + late final Command0 search; + + /// Store ViewModel data into [ItineraryConfigRepository] before navigating. + late final Command1 updateItineraryConfig; + + Future> _search() async { + // Load current itinerary config + final resultConfig = await _itineraryConfigRepository.getItineraryConfig(); + if (resultConfig is Error) { + _log.warning( + 'Failed to load stored ItineraryConfig', + resultConfig.asError.error, + ); + return resultConfig; + } + _itineraryConfig = resultConfig.asOk.value; + notifyListeners(); + + final result = await _destinationRepository.getDestinations(); + switch (result) { + case Ok(): + { + // If the result is Ok, update the list of destinations + _destinations = result.value + .where((destination) => + destination.continent == _itineraryConfig!.continent) + .toList(); + _log.fine('Destinations (${_destinations.length}) loaded'); + } + case Error(): + { + _log.warning('Failed to load destinations', result.error); + } + } + + // After finish loading results, notify the view + notifyListeners(); + return result; + } + + Future> _updateItineraryConfig(String destinationRef) async { + assert(destinationRef.isNotEmpty, "destinationRef should not be empty"); + + final resultConfig = await _itineraryConfigRepository.getItineraryConfig(); + if (resultConfig is Error) { + _log.warning( + 'Failed to load stored ItineraryConfig', + resultConfig.asError.error, + ); + return resultConfig; + } + + final itineraryConfig = resultConfig.asOk.value; + final result = await _itineraryConfigRepository + .setItineraryConfig(itineraryConfig.copyWith( + destination: destinationRef, + activities: [], + )); + if (result is Error) { + _log.warning( + 'Failed to store ItineraryConfig', + result.asError.error, + ); + } + return result; + } +} diff --git a/compass_app/app/lib/ui/results/widgets/result_card.dart b/compass_app/app/lib/ui/results/widgets/result_card.dart new file mode 100644 index 000000000..7a3adc6a8 --- /dev/null +++ b/compass_app/app/lib/ui/results/widgets/result_card.dart @@ -0,0 +1,89 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; +import '../../../domain/models/destination/destination.dart'; +import '../../../utils/image_error_listener.dart'; +import '../../core/ui/tag_chip.dart'; + +class ResultCard extends StatelessWidget { + const ResultCard({ + super.key, + required this.destination, + required this.onTap, + }); + + final Destination destination; + final GestureTapCallback onTap; + + @override + Widget build(BuildContext context) { + return ClipRRect( + borderRadius: BorderRadius.circular(10.0), + child: Stack( + fit: StackFit.expand, + children: [ + CachedNetworkImage( + imageUrl: destination.imageUrl, + fit: BoxFit.fitHeight, + errorWidget: (context, url, error) => const Icon(Icons.error), + errorListener: imageErrorListener, + ), + Positioned( + bottom: 12.0, + left: 12.0, + right: 12.0, + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + destination.name.toUpperCase(), + style: _cardTitleStyle, + ), + const SizedBox( + height: 6, + ), + Wrap( + spacing: 4.0, + runSpacing: 4.0, + direction: Axis.horizontal, + children: + destination.tags.map((e) => TagChip(tag: e)).toList(), + ), + ], + ), + ), + // Handle taps + Positioned.fill( + child: Material( + color: Colors.transparent, + child: InkWell( + onTap: onTap, + ), + ), + ), + ], + ), + ); + } +} + +final _cardTitleStyle = GoogleFonts.rubik( + textStyle: const TextStyle( + fontWeight: FontWeight.w800, + fontSize: 15.0, + color: Colors.white, + letterSpacing: 1, + shadows: [ + // Helps to read the text a bit better + Shadow( + blurRadius: 3.0, + color: Colors.black, + ) + ], + ), +); diff --git a/compass_app/app/lib/ui/results/widgets/results_screen.dart b/compass_app/app/lib/ui/results/widgets/results_screen.dart new file mode 100644 index 000000000..cbe9778a5 --- /dev/null +++ b/compass_app/app/lib/ui/results/widgets/results_screen.dart @@ -0,0 +1,180 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../routing/routes.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/error_indicator.dart'; +import '../../core/ui/search_bar.dart'; +import '../view_models/results_viewmodel.dart'; +import 'result_card.dart'; + +class ResultsScreen extends StatefulWidget { + const ResultsScreen({ + super.key, + required this.viewModel, + }); + + final ResultsViewModel viewModel; + + @override + State createState() => _ResultsScreenState(); +} + +class _ResultsScreenState extends State { + @override + void initState() { + super.initState(); + widget.viewModel.updateItineraryConfig.addListener(_onResult); + } + + @override + void didUpdateWidget(covariant ResultsScreen oldWidget) { + super.didUpdateWidget(oldWidget); + oldWidget.viewModel.updateItineraryConfig.removeListener(_onResult); + widget.viewModel.updateItineraryConfig.addListener(_onResult); + } + + @override + void dispose() { + widget.viewModel.updateItineraryConfig.removeListener(_onResult); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + return PopScope( + canPop: false, + onPopInvokedWithResult: (didPop, r) { + if (!didPop) context.go(Routes.search); + }, + child: Scaffold( + body: ListenableBuilder( + listenable: widget.viewModel.search, + builder: (context, child) { + if (widget.viewModel.search.completed) { + return child!; + } + return Column( + children: [ + _AppSearchBar(widget: widget), + if (widget.viewModel.search.running) + const Expanded( + child: Center(child: CircularProgressIndicator())), + if (widget.viewModel.search.error) + Expanded( + child: Center( + child: ErrorIndicator( + title: AppLocalization.of(context) + .errorWhileLoadingDestinations, + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.search.execute, + ), + ), + ), + ], + ); + }, + child: ListenableBuilder( + listenable: widget.viewModel, + builder: (context, child) { + return Padding( + padding: Dimens.of(context).edgeInsetsScreenHorizontal, + child: CustomScrollView( + slivers: [ + SliverToBoxAdapter( + child: _AppSearchBar(widget: widget), + ), + _Grid(viewModel: widget.viewModel), + ], + ), + ); + }, + ), + ), + ), + ); + } + + void _onResult() { + if (widget.viewModel.updateItineraryConfig.completed) { + widget.viewModel.updateItineraryConfig.clearResult(); + context.go(Routes.activities); + } + + if (widget.viewModel.updateItineraryConfig.error) { + widget.viewModel.updateItineraryConfig.clearResult(); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).errorWhileSavingItinerary), + ), + ); + } + } +} + +class _AppSearchBar extends StatelessWidget { + const _AppSearchBar({ + required this.widget, + }); + + final ResultsScreen widget; + + @override + Widget build(BuildContext context) { + return SafeArea( + top: true, + bottom: false, + child: Padding( + padding: EdgeInsets.only( + top: Dimens.of(context).paddingScreenVertical, + bottom: Dimens.dimensMobile.paddingScreenVertical, + ), + child: AppSearchBar( + config: widget.viewModel.config, + onTap: () { + // Navigate to SearchFormScreen and edit search + context.pop(); + }, + ), + ), + ); + } +} + +class _Grid extends StatelessWidget { + const _Grid({ + required this.viewModel, + }); + + final ResultsViewModel viewModel; + + @override + Widget build(BuildContext context) { + return SliverGrid( + gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( + crossAxisCount: 2, + crossAxisSpacing: 8.0, + mainAxisSpacing: 8.0, + childAspectRatio: 182 / 222, + ), + delegate: SliverChildBuilderDelegate( + (context, index) { + final destination = viewModel.destinations[index]; + return ResultCard( + key: ValueKey(destination.ref), + destination: destination, + onTap: () { + viewModel.updateItineraryConfig.execute(destination.ref); + }, + ); + }, + childCount: viewModel.destinations.length, + ), + ); + } +} diff --git a/compass_app/app/lib/ui/search_form/view_models/search_form_viewmodel.dart b/compass_app/app/lib/ui/search_form/view_models/search_form_viewmodel.dart new file mode 100644 index 000000000..565e5fc0f --- /dev/null +++ b/compass_app/app/lib/ui/search_form/view_models/search_form_viewmodel.dart @@ -0,0 +1,162 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:logging/logging.dart'; + +import '../../../data/repositories/continent/continent_repository.dart'; +import '../../../data/repositories/itinerary_config/itinerary_config_repository.dart'; +import '../../../domain/models/continent/continent.dart'; +import '../../../domain/models/itinerary_config/itinerary_config.dart'; +import '../../../utils/command.dart'; +import '../../../utils/result.dart'; + +/// View model for the search form. +/// +/// Contains the form selected options +/// and the logic to load the list of regions. +class SearchFormViewModel extends ChangeNotifier { + SearchFormViewModel({ + required ContinentRepository continentRepository, + required ItineraryConfigRepository itineraryConfigRepository, + }) : _continentRepository = continentRepository, + _itineraryConfigRepository = itineraryConfigRepository { + updateItineraryConfig = Command0(_updateItineraryConfig); + load = Command0(_load)..execute(); + } + + final _log = Logger('SearchFormViewModel'); + final ContinentRepository _continentRepository; + final ItineraryConfigRepository _itineraryConfigRepository; + List _continents = []; + String? _selectedContinent; + DateTimeRange? _dateRange; + int _guests = 0; + + /// True if the form is valid and can be submitted + bool get valid => + _guests > 0 && _selectedContinent != null && _dateRange != null; + + /// List of continents. + /// Loaded in [load] command. + List get continents => _continents; + + /// Selected continent. + /// Null means no continent is selected. + String? get selectedContinent => _selectedContinent; + + /// Set selected continent. + /// Set to null to clear the selection. + set selectedContinent(String? continent) { + _selectedContinent = continent; + _log.finest('Selected continent: $continent'); + notifyListeners(); + } + + /// Date range. + /// Null means no range is selected. + DateTimeRange? get dateRange => _dateRange; + + /// Set date range. + /// Can be set to null to clear selection. + set dateRange(DateTimeRange? dateRange) { + _dateRange = dateRange; + _log.finest('Selected date range: $dateRange'); + notifyListeners(); + } + + /// Number of guests + int get guests => _guests; + + /// Set number of guests + /// If the quantity is negative, it will be set to 0 + set guests(int quantity) { + if (quantity < 0) { + _guests = 0; + } else { + _guests = quantity; + } + _log.finest('Set guests number: $_guests'); + notifyListeners(); + } + + /// Load the list of continents and current itinerary config. + late final Command0 load; + + /// Store ViewModel data into [ItineraryConfigRepository] before navigating. + late final Command0 updateItineraryConfig; + + Future> _load() async { + final result = await _loadContinents(); + if (result is Error) { + return result; + } + return await _loadItineraryConfig(); + } + + Future> _loadContinents() async { + final result = await _continentRepository.getContinents(); + switch (result) { + case Ok(): + { + _continents = result.value; + _log.fine('Continents (${_continents.length}) loaded'); + } + case Error(): + { + _log.warning('Failed to load continents', result.asError.error); + } + } + notifyListeners(); + return result; + } + + Future> _loadItineraryConfig() async { + final result = await _itineraryConfigRepository.getItineraryConfig(); + switch (result) { + case Ok(): + { + final itineraryConfig = result.value; + _selectedContinent = itineraryConfig.continent; + if (itineraryConfig.startDate != null && + itineraryConfig.endDate != null) { + _dateRange = DateTimeRange( + start: itineraryConfig.startDate!, + end: itineraryConfig.endDate!, + ); + } + _guests = itineraryConfig.guests ?? 0; + _log.fine('ItineraryConfig loaded'); + notifyListeners(); + } + case Error(): + { + _log.warning( + 'Failed to load stored ItineraryConfig', + result.asError.error, + ); + } + } + return result; + } + + Future> _updateItineraryConfig() async { + assert(valid, "called when valid was false"); + final result = await _itineraryConfigRepository.setItineraryConfig( + ItineraryConfig( + continent: _selectedContinent, + startDate: _dateRange!.start, + endDate: _dateRange!.end, + guests: _guests, + ), + ); + switch (result) { + case Ok(): + _log.fine('ItineraryConfig saved'); + case Error(): + _log.warning('Failed to store ItineraryConfig', result.error); + } + return result; + } +} diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart new file mode 100644 index 000000000..d6fc65dd2 --- /dev/null +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart @@ -0,0 +1,168 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; + +import '../../../domain/models/continent/continent.dart'; +import '../../../utils/image_error_listener.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/colors.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/error_indicator.dart'; +import '../view_models/search_form_viewmodel.dart'; + +/// Continent selection carousel +/// +/// Loads a list of continents in a horizontal carousel. +/// Users can tap one item to select it. +/// Tapping again the same item will deselect it. +class SearchFormContinent extends StatelessWidget { + const SearchFormContinent({ + super.key, + required this.viewModel, + }); + + final SearchFormViewModel viewModel; + + @override + Widget build(BuildContext context) { + return SizedBox( + height: 140, + child: ListenableBuilder( + listenable: viewModel.load, + builder: (context, child) { + if (viewModel.load.running) { + return const Center( + child: CircularProgressIndicator(), + ); + } + if (viewModel.load.error) { + return Center( + child: ErrorIndicator( + title: AppLocalization.of(context).errorWhileLoadingContinents, + label: AppLocalization.of(context).tryAgain, + onPressed: viewModel.load.execute, + ), + ); + } + return child!; + }, + child: ListenableBuilder( + listenable: viewModel, + builder: (context, child) { + return ListView.separated( + scrollDirection: Axis.horizontal, + itemCount: viewModel.continents.length, + padding: Dimens.of(context).edgeInsetsScreenHorizontal, + itemBuilder: (BuildContext context, int index) { + final Continent(:imageUrl, :name) = viewModel.continents[index]; + return _CarouselItem( + key: ValueKey(name), + imageUrl: imageUrl, + name: name, + viewModel: viewModel, + ); + }, + separatorBuilder: (BuildContext context, int index) { + return const SizedBox(width: 8); + }, + ); + }, + ), + ), + ); + } +} + +class _CarouselItem extends StatelessWidget { + const _CarouselItem({ + super.key, + required this.imageUrl, + required this.name, + required this.viewModel, + }); + + final String imageUrl; + final String name; + final SearchFormViewModel viewModel; + + bool _selected() => + viewModel.selectedContinent == null || + viewModel.selectedContinent == name; + + @override + Widget build(BuildContext context) { + return SizedBox( + width: 140, + height: 140, + child: ClipRRect( + borderRadius: BorderRadius.circular(10), + child: Stack( + children: [ + CachedNetworkImage( + imageUrl: imageUrl, + fit: BoxFit.cover, + errorListener: imageErrorListener, + errorWidget: (context, url, error) { + // NOTE: Getting "invalid image data" error for some of the images + // e.g. https://rstr.in/google/tripedia/jlbgFDrSUVE + return const DecoratedBox( + decoration: BoxDecoration( + color: AppColors.grey3, + ), + child: SizedBox(width: 140, height: 140), + ); + }, + ), + Align( + alignment: Alignment.center, + child: Padding( + padding: const EdgeInsets.all(16.0), + child: Text( + name, + textAlign: TextAlign.center, + style: GoogleFonts.openSans( + fontSize: 18, + fontWeight: FontWeight.w500, + color: AppColors.white1, + ), + ), + ), + ), + // Overlay when other continent is selected + Positioned.fill( + child: AnimatedOpacity( + opacity: _selected() ? 0 : 0.7, + duration: kThemeChangeDuration, + child: DecoratedBox( + decoration: BoxDecoration( + // Support dark-mode + color: Theme.of(context).colorScheme.onPrimary, + ), + ), + ), + ), + // Handle taps + Positioned.fill( + child: Material( + color: Colors.transparent, + child: InkWell( + onTap: () { + if (viewModel.selectedContinent == name) { + viewModel.selectedContinent = null; + } else { + viewModel.selectedContinent = name; + } + }, + ), + ), + ), + ], + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_date.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_date.dart new file mode 100644 index 000000000..1c9c4b954 --- /dev/null +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_date.dart @@ -0,0 +1,82 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/date_format_start_end.dart'; +import '../../core/themes/colors.dart'; +import '../view_models/search_form_viewmodel.dart'; + +/// Date selection form field. +/// +/// Opens a date range picker dialog when tapped. +class SearchFormDate extends StatelessWidget { + const SearchFormDate({ + super.key, + required this.viewModel, + }); + + final SearchFormViewModel viewModel; + + @override + Widget build(BuildContext context) { + return Padding( + padding: EdgeInsets.only( + top: Dimens.paddingVertical, + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenHorizontal, + ), + child: InkWell( + borderRadius: BorderRadius.circular(16.0), + onTap: () { + showDateRangePicker( + context: context, + firstDate: DateTime.now(), + lastDate: DateTime.now().add(const Duration(days: 365)), + ).then((dateRange) => viewModel.dateRange = dateRange); + }, + child: Container( + height: 64, + decoration: BoxDecoration( + border: Border.all(color: AppColors.grey1), + borderRadius: BorderRadius.circular(16.0), + ), + child: Padding( + padding: const EdgeInsets.symmetric( + horizontal: Dimens.paddingHorizontal, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + AppLocalization.of(context).when, + style: Theme.of(context).textTheme.titleMedium, + ), + ListenableBuilder( + listenable: viewModel, + builder: (context, _) { + final dateRange = viewModel.dateRange; + if (dateRange != null) { + return Text( + dateFormatStartEnd(dateRange), + style: Theme.of(context).textTheme.bodyLarge, + ); + } else { + return Text( + AppLocalization.of(context).addDates, + style: Theme.of(context).inputDecorationTheme.hintStyle, + ); + } + }, + ) + ], + ), + ), + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart new file mode 100644 index 000000000..e803dd11d --- /dev/null +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart @@ -0,0 +1,105 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../../core/themes/colors.dart'; +import '../../core/themes/dimens.dart'; +import '../view_models/search_form_viewmodel.dart'; + +const String removeGuestsKey = 'remove-guests'; +const String addGuestsKey = 'add-guests'; + +/// Number of guests selection form +/// +/// Users can tap the Plus and Minus icons to increase or decrease +/// the number of guests. +class SearchFormGuests extends StatelessWidget { + const SearchFormGuests({ + super.key, + required this.viewModel, + }); + + final SearchFormViewModel viewModel; + + @override + Widget build(BuildContext context) { + return Padding( + padding: EdgeInsets.only( + top: Dimens.paddingVertical, + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenHorizontal, + ), + child: Container( + height: 64, + decoration: BoxDecoration( + border: Border.all(color: AppColors.grey1), + borderRadius: BorderRadius.circular(16.0), + ), + child: Padding( + padding: const EdgeInsets.symmetric( + horizontal: Dimens.paddingHorizontal, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + 'Who', + style: Theme.of(context).textTheme.titleMedium, + ), + _QuantitySelector(viewModel), + ], + ), + ), + ), + ); + } +} + +class _QuantitySelector extends StatelessWidget { + const _QuantitySelector(this.viewModel); + + final SearchFormViewModel viewModel; + + @override + Widget build(BuildContext context) { + return SizedBox( + width: 90, + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + InkWell( + key: const ValueKey(removeGuestsKey), + onTap: () { + viewModel.guests--; + }, + child: const Icon( + Icons.remove_circle_outline, + color: AppColors.grey3, + ), + ), + ListenableBuilder( + listenable: viewModel, + builder: (context, _) => Text( + viewModel.guests.toString(), + style: viewModel.guests == 0 + ? Theme.of(context).inputDecorationTheme.hintStyle + : Theme.of(context).textTheme.bodyMedium, + ), + ), + InkWell( + key: const ValueKey(addGuestsKey), + onTap: () { + viewModel.guests++; + }, + child: const Icon( + Icons.add_circle_outline, + color: AppColors.grey3, + ), + ), + ], + ), + ); + } +} diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_screen.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_screen.dart new file mode 100644 index 000000000..fabd2a00f --- /dev/null +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_screen.dart @@ -0,0 +1,65 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../routing/routes.dart'; +import '../../core/themes/dimens.dart'; +import '../../core/ui/search_bar.dart'; +import '../../results/widgets/results_screen.dart'; +import '../view_models/search_form_viewmodel.dart'; +import 'search_form_date.dart'; +import 'search_form_guests.dart'; +import 'search_form_continent.dart'; +import 'search_form_submit.dart'; + +/// Search form screen +/// +/// Displays a search form with continent, date and guests selection. +/// Tapping on the submit button opens the [ResultsScreen] screen +/// passing the search options as query parameters. +class SearchFormScreen extends StatelessWidget { + const SearchFormScreen({ + super.key, + required this.viewModel, + }); + + final SearchFormViewModel viewModel; + + @override + Widget build(BuildContext context) { + return PopScope( + canPop: false, + onPopInvokedWithResult: (didPop, r) { + if (!didPop) context.go(Routes.home); + }, + child: Scaffold( + body: Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + SafeArea( + top: true, + bottom: false, + child: Padding( + padding: EdgeInsets.only( + top: Dimens.of(context).paddingScreenVertical, + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenHorizontal, + bottom: Dimens.paddingVertical, + ), + child: const AppSearchBar(), + ), + ), + SearchFormContinent(viewModel: viewModel), + SearchFormDate(viewModel: viewModel), + SearchFormGuests(viewModel: viewModel), + const Spacer(), + SearchFormSubmit(viewModel: viewModel), + ], + ), + ), + ); + } +} diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart new file mode 100644 index 000000000..a1ebe35c8 --- /dev/null +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart @@ -0,0 +1,100 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; + +import '../../../routing/routes.dart'; +import '../../core/localization/applocalization.dart'; +import '../../core/themes/dimens.dart'; +import '../../results/widgets/results_screen.dart'; +import '../view_models/search_form_viewmodel.dart'; + +const String searchFormSubmitButtonKey = 'submit-button'; + +/// Search form submit button +/// +/// The button is disabled when the form is data is incomplete. +/// When tapped, it navigates to the [ResultsScreen] +/// passing the search options as query parameters. +class SearchFormSubmit extends StatefulWidget { + const SearchFormSubmit({ + super.key, + required this.viewModel, + }); + + final SearchFormViewModel viewModel; + + @override + State createState() => _SearchFormSubmitState(); +} + +class _SearchFormSubmitState extends State { + @override + void initState() { + super.initState(); + widget.viewModel.updateItineraryConfig.addListener(_onResult); + } + + @override + void didUpdateWidget(covariant SearchFormSubmit oldWidget) { + oldWidget.viewModel.updateItineraryConfig.removeListener(_onResult); + widget.viewModel.updateItineraryConfig.addListener(_onResult); + super.didUpdateWidget(oldWidget); + } + + @override + void dispose() { + widget.viewModel.updateItineraryConfig.removeListener(_onResult); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + return Padding( + padding: EdgeInsets.only( + top: Dimens.paddingVertical, + left: Dimens.of(context).paddingScreenHorizontal, + right: Dimens.of(context).paddingScreenHorizontal, + bottom: Dimens.of(context).paddingScreenVertical, + ), + child: ListenableBuilder( + listenable: widget.viewModel, + child: SizedBox( + height: 52, + child: Center( + child: Text(AppLocalization.of(context).search), + ), + ), + builder: (context, child) { + return FilledButton( + key: const ValueKey(searchFormSubmitButtonKey), + onPressed: widget.viewModel.valid + ? widget.viewModel.updateItineraryConfig.execute + : null, + child: child, + ); + }, + ), + ); + } + + void _onResult() { + if (widget.viewModel.updateItineraryConfig.completed) { + widget.viewModel.updateItineraryConfig.clearResult(); + context.go(Routes.results); + } + + if (widget.viewModel.updateItineraryConfig.error) { + widget.viewModel.updateItineraryConfig.clearResult(); + ScaffoldMessenger.of(context).showSnackBar(SnackBar( + content: Text(AppLocalization.of(context).errorWhileSavingItinerary), + action: SnackBarAction( + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.updateItineraryConfig.execute, + ), + )); + } + } +} diff --git a/compass_app/app/lib/utils/command.dart b/compass_app/app/lib/utils/command.dart new file mode 100644 index 000000000..2e37434b9 --- /dev/null +++ b/compass_app/app/lib/utils/command.dart @@ -0,0 +1,97 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:async'; + +import 'package:flutter/foundation.dart'; + +import 'result.dart'; + +typedef CommandAction0 = Future> Function(); +typedef CommandAction1 = Future> Function(A); + +/// Facilitates interaction with a ViewModel. +/// +/// Encapsulates an action, +/// exposes its running and error states, +/// and ensures that it can't be launched again until it finishes. +/// +/// Use [Command0] for actions without arguments. +/// Use [Command1] for actions with one argument. +/// +/// Actions must return a [Result]. +/// +/// Consume the action result by listening to changes, +/// then call to [clearResult] when the state is consumed. +abstract class Command extends ChangeNotifier { + Command(); + + bool _running = false; + + /// True when the action is running. + bool get running => _running; + + Result? _result; + + /// true if action completed with error + bool get error => _result is Error; + + /// true if action completed successfully + bool get completed => _result is Ok; + + /// Get last action result + Result? get result => _result; + + /// Clear last action result + void clearResult() { + _result = null; + notifyListeners(); + } + + /// Internal execute implementation + Future _execute(CommandAction0 action) async { + // Ensure the action can't launch multiple times. + // e.g. avoid multiple taps on button + if (_running) return; + + // Notify listeners. + // e.g. button shows loading state + _running = true; + _result = null; + notifyListeners(); + + try { + _result = await action(); + } finally { + _running = false; + notifyListeners(); + } + } +} + +/// [Command] without arguments. +/// Takes a [CommandAction0] as action. +class Command0 extends Command { + Command0(this._action); + + final CommandAction0 _action; + + /// Executes the action. + Future execute() async { + await _execute(() => _action()); + } +} + +/// [Command] with one argument. +/// Takes a [CommandAction1] as action. +class Command1 extends Command { + Command1(this._action); + + final CommandAction1 _action; + + /// Executes the action with the argument. + Future execute(A argument) async { + await _execute(() => _action(argument)); + } +} diff --git a/compass_app/app/lib/utils/image_error_listener.dart b/compass_app/app/lib/utils/image_error_listener.dart new file mode 100644 index 000000000..79c209283 --- /dev/null +++ b/compass_app/app/lib/utils/image_error_listener.dart @@ -0,0 +1,11 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:logging/logging.dart'; + +final _log = Logger('ImageErrorListener'); + +void imageErrorListener(Object error) { + _log.warning('Failed to load image', error); +} diff --git a/compass_app/app/lib/utils/result.dart b/compass_app/app/lib/utils/result.dart new file mode 100644 index 000000000..5370700b0 --- /dev/null +++ b/compass_app/app/lib/utils/result.dart @@ -0,0 +1,54 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +/// Utility class to wrap result data +/// +/// Evaluate the result using a switch statement: +/// ```dart +/// switch (result) { +/// case Ok(): { +/// print(result.value); +/// } +/// case Error(): { +/// print(result.error); +/// } +/// } +/// ``` +sealed class Result { + const Result(); + + /// Creates an instance of Result containing a value + factory Result.ok(T value) => Ok(value); + + /// Create an instance of Result containing an error + factory Result.error(Exception error) => Error(error); + + /// Convenience method to cast to Ok + Ok get asOk => this as Ok; + + /// Convenience method to cast to Error + Error get asError => this as Error; +} + +/// Subclass of Result for values +final class Ok extends Result { + const Ok(this.value); + + /// Returned value in result + final T value; + + @override + String toString() => 'Result<$T>.ok($value)'; +} + +/// Subclass of Result for errors +final class Error extends Result { + const Error(this.error); + + /// Returned error in result + final Exception error; + + @override + String toString() => 'Result<$T>.error($error)'; +} diff --git a/experimental/linting_tool/linux/.gitignore b/compass_app/app/linux/.gitignore similarity index 100% rename from experimental/linting_tool/linux/.gitignore rename to compass_app/app/linux/.gitignore diff --git a/experimental/linting_tool/linux/CMakeLists.txt b/compass_app/app/linux/CMakeLists.txt similarity index 70% rename from experimental/linting_tool/linux/CMakeLists.txt rename to compass_app/app/linux/CMakeLists.txt index 868809639..35574ddd4 100644 --- a/experimental/linting_tool/linux/CMakeLists.txt +++ b/compass_app/app/linux/CMakeLists.txt @@ -1,11 +1,19 @@ +# Project-level configuration. cmake_minimum_required(VERSION 3.10) project(runner LANGUAGES CXX) -set(BINARY_NAME "linting_tool") -set(APPLICATION_ID "dev.flutter.linting_tool") +# The name of the executable created for the application. Change this to change +# the on-disk name of your application. +set(BINARY_NAME "compass_app") +# The unique GTK application identifier for this application. See: +# https://wiki.gnome.org/HowDoI/ChooseApplicationID +set(APPLICATION_ID "com.example.compass_app") +# Explicitly opt in to modern CMake behaviors to avoid warnings with recent +# versions of CMake. cmake_policy(SET CMP0063 NEW) +# Load bundled libraries from the lib/ directory relative to the binary. set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") # Root filesystem for cross-building. @@ -18,7 +26,7 @@ if(FLUTTER_TARGET_PLATFORM_SYSROOT) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) endif() -# Configure build options. +# Define build configuration options. if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Flutter build mode" FORCE) @@ -27,6 +35,10 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) endif() # Compilation settings that should be applied to most targets. +# +# Be cautious about adding new options here, as plugins use this function by +# default. In most cases, you should add new options to specific targets instead +# of modifying this function. function(APPLY_STANDARD_SETTINGS TARGET) target_compile_features(${TARGET} PUBLIC cxx_std_14) target_compile_options(${TARGET} PRIVATE -Wall -Werror) @@ -34,9 +46,8 @@ function(APPLY_STANDARD_SETTINGS TARGET) target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") endfunction() -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") - # Flutter library and tool build rules. +set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") add_subdirectory(${FLUTTER_MANAGED_DIR}) # System-level dependencies. @@ -45,16 +56,27 @@ pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}") -# Application build +# Define the application target. To change its name, change BINARY_NAME above, +# not the value here, or `flutter run` will no longer work. +# +# Any new source files that you add to the application should be added here. add_executable(${BINARY_NAME} "main.cc" "my_application.cc" "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" ) + +# Apply the standard set of build settings. This can be removed for applications +# that need different build settings. apply_standard_settings(${BINARY_NAME}) + +# Add dependency libraries. Add any application-specific dependencies here. target_link_libraries(${BINARY_NAME} PRIVATE flutter) target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) + +# Run the Flutter tool portions of the build. This must not be removed. add_dependencies(${BINARY_NAME} flutter_assemble) + # Only the install-generated bundle's copy of the executable will launch # correctly, since the resources must in the right relative locations. To avoid # people trying to run the unbundled copy, put it in a subdirectory instead of @@ -64,6 +86,7 @@ set_target_properties(${BINARY_NAME} RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run" ) + # Generated plugin build rules, which manage building the plugins and adding # them to the application. include(flutter/generated_plugins.cmake) @@ -94,11 +117,17 @@ install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR} install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime) -if(PLUGIN_BUNDLED_LIBRARIES) - install(FILES "${PLUGIN_BUNDLED_LIBRARIES}" +foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) + install(FILES "${bundled_library}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime) -endif() +endforeach(bundled_library) + +# Copy the native assets provided by the build.dart from all packages. +set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") +install(DIRECTORY "${NATIVE_ASSETS_DIR}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) # Fully re-copy the assets directory on each build to avoid having stale files # from a previous install. diff --git a/experimental/linting_tool/linux/flutter/CMakeLists.txt b/compass_app/app/linux/flutter/CMakeLists.txt similarity index 97% rename from experimental/linting_tool/linux/flutter/CMakeLists.txt rename to compass_app/app/linux/flutter/CMakeLists.txt index 33fd5801e..d5bd01648 100644 --- a/experimental/linting_tool/linux/flutter/CMakeLists.txt +++ b/compass_app/app/linux/flutter/CMakeLists.txt @@ -1,3 +1,4 @@ +# This file controls Flutter-level build steps. It should not be edited. cmake_minimum_required(VERSION 3.10) set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") diff --git a/compass_app/app/linux/flutter/generated_plugin_registrant.cc b/compass_app/app/linux/flutter/generated_plugin_registrant.cc new file mode 100644 index 000000000..f6f23bfe9 --- /dev/null +++ b/compass_app/app/linux/flutter/generated_plugin_registrant.cc @@ -0,0 +1,15 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#include "generated_plugin_registrant.h" + +#include + +void fl_register_plugins(FlPluginRegistry* registry) { + g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); + url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); +} diff --git a/experimental/linting_tool/linux/flutter/generated_plugin_registrant.h b/compass_app/app/linux/flutter/generated_plugin_registrant.h similarity index 100% rename from experimental/linting_tool/linux/flutter/generated_plugin_registrant.h rename to compass_app/app/linux/flutter/generated_plugin_registrant.h diff --git a/experimental/linting_tool/linux/flutter/generated_plugins.cmake b/compass_app/app/linux/flutter/generated_plugins.cmake similarity index 95% rename from experimental/linting_tool/linux/flutter/generated_plugins.cmake rename to compass_app/app/linux/flutter/generated_plugins.cmake index 7c9fef0b8..f16b4c342 100644 --- a/experimental/linting_tool/linux/flutter/generated_plugins.cmake +++ b/compass_app/app/linux/flutter/generated_plugins.cmake @@ -3,9 +3,7 @@ # list(APPEND FLUTTER_PLUGIN_LIST - file_selector_linux url_launcher_linux - window_size ) list(APPEND FLUTTER_FFI_PLUGIN_LIST diff --git a/experimental/linting_tool/linux/main.cc b/compass_app/app/linux/main.cc similarity index 100% rename from experimental/linting_tool/linux/main.cc rename to compass_app/app/linux/main.cc diff --git a/experimental/linting_tool/linux/my_application.cc b/compass_app/app/linux/my_application.cc similarity index 72% rename from experimental/linting_tool/linux/my_application.cc rename to compass_app/app/linux/my_application.cc index 440d21dfd..5a3652971 100644 --- a/experimental/linting_tool/linux/my_application.cc +++ b/compass_app/app/linux/my_application.cc @@ -29,23 +29,22 @@ static void my_application_activate(GApplication* application) { // if future cases occur). gboolean use_header_bar = TRUE; #ifdef GDK_WINDOWING_X11 - GdkScreen *screen = gtk_window_get_screen(window); + GdkScreen* screen = gtk_window_get_screen(window); if (GDK_IS_X11_SCREEN(screen)) { - const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); - if (g_strcmp0(wm_name, "GNOME Shell") != 0) { - use_header_bar = FALSE; - } + const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); + if (g_strcmp0(wm_name, "GNOME Shell") != 0) { + use_header_bar = FALSE; + } } #endif if (use_header_bar) { - GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); + GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); gtk_widget_show(GTK_WIDGET(header_bar)); - gtk_header_bar_set_title(header_bar, "linting_tool"); + gtk_header_bar_set_title(header_bar, "compass_app"); gtk_header_bar_set_show_close_button(header_bar, TRUE); gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); - } - else { - gtk_window_set_title(window, "linting_tool"); + } else { + gtk_window_set_title(window, "compass_app"); } gtk_window_set_default_size(window, 1280, 720); @@ -64,7 +63,7 @@ static void my_application_activate(GApplication* application) { } // Implements GApplication::local_command_line. -static gboolean my_application_local_command_line(GApplication* application, gchar ***arguments, int *exit_status) { +static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) { MyApplication* self = MY_APPLICATION(application); // Strip out the first argument as it is the binary name. self->dart_entrypoint_arguments = g_strdupv(*arguments + 1); @@ -82,8 +81,26 @@ static gboolean my_application_local_command_line(GApplication* application, gch return TRUE; } +// Implements GApplication::startup. +static void my_application_startup(GApplication* application) { + //MyApplication* self = MY_APPLICATION(object); + + // Perform any actions required at application startup. + + G_APPLICATION_CLASS(my_application_parent_class)->startup(application); +} + +// Implements GApplication::shutdown. +static void my_application_shutdown(GApplication* application) { + //MyApplication* self = MY_APPLICATION(object); + + // Perform any actions required at application shutdown. + + G_APPLICATION_CLASS(my_application_parent_class)->shutdown(application); +} + // Implements GObject::dispose. -static void my_application_dispose(GObject *object) { +static void my_application_dispose(GObject* object) { MyApplication* self = MY_APPLICATION(object); g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev); G_OBJECT_CLASS(my_application_parent_class)->dispose(object); @@ -92,6 +109,8 @@ static void my_application_dispose(GObject *object) { static void my_application_class_init(MyApplicationClass* klass) { G_APPLICATION_CLASS(klass)->activate = my_application_activate; G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line; + G_APPLICATION_CLASS(klass)->startup = my_application_startup; + G_APPLICATION_CLASS(klass)->shutdown = my_application_shutdown; G_OBJECT_CLASS(klass)->dispose = my_application_dispose; } diff --git a/experimental/linting_tool/linux/my_application.h b/compass_app/app/linux/my_application.h similarity index 100% rename from experimental/linting_tool/linux/my_application.h rename to compass_app/app/linux/my_application.h diff --git a/experimental/linting_tool/macos/.gitignore b/compass_app/app/macos/.gitignore similarity index 91% rename from experimental/linting_tool/macos/.gitignore rename to compass_app/app/macos/.gitignore index d2fd37723..746adbb6b 100644 --- a/experimental/linting_tool/macos/.gitignore +++ b/compass_app/app/macos/.gitignore @@ -3,4 +3,5 @@ **/Pods/ # Xcode-related +**/dgph **/xcuserdata/ diff --git a/experimental/linting_tool/macos/Flutter/Flutter-Debug.xcconfig b/compass_app/app/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from experimental/linting_tool/macos/Flutter/Flutter-Debug.xcconfig rename to compass_app/app/macos/Flutter/Flutter-Debug.xcconfig diff --git a/experimental/linting_tool/macos/Flutter/Flutter-Release.xcconfig b/compass_app/app/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from experimental/linting_tool/macos/Flutter/Flutter-Release.xcconfig rename to compass_app/app/macos/Flutter/Flutter-Release.xcconfig diff --git a/compass_app/app/macos/Flutter/GeneratedPluginRegistrant.swift b/compass_app/app/macos/Flutter/GeneratedPluginRegistrant.swift new file mode 100644 index 000000000..8c02029d1 --- /dev/null +++ b/compass_app/app/macos/Flutter/GeneratedPluginRegistrant.swift @@ -0,0 +1,18 @@ +// +// Generated file. Do not edit. +// + +import FlutterMacOS +import Foundation + +import path_provider_foundation +import share_plus +import shared_preferences_foundation +import sqflite_darwin + +func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) + SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin")) + SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) + SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) +} diff --git a/experimental/linting_tool/macos/Podfile b/compass_app/app/macos/Podfile similarity index 94% rename from experimental/linting_tool/macos/Podfile rename to compass_app/app/macos/Podfile index dade8dfad..c795730db 100644 --- a/experimental/linting_tool/macos/Podfile +++ b/compass_app/app/macos/Podfile @@ -1,4 +1,4 @@ -platform :osx, '10.11' +platform :osx, '10.14' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' @@ -31,6 +31,9 @@ target 'Runner' do use_modular_headers! flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) + target 'RunnerTests' do + inherit! :search_paths + end end post_install do |installer| diff --git a/experimental/linting_tool/macos/Runner.xcodeproj/project.pbxproj b/compass_app/app/macos/Runner.xcodeproj/project.pbxproj similarity index 70% rename from experimental/linting_tool/macos/Runner.xcodeproj/project.pbxproj rename to compass_app/app/macos/Runner.xcodeproj/project.pbxproj index 5eac5b098..79cdc239e 100644 --- a/experimental/linting_tool/macos/Runner.xcodeproj/project.pbxproj +++ b/compass_app/app/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -21,15 +21,24 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ - 263EC21EDDA79B90E36D3AF2 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BA99C65F70358A600BD0DB9 /* Pods_Runner.framework */; }; + 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; + C203960636D4F782F1839CCD /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 624CAC5D902868ED5B3541A6 /* Pods_Runner.framework */; }; + D9B813DBC6B840FC789B8BC8 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3F947B2B2872CA43E01D9D3 /* Pods_RunnerTests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 33CC10E52044A3C60003C045 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 33CC10EC2044A3C60003C045; + remoteInfo = Runner; + }; 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 33CC10E52044A3C60003C045 /* Project object */; @@ -53,10 +62,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 1FF9829B1C25BAA5E9CFD6F7 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; + 2A6019B907567C19CDA56577 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* linting_tool.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = linting_tool.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 33CC10ED2044A3C60003C045 /* compass_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = compass_app.app; sourceTree = BUILT_PRODUCTS_DIR; }; 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; @@ -68,25 +79,59 @@ 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; - 4BA99C65F70358A600BD0DB9 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 66D130ED505BEFC4C780F92C /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + 4E966B71DA7CDEDDA1AC2EDF /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; + 614F996EF4C7B207997C69FB /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; + 624CAC5D902868ED5B3541A6 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 7E301E068432A8A69757147C /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; + 8094AA7203951A1D4ED31304 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; + 9F59A18A4C705DE2978D2023 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; + D3F947B2B2872CA43E01D9D3 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + ECE434935E45147DB18A8135 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 331C80D2294CF70F00263BE5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D9B813DBC6B840FC789B8BC8 /* Pods_RunnerTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 33CC10EA2044A3C60003C045 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 263EC21EDDA79B90E36D3AF2 /* Pods_Runner.framework in Frameworks */, + C203960636D4F782F1839CCD /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 1D6CC27981A89B68E6FDD92F /* Pods */ = { + isa = PBXGroup; + children = ( + 2A6019B907567C19CDA56577 /* Pods-Runner.debug.xcconfig */, + 614F996EF4C7B207997C69FB /* Pods-Runner.release.xcconfig */, + ECE434935E45147DB18A8135 /* Pods-Runner.profile.xcconfig */, + 9F59A18A4C705DE2978D2023 /* Pods-RunnerTests.debug.xcconfig */, + 4E966B71DA7CDEDDA1AC2EDF /* Pods-RunnerTests.release.xcconfig */, + 8094AA7203951A1D4ED31304 /* Pods-RunnerTests.profile.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; + 331C80D6294CF71000263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C80D7294CF71000263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; + sourceTree = ""; + }; 33BA886A226E78AF003329D5 /* Configs */ = { isa = PBXGroup; children = ( @@ -103,16 +148,18 @@ children = ( 33FAB671232836740065AC1E /* Runner */, 33CEB47122A05771004F2AC0 /* Flutter */, + 331C80D6294CF71000263BE5 /* RunnerTests */, 33CC10EE2044A3C60003C045 /* Products */, D73912EC22F37F3D000D13A0 /* Frameworks */, - 51EE2FAB634AFBA8448DB770 /* Pods */, + 1D6CC27981A89B68E6FDD92F /* Pods */, ); sourceTree = ""; }; 33CC10EE2044A3C60003C045 /* Products */ = { isa = PBXGroup; children = ( - 33CC10ED2044A3C60003C045 /* linting_tool.app */, + 33CC10ED2044A3C60003C045 /* compass_app.app */, + 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, ); name = Products; sourceTree = ""; @@ -152,21 +199,11 @@ path = Runner; sourceTree = ""; }; - 51EE2FAB634AFBA8448DB770 /* Pods */ = { - isa = PBXGroup; - children = ( - 66D130ED505BEFC4C780F92C /* Pods-Runner.debug.xcconfig */, - 1FF9829B1C25BAA5E9CFD6F7 /* Pods-Runner.release.xcconfig */, - 7E301E068432A8A69757147C /* Pods-Runner.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; D73912EC22F37F3D000D13A0 /* Frameworks */ = { isa = PBXGroup; children = ( - 4BA99C65F70358A600BD0DB9 /* Pods_Runner.framework */, + 624CAC5D902868ED5B3541A6 /* Pods_Runner.framework */, + D3F947B2B2872CA43E01D9D3 /* Pods_RunnerTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -174,17 +211,36 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 331C80D4294CF70F00263BE5 /* RunnerTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; + buildPhases = ( + 06AAD07EFF5D1E8FAB2A6247 /* [CP] Check Pods Manifest.lock */, + 331C80D1294CF70F00263BE5 /* Sources */, + 331C80D2294CF70F00263BE5 /* Frameworks */, + 331C80D3294CF70F00263BE5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 331C80DA294CF71000263BE5 /* PBXTargetDependency */, + ); + name = RunnerTests; + productName = RunnerTests; + productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; 33CC10EC2044A3C60003C045 /* Runner */ = { isa = PBXNativeTarget; buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( - FA1FF96E71045A62F03992DA /* [CP] Check Pods Manifest.lock */, + 0DDEBBC387E6CED7A7451269 /* [CP] Check Pods Manifest.lock */, 33CC10E92044A3C60003C045 /* Sources */, 33CC10EA2044A3C60003C045 /* Frameworks */, 33CC10EB2044A3C60003C045 /* Resources */, 33CC110E2044A8840003C045 /* Bundle Framework */, 3399D490228B24CF009A79C7 /* ShellScript */, - A7CF0EFBD867541ADB9884D5 /* [CP] Embed Pods Frameworks */, + 0C8C541B6AD305AF898FAB29 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -193,7 +249,7 @@ ); name = Runner; productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* linting_tool.app */; + productReference = 33CC10ED2044A3C60003C045 /* compass_app.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -202,10 +258,15 @@ 33CC10E52044A3C60003C045 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { + 331C80D4294CF70F00263BE5 = { + CreatedOnToolsVersion = 14.0; + TestTargetID = 33CC10EC2044A3C60003C045; + }; 33CC10EC2044A3C60003C045 = { CreatedOnToolsVersion = 9.2; LastSwiftMigration = 1100; @@ -236,12 +297,20 @@ projectRoot = ""; targets = ( 33CC10EC2044A3C60003C045 /* Runner */, + 331C80D4294CF70F00263BE5 /* RunnerTests */, 33CC111A2044C6BA0003C045 /* Flutter Assemble */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 331C80D3294CF70F00263BE5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 33CC10EB2044A3C60003C045 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -254,7 +323,7 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 3399D490228B24CF009A79C7 /* ShellScript */ = { + 06AAD07EFF5D1E8FAB2A6247 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -262,77 +331,108 @@ inputFileListPaths = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; }; - 33CC111E2044C6BF0003C045 /* ShellScript */ = { + 0C8C541B6AD305AF898FAB29 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 0DDEBBC387E6CED7A7451269 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - Flutter/ephemeral/FlutterInputs.xcfilelist, ); inputPaths = ( - Flutter/ephemeral/tripwire, + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( - Flutter/ephemeral/FlutterOutputs.xcfilelist, ); outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; }; - A7CF0EFBD867541ADB9884D5 /* [CP] Embed Pods Frameworks */ = { + 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + inputPaths = ( + ); outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; + shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; }; - FA1FF96E71045A62F03992DA /* [CP] Check Pods Manifest.lock */ = { + 33CC111E2044C6BF0003C045 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + Flutter/ephemeral/FlutterInputs.xcfilelist, ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", + Flutter/ephemeral/tripwire, ); - name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( + Flutter/ephemeral/FlutterOutputs.xcfilelist, ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; + shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 331C80D1294CF70F00263BE5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 33CC10E92044A3C60003C045 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -346,6 +446,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 33CC10EC2044A3C60003C045 /* Runner */; + targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; + }; 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; @@ -366,11 +471,57 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 331C80DB294CF71000263BE5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9F59A18A4C705DE2978D2023 /* Pods-RunnerTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/compass_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/compass_app"; + }; + name = Debug; + }; + 331C80DC294CF71000263BE5 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4E966B71DA7CDEDDA1AC2EDF /* Pods-RunnerTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/compass_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/compass_app"; + }; + name = Release; + }; + 331C80DD294CF71000263BE5 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8094AA7203951A1D4ED31304 /* Pods-RunnerTests.profile.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/compass_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/compass_app"; + }; + name = Profile; + }; 338D0CE9231458BD00FA5F75 /* Profile */ = { isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -394,9 +545,11 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CODE_SIGN_IDENTITY = "-"; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -404,7 +557,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; @@ -444,6 +597,7 @@ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -467,9 +621,11 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CODE_SIGN_IDENTITY = "-"; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -483,7 +639,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -497,6 +653,7 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -520,9 +677,11 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CODE_SIGN_IDENTITY = "-"; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -530,7 +689,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; @@ -596,6 +755,16 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 331C80DB294CF71000263BE5 /* Debug */, + 331C80DC294CF71000263BE5 /* Release */, + 331C80DD294CF71000263BE5 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/compass_app/app/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/compass_app/app/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/compass_app/app/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/experimental/linting_tool/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/compass_app/app/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 80% rename from experimental/linting_tool/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to compass_app/app/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index be7701b21..2da2d9a0a 100644 --- a/experimental/linting_tool/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/compass_app/app/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ @@ -31,13 +31,24 @@ - - + + + + + + - - diff --git a/experimental/linting_tool/macos/Runner.xcworkspace/contents.xcworkspacedata b/compass_app/app/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from experimental/linting_tool/macos/Runner.xcworkspace/contents.xcworkspacedata rename to compass_app/app/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/compass_app/app/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/compass_app/app/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/compass_app/app/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/experimental/linting_tool/macos/Runner/AppDelegate.swift b/compass_app/app/macos/Runner/AppDelegate.swift similarity index 91% rename from experimental/linting_tool/macos/Runner/AppDelegate.swift rename to compass_app/app/macos/Runner/AppDelegate.swift index d53ef6437..8e02df288 100644 --- a/experimental/linting_tool/macos/Runner/AppDelegate.swift +++ b/compass_app/app/macos/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import Cocoa import FlutterMacOS -@NSApplicationMain +@main class AppDelegate: FlutterAppDelegate { override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { return true diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png new file mode 100644 index 000000000..82b6f9d9a Binary files /dev/null and b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png differ diff --git a/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png new file mode 100644 index 000000000..13b35eba5 Binary files /dev/null and b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png differ diff --git a/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png new file mode 100644 index 000000000..0a3f5fa40 Binary files /dev/null and b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png differ diff --git a/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png new file mode 100644 index 000000000..bdb57226d Binary files /dev/null and b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png differ diff --git a/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png new file mode 100644 index 000000000..f083318e0 Binary files /dev/null and b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png differ diff --git a/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png new file mode 100644 index 000000000..326c0e72c Binary files /dev/null and b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png differ diff --git a/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png new file mode 100644 index 000000000..2f1632cfd Binary files /dev/null and b/compass_app/app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png differ diff --git a/experimental/linting_tool/macos/Runner/Base.lproj/MainMenu.xib b/compass_app/app/macos/Runner/Base.lproj/MainMenu.xib similarity index 96% rename from experimental/linting_tool/macos/Runner/Base.lproj/MainMenu.xib rename to compass_app/app/macos/Runner/Base.lproj/MainMenu.xib index d196364b9..80e867a4e 100644 --- a/experimental/linting_tool/macos/Runner/Base.lproj/MainMenu.xib +++ b/compass_app/app/macos/Runner/Base.lproj/MainMenu.xib @@ -1,8 +1,8 @@ - + - + @@ -13,7 +13,7 @@ - + @@ -323,18 +323,21 @@ + + + + - - + + - + - diff --git a/experimental/linting_tool/macos/Runner/Configs/AppInfo.xcconfig b/compass_app/app/macos/Runner/Configs/AppInfo.xcconfig similarity index 76% rename from experimental/linting_tool/macos/Runner/Configs/AppInfo.xcconfig rename to compass_app/app/macos/Runner/Configs/AppInfo.xcconfig index 8c9702b76..f56aaa1db 100644 --- a/experimental/linting_tool/macos/Runner/Configs/AppInfo.xcconfig +++ b/compass_app/app/macos/Runner/Configs/AppInfo.xcconfig @@ -5,10 +5,10 @@ // 'flutter create' template. // The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = linting_tool +PRODUCT_NAME = compass_app // The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.lintingTool +PRODUCT_BUNDLE_IDENTIFIER = com.example.compassApp // The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright © 2021 dev.flutter. All rights reserved. +PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved. diff --git a/experimental/linting_tool/macos/Runner/Configs/Debug.xcconfig b/compass_app/app/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from experimental/linting_tool/macos/Runner/Configs/Debug.xcconfig rename to compass_app/app/macos/Runner/Configs/Debug.xcconfig diff --git a/experimental/linting_tool/macos/Runner/Configs/Release.xcconfig b/compass_app/app/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from experimental/linting_tool/macos/Runner/Configs/Release.xcconfig rename to compass_app/app/macos/Runner/Configs/Release.xcconfig diff --git a/experimental/linting_tool/macos/Runner/Configs/Warnings.xcconfig b/compass_app/app/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from experimental/linting_tool/macos/Runner/Configs/Warnings.xcconfig rename to compass_app/app/macos/Runner/Configs/Warnings.xcconfig diff --git a/experimental/linting_tool/macos/Runner/DebugProfile.entitlements b/compass_app/app/macos/Runner/DebugProfile.entitlements similarity index 83% rename from experimental/linting_tool/macos/Runner/DebugProfile.entitlements rename to compass_app/app/macos/Runner/DebugProfile.entitlements index 9158f3eb1..c946719a1 100644 --- a/experimental/linting_tool/macos/Runner/DebugProfile.entitlements +++ b/compass_app/app/macos/Runner/DebugProfile.entitlements @@ -6,11 +6,9 @@ com.apple.security.cs.allow-jit - com.apple.security.network.client - com.apple.security.network.server - com.apple.security.files.user-selected.read-write - + com.apple.security.network.client + diff --git a/experimental/linting_tool/macos/Runner/Info.plist b/compass_app/app/macos/Runner/Info.plist similarity index 96% rename from experimental/linting_tool/macos/Runner/Info.plist rename to compass_app/app/macos/Runner/Info.plist index 485f6f479..4789daa6a 100644 --- a/experimental/linting_tool/macos/Runner/Info.plist +++ b/compass_app/app/macos/Runner/Info.plist @@ -13,7 +13,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - Flutter Linting Tool + $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString diff --git a/experimental/linting_tool/macos/Runner/MainFlutterWindow.swift b/compass_app/app/macos/Runner/MainFlutterWindow.swift similarity index 84% rename from experimental/linting_tool/macos/Runner/MainFlutterWindow.swift rename to compass_app/app/macos/Runner/MainFlutterWindow.swift index 2722837ec..3cc05eb23 100644 --- a/experimental/linting_tool/macos/Runner/MainFlutterWindow.swift +++ b/compass_app/app/macos/Runner/MainFlutterWindow.swift @@ -3,7 +3,7 @@ import FlutterMacOS class MainFlutterWindow: NSWindow { override func awakeFromNib() { - let flutterViewController = FlutterViewController.init() + let flutterViewController = FlutterViewController() let windowFrame = self.frame self.contentViewController = flutterViewController self.setFrame(windowFrame, display: true) diff --git a/experimental/linting_tool/macos/Runner/Release.entitlements b/compass_app/app/macos/Runner/Release.entitlements similarity index 57% rename from experimental/linting_tool/macos/Runner/Release.entitlements rename to compass_app/app/macos/Runner/Release.entitlements index c1a22b8a0..852fa1a47 100644 --- a/experimental/linting_tool/macos/Runner/Release.entitlements +++ b/compass_app/app/macos/Runner/Release.entitlements @@ -4,11 +4,5 @@ com.apple.security.app-sandbox - com.apple.security.network.client - - com.apple.security.network.server - - com.apple.security.files.user-selected.read-write - diff --git a/compass_app/app/macos/RunnerTests/RunnerTests.swift b/compass_app/app/macos/RunnerTests/RunnerTests.swift new file mode 100644 index 000000000..61f3bd1fc --- /dev/null +++ b/compass_app/app/macos/RunnerTests/RunnerTests.swift @@ -0,0 +1,12 @@ +import Cocoa +import FlutterMacOS +import XCTest + +class RunnerTests: XCTestCase { + + func testExample() { + // If you add code to the Runner application, consider adding tests here. + // See https://developer.apple.com/documentation/xctest for more information about using XCTest. + } + +} diff --git a/compass_app/app/pubspec.yaml b/compass_app/app/pubspec.yaml new file mode 100644 index 000000000..27f1622b5 --- /dev/null +++ b/compass_app/app/pubspec.yaml @@ -0,0 +1,45 @@ +name: compass_app +description: "A new Flutter project." +publish_to: 'none' +version: 0.1.0 + +environment: + sdk: ^3.5.0 + +dependencies: + cached_network_image: ^3.3.1 + collection: ^1.18.0 + flutter: + sdk: flutter + flutter_localizations: + sdk: flutter + flutter_svg: ^2.0.10+1 + freezed_annotation: ^2.4.4 + go_router: ^14.2.0 + google_fonts: ^6.2.1 + intl: any + json_annotation: ^4.9.0 + logging: ^1.2.0 + provider: ^6.1.2 + share_plus: ^7.2.2 + shared_preferences: ^2.3.1 + +dev_dependencies: + flutter_test: + sdk: flutter + flutter_lints: ^5.0.0 + mocktail_image_network: ^1.2.0 + mocktail: ^1.0.4 + integration_test: + sdk: flutter + build_runner: ^2.4.12 + freezed: ^2.5.7 + json_serializable: ^6.8.0 + +flutter: + uses-material-design: true + assets: + - assets/activities.json + - assets/destinations.json + - assets/logo.svg + - assets/user.jpg diff --git a/compass_app/app/test/data/repositories/activity/activity_repository_local_test.dart b/compass_app/app/test/data/repositories/activity/activity_repository_local_test.dart new file mode 100644 index 000000000..739f35084 --- /dev/null +++ b/compass_app/app/test/data/repositories/activity/activity_repository_local_test.dart @@ -0,0 +1,30 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/activity/activity_repository_local.dart'; +import 'package:compass_app/data/services/local/local_data_service.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +void main() { + group('ActivityRepositoryLocal tests', () { + // To load assets + TestWidgetsFlutterBinding.ensureInitialized(); + + final repository = ActivityRepositoryLocal( + localDataService: LocalDataService(), + ); + + test('should get by destination ref', () async { + final result = await repository.getByDestination('alaska'); + expect(result, isA()); + + final list = result.asOk.value; + expect(list.length, 20); + + final activity = list.first; + expect(activity.name, 'Glacier Trekking and Ice Climbing'); + }); + }); +} diff --git a/compass_app/app/test/data/repositories/activity/activity_repository_remote_test.dart b/compass_app/app/test/data/repositories/activity/activity_repository_remote_test.dart new file mode 100644 index 000000000..a75734e54 --- /dev/null +++ b/compass_app/app/test/data/repositories/activity/activity_repository_remote_test.dart @@ -0,0 +1,49 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/activity/activity_repository.dart'; +import 'package:compass_app/data/repositories/activity/activity_repository_remote.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/fakes/services/fake_api_client.dart'; + +void main() { + group('ActivityRepositoryRemote tests', () { + late FakeApiClient apiClient; + late ActivityRepository repository; + + setUp(() { + apiClient = FakeApiClient(); + repository = ActivityRepositoryRemote(apiClient: apiClient); + }); + + test('should get activities for destination', () async { + final result = await repository.getByDestination('alaska'); + expect(result, isA()); + + final list = result.asOk.value; + expect(list.length, 1); + + final destination = list.first; + expect(destination.name, 'Glacier Trekking and Ice Climbing'); + + // Only one request happened + expect(apiClient.requestCount, 1); + }); + + test('should get destinations from cache', () async { + // Request destination once + var result = await repository.getByDestination('alaska'); + expect(result, isA()); + + // Request destination another time + result = await repository.getByDestination('alaska'); + expect(result, isA()); + + // Only one request happened + expect(apiClient.requestCount, 1); + }); + }); +} diff --git a/compass_app/app/test/data/repositories/auth/auth_repository_remote_test.dart b/compass_app/app/test/data/repositories/auth/auth_repository_remote_test.dart new file mode 100644 index 000000000..5d6934f91 --- /dev/null +++ b/compass_app/app/test/data/repositories/auth/auth_repository_remote_test.dart @@ -0,0 +1,102 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/auth/auth_repository_remote.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/fakes/services/fake_api_client.dart'; +import '../../../../testing/fakes/services/fake_auth_api_client.dart'; +import '../../../../testing/fakes/services/fake_shared_preferences_service.dart'; + +void main() { + group('AuthRepositoryRemote tests', () { + late FakeApiClient apiClient; + late FakeAuthApiClient authApiClient; + late FakeSharedPreferencesService sharedPreferencesService; + late AuthRepositoryRemote repository; + + setUp(() { + apiClient = FakeApiClient(); + authApiClient = FakeAuthApiClient(); + sharedPreferencesService = FakeSharedPreferencesService(); + repository = AuthRepositoryRemote( + apiClient: apiClient, + authApiClient: authApiClient, + sharedPreferencesService: sharedPreferencesService, + ); + }); + + test('fetch on start, has token', () async { + // Stored token in shared preferences + sharedPreferencesService.token = 'TOKEN'; + + // Create an AuthRepository, should perform initial fetch + final repository = AuthRepositoryRemote( + apiClient: apiClient, + authApiClient: authApiClient, + sharedPreferencesService: sharedPreferencesService, + ); + + final isAuthenticated = await repository.isAuthenticated; + + // True because Token is SharedPreferences + expect(isAuthenticated, isTrue); + + // Check auth token + await expectAuthHeader(apiClient, 'Bearer TOKEN'); + }); + + test('fetch on start, no token', () async { + // Stored token in shared preferences + sharedPreferencesService.token = null; + + // Create an AuthRepository, should perform initial fetch + final repository = AuthRepositoryRemote( + apiClient: apiClient, + authApiClient: authApiClient, + sharedPreferencesService: sharedPreferencesService, + ); + + final isAuthenticated = await repository.isAuthenticated; + + // True because Token is SharedPreferences + expect(isAuthenticated, isFalse); + + // Check auth token + await expectAuthHeader(apiClient, null); + }); + + test('perform login', () async { + final result = await repository.login( + email: 'EMAIL', + password: 'PASSWORD', + ); + expect(result, isA()); + expect(await repository.isAuthenticated, isTrue); + expect(sharedPreferencesService.token, 'TOKEN'); + + // Check auth token + await expectAuthHeader(apiClient, 'Bearer TOKEN'); + }); + + test('perform logout', () async { + // logged in status + sharedPreferencesService.token = 'TOKEN'; + + final result = await repository.logout(); + expect(result, isA()); + expect(await repository.isAuthenticated, isFalse); + expect(sharedPreferencesService.token, null); + + // Check auth token + await expectAuthHeader(apiClient, null); + }); + }); +} + +Future expectAuthHeader(FakeApiClient apiClient, String? header) async { + final header = apiClient.authHeaderProvider?.call(); + expect(header, header); +} diff --git a/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart b/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart new file mode 100644 index 000000000..54b907c1d --- /dev/null +++ b/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart @@ -0,0 +1,60 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/booking/booking_repository.dart'; +import 'package:compass_app/data/repositories/booking/booking_repository_remote.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/fakes/services/fake_api_client.dart'; +import '../../../../testing/models/booking.dart'; + +void main() { + group('BookingRepositoryRemote tests', () { + late BookingRepository bookingRepository; + late FakeApiClient fakeApiClient; + + setUp(() { + fakeApiClient = FakeApiClient(); + bookingRepository = BookingRepositoryRemote( + apiClient: fakeApiClient, + ); + }); + + test('should get booking', () async { + final result = await bookingRepository.getBooking(0); + final booking = result.asOk.value; + expect(booking, kBooking.copyWith(id: 0)); + }); + + test('should create booking', () async { + expect(fakeApiClient.bookings, isEmpty); + final result = await bookingRepository.createBooking(kBooking); + expect(result, isA>()); + expect(fakeApiClient.bookings.first, kBookingApiModel); + }); + + test('should get list of booking', () async { + final result = await bookingRepository.getBookingsList(); + final list = result.asOk.value; + expect(list, [kBookingSummary]); + }); + + test('should delete booking', () async { + // Ensure no bookings exist + expect(fakeApiClient.bookings, isEmpty); + + // Add a booking + var result = await bookingRepository.createBooking(kBooking); + expect(result, isA>()); + + // Delete the booking + result = await bookingRepository.delete(0); + expect(result, isA>()); + + // Check if the booking was deleted from the server + expect(fakeApiClient.bookings, isEmpty); + }); + }); +} diff --git a/compass_app/app/test/data/repositories/continent/continent_repository_remote_test.dart b/compass_app/app/test/data/repositories/continent/continent_repository_remote_test.dart new file mode 100644 index 000000000..4a41120b7 --- /dev/null +++ b/compass_app/app/test/data/repositories/continent/continent_repository_remote_test.dart @@ -0,0 +1,49 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/continent/continent_repository.dart'; +import 'package:compass_app/data/repositories/continent/continent_repository_remote.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/fakes/services/fake_api_client.dart'; + +void main() { + group('ContinentRepositoryRemote tests', () { + late FakeApiClient apiClient; + late ContinentRepository repository; + + setUp(() { + apiClient = FakeApiClient(); + repository = ContinentRepositoryRemote(apiClient: apiClient); + }); + + test('should get continents', () async { + final result = await repository.getContinents(); + expect(result, isA()); + + final list = result.asOk.value; + expect(list.length, 3); + + final destination = list.first; + expect(destination.name, 'CONTINENT'); + + // Only one request happened + expect(apiClient.requestCount, 1); + }); + + test('should get continents from cache', () async { + // Request continents once + var result = await repository.getContinents(); + expect(result, isA()); + + // Request continents another time + result = await repository.getContinents(); + expect(result, isA()); + + // Only one request happened + expect(apiClient.requestCount, 1); + }); + }); +} diff --git a/compass_app/app/test/data/repositories/destination/destination_repository_local_test.dart b/compass_app/app/test/data/repositories/destination/destination_repository_local_test.dart new file mode 100644 index 000000000..62fa01357 --- /dev/null +++ b/compass_app/app/test/data/repositories/destination/destination_repository_local_test.dart @@ -0,0 +1,33 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/local/local_data_service.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:compass_app/data/repositories/destination/destination_repository_local.dart'; +import 'package:flutter_test/flutter_test.dart'; + +void main() { + group('DestinationRepositoryLocal tests', () { + // To load assets + TestWidgetsFlutterBinding.ensureInitialized(); + + final repository = DestinationRepositoryLocal( + localDataService: LocalDataService(), + ); + + test('should load and parse', () async { + // Should load the json and parse it + final result = await repository.getDestinations(); + expect(result, isA()); + + // Check that the list is complete + final list = result.asOk.value; + expect(list.length, 137); + + // Check first item + final destination = list.first; + expect(destination.name, 'Alaska'); + }); + }); +} diff --git a/compass_app/app/test/data/repositories/destination/destination_repository_remote_test.dart b/compass_app/app/test/data/repositories/destination/destination_repository_remote_test.dart new file mode 100644 index 000000000..2559f030e --- /dev/null +++ b/compass_app/app/test/data/repositories/destination/destination_repository_remote_test.dart @@ -0,0 +1,49 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/destination/destination_repository.dart'; +import 'package:compass_app/data/repositories/destination/destination_repository_remote.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/fakes/services/fake_api_client.dart'; + +void main() { + group('DestinationRepositoryRemote tests', () { + late FakeApiClient apiClient; + late DestinationRepository repository; + + setUp(() { + apiClient = FakeApiClient(); + repository = DestinationRepositoryRemote(apiClient: apiClient); + }); + + test('should get destinations', () async { + final result = await repository.getDestinations(); + expect(result, isA()); + + final list = result.asOk.value; + expect(list.length, 2); + + final destination = list.first; + expect(destination.name, 'name1'); + + // Only one request happened + expect(apiClient.requestCount, 1); + }); + + test('should get destinations from cache', () async { + // Request destination once + var result = await repository.getDestinations(); + expect(result, isA()); + + // Request destination another time + result = await repository.getDestinations(); + expect(result, isA()); + + // Only one request happened + expect(apiClient.requestCount, 1); + }); + }); +} diff --git a/compass_app/app/test/data/services/api/api_client_test.dart b/compass_app/app/test/data/services/api/api_client_test.dart new file mode 100644 index 000000000..e3965e4e3 --- /dev/null +++ b/compass_app/app/test/data/services/api/api_client_test.dart @@ -0,0 +1,83 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/api/api_client.dart'; +import 'package:compass_app/domain/models/continent/continent.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/mocks.dart'; +import '../../../../testing/models/activity.dart'; +import '../../../../testing/models/booking.dart'; +import '../../../../testing/models/destination.dart'; +import '../../../../testing/models/user.dart'; + +void main() { + group('ApiClient', () { + late MockHttpClient mockHttpClient; + late ApiClient apiClient; + + setUp(() { + mockHttpClient = MockHttpClient(); + apiClient = ApiClient(clientFactory: () => mockHttpClient); + }); + + test('should get continents', () async { + final continents = [const Continent(name: 'NAME', imageUrl: 'URL')]; + mockHttpClient.mockGet('/continent', continents); + final result = await apiClient.getContinents(); + expect(result.asOk.value, continents); + }); + + test('should get activities by destination', () async { + final activites = [kActivity]; + mockHttpClient.mockGet( + '/destination/${kDestination1.ref}/activity', + activites, + ); + final result = + await apiClient.getActivityByDestination(kDestination1.ref); + expect(result.asOk.value, activites); + }); + + test('should get booking', () async { + mockHttpClient.mockGet( + '/booking/${kBookingApiModel.id}', + kBookingApiModel, + ); + final result = await apiClient.getBooking(kBookingApiModel.id!); + expect(result.asOk.value, kBookingApiModel); + }); + + test('should get bookings', () async { + mockHttpClient.mockGet('/booking', [kBookingApiModel]); + final result = await apiClient.getBookings(); + expect(result.asOk.value, [kBookingApiModel]); + }); + + test('should get destinations', () async { + mockHttpClient.mockGet('/destination', [kDestination1]); + final result = await apiClient.getDestinations(); + expect(result.asOk.value, [kDestination1]); + }); + + test('should get user', () async { + mockHttpClient.mockGet('/user', userApiModel); + final result = await apiClient.getUser(); + expect(result.asOk.value, userApiModel); + }); + + test('should post booking', () async { + mockHttpClient.mockPost('/booking', kBookingApiModel); + final result = await apiClient.postBooking(kBookingApiModel); + expect(result.asOk.value, kBookingApiModel); + }); + + test('should delete booking', () async { + mockHttpClient.mockDelete('/booking/0'); + final result = await apiClient.deleteBooking(0); + expect(result, isA>()); + }); + }); +} diff --git a/compass_app/app/test/data/services/api/auth_api_client_test.dart b/compass_app/app/test/data/services/api/auth_api_client_test.dart new file mode 100644 index 000000000..50d20e561 --- /dev/null +++ b/compass_app/app/test/data/services/api/auth_api_client_test.dart @@ -0,0 +1,41 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/api/auth_api_client.dart'; +import 'package:compass_app/data/services/api/model/login_request/login_request.dart'; +import 'package:compass_app/data/services/api/model/login_response/login_response.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/mocks.dart'; + +void main() { + group('AuthApiClient', () { + late MockHttpClient mockHttpClient; + late AuthApiClient apiClient; + + setUp(() { + mockHttpClient = MockHttpClient(); + apiClient = AuthApiClient(clientFactory: () => mockHttpClient); + }); + + test('should post login', () async { + const loginResponse = LoginResponse( + token: 'TOKEN', + userId: '123', + ); + mockHttpClient.mockPost( + '/login', + loginResponse, + 200, + ); + final result = await apiClient.login( + const LoginRequest( + email: 'EMAIL', + password: 'PASSWORD', + ), + ); + expect(result.asOk.value, loginResponse); + }); + }); +} diff --git a/compass_app/app/test/domain/use_cases/booking/booking_create_use_case_test.dart b/compass_app/app/test/domain/use_cases/booking/booking_create_use_case_test.dart new file mode 100644 index 000000000..e148eb582 --- /dev/null +++ b/compass_app/app/test/domain/use_cases/booking/booking_create_use_case_test.dart @@ -0,0 +1,37 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/use_cases/booking/booking_create_use_case.dart'; +import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/fakes/repositories/fake_activities_repository.dart'; +import '../../../../testing/fakes/repositories/fake_booking_repository.dart'; +import '../../../../testing/fakes/repositories/fake_destination_repository.dart'; +import '../../../../testing/models/activity.dart'; +import '../../../../testing/models/booking.dart'; +import '../../../../testing/models/destination.dart'; + +void main() { + group('BookingCreateUseCase tests', () { + test('Create booking', () async { + final useCase = BookingCreateUseCase( + activityRepository: FakeActivityRepository(), + destinationRepository: FakeDestinationRepository(), + bookingRepository: FakeBookingRepository(), + ); + + final booking = await useCase.createFrom( + ItineraryConfig( + startDate: DateTime(2024, 01, 01), + endDate: DateTime(2024, 02, 12), + destination: kDestination1.ref, + activities: [kActivity.ref], + ), + ); + + expect(booking.asOk.value, kBooking); + }); + }); +} diff --git a/compass_app/app/test/domain/use_cases/booking/booking_share_use_case_test.dart b/compass_app/app/test/domain/use_cases/booking/booking_share_use_case_test.dart new file mode 100644 index 000000000..4cb920e88 --- /dev/null +++ b/compass_app/app/test/domain/use_cases/booking/booking_share_use_case_test.dart @@ -0,0 +1,35 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/use_cases/booking/booking_share_use_case.dart'; +import 'package:compass_app/domain/models/booking/booking.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/models/activity.dart'; +import '../../../../testing/models/destination.dart'; + +void main() { + group('BookingShareUseCase tests', () { + test('Share booking', () async { + String? sharedText; + final useCase = BookingShareUseCase.custom((text) async { + sharedText = text; + }); + final booking = Booking( + startDate: DateTime(2024, 01, 01), + endDate: DateTime(2024, 02, 12), + destination: kDestination1, + activity: [kActivity], + ); + await useCase.shareBooking(booking); + expect( + sharedText, + 'Trip to name1\n' + 'on 1 Jan - 12 Feb\n' + 'Activities:\n' + ' - NAME.', + ); + }); + }); +} diff --git a/compass_app/app/test/ui/activities/activities_screen_test.dart b/compass_app/app/test/ui/activities/activities_screen_test.dart new file mode 100644 index 000000000..97ac3366c --- /dev/null +++ b/compass_app/app/test/ui/activities/activities_screen_test.dart @@ -0,0 +1,83 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; +import 'package:compass_app/ui/activities/view_models/activities_viewmodel.dart'; +import 'package:compass_app/ui/activities/widgets/activities_screen.dart'; +import 'package:compass_app/ui/activities/widgets/activity_entry.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail/mocktail.dart'; +import 'package:mocktail_image_network/mocktail_image_network.dart'; + +import '../../../testing/app.dart'; +import '../../../testing/fakes/repositories/fake_activities_repository.dart'; +import '../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; +import '../../../testing/mocks.dart'; + +void main() { + group('ResultsScreen widget tests', () { + late ActivitiesViewModel viewModel; + late MockGoRouter goRouter; + + setUp(() { + viewModel = ActivitiesViewModel( + activityRepository: FakeActivityRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository( + itineraryConfig: ItineraryConfig( + continent: 'Europe', + startDate: DateTime(2024, 01, 01), + endDate: DateTime(2024, 01, 31), + guests: 2, + destination: 'DESTINATION', + ), + ), + ); + goRouter = MockGoRouter(); + }); + + Future loadScreen(WidgetTester tester) async { + await testApp( + tester, + ActivitiesScreen(viewModel: viewModel), + goRouter: goRouter, + ); + } + + testWidgets('should load screen', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + expect(find.byType(ActivitiesScreen), findsOneWidget); + }); + }); + + testWidgets('should list activity', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + expect(find.byType(ActivityEntry), findsOneWidget); + expect(find.text('NAME'), findsOneWidget); + }); + }); + + testWidgets('should select activity and confirm', + (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + // Select one activity + await tester.tap(find.byKey(const ValueKey('REF-checkbox'))); + expect(viewModel.selectedActivities, contains('REF')); + + // Text 1 selected should appear + await tester.pumpAndSettle(); + expect(find.text('1 selected'), findsOneWidget); + + // Submit selection + await tester.tap(find.byKey(const ValueKey('confirm-button'))); + + // Should navigate to results screen + verify(() => goRouter.go('/booking')).called(1); + }); + }); + }); +} diff --git a/compass_app/app/test/ui/auth/login_screen_test.dart b/compass_app/app/test/ui/auth/login_screen_test.dart new file mode 100644 index 000000000..f454ea625 --- /dev/null +++ b/compass_app/app/test/ui/auth/login_screen_test.dart @@ -0,0 +1,63 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/ui/auth/login/view_models/login_viewmodel.dart'; +import 'package:compass_app/ui/auth/login/widgets/login_screen.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail/mocktail.dart'; +import 'package:mocktail_image_network/mocktail_image_network.dart'; + +import '../../../testing/app.dart'; +import '../../../testing/fakes/repositories/fake_auth_repository.dart'; +import '../../../testing/mocks.dart'; + +void main() { + group('LoginScreen test', () { + late LoginViewModel viewModel; + late MockGoRouter goRouter; + late FakeAuthRepository fakeAuthRepository; + + setUp(() { + fakeAuthRepository = FakeAuthRepository(); + viewModel = LoginViewModel( + authRepository: fakeAuthRepository, + ); + goRouter = MockGoRouter(); + }); + + Future loadScreen(WidgetTester tester) async { + await testApp( + tester, + LoginScreen(viewModel: viewModel), + goRouter: goRouter, + ); + } + + testWidgets('should load screen', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + expect(find.byType(LoginScreen), findsOneWidget); + }); + }); + + testWidgets('should perform login', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + + // Repo should have no key + expect(fakeAuthRepository.token, null); + + // Perform login + await tester.tap(find.text('Login')); + await tester.pumpAndSettle(); + + // Repo should have key + expect(fakeAuthRepository.token, 'TOKEN'); + + // Should navigate to home screen + verify(() => goRouter.go('/')).called(1); + }); + }); + }); +} diff --git a/compass_app/app/test/ui/auth/logout_button_test.dart b/compass_app/app/test/ui/auth/logout_button_test.dart new file mode 100644 index 000000000..383ceadb7 --- /dev/null +++ b/compass_app/app/test/ui/auth/logout_button_test.dart @@ -0,0 +1,78 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; +import 'package:compass_app/ui/auth/logout/view_models/logout_viewmodel.dart'; +import 'package:compass_app/ui/auth/logout/widgets/logout_button.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail_image_network/mocktail_image_network.dart'; + +import '../../../testing/app.dart'; +import '../../../testing/fakes/repositories/fake_auth_repository.dart'; +import '../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; +import '../../../testing/mocks.dart'; + +void main() { + group('LogoutButton test', () { + late MockGoRouter goRouter; + late FakeAuthRepository fakeAuthRepository; + late FakeItineraryConfigRepository fakeItineraryConfigRepository; + late LogoutViewModel viewModel; + + setUp(() { + goRouter = MockGoRouter(); + fakeAuthRepository = FakeAuthRepository(); + // Setup a token, should be cleared after logout + fakeAuthRepository.token = 'TOKEN'; + // Setup an ItineraryConfig with some data, should be cleared after logout + fakeItineraryConfigRepository = FakeItineraryConfigRepository( + itineraryConfig: const ItineraryConfig(continent: 'CONTINENT')); + viewModel = LogoutViewModel( + authRepository: fakeAuthRepository, + itineraryConfigRepository: fakeItineraryConfigRepository, + ); + }); + + Future loadScreen(WidgetTester tester) async { + await testApp( + tester, + LogoutButton(viewModel: viewModel), + goRouter: goRouter, + ); + } + + testWidgets('should load widget', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + expect(find.byType(LogoutButton), findsOneWidget); + }); + }); + + testWidgets('should perform logout', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + + // Repo should have a key + expect(fakeAuthRepository.token, 'TOKEN'); + // Itinerary config should have data + expect( + fakeItineraryConfigRepository.itineraryConfig, + const ItineraryConfig(continent: 'CONTINENT'), + ); + + // // Perform logout + await tester.tap(find.byType(LogoutButton)); + await tester.pumpAndSettle(); + + // Repo should have no key + expect(fakeAuthRepository.token, null); + // Itinerary config should be cleared + expect( + fakeItineraryConfigRepository.itineraryConfig, + const ItineraryConfig(), + ); + }); + }); + }); +} diff --git a/compass_app/app/test/ui/booking/booking_screen_test.dart b/compass_app/app/test/ui/booking/booking_screen_test.dart new file mode 100644 index 000000000..6ae3100de --- /dev/null +++ b/compass_app/app/test/ui/booking/booking_screen_test.dart @@ -0,0 +1,113 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/use_cases/booking/booking_create_use_case.dart'; +import 'package:compass_app/domain/use_cases/booking/booking_share_use_case.dart'; +import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; +import 'package:compass_app/ui/booking/view_models/booking_viewmodel.dart'; +import 'package:compass_app/ui/booking/widgets/booking_screen.dart'; +import 'package:flutter/foundation.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../testing/app.dart'; +import '../../../testing/fakes/repositories/fake_activities_repository.dart'; +import '../../../testing/fakes/repositories/fake_booking_repository.dart'; +import '../../../testing/fakes/repositories/fake_destination_repository.dart'; +import '../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; +import '../../../testing/mocks.dart'; +import '../../../testing/models/activity.dart'; +import '../../../testing/models/booking.dart'; +import '../../../testing/models/destination.dart'; + +void main() { + group('BookingScreen widget tests', () { + late MockGoRouter goRouter; + late BookingViewModel viewModel; + late bool shared; + late FakeBookingRepository bookingRepository; + + setUp(() { + shared = false; + bookingRepository = FakeBookingRepository(); + viewModel = BookingViewModel( + itineraryConfigRepository: FakeItineraryConfigRepository( + itineraryConfig: ItineraryConfig( + continent: 'Europe', + startDate: DateTime(2024, 01, 01), + endDate: DateTime(2024, 01, 31), + guests: 2, + destination: kDestination1.ref, + activities: [kActivity.ref], + ), + ), + createBookingUseCase: BookingCreateUseCase( + activityRepository: FakeActivityRepository(), + destinationRepository: FakeDestinationRepository(), + bookingRepository: bookingRepository, + ), + shareBookingUseCase: BookingShareUseCase.custom((text) async { + shared = true; + }), + bookingRepository: bookingRepository, + ); + goRouter = MockGoRouter(); + }); + + Future loadScreen(WidgetTester tester) async { + await testApp( + tester, + BookingScreen(viewModel: viewModel), + goRouter: goRouter, + ); + } + + testWidgets('should load screen', (WidgetTester tester) async { + await loadScreen(tester); + expect(find.byType(BookingScreen), findsOneWidget); + }); + + testWidgets('should display booking from ID', (WidgetTester tester) async { + // Add a booking to repository + bookingRepository.createBooking(kBooking); + + // Load screen + await loadScreen(tester); + + // Load booking with ID 0 + viewModel.loadBooking.execute(0); + + // Wait for booking to load + await tester.pumpAndSettle(); + + expect(find.text(kBooking.destination.name), findsOneWidget); + expect(find.text(kBooking.destination.tags.first), findsOneWidget); + }); + + testWidgets('should create booking from itinerary config', + (WidgetTester tester) async { + await loadScreen(tester); + + // Create a new booking from stored itinerary config + viewModel.createBooking.execute(); + + // Wait for booking to load + await tester.pumpAndSettle(); + + expect(find.text('name1'), findsOneWidget); + expect(find.text('tags1'), findsOneWidget); + + // Booking is saved + expect(bookingRepository.bookings.length, 1); + }); + + testWidgets('should share booking', (WidgetTester tester) async { + bookingRepository.createBooking(kBooking); + await loadScreen(tester); + viewModel.loadBooking.execute(0); + await tester.pumpAndSettle(); + await tester.tap(find.byKey(const Key('share-button'))); + expect(shared, true); + }); + }); +} diff --git a/compass_app/app/test/ui/home/widgets/home_screen_test.dart b/compass_app/app/test/ui/home/widgets/home_screen_test.dart new file mode 100644 index 000000000..330fc15a6 --- /dev/null +++ b/compass_app/app/test/ui/home/widgets/home_screen_test.dart @@ -0,0 +1,131 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/auth/auth_repository.dart'; +import 'package:compass_app/data/repositories/itinerary_config/itinerary_config_repository.dart'; +import 'package:compass_app/routing/routes.dart'; +import 'package:compass_app/ui/home/view_models/home_viewmodel.dart'; +import 'package:compass_app/ui/home/widgets/home_screen.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter/foundation.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail/mocktail.dart'; +import 'package:provider/provider.dart'; + +import '../../../../testing/app.dart'; +import '../../../../testing/fakes/repositories/fake_auth_repository.dart'; +import '../../../../testing/fakes/repositories/fake_booking_repository.dart'; +import '../../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; +import '../../../../testing/fakes/repositories/fake_user_repository.dart'; +import '../../../../testing/mocks.dart'; +import '../../../../testing/models/booking.dart'; + +void main() { + group('HomeScreen tests', () { + late HomeViewModel viewModel; + late MockGoRouter goRouter; + late FakeBookingRepository bookingRepository; + + setUp(() { + bookingRepository = FakeBookingRepository()..createBooking(kBooking); + viewModel = HomeViewModel( + bookingRepository: bookingRepository, + userRepository: FakeUserRepository(), + ); + goRouter = MockGoRouter(); + when(() => goRouter.push(any())).thenAnswer((_) => Future.value(null)); + }); + + loadWidget(WidgetTester tester) async { + await testApp( + tester, + ChangeNotifierProvider.value( + value: FakeAuthRepository() as AuthRepository, + child: Provider.value( + value: FakeItineraryConfigRepository() as ItineraryConfigRepository, + child: HomeScreen(viewModel: viewModel), + ), + ), + goRouter: goRouter, + ); + } + + testWidgets('should load screen', (tester) async { + await loadWidget(tester); + await tester.pumpAndSettle(); + + expect(find.byType(HomeScreen), findsOneWidget); + }); + + testWidgets('should show user name', (tester) async { + await loadWidget(tester); + await tester.pumpAndSettle(); + + expect(find.text('NAME\'s Trips'), findsOneWidget); + }); + + testWidgets('should navigate to search', (tester) async { + await loadWidget(tester); + await tester.pumpAndSettle(); + + // Tap on create a booking FAB + await tester.tap(find.byKey(const ValueKey('booking-button'))); + await tester.pumpAndSettle(); + + // Should navigate to results screen + verify(() => goRouter.go(Routes.search)).called(1); + }); + + testWidgets('should open existing booking', (tester) async { + await loadWidget(tester); + await tester.pumpAndSettle(); + + // Tap on booking (created from kBooking) + await tester.tap(find.text('name1, Europe')); + await tester.pumpAndSettle(); + + // Should navigate to results screen + verify(() => goRouter.push(Routes.bookingWithId(0))).called(1); + }); + + testWidgets('should delete booking', (tester) async { + await loadWidget(tester); + await tester.pumpAndSettle(); + + // Swipe on booking (created from kBooking) + await tester.drag(find.text('name1, Europe'), const Offset(-1000, 0)); + await tester.pumpAndSettle(); + + // Existing booking should be gone + expect(find.text('name1, Europe'), findsNothing); + + // Booking should be deleted from repository + expect(bookingRepository.bookings, isEmpty); + }); + + testWidgets('fail to delete booking', (tester) async { + // Create a ViewModel with a repository that will fail to delete + viewModel = HomeViewModel( + bookingRepository: _BadFakeBookingRepository()..createBooking(kBooking), + userRepository: FakeUserRepository(), + ); + await loadWidget(tester); + await tester.pumpAndSettle(); + + // Swipe on booking (created from kBooking) + await tester.drag(find.text('name1, Europe'), const Offset(-1000, 0)); + await tester.pumpAndSettle(); + + // Existing booking should be there + expect(find.text('name1, Europe'), findsOneWidget); + }); + }); +} + +class _BadFakeBookingRepository extends FakeBookingRepository { + @override + Future> delete(int id) async { + return Result.error(Exception('Failed to delete booking')); + } +} diff --git a/compass_app/app/test/ui/results/results_screen_test.dart b/compass_app/app/test/ui/results/results_screen_test.dart new file mode 100644 index 000000000..f27383742 --- /dev/null +++ b/compass_app/app/test/ui/results/results_screen_test.dart @@ -0,0 +1,80 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; +import 'package:compass_app/ui/results/view_models/results_viewmodel.dart'; +import 'package:compass_app/ui/results/widgets/results_screen.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail/mocktail.dart'; +import 'package:mocktail_image_network/mocktail_image_network.dart'; + +import '../../../testing/app.dart'; +import '../../../testing/fakes/repositories/fake_destination_repository.dart'; +import '../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; +import '../../../testing/mocks.dart'; + +void main() { + group('ResultsScreen widget tests', () { + late MockGoRouter goRouter; + late ResultsViewModel viewModel; + + setUp(() { + viewModel = ResultsViewModel( + destinationRepository: FakeDestinationRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository( + itineraryConfig: ItineraryConfig( + continent: 'Europe', + startDate: DateTime(2024, 01, 01), + endDate: DateTime(2024, 01, 31), + guests: 2, + ), + ), + ); + goRouter = MockGoRouter(); + }); + + Future loadScreen(WidgetTester tester) async { + await testApp( + tester, + ResultsScreen(viewModel: viewModel), + goRouter: goRouter, + ); + } + + testWidgets('should load screen', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + expect(find.byType(ResultsScreen), findsOneWidget); + }); + }); + + testWidgets('should display destination', (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + + // Wait for list to load + await tester.pumpAndSettle(); + + // Note: Name is converted to uppercase + expect(find.text('NAME1'), findsOneWidget); + expect(find.text('tags1'), findsOneWidget); + }); + }); + + testWidgets('should tap and navigate to activities', + (WidgetTester tester) async { + await mockNetworkImages(() async { + await loadScreen(tester); + + // Wait for list to load + await tester.pumpAndSettle(); + + // warnIfMissed false because false negative + await tester.tap(find.text('NAME1'), warnIfMissed: false); + + verify(() => goRouter.go('/activities')).called(1); + }); + }); + }); +} diff --git a/compass_app/app/test/ui/results/results_viewmodel_test.dart b/compass_app/app/test/ui/results/results_viewmodel_test.dart new file mode 100644 index 000000000..4031cc7b2 --- /dev/null +++ b/compass_app/app/test/ui/results/results_viewmodel_test.dart @@ -0,0 +1,32 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; +import 'package:compass_app/ui/results/view_models/results_viewmodel.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../testing/fakes/repositories/fake_destination_repository.dart'; +import '../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; + +void main() { + group('ResultsViewModel tests', () { + final viewModel = ResultsViewModel( + destinationRepository: FakeDestinationRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository( + itineraryConfig: ItineraryConfig( + continent: 'Europe', + startDate: DateTime(2024, 01, 01), + endDate: DateTime(2024, 01, 31), + guests: 2, + ), + ), + ); + + // perform a simple test + // verifies that the list of items is properly loaded + test('should load items', () async { + expect(viewModel.destinations.length, 2); + }); + }); +} diff --git a/compass_app/app/test/ui/search_form/view_models/search_form_viewmodel_test.dart b/compass_app/app/test/ui/search_form/view_models/search_form_viewmodel_test.dart new file mode 100644 index 000000000..f9e57b708 --- /dev/null +++ b/compass_app/app/test/ui/search_form/view_models/search_form_viewmodel_test.dart @@ -0,0 +1,73 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; + +import '../../../../testing/fakes/repositories/fake_continent_repository.dart'; +import '../../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; + +void main() { + group('SearchFormViewModel Tests', () { + late SearchFormViewModel viewModel; + + setUp(() { + viewModel = SearchFormViewModel( + continentRepository: FakeContinentRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository(), + ); + }); + + test('Initial values are correct', () { + expect(viewModel.valid, false); + expect(viewModel.selectedContinent, null); + expect(viewModel.dateRange, null); + expect(viewModel.guests, 0); + }); + + test('Setting dateRange updates correctly', () { + final DateTimeRange newDateRange = DateTimeRange( + start: DateTime(2024, 1, 1), + end: DateTime(2024, 1, 31), + ); + viewModel.dateRange = newDateRange; + expect(viewModel.dateRange, newDateRange); + }); + + test('Setting selectedContinent updates correctly', () { + viewModel.selectedContinent = 'CONTINENT'; + expect(viewModel.selectedContinent, 'CONTINENT'); + + // Setting null should work + viewModel.selectedContinent = null; + expect(viewModel.selectedContinent, null); + }); + + test('Setting guests updates correctly', () { + viewModel.guests = 2; + expect(viewModel.guests, 2); + + // Guests number should not be negative + viewModel.guests = -1; + expect(viewModel.guests, 0); + }); + + test('Set all values and save', () async { + expect(viewModel.valid, false); + + viewModel.guests = 2; + viewModel.selectedContinent = 'CONTINENT'; + final DateTimeRange newDateRange = DateTimeRange( + start: DateTime(2024, 1, 1), + end: DateTime(2024, 1, 31), + ); + viewModel.dateRange = newDateRange; + + expect(viewModel.valid, true); + await viewModel.updateItineraryConfig.execute(); + expect(viewModel.updateItineraryConfig.completed, true); + }); + }); +} diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart new file mode 100644 index 000000000..5b868b6ee --- /dev/null +++ b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart @@ -0,0 +1,39 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_continent.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import '../../../../testing/app.dart'; +import '../../../../testing/fakes/repositories/fake_continent_repository.dart'; +import '../../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; + +void main() { + group('SearchFormContinent widget tests', () { + late SearchFormViewModel viewModel; + + setUp(() { + viewModel = SearchFormViewModel( + continentRepository: FakeContinentRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository(), + ); + }); + + loadWidget(WidgetTester tester) async { + await testApp(tester, SearchFormContinent(viewModel: viewModel)); + } + + testWidgets('Should load and select continent', + (WidgetTester tester) async { + await loadWidget(tester); + expect(find.byType(SearchFormContinent), findsOneWidget); + + // Select continent + await tester.tap(find.text('CONTINENT'), warnIfMissed: false); + + expect(viewModel.selectedContinent, 'CONTINENT'); + }); + }); +} diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart new file mode 100644 index 000000000..d89a3fd96 --- /dev/null +++ b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart @@ -0,0 +1,61 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_date.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:flutter/material.dart'; + +import '../../../../testing/app.dart'; +import '../../../../testing/fakes/repositories/fake_continent_repository.dart'; +import '../../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; + +void main() { + group('SearchFormDate widget tests', () { + late SearchFormViewModel viewModel; + + setUp(() { + viewModel = SearchFormViewModel( + continentRepository: FakeContinentRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository(), + ); + }); + + loadWidget(WidgetTester tester) async { + await testApp(tester, SearchFormDate(viewModel: viewModel)); + } + + testWidgets('should display date in different month', + (WidgetTester tester) async { + await loadWidget(tester); + expect(find.byType(SearchFormDate), findsOneWidget); + + // Initial state + expect(find.text('Add Dates'), findsOneWidget); + + // Simulate date picker input: + viewModel.dateRange = DateTimeRange( + start: DateTime(2024, 6, 12), end: DateTime(2024, 7, 23)); + await tester.pumpAndSettle(); + + expect(find.text('12 Jun - 23 Jul'), findsOneWidget); + }); + + testWidgets('should display date in same month', + (WidgetTester tester) async { + await loadWidget(tester); + expect(find.byType(SearchFormDate), findsOneWidget); + + // Initial state + expect(find.text('Add Dates'), findsOneWidget); + + // Simulate date picker input: + viewModel.dateRange = DateTimeRange( + start: DateTime(2024, 6, 12), end: DateTime(2024, 6, 23)); + await tester.pumpAndSettle(); + + expect(find.text('12 - 23 Jun'), findsOneWidget); + }); + }); +} diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart new file mode 100644 index 000000000..64aa16cf8 --- /dev/null +++ b/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart @@ -0,0 +1,68 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_guests.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:flutter/material.dart'; + +import '../../../../testing/app.dart'; +import '../../../../testing/fakes/repositories/fake_continent_repository.dart'; +import '../../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; + +void main() { + group('SearchFormGuests widget tests', () { + late SearchFormViewModel viewModel; + + setUp(() { + viewModel = SearchFormViewModel( + continentRepository: FakeContinentRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository(), + ); + }); + + loadWidget(WidgetTester tester) async { + await testApp(tester, SearchFormGuests(viewModel: viewModel)); + } + + testWidgets('Increase number of guests', (WidgetTester tester) async { + await loadWidget(tester); + expect(find.byType(SearchFormGuests), findsOneWidget); + + // Initial state + expect(find.text('0'), findsOneWidget); + + await tester.tap(find.byKey(const ValueKey(addGuestsKey))); + await tester.pumpAndSettle(); + + expect(find.text('1'), findsOneWidget); + }); + + testWidgets('Decrease number of guests', (WidgetTester tester) async { + await loadWidget(tester); + expect(find.byType(SearchFormGuests), findsOneWidget); + + // Initial state + expect(find.text('0'), findsOneWidget); + + await tester.tap(find.byKey(const ValueKey(removeGuestsKey))); + await tester.pumpAndSettle(); + + // Should remain at 0 + expect(find.text('0'), findsOneWidget); + + await tester.tap(find.byKey(const ValueKey(addGuestsKey))); + await tester.pumpAndSettle(); + + // Increase to 1 + expect(find.text('1'), findsOneWidget); + + await tester.tap(find.byKey(const ValueKey(removeGuestsKey))); + await tester.pumpAndSettle(); + + // Back to 0 + expect(find.text('0'), findsOneWidget); + }); + }); +} diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart new file mode 100644 index 000000000..5071b163b --- /dev/null +++ b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart @@ -0,0 +1,74 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/auth/auth_repository.dart'; +import 'package:compass_app/data/repositories/itinerary_config/itinerary_config_repository.dart'; +import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_guests.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_screen.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_submit.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail/mocktail.dart'; +import 'package:provider/provider.dart'; + +import '../../../../testing/app.dart'; +import '../../../../testing/fakes/repositories/fake_auth_repository.dart'; +import '../../../../testing/fakes/repositories/fake_continent_repository.dart'; +import '../../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; +import '../../../../testing/mocks.dart'; + +void main() { + group('SearchFormScreen widget tests', () { + late SearchFormViewModel viewModel; + late MockGoRouter goRouter; + + setUp(() { + viewModel = SearchFormViewModel( + continentRepository: FakeContinentRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository(), + ); + goRouter = MockGoRouter(); + }); + + loadWidget(WidgetTester tester) async { + await testApp( + tester, + ChangeNotifierProvider.value( + value: FakeAuthRepository() as AuthRepository, + child: Provider.value( + value: FakeItineraryConfigRepository() as ItineraryConfigRepository, + child: SearchFormScreen(viewModel: viewModel), + ), + ), + goRouter: goRouter, + ); + } + + testWidgets('Should fill form and perform search', + (WidgetTester tester) async { + await loadWidget(tester); + expect(find.byType(SearchFormScreen), findsOneWidget); + + // Select continent + await tester.tap(find.text('CONTINENT'), warnIfMissed: false); + + // Select date + viewModel.dateRange = DateTimeRange( + start: DateTime(2024, 6, 12), end: DateTime(2024, 7, 23)); + + // Select guests + await tester.tap(find.byKey(const ValueKey(addGuestsKey))); + + // Refresh screen state + await tester.pumpAndSettle(); + + // Perform search + await tester.tap(find.byKey(const ValueKey(searchFormSubmitButtonKey))); + + // Should navigate to results screen + verify(() => goRouter.go('/results')).called(1); + }); + }); +} diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart new file mode 100644 index 000000000..4a7d30aed --- /dev/null +++ b/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart @@ -0,0 +1,62 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; +import 'package:compass_app/ui/search_form/widgets/search_form_submit.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail/mocktail.dart'; + +import '../../../../testing/app.dart'; +import '../../../../testing/fakes/repositories/fake_continent_repository.dart'; +import '../../../../testing/fakes/repositories/fake_itinerary_config_repository.dart'; +import '../../../../testing/mocks.dart'; + +void main() { + group('SearchFormSubmit widget tests', () { + late SearchFormViewModel viewModel; + late MockGoRouter goRouter; + + setUp(() { + viewModel = SearchFormViewModel( + continentRepository: FakeContinentRepository(), + itineraryConfigRepository: FakeItineraryConfigRepository(), + ); + goRouter = MockGoRouter(); + }); + + loadWidget(WidgetTester tester) async { + await testApp( + tester, + SearchFormSubmit(viewModel: viewModel), + goRouter: goRouter, + ); + } + + testWidgets('Should be enabled and allow tap', (WidgetTester tester) async { + await loadWidget(tester); + expect(find.byType(SearchFormSubmit), findsOneWidget); + + // Tap should not navigate + await tester.tap(find.byKey(const ValueKey(searchFormSubmitButtonKey))); + verifyNever(() => goRouter.go(any())); + + // Fill in data + viewModel.guests = 2; + viewModel.selectedContinent = 'CONTINENT'; + final DateTimeRange newDateRange = DateTimeRange( + start: DateTime(2024, 1, 1), + end: DateTime(2024, 1, 31), + ); + viewModel.dateRange = newDateRange; + await tester.pumpAndSettle(); + + // Perform search + await tester.tap(find.byKey(const ValueKey(searchFormSubmitButtonKey))); + + // Should navigate to results screen + verify(() => goRouter.go('/results')).called(1); + }); + }); +} diff --git a/compass_app/app/test/utils/command_test.dart b/compass_app/app/test/utils/command_test.dart new file mode 100644 index 000000000..a2b1c8870 --- /dev/null +++ b/compass_app/app/test/utils/command_test.dart @@ -0,0 +1,102 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/utils/command.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter_test/flutter_test.dart'; + +void main() { + group('Command0 tests', () { + test('should complete void command', () async { + // Void action + final command = Command0(() => Future.value(Result.ok(null))); + + // Run void action + await command.execute(); + + // Action completed + expect(command.completed, true); + }); + + test('should complete bool command', () async { + // Action that returns bool + final command = Command0(() => Future.value(Result.ok(true))); + + // Run action with result + await command.execute(); + + // Action completed + expect(command.completed, true); + expect(command.result!.asOk.value, true); + }); + + test('running should be true', () async { + final command = Command0(() => Future.value(Result.ok(null))); + final future = command.execute(); + + // Action is running + expect(command.running, true); + + // Await execution + await future; + + // Action finished running + expect(command.running, false); + }); + + test('should only run once', () async { + int count = 0; + final command = Command0(() => Future.value(Result.ok(count++))); + final future = command.execute(); + + // Run multiple times + command.execute(); + command.execute(); + command.execute(); + command.execute(); + + // Await execution + await future; + + // Action is called once + expect(count, 1); + }); + + test('should handle errors', () async { + final command = + Command0(() => Future.value(Result.error(Exception('ERROR!')))); + await command.execute(); + expect(command.error, true); + expect(command.result, isA()); + }); + }); + + group('Command1 tests', () { + test('should complete void command, bool argument', () async { + // Void action with bool argument + final command = Command1((a) { + expect(a, true); + return Future.value(Result.ok(null)); + }); + + // Run void action, ignore void return + await command.execute(true); + + expect(command.completed, true); + }); + + test('should complete bool command, bool argument', () async { + // Action that returns bool argument + final command = + Command1((a) => Future.value(Result.ok(true))); + + // Run action with result and argument + await command.execute(true); + + // Argument was passed to onComplete + expect(command.completed, true); + expect(command.result!.asOk.value, true); + }); + }); +} diff --git a/compass_app/app/testing/app.dart b/compass_app/app/testing/app.dart new file mode 100644 index 000000000..2650a757d --- /dev/null +++ b/compass_app/app/testing/app.dart @@ -0,0 +1,40 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/ui/core/localization/applocalization.dart'; +import 'package:compass_app/ui/core/themes/theme.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_localizations/flutter_localizations.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:go_router/go_router.dart'; +import 'package:mocktail_image_network/mocktail_image_network.dart'; + +import 'mocks.dart'; + +testApp( + WidgetTester tester, + Widget body, { + GoRouter? goRouter, +}) async { + tester.view.devicePixelRatio = 1.0; + await tester.binding.setSurfaceSize(const Size(1200, 800)); + await mockNetworkImages(() async { + await tester.pumpWidget( + MaterialApp( + localizationsDelegates: [ + GlobalWidgetsLocalizations.delegate, + GlobalMaterialLocalizations.delegate, + AppLocalizationDelegate(), + ], + theme: AppTheme.lightTheme, + home: InheritedGoRouter( + goRouter: goRouter ?? MockGoRouter(), + child: Scaffold( + body: body, + ), + ), + ), + ); + }); +} diff --git a/compass_app/app/testing/fakes/repositories/fake_activities_repository.dart b/compass_app/app/testing/fakes/repositories/fake_activities_repository.dart new file mode 100644 index 000000000..84c8173d1 --- /dev/null +++ b/compass_app/app/testing/fakes/repositories/fake_activities_repository.dart @@ -0,0 +1,23 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/activity/activity_repository.dart'; +import 'package:compass_app/domain/models/activity/activity.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter/foundation.dart'; + +import '../../models/activity.dart'; +import '../../models/destination.dart'; + +class FakeActivityRepository implements ActivityRepository { + Map> activities = { + "DESTINATION": [kActivity], + kDestination1.ref: [kActivity], + }; + + @override + Future>> getByDestination(String ref) { + return SynchronousFuture(Result.ok(activities[ref]!)); + } +} diff --git a/compass_app/app/testing/fakes/repositories/fake_auth_repository.dart b/compass_app/app/testing/fakes/repositories/fake_auth_repository.dart new file mode 100644 index 000000000..55b8d1afe --- /dev/null +++ b/compass_app/app/testing/fakes/repositories/fake_auth_repository.dart @@ -0,0 +1,30 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/auth/auth_repository.dart'; +import 'package:compass_app/utils/result.dart'; + +class FakeAuthRepository extends AuthRepository { + String? token; + + @override + Future get isAuthenticated async => token != null; + + @override + Future> login({ + required String email, + required String password, + }) async { + token = 'TOKEN'; + notifyListeners(); + return Result.ok(null); + } + + @override + Future> logout() async { + token = null; + notifyListeners(); + return Result.ok(null); + } +} diff --git a/compass_app/app/testing/fakes/repositories/fake_booking_repository.dart b/compass_app/app/testing/fakes/repositories/fake_booking_repository.dart new file mode 100644 index 000000000..d6c3302de --- /dev/null +++ b/compass_app/app/testing/fakes/repositories/fake_booking_repository.dart @@ -0,0 +1,50 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/booking/booking_repository.dart'; +import 'package:compass_app/domain/models/booking/booking.dart'; +import 'package:compass_app/domain/models/booking/booking_summary.dart'; +import 'package:compass_app/utils/result.dart'; + +class FakeBookingRepository implements BookingRepository { + List bookings = List.empty(growable: true); + int sequentialId = 0; + + @override + Future> createBooking(Booking booking) async { + final bookingWithId = booking.copyWith(id: sequentialId++); + bookings.add(bookingWithId); + return Result.ok(null); + } + + @override + Future> getBooking(int id) async { + return Result.ok(bookings[id]); + } + + @override + Future>> getBookingsList() async { + return Result.ok(_createSummaries()); + } + + List _createSummaries() { + return bookings + .map( + (booking) => BookingSummary( + id: booking.id!, + name: + '${booking.destination.name}, ${booking.destination.continent}', + startDate: booking.startDate, + endDate: booking.endDate, + ), + ) + .toList(); + } + + @override + Future> delete(int id) async { + bookings.removeWhere((booking) => booking.id == id); + return Result.ok(null); + } +} diff --git a/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart b/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart new file mode 100644 index 000000000..1021cc023 --- /dev/null +++ b/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart @@ -0,0 +1,19 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/continent/continent_repository.dart'; +import 'package:compass_app/domain/models/continent/continent.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter/foundation.dart'; + +class FakeContinentRepository implements ContinentRepository { + @override + Future>> getContinents() { + return SynchronousFuture(Result.ok([ + const Continent(name: 'CONTINENT', imageUrl: 'URL'), + const Continent(name: 'CONTINENT2', imageUrl: 'URL'), + const Continent(name: 'CONTINENT3', imageUrl: 'URL'), + ])); + } +} diff --git a/compass_app/app/testing/fakes/repositories/fake_destination_repository.dart b/compass_app/app/testing/fakes/repositories/fake_destination_repository.dart new file mode 100644 index 000000000..65ec4d545 --- /dev/null +++ b/compass_app/app/testing/fakes/repositories/fake_destination_repository.dart @@ -0,0 +1,17 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/destination/destination_repository.dart'; +import 'package:compass_app/domain/models/destination/destination.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter/foundation.dart'; + +import '../../models/destination.dart'; + +class FakeDestinationRepository implements DestinationRepository { + @override + Future>> getDestinations() { + return SynchronousFuture(Result.ok([kDestination1, kDestination2])); + } +} diff --git a/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart b/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart new file mode 100644 index 000000000..d59d1318e --- /dev/null +++ b/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart @@ -0,0 +1,26 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/itinerary_config/itinerary_config_repository.dart'; +import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; +import 'package:compass_app/utils/result.dart'; +import 'package:flutter/foundation.dart'; + +class FakeItineraryConfigRepository implements ItineraryConfigRepository { + FakeItineraryConfigRepository({this.itineraryConfig}); + + ItineraryConfig? itineraryConfig; + + @override + Future> getItineraryConfig() { + return SynchronousFuture( + Result.ok(itineraryConfig ?? const ItineraryConfig())); + } + + @override + Future> setItineraryConfig(ItineraryConfig itineraryConfig) { + this.itineraryConfig = itineraryConfig; + return SynchronousFuture(Result.ok(null)); + } +} diff --git a/compass_app/app/testing/fakes/repositories/fake_user_repository.dart b/compass_app/app/testing/fakes/repositories/fake_user_repository.dart new file mode 100644 index 000000000..ef354d01c --- /dev/null +++ b/compass_app/app/testing/fakes/repositories/fake_user_repository.dart @@ -0,0 +1,16 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/repositories/user/user_repository.dart'; +import 'package:compass_app/domain/models/user/user.dart'; +import 'package:compass_app/utils/result.dart'; + +import '../../models/user.dart'; + +class FakeUserRepository implements UserRepository { + @override + Future> getUser() async { + return Result.ok(user); + } +} diff --git a/compass_app/app/testing/fakes/services/fake_api_client.dart b/compass_app/app/testing/fakes/services/fake_api_client.dart new file mode 100644 index 000000000..9f053e57e --- /dev/null +++ b/compass_app/app/testing/fakes/services/fake_api_client.dart @@ -0,0 +1,120 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/api/api_client.dart'; +import 'package:compass_app/data/services/api/model/booking/booking_api_model.dart'; +import 'package:compass_app/data/services/api/model/user/user_api_model.dart'; +import 'package:compass_app/domain/models/activity/activity.dart'; +import 'package:compass_app/domain/models/continent/continent.dart'; +import 'package:compass_app/domain/models/destination/destination.dart'; +import 'package:compass_app/utils/result.dart'; + +import '../../models/activity.dart'; +import '../../models/booking.dart'; +import '../../models/user.dart'; + +class FakeApiClient implements ApiClient { + // Should not increase when using cached data + int requestCount = 0; + + @override + Future>> getContinents() async { + requestCount++; + return Result.ok([ + const Continent(name: 'CONTINENT', imageUrl: 'URL'), + const Continent(name: 'CONTINENT2', imageUrl: 'URL'), + const Continent(name: 'CONTINENT3', imageUrl: 'URL'), + ]); + } + + @override + Future>> getDestinations() async { + requestCount++; + return Result.ok( + [ + const Destination( + ref: 'ref1', + name: 'name1', + country: 'country1', + continent: 'Europe', + knownFor: 'knownFor1', + tags: ['tags1'], + imageUrl: 'imageUrl1', + ), + const Destination( + ref: 'ref2', + name: 'name2', + country: 'country2', + continent: 'Europe', + knownFor: 'knownFor2', + tags: ['tags2'], + imageUrl: 'imageUrl2', + ), + ], + ); + } + + @override + Future>> getActivityByDestination(String ref) async { + requestCount++; + + if (ref == 'alaska') { + return Result.ok([ + const Activity( + name: 'Glacier Trekking and Ice Climbing', + description: + 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.', + locationName: 'Matanuska Glacier or Mendenhall Glacier', + duration: 8, + timeOfDay: TimeOfDay.morning, + familyFriendly: false, + price: 4, + destinationRef: 'alaska', + ref: 'glacier-trekking-and-ice-climbing', + imageUrl: + 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg', + ), + ]); + } + + if (ref == kBooking.destination.ref) { + return Result.ok([kActivity]); + } + + return Result.ok([]); + } + + @override + AuthHeaderProvider? authHeaderProvider; + + @override + Future> getBooking(int id) async { + return Result.ok(kBookingApiModel); + } + + @override + Future>> getBookings() async { + return Result.ok([kBookingApiModel]); + } + + List bookings = []; + + @override + Future> postBooking(BookingApiModel booking) async { + final bookingWithId = booking.copyWith(id: bookings.length); + bookings.add(bookingWithId); + return Result.ok(bookingWithId); + } + + @override + Future> getUser() async { + return Result.ok(userApiModel); + } + + @override + Future> deleteBooking(int id) async { + bookings.removeWhere((booking) => booking.id == id); + return Result.ok(null); + } +} diff --git a/compass_app/app/testing/fakes/services/fake_auth_api_client.dart b/compass_app/app/testing/fakes/services/fake_auth_api_client.dart new file mode 100644 index 000000000..714e2e7c3 --- /dev/null +++ b/compass_app/app/testing/fakes/services/fake_auth_api_client.dart @@ -0,0 +1,18 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/api/auth_api_client.dart'; +import 'package:compass_app/data/services/api/model/login_request/login_request.dart'; +import 'package:compass_app/data/services/api/model/login_response/login_response.dart'; +import 'package:compass_app/utils/result.dart'; + +class FakeAuthApiClient implements AuthApiClient { + @override + Future> login(LoginRequest loginRequest) async { + if (loginRequest.email == 'EMAIL' && loginRequest.password == 'PASSWORD') { + return Result.ok(const LoginResponse(token: 'TOKEN', userId: '123')); + } + return Result.error(Exception('ERROR!')); + } +} diff --git a/compass_app/app/testing/fakes/services/fake_shared_preferences_service.dart b/compass_app/app/testing/fakes/services/fake_shared_preferences_service.dart new file mode 100644 index 000000000..277869204 --- /dev/null +++ b/compass_app/app/testing/fakes/services/fake_shared_preferences_service.dart @@ -0,0 +1,21 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/shared_preferences_service.dart'; +import 'package:compass_app/utils/result.dart'; + +class FakeSharedPreferencesService implements SharedPreferencesService { + String? token; + + @override + Future> fetchToken() async { + return Result.ok(token); + } + + @override + Future> saveToken(String? token) async { + this.token = token; + return Result.ok(null); + } +} diff --git a/compass_app/app/testing/mocks.dart b/compass_app/app/testing/mocks.dart new file mode 100644 index 000000000..429ed99d9 --- /dev/null +++ b/compass_app/app/testing/mocks.dart @@ -0,0 +1,58 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; +import 'dart:io'; + +import 'package:go_router/go_router.dart'; +import 'package:mocktail/mocktail.dart'; + +class MockGoRouter extends Mock implements GoRouter {} + +class MockHttpClient extends Mock implements HttpClient {} + +class MockHttpHeaders extends Mock implements HttpHeaders {} + +class MockHttpClientRequest extends Mock implements HttpClientRequest {} + +class MockHttpClientResponse extends Mock implements HttpClientResponse {} + +extension HttpMethodMocks on MockHttpClient { + void mockGet(String path, Object object) { + when(() => get(any(), any(), path)).thenAnswer((invocation) { + final request = MockHttpClientRequest(); + final response = MockHttpClientResponse(); + when(() => request.close()).thenAnswer((_) => Future.value(response)); + when(() => request.headers).thenReturn(MockHttpHeaders()); + when(() => response.statusCode).thenReturn(200); + when(() => response.transform(utf8.decoder)) + .thenAnswer((_) => Stream.value(jsonEncode(object))); + return Future.value(request); + }); + } + + void mockPost(String path, Object object, [int statusCode = 201]) { + when(() => post(any(), any(), path)).thenAnswer((invocation) { + final request = MockHttpClientRequest(); + final response = MockHttpClientResponse(); + when(() => request.close()).thenAnswer((_) => Future.value(response)); + when(() => request.headers).thenReturn(MockHttpHeaders()); + when(() => response.statusCode).thenReturn(statusCode); + when(() => response.transform(utf8.decoder)) + .thenAnswer((_) => Stream.value(jsonEncode(object))); + return Future.value(request); + }); + } + + void mockDelete(String path) { + when(() => delete(any(), any(), path)).thenAnswer((invocation) { + final request = MockHttpClientRequest(); + final response = MockHttpClientResponse(); + when(() => request.close()).thenAnswer((_) => Future.value(response)); + when(() => request.headers).thenReturn(MockHttpHeaders()); + when(() => response.statusCode).thenReturn(204); + return Future.value(request); + }); + } +} diff --git a/compass_app/app/testing/models/activity.dart b/compass_app/app/testing/models/activity.dart new file mode 100644 index 000000000..a8e482a88 --- /dev/null +++ b/compass_app/app/testing/models/activity.dart @@ -0,0 +1,18 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/models/activity/activity.dart'; + +const kActivity = Activity( + description: 'DESCRIPTION', + destinationRef: 'DESTINATION', + duration: 3, + familyFriendly: true, + imageUrl: 'http://example.com/img.png', + locationName: 'LOCATION NAME', + name: 'NAME', + price: 3, + ref: 'REF', + timeOfDay: TimeOfDay.afternoon, +); diff --git a/compass_app/app/testing/models/booking.dart b/compass_app/app/testing/models/booking.dart new file mode 100644 index 000000000..9e3a34bfe --- /dev/null +++ b/compass_app/app/testing/models/booking.dart @@ -0,0 +1,33 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/api/model/booking/booking_api_model.dart'; +import 'package:compass_app/domain/models/booking/booking.dart'; +import 'package:compass_app/domain/models/booking/booking_summary.dart'; + +import 'activity.dart'; +import 'destination.dart'; + +final kBooking = Booking( + startDate: DateTime(2024, 01, 01), + endDate: DateTime(2024, 02, 12), + destination: kDestination1, + activity: [kActivity], +); + +final kBookingSummary = BookingSummary( + id: 0, + startDate: kBooking.startDate, + endDate: kBooking.endDate, + name: '${kDestination1.name}, ${kDestination1.continent}', +); + +final kBookingApiModel = BookingApiModel( + id: 0, + startDate: kBooking.startDate, + endDate: kBooking.endDate, + name: '${kDestination1.name}, ${kDestination1.continent}', + destinationRef: kDestination1.ref, + activitiesRef: [kActivity.ref], +); diff --git a/compass_app/app/testing/models/destination.dart b/compass_app/app/testing/models/destination.dart new file mode 100644 index 000000000..9844cb07d --- /dev/null +++ b/compass_app/app/testing/models/destination.dart @@ -0,0 +1,25 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/domain/models/destination/destination.dart'; + +const kDestination1 = Destination( + ref: 'ref1', + name: 'name1', + country: 'country1', + continent: 'Europe', + knownFor: 'knownFor1', + tags: ['tags1'], + imageUrl: 'imageUrl1', +); + +const kDestination2 = Destination( + ref: 'ref2', + name: 'name2', + country: 'country2', + continent: 'Europe', + knownFor: 'knownFor2', + tags: ['tags2'], + imageUrl: 'imageUrl2', +); diff --git a/compass_app/app/testing/models/user.dart b/compass_app/app/testing/models/user.dart new file mode 100644 index 000000000..a49b3413e --- /dev/null +++ b/compass_app/app/testing/models/user.dart @@ -0,0 +1,18 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:compass_app/data/services/api/model/user/user_api_model.dart'; +import 'package:compass_app/domain/models/user/user.dart'; + +const userApiModel = UserApiModel( + id: 'ID', + name: 'NAME', + email: 'EMAIL', + picture: 'assets/user.jpg', +); + +const user = User( + name: 'NAME', + picture: 'assets/user.jpg', +); diff --git a/experimental/linting_tool/web/favicon.png b/compass_app/app/web/favicon.png similarity index 100% rename from experimental/linting_tool/web/favicon.png rename to compass_app/app/web/favicon.png diff --git a/experimental/linting_tool/web/icons/Icon-192.png b/compass_app/app/web/icons/Icon-192.png similarity index 100% rename from experimental/linting_tool/web/icons/Icon-192.png rename to compass_app/app/web/icons/Icon-192.png diff --git a/experimental/linting_tool/web/icons/Icon-512.png b/compass_app/app/web/icons/Icon-512.png similarity index 100% rename from experimental/linting_tool/web/icons/Icon-512.png rename to compass_app/app/web/icons/Icon-512.png diff --git a/compass_app/app/web/icons/Icon-maskable-192.png b/compass_app/app/web/icons/Icon-maskable-192.png new file mode 100644 index 000000000..eb9b4d76e Binary files /dev/null and b/compass_app/app/web/icons/Icon-maskable-192.png differ diff --git a/compass_app/app/web/icons/Icon-maskable-512.png b/compass_app/app/web/icons/Icon-maskable-512.png new file mode 100644 index 000000000..d69c56691 Binary files /dev/null and b/compass_app/app/web/icons/Icon-maskable-512.png differ diff --git a/compass_app/app/web/index.html b/compass_app/app/web/index.html new file mode 100644 index 000000000..39a66ceff --- /dev/null +++ b/compass_app/app/web/index.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + compass_app + + + + + + diff --git a/experimental/linting_tool/web/manifest.json b/compass_app/app/web/manifest.json similarity index 56% rename from experimental/linting_tool/web/manifest.json rename to compass_app/app/web/manifest.json index ef17815cc..36e3af0d1 100644 --- a/experimental/linting_tool/web/manifest.json +++ b/compass_app/app/web/manifest.json @@ -1,6 +1,6 @@ { - "name": "linting_tool", - "short_name": "linting_tool", + "name": "compass_app", + "short_name": "compass_app", "start_url": ".", "display": "standalone", "background_color": "#0175C2", @@ -18,6 +18,18 @@ "src": "icons/Icon-512.png", "sizes": "512x512", "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" } ] } diff --git a/experimental/linting_tool/windows/.gitignore b/compass_app/app/windows/.gitignore similarity index 100% rename from experimental/linting_tool/windows/.gitignore rename to compass_app/app/windows/.gitignore diff --git a/experimental/linting_tool/windows/CMakeLists.txt b/compass_app/app/windows/CMakeLists.txt similarity index 77% rename from experimental/linting_tool/windows/CMakeLists.txt rename to compass_app/app/windows/CMakeLists.txt index f85a4a0c2..492d7ff09 100644 --- a/experimental/linting_tool/windows/CMakeLists.txt +++ b/compass_app/app/windows/CMakeLists.txt @@ -1,13 +1,16 @@ -cmake_minimum_required(VERSION 3.15) -project(linting_tool LANGUAGES CXX) +# Project-level configuration. +cmake_minimum_required(VERSION 3.14) +project(compass_app LANGUAGES CXX) -set(BINARY_NAME "linting_tool") +# The name of the executable created for the application. Change this to change +# the on-disk name of your application. +set(BINARY_NAME "compass_app") -cmake_policy(SET CMP0063 NEW) +# Explicitly opt in to modern CMake behaviors to avoid warnings with recent +# versions of CMake. +cmake_policy(VERSION 3.14...3.25) -set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") - -# Configure build options. +# Define build configuration option. get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) if(IS_MULTICONFIG) set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release" @@ -20,7 +23,7 @@ else() "Debug" "Profile" "Release") endif() endif() - +# Define settings for the Profile build mode. set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}") set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}") set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}") @@ -30,6 +33,10 @@ set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") add_definitions(-DUNICODE -D_UNICODE) # Compilation settings that should be applied to most targets. +# +# Be cautious about adding new options here, as plugins use this function by +# default. In most cases, you should add new options to specific targets instead +# of modifying this function. function(APPLY_STANDARD_SETTINGS TARGET) target_compile_features(${TARGET} PUBLIC cxx_std_17) target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") @@ -38,14 +45,14 @@ function(APPLY_STANDARD_SETTINGS TARGET) target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>") endfunction() -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") - # Flutter library and tool build rules. +set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") add_subdirectory(${FLUTTER_MANAGED_DIR}) -# Application build +# Application build; see runner/CMakeLists.txt. add_subdirectory("runner") + # Generated plugin build rules, which manage building the plugins and adding # them to the application. include(flutter/generated_plugins.cmake) @@ -80,6 +87,12 @@ if(PLUGIN_BUNDLED_LIBRARIES) COMPONENT Runtime) endif() +# Copy the native assets provided by the build.dart from all packages. +set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/") +install(DIRECTORY "${NATIVE_ASSETS_DIR}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) + # Fully re-copy the assets directory on each build to avoid having stale files # from a previous install. set(FLUTTER_ASSET_DIR_NAME "flutter_assets") diff --git a/experimental/linting_tool/windows/flutter/CMakeLists.txt b/compass_app/app/windows/flutter/CMakeLists.txt similarity index 91% rename from experimental/linting_tool/windows/flutter/CMakeLists.txt rename to compass_app/app/windows/flutter/CMakeLists.txt index b02c5485c..903f4899d 100644 --- a/experimental/linting_tool/windows/flutter/CMakeLists.txt +++ b/compass_app/app/windows/flutter/CMakeLists.txt @@ -1,4 +1,5 @@ -cmake_minimum_required(VERSION 3.15) +# This file controls Flutter-level build steps. It should not be edited. +cmake_minimum_required(VERSION 3.14) set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") @@ -9,6 +10,11 @@ include(${EPHEMERAL_DIR}/generated_config.cmake) # https://github.com/flutter/flutter/issues/57146. set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") +# Set fallback configurations for older versions of the flutter tool. +if (NOT DEFINED FLUTTER_TARGET_PLATFORM) + set(FLUTTER_TARGET_PLATFORM "windows-x64") +endif() + # === Flutter Library === set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") @@ -91,7 +97,7 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -E env ${FLUTTER_TOOL_ENVIRONMENT} "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - windows-x64 $ + ${FLUTTER_TARGET_PLATFORM} $ VERBATIM ) add_custom_target(flutter_assemble DEPENDS diff --git a/experimental/linting_tool/windows/flutter/generated_plugin_registrant.cc b/compass_app/app/windows/flutter/generated_plugin_registrant.cc similarity index 51% rename from experimental/linting_tool/windows/flutter/generated_plugin_registrant.cc rename to compass_app/app/windows/flutter/generated_plugin_registrant.cc index cd2d5c198..c3384ec52 100644 --- a/experimental/linting_tool/windows/flutter/generated_plugin_registrant.cc +++ b/compass_app/app/windows/flutter/generated_plugin_registrant.cc @@ -6,15 +6,12 @@ #include "generated_plugin_registrant.h" -#include +#include #include -#include void RegisterPlugins(flutter::PluginRegistry* registry) { - FileSelectorWindowsRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FileSelectorWindows")); + SharePlusWindowsPluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi")); UrlLauncherWindowsRegisterWithRegistrar( registry->GetRegistrarForPlugin("UrlLauncherWindows")); - WindowSizePluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("WindowSizePlugin")); } diff --git a/experimental/linting_tool/windows/flutter/generated_plugin_registrant.h b/compass_app/app/windows/flutter/generated_plugin_registrant.h similarity index 100% rename from experimental/linting_tool/windows/flutter/generated_plugin_registrant.h rename to compass_app/app/windows/flutter/generated_plugin_registrant.h diff --git a/experimental/linting_tool/windows/flutter/generated_plugins.cmake b/compass_app/app/windows/flutter/generated_plugins.cmake similarity index 95% rename from experimental/linting_tool/windows/flutter/generated_plugins.cmake rename to compass_app/app/windows/flutter/generated_plugins.cmake index a22fdb08d..01d383628 100644 --- a/experimental/linting_tool/windows/flutter/generated_plugins.cmake +++ b/compass_app/app/windows/flutter/generated_plugins.cmake @@ -3,9 +3,8 @@ # list(APPEND FLUTTER_PLUGIN_LIST - file_selector_windows + share_plus url_launcher_windows - window_size ) list(APPEND FLUTTER_FFI_PLUGIN_LIST diff --git a/compass_app/app/windows/runner/CMakeLists.txt b/compass_app/app/windows/runner/CMakeLists.txt new file mode 100644 index 000000000..394917c05 --- /dev/null +++ b/compass_app/app/windows/runner/CMakeLists.txt @@ -0,0 +1,40 @@ +cmake_minimum_required(VERSION 3.14) +project(runner LANGUAGES CXX) + +# Define the application target. To change its name, change BINARY_NAME in the +# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer +# work. +# +# Any new source files that you add to the application should be added here. +add_executable(${BINARY_NAME} WIN32 + "flutter_window.cpp" + "main.cpp" + "utils.cpp" + "win32_window.cpp" + "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" + "Runner.rc" + "runner.exe.manifest" +) + +# Apply the standard set of build settings. This can be removed for applications +# that need different build settings. +apply_standard_settings(${BINARY_NAME}) + +# Add preprocessor definitions for the build version. +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") + +# Disable Windows macros that collide with C++ standard library functions. +target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") + +# Add dependency libraries and include directories. Add any application-specific +# dependencies here. +target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) +target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") +target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") + +# Run the Flutter tool portions of the build. This must not be removed. +add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/experimental/linting_tool/windows/runner/Runner.rc b/compass_app/app/windows/runner/Runner.rc similarity index 76% rename from experimental/linting_tool/windows/runner/Runner.rc rename to compass_app/app/windows/runner/Runner.rc index c1ee378ef..7eb0a402b 100644 --- a/experimental/linting_tool/windows/runner/Runner.rc +++ b/compass_app/app/windows/runner/Runner.rc @@ -60,14 +60,14 @@ IDI_APP_ICON ICON "resources\\app_icon.ico" // Version // -#ifdef FLUTTER_BUILD_NUMBER -#define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER +#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) +#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD #else -#define VERSION_AS_NUMBER 1,0,0 +#define VERSION_AS_NUMBER 1,0,0,0 #endif -#ifdef FLUTTER_BUILD_NAME -#define VERSION_AS_STRING #FLUTTER_BUILD_NAME +#if defined(FLUTTER_VERSION) +#define VERSION_AS_STRING FLUTTER_VERSION #else #define VERSION_AS_STRING "1.0.0" #endif @@ -89,13 +89,13 @@ BEGIN BEGIN BLOCK "040904e4" BEGIN - VALUE "CompanyName", "dev.flutter" "\0" - VALUE "FileDescription", "A new Flutter project." "\0" + VALUE "CompanyName", "com.example" "\0" + VALUE "FileDescription", "compass_app" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "linting_tool" "\0" - VALUE "LegalCopyright", "Copyright (C) 2021 dev.flutter. All rights reserved." "\0" - VALUE "OriginalFilename", "linting_tool.exe" "\0" - VALUE "ProductName", "linting_tool" "\0" + VALUE "InternalName", "compass_app" "\0" + VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0" + VALUE "OriginalFilename", "compass_app.exe" "\0" + VALUE "ProductName", "compass_app" "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0" END END diff --git a/experimental/linting_tool/windows/runner/flutter_window.cpp b/compass_app/app/windows/runner/flutter_window.cpp similarity index 78% rename from experimental/linting_tool/windows/runner/flutter_window.cpp rename to compass_app/app/windows/runner/flutter_window.cpp index 41bbc5e03..955ee3038 100644 --- a/experimental/linting_tool/windows/runner/flutter_window.cpp +++ b/compass_app/app/windows/runner/flutter_window.cpp @@ -4,9 +4,8 @@ #include "flutter/generated_plugin_registrant.h" -FlutterWindow::FlutterWindow(RunLoop* run_loop, - const flutter::DartProject& project) - : run_loop_(run_loop), project_(project) {} +FlutterWindow::FlutterWindow(const flutter::DartProject& project) + : project_(project) {} FlutterWindow::~FlutterWindow() {} @@ -26,14 +25,22 @@ bool FlutterWindow::OnCreate() { return false; } RegisterPlugins(flutter_controller_->engine()); - run_loop_->RegisterFlutterInstance(flutter_controller_->engine()); SetChildContent(flutter_controller_->view()->GetNativeWindow()); + + flutter_controller_->engine()->SetNextFrameCallback([&]() { + this->Show(); + }); + + // Flutter can complete the first frame before the "show window" callback is + // registered. The following call ensures a frame is pending to ensure the + // window is shown. It is a no-op if the first frame hasn't completed yet. + flutter_controller_->ForceRedraw(); + return true; } void FlutterWindow::OnDestroy() { if (flutter_controller_) { - run_loop_->UnregisterFlutterInstance(flutter_controller_->engine()); flutter_controller_ = nullptr; } diff --git a/experimental/linting_tool/windows/runner/flutter_window.h b/compass_app/app/windows/runner/flutter_window.h similarity index 71% rename from experimental/linting_tool/windows/runner/flutter_window.h rename to compass_app/app/windows/runner/flutter_window.h index b663ddd50..6da0652f0 100644 --- a/experimental/linting_tool/windows/runner/flutter_window.h +++ b/compass_app/app/windows/runner/flutter_window.h @@ -6,16 +6,13 @@ #include -#include "run_loop.h" #include "win32_window.h" // A window that does nothing but host a Flutter view. class FlutterWindow : public Win32Window { public: - // Creates a new FlutterWindow driven by the |run_loop|, hosting a - // Flutter view running |project|. - explicit FlutterWindow(RunLoop* run_loop, - const flutter::DartProject& project); + // Creates a new FlutterWindow hosting a Flutter view running |project|. + explicit FlutterWindow(const flutter::DartProject& project); virtual ~FlutterWindow(); protected: @@ -26,9 +23,6 @@ class FlutterWindow : public Win32Window { LPARAM const lparam) noexcept override; private: - // The run loop driving events for this window. - RunLoop* run_loop_; - // The project to run. flutter::DartProject project_; diff --git a/experimental/linting_tool/windows/runner/main.cpp b/compass_app/app/windows/runner/main.cpp similarity index 83% rename from experimental/linting_tool/windows/runner/main.cpp rename to compass_app/app/windows/runner/main.cpp index 51bd7dad4..6f64c30e6 100644 --- a/experimental/linting_tool/windows/runner/main.cpp +++ b/compass_app/app/windows/runner/main.cpp @@ -3,7 +3,6 @@ #include #include "flutter_window.h" -#include "run_loop.h" #include "utils.h" int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, @@ -18,8 +17,6 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, // plugins. ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); - RunLoop run_loop; - flutter::DartProject project(L"data"); std::vector command_line_arguments = @@ -27,15 +24,19 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); - FlutterWindow window(&run_loop, project); + FlutterWindow window(project); Win32Window::Point origin(10, 10); Win32Window::Size size(1280, 720); - if (!window.CreateAndShow(L"linting_tool", origin, size)) { + if (!window.Create(L"compass_app", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true); - run_loop.Run(); + ::MSG msg; + while (::GetMessage(&msg, nullptr, 0, 0)) { + ::TranslateMessage(&msg); + ::DispatchMessage(&msg); + } ::CoUninitialize(); return EXIT_SUCCESS; diff --git a/experimental/linting_tool/windows/runner/resource.h b/compass_app/app/windows/runner/resource.h similarity index 100% rename from experimental/linting_tool/windows/runner/resource.h rename to compass_app/app/windows/runner/resource.h diff --git a/experimental/linting_tool/windows/runner/resources/app_icon.ico b/compass_app/app/windows/runner/resources/app_icon.ico similarity index 100% rename from experimental/linting_tool/windows/runner/resources/app_icon.ico rename to compass_app/app/windows/runner/resources/app_icon.ico diff --git a/experimental/linting_tool/windows/runner/runner.exe.manifest b/compass_app/app/windows/runner/runner.exe.manifest similarity index 95% rename from experimental/linting_tool/windows/runner/runner.exe.manifest rename to compass_app/app/windows/runner/runner.exe.manifest index c977c4a42..a42ea7687 100644 --- a/experimental/linting_tool/windows/runner/runner.exe.manifest +++ b/compass_app/app/windows/runner/runner.exe.manifest @@ -7,7 +7,7 @@ - + diff --git a/experimental/linting_tool/windows/runner/utils.cpp b/compass_app/app/windows/runner/utils.cpp similarity index 80% rename from experimental/linting_tool/windows/runner/utils.cpp rename to compass_app/app/windows/runner/utils.cpp index d19bdbbcc..3a0b46511 100644 --- a/experimental/linting_tool/windows/runner/utils.cpp +++ b/compass_app/app/windows/runner/utils.cpp @@ -45,18 +45,19 @@ std::string Utf8FromUtf16(const wchar_t* utf16_string) { if (utf16_string == nullptr) { return std::string(); } - int target_length = ::WideCharToMultiByte( + unsigned int target_length = ::WideCharToMultiByte( CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, nullptr, 0, nullptr, nullptr); - if (target_length == 0) { - return std::string(); - } + -1, nullptr, 0, nullptr, nullptr) + -1; // remove the trailing null character + int input_length = (int)wcslen(utf16_string); std::string utf8_string; + if (target_length == 0 || target_length > utf8_string.max_size()) { + return utf8_string; + } utf8_string.resize(target_length); int converted_length = ::WideCharToMultiByte( CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, utf8_string.data(), - target_length, nullptr, nullptr); + input_length, utf8_string.data(), target_length, nullptr, nullptr); if (converted_length == 0) { return std::string(); } diff --git a/experimental/linting_tool/windows/runner/utils.h b/compass_app/app/windows/runner/utils.h similarity index 100% rename from experimental/linting_tool/windows/runner/utils.h rename to compass_app/app/windows/runner/utils.h diff --git a/experimental/linting_tool/windows/runner/win32_window.cpp b/compass_app/app/windows/runner/win32_window.cpp similarity index 78% rename from experimental/linting_tool/windows/runner/win32_window.cpp rename to compass_app/app/windows/runner/win32_window.cpp index c10f08dc7..60608d0fe 100644 --- a/experimental/linting_tool/windows/runner/win32_window.cpp +++ b/compass_app/app/windows/runner/win32_window.cpp @@ -1,13 +1,31 @@ #include "win32_window.h" +#include #include #include "resource.h" namespace { +/// Window attribute that enables dark mode window decorations. +/// +/// Redefined in case the developer's machine has a Windows SDK older than +/// version 10.0.22000.0. +/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute +#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE +#define DWMWA_USE_IMMERSIVE_DARK_MODE 20 +#endif + constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW"; +/// Registry key for app theme preference. +/// +/// A value of 0 indicates apps should use dark mode. A non-zero or missing +/// value indicates apps should use light mode. +constexpr const wchar_t kGetPreferredBrightnessRegKey[] = + L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"; +constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme"; + // The number of Win32Window objects that currently exist. static int g_active_window_count = 0; @@ -31,8 +49,8 @@ void EnableFullDpiSupportIfAvailable(HWND hwnd) { GetProcAddress(user32_module, "EnableNonClientDpiScaling")); if (enable_non_client_dpi_scaling != nullptr) { enable_non_client_dpi_scaling(hwnd); - FreeLibrary(user32_module); } + FreeLibrary(user32_module); } } // namespace @@ -42,7 +60,7 @@ class WindowClassRegistrar { public: ~WindowClassRegistrar() = default; - // Returns the singleton registar instance. + // Returns the singleton registrar instance. static WindowClassRegistrar* GetInstance() { if (!instance_) { instance_ = new WindowClassRegistrar(); @@ -102,9 +120,9 @@ Win32Window::~Win32Window() { Destroy(); } -bool Win32Window::CreateAndShow(const std::wstring& title, - const Point& origin, - const Size& size) { +bool Win32Window::Create(const std::wstring& title, + const Point& origin, + const Size& size) { Destroy(); const wchar_t* window_class = @@ -117,7 +135,7 @@ bool Win32Window::CreateAndShow(const std::wstring& title, double scale_factor = dpi / 96.0; HWND window = CreateWindow( - window_class, title.c_str(), WS_OVERLAPPEDWINDOW | WS_VISIBLE, + window_class, title.c_str(), WS_OVERLAPPEDWINDOW, Scale(origin.x, scale_factor), Scale(origin.y, scale_factor), Scale(size.width, scale_factor), Scale(size.height, scale_factor), nullptr, nullptr, GetModuleHandle(nullptr), this); @@ -126,9 +144,15 @@ bool Win32Window::CreateAndShow(const std::wstring& title, return false; } + UpdateTheme(window); + return OnCreate(); } +bool Win32Window::Show() { + return ShowWindow(window_handle_, SW_SHOWNORMAL); +} + // static LRESULT CALLBACK Win32Window::WndProc(HWND const window, UINT const message, @@ -188,6 +212,10 @@ Win32Window::MessageHandler(HWND hwnd, SetFocus(child_content_); } return 0; + + case WM_DWMCOLORIZATIONCOLORCHANGED: + UpdateTheme(hwnd); + return 0; } return DefWindowProc(window_handle_, message, wparam, lparam); @@ -243,3 +271,18 @@ bool Win32Window::OnCreate() { void Win32Window::OnDestroy() { // No-op; provided for subclasses. } + +void Win32Window::UpdateTheme(HWND const window) { + DWORD light_mode; + DWORD light_mode_size = sizeof(light_mode); + LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey, + kGetPreferredBrightnessRegValue, + RRF_RT_REG_DWORD, nullptr, &light_mode, + &light_mode_size); + + if (result == ERROR_SUCCESS) { + BOOL enable_dark_mode = light_mode == 0; + DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE, + &enable_dark_mode, sizeof(enable_dark_mode)); + } +} diff --git a/experimental/linting_tool/windows/runner/win32_window.h b/compass_app/app/windows/runner/win32_window.h similarity index 81% rename from experimental/linting_tool/windows/runner/win32_window.h rename to compass_app/app/windows/runner/win32_window.h index 17ba43112..e901dde68 100644 --- a/experimental/linting_tool/windows/runner/win32_window.h +++ b/compass_app/app/windows/runner/win32_window.h @@ -28,15 +28,16 @@ class Win32Window { Win32Window(); virtual ~Win32Window(); - // Creates and shows a win32 window with |title| and position and size using + // Creates a win32 window with |title| that is positioned and sized using // |origin| and |size|. New windows are created on the default monitor. Window // sizes are specified to the OS in physical pixels, hence to ensure a - // consistent size to will treat the width height passed in to this function - // as logical pixels and scale to appropriate for the default monitor. Returns - // true if the window was created successfully. - bool CreateAndShow(const std::wstring& title, - const Point& origin, - const Size& size); + // consistent size this function will scale the inputted width and height as + // as appropriate for the default monitor. The window is invisible until + // |Show| is called. Returns true if the window was created successfully. + bool Create(const std::wstring& title, const Point& origin, const Size& size); + + // Show the current window. Returns true if the window was successfully shown. + bool Show(); // Release OS resources associated with window. void Destroy(); @@ -76,7 +77,7 @@ class Win32Window { // OS callback called by message pump. Handles the WM_NCCREATE message which // is passed when the non-client area is being created and enables automatic // non-client DPI scaling so that the non-client area automatically - // responsponds to changes in DPI. All other messages are handled by + // responds to changes in DPI. All other messages are handled by // MessageHandler. static LRESULT CALLBACK WndProc(HWND const window, UINT const message, @@ -86,6 +87,9 @@ class Win32Window { // Retrieves a class instance pointer for |window| static Win32Window* GetThisFromHandle(HWND const window) noexcept; + // Update the window frame's theme to match the system theme. + static void UpdateTheme(HWND const window); + bool quit_on_close_ = false; // window handle for top level window. diff --git a/compass_app/docs/Global — Splash.png b/compass_app/docs/Global — Splash.png new file mode 100644 index 000000000..aa6339692 Binary files /dev/null and b/compass_app/docs/Global — Splash.png differ diff --git a/compass_app/docs/Legacy — Activities.png b/compass_app/docs/Legacy — Activities.png new file mode 100644 index 000000000..5f4ca98ff Binary files /dev/null and b/compass_app/docs/Legacy — Activities.png differ diff --git a/compass_app/docs/Legacy — Book.png b/compass_app/docs/Legacy — Book.png new file mode 100644 index 000000000..77debae34 Binary files /dev/null and b/compass_app/docs/Legacy — Book.png differ diff --git a/compass_app/docs/Legacy — Home.png b/compass_app/docs/Legacy — Home.png new file mode 100644 index 000000000..40cd44b4b Binary files /dev/null and b/compass_app/docs/Legacy — Home.png differ diff --git a/compass_app/server/.gitignore b/compass_app/server/.gitignore new file mode 100644 index 000000000..3a8579040 --- /dev/null +++ b/compass_app/server/.gitignore @@ -0,0 +1,3 @@ +# https://dart.dev/guides/libraries/private-files +# Created by `dart pub` +.dart_tool/ diff --git a/compass_app/server/analysis_options.yaml b/compass_app/server/analysis_options.yaml new file mode 100644 index 000000000..dee8927aa --- /dev/null +++ b/compass_app/server/analysis_options.yaml @@ -0,0 +1,30 @@ +# This file configures the static analysis results for your project (errors, +# warnings, and lints). +# +# This enables the 'recommended' set of lints from `package:lints`. +# This set helps identify many issues that may lead to problems when running +# or consuming Dart code, and enforces writing Dart using a single, idiomatic +# style and format. +# +# If you want a smaller set of lints you can change this to specify +# 'package:lints/core.yaml'. These are just the most critical lints +# (the recommended set includes the core lints). +# The core lints are also what is used by pub.dev for scoring packages. + +include: package:lints/recommended.yaml + +# Uncomment the following section to specify additional rules. + +# linter: +# rules: +# - camel_case_types + +# analyzer: +# exclude: +# - path/to/excluded/files/** + +# For more information about the core and recommended set of lints, see +# https://dart.dev/go/core-lints + +# For additional information about configuring this file, see +# https://dart.dev/guides/language/analysis-options diff --git a/compass_app/server/bin/compass_server.dart b/compass_app/server/bin/compass_server.dart new file mode 100644 index 000000000..7f2011552 --- /dev/null +++ b/compass_app/server/bin/compass_server.dart @@ -0,0 +1,39 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:io'; + +import 'package:compass_server/middleware/auth.dart'; +import 'package:compass_server/routes/booking.dart'; +import 'package:compass_server/routes/continent.dart'; +import 'package:compass_server/routes/destination.dart'; +import 'package:compass_server/routes/login.dart'; +import 'package:compass_server/routes/user.dart'; +import 'package:shelf/shelf.dart'; +import 'package:shelf/shelf_io.dart'; +import 'package:shelf_router/shelf_router.dart'; + +// Configure routes. +final _router = Router() + ..get('/continent', continentHandler) + ..mount('/destination', DestinationApi().router.call) + ..mount('/booking', BookingApi().router.call) + ..mount('/user', UserApi().router.call) + ..mount('/login', LoginApi().router.call); + +void main(List args) async { + // Use any available host or container IP (usually `0.0.0.0`). + final ip = InternetAddress.anyIPv4; + + // Configure a pipeline that logs requests. + final handler = Pipeline() + .addMiddleware(logRequests()) + .addMiddleware(authRequests()) + .addHandler(_router.call); + + // For running in containers, we respect the PORT environment variable. + final port = int.parse(Platform.environment['PORT'] ?? '8080'); + final server = await serve(handler, ip, port); + print('Server listening on port ${server.port}'); +} diff --git a/compass_app/server/lib/config/assets.dart b/compass_app/server/lib/config/assets.dart new file mode 100644 index 000000000..6ee55cf86 --- /dev/null +++ b/compass_app/server/lib/config/assets.dart @@ -0,0 +1,23 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; +import 'dart:io'; + +import '../model/activity/activity.dart'; +import '../model/destination/destination.dart'; + +class Assets { + static const _activities = '../app/assets/activities.json'; + static const _destinations = '../app/assets/destinations.json'; + + static final List destinations = + (json.decode(File(Assets._destinations).readAsStringSync()) as List) + .map((element) => Destination.fromJson(element)) + .toList(); + static final List activities = + (json.decode(File(Assets._activities).readAsStringSync()) as List) + .map((element) => Activity.fromJson(element)) + .toList(); +} diff --git a/compass_app/server/lib/config/constants.dart b/compass_app/server/lib/config/constants.dart new file mode 100644 index 000000000..60f35b40d --- /dev/null +++ b/compass_app/server/lib/config/constants.dart @@ -0,0 +1,34 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../model/user/user.dart'; + +class Constants { + /// Email for the hardcoded login. + static const email = 'email@example.com'; + + /// Password for the hardcoded login. + static const password = 'password'; + + /// Token to be returned on successful login. + static const token = + ' e1c37dfd973353b78bb71df050e2c6e72d53034e148920383968ae49b96f1fd2'; + + /// User id to be returned on successful login. + static const userId = '123'; + + /// User name for the hardcoded user. + static const name = 'Sofie'; + + /// For demo purposes we use a local asset. + static const picture = 'assets/user.jpg'; + + /// Hardcoded user. + static const user = User( + id: Constants.userId, + name: Constants.name, + email: Constants.email, + picture: Constants.picture, + ); +} diff --git a/compass_app/server/lib/middleware/auth.dart b/compass_app/server/lib/middleware/auth.dart new file mode 100644 index 000000000..4ee13c6ff --- /dev/null +++ b/compass_app/server/lib/middleware/auth.dart @@ -0,0 +1,30 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:shelf/shelf.dart'; + +import '../config/constants.dart'; + +/// Implements a simple auth Middleware. +/// +/// This is provided as an example for Flutter architectural purposes only +/// and shouldn't be used as example on how to implement authentication +/// in production. +/// +/// This Middleware checks if the token is present in the request headers, +/// otherwise returns a 401 Unauthorized response. +/// +/// This token does not expire and is not secure. +Middleware authRequests() => (innerHandler) { + return (Request request) async { + if (request.url.path != 'login' && + request.headers['Authorization'] != 'Bearer ${Constants.token}') { + // If the request is not a login request and the token is not present, + // return a 401 Unauthorized response. + return Response.unauthorized('Unauthorized'); + } + + return innerHandler(request); + }; + }; diff --git a/compass_app/server/lib/model/activity/activity.dart b/compass_app/server/lib/model/activity/activity.dart new file mode 100644 index 000000000..eef66e8dc --- /dev/null +++ b/compass_app/server/lib/model/activity/activity.dart @@ -0,0 +1,56 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'activity.freezed.dart'; + +part 'activity.g.dart'; + +enum TimeOfDay { + any, + morning, + afternoon, + evening, + night, +} + +@freezed +class Activity with _$Activity { + const factory Activity({ + /// e.g. 'Glacier Trekking and Ice Climbing' + required String name, + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + required String description, + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + required String locationName, + + /// Duration in days. + /// e.g. 8 + required int duration, + + /// e.g. 'morning' + required TimeOfDay timeOfDay, + + /// e.g. false + required bool familyFriendly, + + /// e.g. 4 + required int price, + + /// e.g. 'alaska' + required String destinationRef, + + /// e.g. 'glacier-trekking-and-ice-climbing' + required String ref, + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + required String imageUrl, + }) = _Activity; + + factory Activity.fromJson(Map json) => + _$ActivityFromJson(json); +} diff --git a/compass_app/server/lib/model/activity/activity.freezed.dart b/compass_app/server/lib/model/activity/activity.freezed.dart new file mode 100644 index 000000000..6e277d0bc --- /dev/null +++ b/compass_app/server/lib/model/activity/activity.freezed.dart @@ -0,0 +1,425 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'activity.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Activity _$ActivityFromJson(Map json) { + return _Activity.fromJson(json); +} + +/// @nodoc +mixin _$Activity { + /// e.g. 'Glacier Trekking and Ice Climbing' + String get name => throw _privateConstructorUsedError; + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + String get description => throw _privateConstructorUsedError; + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + String get locationName => throw _privateConstructorUsedError; + + /// Duration in days. + /// e.g. 8 + int get duration => throw _privateConstructorUsedError; + + /// e.g. 'morning' + TimeOfDay get timeOfDay => throw _privateConstructorUsedError; + + /// e.g. false + bool get familyFriendly => throw _privateConstructorUsedError; + + /// e.g. 4 + int get price => throw _privateConstructorUsedError; + + /// e.g. 'alaska' + String get destinationRef => throw _privateConstructorUsedError; + + /// e.g. 'glacier-trekking-and-ice-climbing' + String get ref => throw _privateConstructorUsedError; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + String get imageUrl => throw _privateConstructorUsedError; + + /// Serializes this Activity to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $ActivityCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $ActivityCopyWith<$Res> { + factory $ActivityCopyWith(Activity value, $Res Function(Activity) then) = + _$ActivityCopyWithImpl<$Res, Activity>; + @useResult + $Res call( + {String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl}); +} + +/// @nodoc +class _$ActivityCopyWithImpl<$Res, $Val extends Activity> + implements $ActivityCopyWith<$Res> { + _$ActivityCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? description = null, + Object? locationName = null, + Object? duration = null, + Object? timeOfDay = null, + Object? familyFriendly = null, + Object? price = null, + Object? destinationRef = null, + Object? ref = null, + Object? imageUrl = null, + }) { + return _then(_value.copyWith( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$ActivityImplCopyWith<$Res> + implements $ActivityCopyWith<$Res> { + factory _$$ActivityImplCopyWith( + _$ActivityImpl value, $Res Function(_$ActivityImpl) then) = + __$$ActivityImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl}); +} + +/// @nodoc +class __$$ActivityImplCopyWithImpl<$Res> + extends _$ActivityCopyWithImpl<$Res, _$ActivityImpl> + implements _$$ActivityImplCopyWith<$Res> { + __$$ActivityImplCopyWithImpl( + _$ActivityImpl _value, $Res Function(_$ActivityImpl) _then) + : super(_value, _then); + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? description = null, + Object? locationName = null, + Object? duration = null, + Object? timeOfDay = null, + Object? familyFriendly = null, + Object? price = null, + Object? destinationRef = null, + Object? ref = null, + Object? imageUrl = null, + }) { + return _then(_$ActivityImpl( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$ActivityImpl implements _Activity { + const _$ActivityImpl( + {required this.name, + required this.description, + required this.locationName, + required this.duration, + required this.timeOfDay, + required this.familyFriendly, + required this.price, + required this.destinationRef, + required this.ref, + required this.imageUrl}); + + factory _$ActivityImpl.fromJson(Map json) => + _$$ActivityImplFromJson(json); + + /// e.g. 'Glacier Trekking and Ice Climbing' + @override + final String name; + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + @override + final String description; + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + @override + final String locationName; + + /// Duration in days. + /// e.g. 8 + @override + final int duration; + + /// e.g. 'morning' + @override + final TimeOfDay timeOfDay; + + /// e.g. false + @override + final bool familyFriendly; + + /// e.g. 4 + @override + final int price; + + /// e.g. 'alaska' + @override + final String destinationRef; + + /// e.g. 'glacier-trekking-and-ice-climbing' + @override + final String ref; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + @override + final String imageUrl; + + @override + String toString() { + return 'Activity(name: $name, description: $description, locationName: $locationName, duration: $duration, timeOfDay: $timeOfDay, familyFriendly: $familyFriendly, price: $price, destinationRef: $destinationRef, ref: $ref, imageUrl: $imageUrl)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$ActivityImpl && + (identical(other.name, name) || other.name == name) && + (identical(other.description, description) || + other.description == description) && + (identical(other.locationName, locationName) || + other.locationName == locationName) && + (identical(other.duration, duration) || + other.duration == duration) && + (identical(other.timeOfDay, timeOfDay) || + other.timeOfDay == timeOfDay) && + (identical(other.familyFriendly, familyFriendly) || + other.familyFriendly == familyFriendly) && + (identical(other.price, price) || other.price == price) && + (identical(other.destinationRef, destinationRef) || + other.destinationRef == destinationRef) && + (identical(other.ref, ref) || other.ref == ref) && + (identical(other.imageUrl, imageUrl) || + other.imageUrl == imageUrl)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash( + runtimeType, + name, + description, + locationName, + duration, + timeOfDay, + familyFriendly, + price, + destinationRef, + ref, + imageUrl); + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$ActivityImplCopyWith<_$ActivityImpl> get copyWith => + __$$ActivityImplCopyWithImpl<_$ActivityImpl>(this, _$identity); + + @override + Map toJson() { + return _$$ActivityImplToJson( + this, + ); + } +} + +abstract class _Activity implements Activity { + const factory _Activity( + {required final String name, + required final String description, + required final String locationName, + required final int duration, + required final TimeOfDay timeOfDay, + required final bool familyFriendly, + required final int price, + required final String destinationRef, + required final String ref, + required final String imageUrl}) = _$ActivityImpl; + + factory _Activity.fromJson(Map json) = + _$ActivityImpl.fromJson; + + /// e.g. 'Glacier Trekking and Ice Climbing' + @override + String get name; + + /// e.g. 'Embark on a thrilling adventure exploring the awe-inspiring glaciers of Alaska. Hike across the icy terrain, marvel at the deep blue crevasses, and even try your hand at ice climbing for an unforgettable experience.' + @override + String get description; + + /// e.g. 'Matanuska Glacier or Mendenhall Glacier' + @override + String get locationName; + + /// Duration in days. + /// e.g. 8 + @override + int get duration; + + /// e.g. 'morning' + @override + TimeOfDay get timeOfDay; + + /// e.g. false + @override + bool get familyFriendly; + + /// e.g. 4 + @override + int get price; + + /// e.g. 'alaska' + @override + String get destinationRef; + + /// e.g. 'glacier-trekking-and-ice-climbing' + @override + String get ref; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/activities/alaska_glacier-trekking-and-ice-climbing.jpg' + @override + String get imageUrl; + + /// Create a copy of Activity + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$ActivityImplCopyWith<_$ActivityImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/server/lib/model/activity/activity.g.dart b/compass_app/server/lib/model/activity/activity.g.dart new file mode 100644 index 000000000..8ad67d674 --- /dev/null +++ b/compass_app/server/lib/model/activity/activity.g.dart @@ -0,0 +1,43 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'activity.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$ActivityImpl _$$ActivityImplFromJson(Map json) => + _$ActivityImpl( + name: json['name'] as String, + description: json['description'] as String, + locationName: json['locationName'] as String, + duration: (json['duration'] as num).toInt(), + timeOfDay: $enumDecode(_$TimeOfDayEnumMap, json['timeOfDay']), + familyFriendly: json['familyFriendly'] as bool, + price: (json['price'] as num).toInt(), + destinationRef: json['destinationRef'] as String, + ref: json['ref'] as String, + imageUrl: json['imageUrl'] as String, + ); + +Map _$$ActivityImplToJson(_$ActivityImpl instance) => + { + 'name': instance.name, + 'description': instance.description, + 'locationName': instance.locationName, + 'duration': instance.duration, + 'timeOfDay': _$TimeOfDayEnumMap[instance.timeOfDay]!, + 'familyFriendly': instance.familyFriendly, + 'price': instance.price, + 'destinationRef': instance.destinationRef, + 'ref': instance.ref, + 'imageUrl': instance.imageUrl, + }; + +const _$TimeOfDayEnumMap = { + TimeOfDay.any: 'any', + TimeOfDay.morning: 'morning', + TimeOfDay.afternoon: 'afternoon', + TimeOfDay.evening: 'evening', + TimeOfDay.night: 'night', +}; diff --git a/compass_app/server/lib/model/booking/booking.dart b/compass_app/server/lib/model/booking/booking.dart new file mode 100644 index 000000000..faf6b023d --- /dev/null +++ b/compass_app/server/lib/model/booking/booking.dart @@ -0,0 +1,35 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'booking.freezed.dart'; +part 'booking.g.dart'; + +@freezed +class Booking with _$Booking { + const factory Booking({ + /// Booking ID. Generated when stored in server. + int? id, + + /// Start date of the trip + required DateTime startDate, + + /// End date of the trip + required DateTime endDate, + + /// Booking name + /// Should be "Destination, Continent" + required String name, + + /// Destination of the trip + required String destinationRef, + + /// List of chosen activities + required List activitiesRef, + }) = _Booking; + + factory Booking.fromJson(Map json) => + _$BookingFromJson(json); +} diff --git a/compass_app/server/lib/model/booking/booking.freezed.dart b/compass_app/server/lib/model/booking/booking.freezed.dart new file mode 100644 index 000000000..848015f73 --- /dev/null +++ b/compass_app/server/lib/model/booking/booking.freezed.dart @@ -0,0 +1,312 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'booking.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Booking _$BookingFromJson(Map json) { + return _Booking.fromJson(json); +} + +/// @nodoc +mixin _$Booking { + /// Booking ID. Generated when stored in server. + int? get id => throw _privateConstructorUsedError; + + /// Start date of the trip + DateTime get startDate => throw _privateConstructorUsedError; + + /// End date of the trip + DateTime get endDate => throw _privateConstructorUsedError; + + /// Booking name + /// Should be "Destination, Continent" + String get name => throw _privateConstructorUsedError; + + /// Destination of the trip + String get destinationRef => throw _privateConstructorUsedError; + + /// List of chosen activities + List get activitiesRef => throw _privateConstructorUsedError; + + /// Serializes this Booking to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $BookingCopyWith get copyWith => throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $BookingCopyWith<$Res> { + factory $BookingCopyWith(Booking value, $Res Function(Booking) then) = + _$BookingCopyWithImpl<$Res, Booking>; + @useResult + $Res call( + {int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef}); +} + +/// @nodoc +class _$BookingCopyWithImpl<$Res, $Val extends Booking> + implements $BookingCopyWith<$Res> { + _$BookingCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = freezed, + Object? startDate = null, + Object? endDate = null, + Object? name = null, + Object? destinationRef = null, + Object? activitiesRef = null, + }) { + return _then(_value.copyWith( + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value.activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$BookingImplCopyWith<$Res> implements $BookingCopyWith<$Res> { + factory _$$BookingImplCopyWith( + _$BookingImpl value, $Res Function(_$BookingImpl) then) = + __$$BookingImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef}); +} + +/// @nodoc +class __$$BookingImplCopyWithImpl<$Res> + extends _$BookingCopyWithImpl<$Res, _$BookingImpl> + implements _$$BookingImplCopyWith<$Res> { + __$$BookingImplCopyWithImpl( + _$BookingImpl _value, $Res Function(_$BookingImpl) _then) + : super(_value, _then); + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = freezed, + Object? startDate = null, + Object? endDate = null, + Object? name = null, + Object? destinationRef = null, + Object? activitiesRef = null, + }) { + return _then(_$BookingImpl( + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value._activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$BookingImpl implements _Booking { + const _$BookingImpl( + {this.id, + required this.startDate, + required this.endDate, + required this.name, + required this.destinationRef, + required final List activitiesRef}) + : _activitiesRef = activitiesRef; + + factory _$BookingImpl.fromJson(Map json) => + _$$BookingImplFromJson(json); + + /// Booking ID. Generated when stored in server. + @override + final int? id; + + /// Start date of the trip + @override + final DateTime startDate; + + /// End date of the trip + @override + final DateTime endDate; + + /// Booking name + /// Should be "Destination, Continent" + @override + final String name; + + /// Destination of the trip + @override + final String destinationRef; + + /// List of chosen activities + final List _activitiesRef; + + /// List of chosen activities + @override + List get activitiesRef { + if (_activitiesRef is EqualUnmodifiableListView) return _activitiesRef; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_activitiesRef); + } + + @override + String toString() { + return 'Booking(id: $id, startDate: $startDate, endDate: $endDate, name: $name, destinationRef: $destinationRef, activitiesRef: $activitiesRef)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$BookingImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.startDate, startDate) || + other.startDate == startDate) && + (identical(other.endDate, endDate) || other.endDate == endDate) && + (identical(other.name, name) || other.name == name) && + (identical(other.destinationRef, destinationRef) || + other.destinationRef == destinationRef) && + const DeepCollectionEquality() + .equals(other._activitiesRef, _activitiesRef)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, id, startDate, endDate, name, + destinationRef, const DeepCollectionEquality().hash(_activitiesRef)); + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$BookingImplCopyWith<_$BookingImpl> get copyWith => + __$$BookingImplCopyWithImpl<_$BookingImpl>(this, _$identity); + + @override + Map toJson() { + return _$$BookingImplToJson( + this, + ); + } +} + +abstract class _Booking implements Booking { + const factory _Booking( + {final int? id, + required final DateTime startDate, + required final DateTime endDate, + required final String name, + required final String destinationRef, + required final List activitiesRef}) = _$BookingImpl; + + factory _Booking.fromJson(Map json) = _$BookingImpl.fromJson; + + /// Booking ID. Generated when stored in server. + @override + int? get id; + + /// Start date of the trip + @override + DateTime get startDate; + + /// End date of the trip + @override + DateTime get endDate; + + /// Booking name + /// Should be "Destination, Continent" + @override + String get name; + + /// Destination of the trip + @override + String get destinationRef; + + /// List of chosen activities + @override + List get activitiesRef; + + /// Create a copy of Booking + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$BookingImplCopyWith<_$BookingImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/server/lib/model/booking/booking.g.dart b/compass_app/server/lib/model/booking/booking.g.dart new file mode 100644 index 000000000..829d766bf --- /dev/null +++ b/compass_app/server/lib/model/booking/booking.g.dart @@ -0,0 +1,29 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'booking.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$BookingImpl _$$BookingImplFromJson(Map json) => + _$BookingImpl( + id: (json['id'] as num?)?.toInt(), + startDate: DateTime.parse(json['startDate'] as String), + endDate: DateTime.parse(json['endDate'] as String), + name: json['name'] as String, + destinationRef: json['destinationRef'] as String, + activitiesRef: (json['activitiesRef'] as List) + .map((e) => e as String) + .toList(), + ); + +Map _$$BookingImplToJson(_$BookingImpl instance) => + { + 'id': instance.id, + 'startDate': instance.startDate.toIso8601String(), + 'endDate': instance.endDate.toIso8601String(), + 'name': instance.name, + 'destinationRef': instance.destinationRef, + 'activitiesRef': instance.activitiesRef, + }; diff --git a/compass_app/server/lib/model/continent/continent.dart b/compass_app/server/lib/model/continent/continent.dart new file mode 100644 index 000000000..e0a309d59 --- /dev/null +++ b/compass_app/server/lib/model/continent/continent.dart @@ -0,0 +1,23 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'continent.freezed.dart'; + +part 'continent.g.dart'; + +@freezed +class Continent with _$Continent { + const factory Continent({ + /// e.g. 'Europe' + required String name, + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + required String imageUrl, + }) = _Continent; + + factory Continent.fromJson(Map json) => + _$ContinentFromJson(json); +} diff --git a/compass_app/server/lib/model/continent/continent.freezed.dart b/compass_app/server/lib/model/continent/continent.freezed.dart new file mode 100644 index 000000000..f69d01046 --- /dev/null +++ b/compass_app/server/lib/model/continent/continent.freezed.dart @@ -0,0 +1,191 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'continent.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Continent _$ContinentFromJson(Map json) { + return _Continent.fromJson(json); +} + +/// @nodoc +mixin _$Continent { + /// e.g. 'Europe' + String get name => throw _privateConstructorUsedError; + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + String get imageUrl => throw _privateConstructorUsedError; + + /// Serializes this Continent to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $ContinentCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $ContinentCopyWith<$Res> { + factory $ContinentCopyWith(Continent value, $Res Function(Continent) then) = + _$ContinentCopyWithImpl<$Res, Continent>; + @useResult + $Res call({String name, String imageUrl}); +} + +/// @nodoc +class _$ContinentCopyWithImpl<$Res, $Val extends Continent> + implements $ContinentCopyWith<$Res> { + _$ContinentCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? imageUrl = null, + }) { + return _then(_value.copyWith( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$ContinentImplCopyWith<$Res> + implements $ContinentCopyWith<$Res> { + factory _$$ContinentImplCopyWith( + _$ContinentImpl value, $Res Function(_$ContinentImpl) then) = + __$$ContinentImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String name, String imageUrl}); +} + +/// @nodoc +class __$$ContinentImplCopyWithImpl<$Res> + extends _$ContinentCopyWithImpl<$Res, _$ContinentImpl> + implements _$$ContinentImplCopyWith<$Res> { + __$$ContinentImplCopyWithImpl( + _$ContinentImpl _value, $Res Function(_$ContinentImpl) _then) + : super(_value, _then); + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? name = null, + Object? imageUrl = null, + }) { + return _then(_$ContinentImpl( + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$ContinentImpl implements _Continent { + const _$ContinentImpl({required this.name, required this.imageUrl}); + + factory _$ContinentImpl.fromJson(Map json) => + _$$ContinentImplFromJson(json); + + /// e.g. 'Europe' + @override + final String name; + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + @override + final String imageUrl; + + @override + String toString() { + return 'Continent(name: $name, imageUrl: $imageUrl)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$ContinentImpl && + (identical(other.name, name) || other.name == name) && + (identical(other.imageUrl, imageUrl) || + other.imageUrl == imageUrl)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, name, imageUrl); + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$ContinentImplCopyWith<_$ContinentImpl> get copyWith => + __$$ContinentImplCopyWithImpl<_$ContinentImpl>(this, _$identity); + + @override + Map toJson() { + return _$$ContinentImplToJson( + this, + ); + } +} + +abstract class _Continent implements Continent { + const factory _Continent( + {required final String name, + required final String imageUrl}) = _$ContinentImpl; + + factory _Continent.fromJson(Map json) = + _$ContinentImpl.fromJson; + + /// e.g. 'Europe' + @override + String get name; + + /// e.g. 'https://rstr.in/google/tripedia/TmR12QdlVTT' + @override + String get imageUrl; + + /// Create a copy of Continent + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$ContinentImplCopyWith<_$ContinentImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/server/lib/model/continent/continent.g.dart b/compass_app/server/lib/model/continent/continent.g.dart new file mode 100644 index 000000000..41aba78b6 --- /dev/null +++ b/compass_app/server/lib/model/continent/continent.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'continent.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$ContinentImpl _$$ContinentImplFromJson(Map json) => + _$ContinentImpl( + name: json['name'] as String, + imageUrl: json['imageUrl'] as String, + ); + +Map _$$ContinentImplToJson(_$ContinentImpl instance) => + { + 'name': instance.name, + 'imageUrl': instance.imageUrl, + }; diff --git a/compass_app/server/lib/model/destination/destination.dart b/compass_app/server/lib/model/destination/destination.dart new file mode 100644 index 000000000..457a12533 --- /dev/null +++ b/compass_app/server/lib/model/destination/destination.dart @@ -0,0 +1,38 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'destination.freezed.dart'; + +part 'destination.g.dart'; + +@freezed +class Destination with _$Destination { + const factory Destination({ + /// e.g. 'alaska' + required String ref, + + /// e.g. 'Alaska' + required String name, + + /// e.g. 'United States' + required String country, + + /// e.g. 'North America' + required String continent, + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + required String knownFor, + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + required List tags, + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + required String imageUrl, + }) = _Destination; + + factory Destination.fromJson(Map json) => + _$DestinationFromJson(json); +} diff --git a/compass_app/server/lib/model/destination/destination.freezed.dart b/compass_app/server/lib/model/destination/destination.freezed.dart new file mode 100644 index 000000000..faaec5902 --- /dev/null +++ b/compass_app/server/lib/model/destination/destination.freezed.dart @@ -0,0 +1,339 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'destination.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +Destination _$DestinationFromJson(Map json) { + return _Destination.fromJson(json); +} + +/// @nodoc +mixin _$Destination { + /// e.g. 'alaska' + String get ref => throw _privateConstructorUsedError; + + /// e.g. 'Alaska' + String get name => throw _privateConstructorUsedError; + + /// e.g. 'United States' + String get country => throw _privateConstructorUsedError; + + /// e.g. 'North America' + String get continent => throw _privateConstructorUsedError; + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + String get knownFor => throw _privateConstructorUsedError; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + List get tags => throw _privateConstructorUsedError; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + String get imageUrl => throw _privateConstructorUsedError; + + /// Serializes this Destination to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $DestinationCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $DestinationCopyWith<$Res> { + factory $DestinationCopyWith( + Destination value, $Res Function(Destination) then) = + _$DestinationCopyWithImpl<$Res, Destination>; + @useResult + $Res call( + {String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl}); +} + +/// @nodoc +class _$DestinationCopyWithImpl<$Res, $Val extends Destination> + implements $DestinationCopyWith<$Res> { + _$DestinationCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? ref = null, + Object? name = null, + Object? country = null, + Object? continent = null, + Object? knownFor = null, + Object? tags = null, + Object? imageUrl = null, + }) { + return _then(_value.copyWith( + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value.tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$DestinationImplCopyWith<$Res> + implements $DestinationCopyWith<$Res> { + factory _$$DestinationImplCopyWith( + _$DestinationImpl value, $Res Function(_$DestinationImpl) then) = + __$$DestinationImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl}); +} + +/// @nodoc +class __$$DestinationImplCopyWithImpl<$Res> + extends _$DestinationCopyWithImpl<$Res, _$DestinationImpl> + implements _$$DestinationImplCopyWith<$Res> { + __$$DestinationImplCopyWithImpl( + _$DestinationImpl _value, $Res Function(_$DestinationImpl) _then) + : super(_value, _then); + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? ref = null, + Object? name = null, + Object? country = null, + Object? continent = null, + Object? knownFor = null, + Object? tags = null, + Object? imageUrl = null, + }) { + return _then(_$DestinationImpl( + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value._tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$DestinationImpl implements _Destination { + const _$DestinationImpl( + {required this.ref, + required this.name, + required this.country, + required this.continent, + required this.knownFor, + required final List tags, + required this.imageUrl}) + : _tags = tags; + + factory _$DestinationImpl.fromJson(Map json) => + _$$DestinationImplFromJson(json); + + /// e.g. 'alaska' + @override + final String ref; + + /// e.g. 'Alaska' + @override + final String name; + + /// e.g. 'United States' + @override + final String country; + + /// e.g. 'North America' + @override + final String continent; + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + @override + final String knownFor; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + final List _tags; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + @override + List get tags { + if (_tags is EqualUnmodifiableListView) return _tags; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_tags); + } + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + @override + final String imageUrl; + + @override + String toString() { + return 'Destination(ref: $ref, name: $name, country: $country, continent: $continent, knownFor: $knownFor, tags: $tags, imageUrl: $imageUrl)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$DestinationImpl && + (identical(other.ref, ref) || other.ref == ref) && + (identical(other.name, name) || other.name == name) && + (identical(other.country, country) || other.country == country) && + (identical(other.continent, continent) || + other.continent == continent) && + (identical(other.knownFor, knownFor) || + other.knownFor == knownFor) && + const DeepCollectionEquality().equals(other._tags, _tags) && + (identical(other.imageUrl, imageUrl) || + other.imageUrl == imageUrl)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, ref, name, country, continent, + knownFor, const DeepCollectionEquality().hash(_tags), imageUrl); + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$DestinationImplCopyWith<_$DestinationImpl> get copyWith => + __$$DestinationImplCopyWithImpl<_$DestinationImpl>(this, _$identity); + + @override + Map toJson() { + return _$$DestinationImplToJson( + this, + ); + } +} + +abstract class _Destination implements Destination { + const factory _Destination( + {required final String ref, + required final String name, + required final String country, + required final String continent, + required final String knownFor, + required final List tags, + required final String imageUrl}) = _$DestinationImpl; + + factory _Destination.fromJson(Map json) = + _$DestinationImpl.fromJson; + + /// e.g. 'alaska' + @override + String get ref; + + /// e.g. 'Alaska' + @override + String get name; + + /// e.g. 'United States' + @override + String get country; + + /// e.g. 'North America' + @override + String get continent; + + /// e.g. 'Alaska is a haven for outdoor enthusiasts ...' + @override + String get knownFor; + + /// e.g. ['Mountain', 'Off-the-beaten-path', 'Wildlife watching'] + @override + List get tags; + + /// e.g. 'https://storage.googleapis.com/tripedia-images/destinations/alaska.jpg' + @override + String get imageUrl; + + /// Create a copy of Destination + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$DestinationImplCopyWith<_$DestinationImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/server/lib/model/destination/destination.g.dart b/compass_app/server/lib/model/destination/destination.g.dart new file mode 100644 index 000000000..796e2bbbd --- /dev/null +++ b/compass_app/server/lib/model/destination/destination.g.dart @@ -0,0 +1,29 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'destination.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$DestinationImpl _$$DestinationImplFromJson(Map json) => + _$DestinationImpl( + ref: json['ref'] as String, + name: json['name'] as String, + country: json['country'] as String, + continent: json['continent'] as String, + knownFor: json['knownFor'] as String, + tags: (json['tags'] as List).map((e) => e as String).toList(), + imageUrl: json['imageUrl'] as String, + ); + +Map _$$DestinationImplToJson(_$DestinationImpl instance) => + { + 'ref': instance.ref, + 'name': instance.name, + 'country': instance.country, + 'continent': instance.continent, + 'knownFor': instance.knownFor, + 'tags': instance.tags, + 'imageUrl': instance.imageUrl, + }; diff --git a/compass_app/server/lib/model/login_request/login_request.dart b/compass_app/server/lib/model/login_request/login_request.dart new file mode 100644 index 000000000..e30ec7cf6 --- /dev/null +++ b/compass_app/server/lib/model/login_request/login_request.dart @@ -0,0 +1,24 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'login_request.freezed.dart'; + +part 'login_request.g.dart'; + +/// Simple data class to hold login request data. +@freezed +class LoginRequest with _$LoginRequest { + const factory LoginRequest({ + /// Email address. + required String email, + + /// Plain text password. + required String password, + }) = _LoginRequest; + + factory LoginRequest.fromJson(Map json) => + _$LoginRequestFromJson(json); +} diff --git a/compass_app/server/lib/model/login_request/login_request.freezed.dart b/compass_app/server/lib/model/login_request/login_request.freezed.dart new file mode 100644 index 000000000..d130b9a4f --- /dev/null +++ b/compass_app/server/lib/model/login_request/login_request.freezed.dart @@ -0,0 +1,192 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'login_request.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +LoginRequest _$LoginRequestFromJson(Map json) { + return _LoginRequest.fromJson(json); +} + +/// @nodoc +mixin _$LoginRequest { + /// Email address. + String get email => throw _privateConstructorUsedError; + + /// Plain text password. + String get password => throw _privateConstructorUsedError; + + /// Serializes this LoginRequest to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $LoginRequestCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $LoginRequestCopyWith<$Res> { + factory $LoginRequestCopyWith( + LoginRequest value, $Res Function(LoginRequest) then) = + _$LoginRequestCopyWithImpl<$Res, LoginRequest>; + @useResult + $Res call({String email, String password}); +} + +/// @nodoc +class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> + implements $LoginRequestCopyWith<$Res> { + _$LoginRequestCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? email = null, + Object? password = null, + }) { + return _then(_value.copyWith( + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$LoginRequestImplCopyWith<$Res> + implements $LoginRequestCopyWith<$Res> { + factory _$$LoginRequestImplCopyWith( + _$LoginRequestImpl value, $Res Function(_$LoginRequestImpl) then) = + __$$LoginRequestImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String email, String password}); +} + +/// @nodoc +class __$$LoginRequestImplCopyWithImpl<$Res> + extends _$LoginRequestCopyWithImpl<$Res, _$LoginRequestImpl> + implements _$$LoginRequestImplCopyWith<$Res> { + __$$LoginRequestImplCopyWithImpl( + _$LoginRequestImpl _value, $Res Function(_$LoginRequestImpl) _then) + : super(_value, _then); + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? email = null, + Object? password = null, + }) { + return _then(_$LoginRequestImpl( + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$LoginRequestImpl implements _LoginRequest { + const _$LoginRequestImpl({required this.email, required this.password}); + + factory _$LoginRequestImpl.fromJson(Map json) => + _$$LoginRequestImplFromJson(json); + + /// Email address. + @override + final String email; + + /// Plain text password. + @override + final String password; + + @override + String toString() { + return 'LoginRequest(email: $email, password: $password)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$LoginRequestImpl && + (identical(other.email, email) || other.email == email) && + (identical(other.password, password) || + other.password == password)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, email, password); + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$LoginRequestImplCopyWith<_$LoginRequestImpl> get copyWith => + __$$LoginRequestImplCopyWithImpl<_$LoginRequestImpl>(this, _$identity); + + @override + Map toJson() { + return _$$LoginRequestImplToJson( + this, + ); + } +} + +abstract class _LoginRequest implements LoginRequest { + const factory _LoginRequest( + {required final String email, + required final String password}) = _$LoginRequestImpl; + + factory _LoginRequest.fromJson(Map json) = + _$LoginRequestImpl.fromJson; + + /// Email address. + @override + String get email; + + /// Plain text password. + @override + String get password; + + /// Create a copy of LoginRequest + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$LoginRequestImplCopyWith<_$LoginRequestImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/server/lib/model/login_request/login_request.g.dart b/compass_app/server/lib/model/login_request/login_request.g.dart new file mode 100644 index 000000000..0a11bd9f2 --- /dev/null +++ b/compass_app/server/lib/model/login_request/login_request.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'login_request.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$LoginRequestImpl _$$LoginRequestImplFromJson(Map json) => + _$LoginRequestImpl( + email: json['email'] as String, + password: json['password'] as String, + ); + +Map _$$LoginRequestImplToJson(_$LoginRequestImpl instance) => + { + 'email': instance.email, + 'password': instance.password, + }; diff --git a/compass_app/server/lib/model/login_response/login_response.dart b/compass_app/server/lib/model/login_response/login_response.dart new file mode 100644 index 000000000..bc17d6a9f --- /dev/null +++ b/compass_app/server/lib/model/login_response/login_response.dart @@ -0,0 +1,24 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'login_response.freezed.dart'; + +part 'login_response.g.dart'; + +/// LoginResponse model. +@freezed +class LoginResponse with _$LoginResponse { + const factory LoginResponse({ + /// The token to be used for authentication. + required String token, + + /// The user id. + required String userId, + }) = _LoginResponse; + + factory LoginResponse.fromJson(Map json) => + _$LoginResponseFromJson(json); +} diff --git a/compass_app/server/lib/model/login_response/login_response.freezed.dart b/compass_app/server/lib/model/login_response/login_response.freezed.dart new file mode 100644 index 000000000..bfc5829a6 --- /dev/null +++ b/compass_app/server/lib/model/login_response/login_response.freezed.dart @@ -0,0 +1,191 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'login_response.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +LoginResponse _$LoginResponseFromJson(Map json) { + return _LoginResponse.fromJson(json); +} + +/// @nodoc +mixin _$LoginResponse { + /// The token to be used for authentication. + String get token => throw _privateConstructorUsedError; + + /// The user id. + String get userId => throw _privateConstructorUsedError; + + /// Serializes this LoginResponse to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $LoginResponseCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $LoginResponseCopyWith<$Res> { + factory $LoginResponseCopyWith( + LoginResponse value, $Res Function(LoginResponse) then) = + _$LoginResponseCopyWithImpl<$Res, LoginResponse>; + @useResult + $Res call({String token, String userId}); +} + +/// @nodoc +class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> + implements $LoginResponseCopyWith<$Res> { + _$LoginResponseCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? token = null, + Object? userId = null, + }) { + return _then(_value.copyWith( + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$LoginResponseImplCopyWith<$Res> + implements $LoginResponseCopyWith<$Res> { + factory _$$LoginResponseImplCopyWith( + _$LoginResponseImpl value, $Res Function(_$LoginResponseImpl) then) = + __$$LoginResponseImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String token, String userId}); +} + +/// @nodoc +class __$$LoginResponseImplCopyWithImpl<$Res> + extends _$LoginResponseCopyWithImpl<$Res, _$LoginResponseImpl> + implements _$$LoginResponseImplCopyWith<$Res> { + __$$LoginResponseImplCopyWithImpl( + _$LoginResponseImpl _value, $Res Function(_$LoginResponseImpl) _then) + : super(_value, _then); + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? token = null, + Object? userId = null, + }) { + return _then(_$LoginResponseImpl( + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$LoginResponseImpl implements _LoginResponse { + const _$LoginResponseImpl({required this.token, required this.userId}); + + factory _$LoginResponseImpl.fromJson(Map json) => + _$$LoginResponseImplFromJson(json); + + /// The token to be used for authentication. + @override + final String token; + + /// The user id. + @override + final String userId; + + @override + String toString() { + return 'LoginResponse(token: $token, userId: $userId)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$LoginResponseImpl && + (identical(other.token, token) || other.token == token) && + (identical(other.userId, userId) || other.userId == userId)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, token, userId); + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$LoginResponseImplCopyWith<_$LoginResponseImpl> get copyWith => + __$$LoginResponseImplCopyWithImpl<_$LoginResponseImpl>(this, _$identity); + + @override + Map toJson() { + return _$$LoginResponseImplToJson( + this, + ); + } +} + +abstract class _LoginResponse implements LoginResponse { + const factory _LoginResponse( + {required final String token, + required final String userId}) = _$LoginResponseImpl; + + factory _LoginResponse.fromJson(Map json) = + _$LoginResponseImpl.fromJson; + + /// The token to be used for authentication. + @override + String get token; + + /// The user id. + @override + String get userId; + + /// Create a copy of LoginResponse + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$LoginResponseImplCopyWith<_$LoginResponseImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/server/lib/model/login_response/login_response.g.dart b/compass_app/server/lib/model/login_response/login_response.g.dart new file mode 100644 index 000000000..f1ee1db63 --- /dev/null +++ b/compass_app/server/lib/model/login_response/login_response.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'login_response.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$LoginResponseImpl _$$LoginResponseImplFromJson(Map json) => + _$LoginResponseImpl( + token: json['token'] as String, + userId: json['userId'] as String, + ); + +Map _$$LoginResponseImplToJson(_$LoginResponseImpl instance) => + { + 'token': instance.token, + 'userId': instance.userId, + }; diff --git a/compass_app/server/lib/model/user/user.dart b/compass_app/server/lib/model/user/user.dart new file mode 100644 index 000000000..26ad338b3 --- /dev/null +++ b/compass_app/server/lib/model/user/user.dart @@ -0,0 +1,27 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'user.freezed.dart'; +part 'user.g.dart'; + +@freezed +abstract class User with _$User { + const factory User({ + /// The user's ID. + required String id, + + /// The user's name. + required String name, + + /// The user's email. + required String email, + + /// The user's picture URL. + required String picture, + }) = _User; + + factory User.fromJson(Map json) => _$UserFromJson(json); +} diff --git a/compass_app/server/lib/model/user/user.freezed.dart b/compass_app/server/lib/model/user/user.freezed.dart new file mode 100644 index 000000000..a0e0ed628 --- /dev/null +++ b/compass_app/server/lib/model/user/user.freezed.dart @@ -0,0 +1,236 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'user.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +T _$identity(T value) => value; + +final _privateConstructorUsedError = UnsupportedError( + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + +User _$UserFromJson(Map json) { + return _User.fromJson(json); +} + +/// @nodoc +mixin _$User { + /// The user's ID. + String get id => throw _privateConstructorUsedError; + + /// The user's name. + String get name => throw _privateConstructorUsedError; + + /// The user's email. + String get email => throw _privateConstructorUsedError; + + /// The user's picture URL. + String get picture => throw _privateConstructorUsedError; + + /// Serializes this User to a JSON map. + Map toJson() => throw _privateConstructorUsedError; + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + $UserCopyWith get copyWith => throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $UserCopyWith<$Res> { + factory $UserCopyWith(User value, $Res Function(User) then) = + _$UserCopyWithImpl<$Res, User>; + @useResult + $Res call({String id, String name, String email, String picture}); +} + +/// @nodoc +class _$UserCopyWithImpl<$Res, $Val extends User> + implements $UserCopyWith<$Res> { + _$UserCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = null, + Object? name = null, + Object? email = null, + Object? picture = null, + }) { + return _then(_value.copyWith( + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$UserImplCopyWith<$Res> implements $UserCopyWith<$Res> { + factory _$$UserImplCopyWith( + _$UserImpl value, $Res Function(_$UserImpl) then) = + __$$UserImplCopyWithImpl<$Res>; + @override + @useResult + $Res call({String id, String name, String email, String picture}); +} + +/// @nodoc +class __$$UserImplCopyWithImpl<$Res> + extends _$UserCopyWithImpl<$Res, _$UserImpl> + implements _$$UserImplCopyWith<$Res> { + __$$UserImplCopyWithImpl(_$UserImpl _value, $Res Function(_$UserImpl) _then) + : super(_value, _then); + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? id = null, + Object? name = null, + Object? email = null, + Object? picture = null, + }) { + return _then(_$UserImpl( + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$UserImpl implements _User { + const _$UserImpl( + {required this.id, + required this.name, + required this.email, + required this.picture}); + + factory _$UserImpl.fromJson(Map json) => + _$$UserImplFromJson(json); + + /// The user's ID. + @override + final String id; + + /// The user's name. + @override + final String name; + + /// The user's email. + @override + final String email; + + /// The user's picture URL. + @override + final String picture; + + @override + String toString() { + return 'User(id: $id, name: $name, email: $email, picture: $picture)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$UserImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.name, name) || other.name == name) && + (identical(other.email, email) || other.email == email) && + (identical(other.picture, picture) || other.picture == picture)); + } + + @JsonKey(includeFromJson: false, includeToJson: false) + @override + int get hashCode => Object.hash(runtimeType, id, name, email, picture); + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) + @override + @pragma('vm:prefer-inline') + _$$UserImplCopyWith<_$UserImpl> get copyWith => + __$$UserImplCopyWithImpl<_$UserImpl>(this, _$identity); + + @override + Map toJson() { + return _$$UserImplToJson( + this, + ); + } +} + +abstract class _User implements User { + const factory _User( + {required final String id, + required final String name, + required final String email, + required final String picture}) = _$UserImpl; + + factory _User.fromJson(Map json) = _$UserImpl.fromJson; + + /// The user's ID. + @override + String get id; + + /// The user's name. + @override + String get name; + + /// The user's email. + @override + String get email; + + /// The user's picture URL. + @override + String get picture; + + /// Create a copy of User + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$UserImplCopyWith<_$UserImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/compass_app/server/lib/model/user/user.g.dart b/compass_app/server/lib/model/user/user.g.dart new file mode 100644 index 000000000..f13122846 --- /dev/null +++ b/compass_app/server/lib/model/user/user.g.dart @@ -0,0 +1,22 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'user.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$UserImpl _$$UserImplFromJson(Map json) => _$UserImpl( + id: json['id'] as String, + name: json['name'] as String, + email: json['email'] as String, + picture: json['picture'] as String, + ); + +Map _$$UserImplToJson(_$UserImpl instance) => + { + 'id': instance.id, + 'name': instance.name, + 'email': instance.email, + 'picture': instance.picture, + }; diff --git a/compass_app/server/lib/routes/booking.dart b/compass_app/server/lib/routes/booking.dart new file mode 100644 index 000000000..90519c41d --- /dev/null +++ b/compass_app/server/lib/routes/booking.dart @@ -0,0 +1,116 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; + +import 'package:collection/collection.dart'; +import 'package:shelf/shelf.dart'; +import 'package:shelf_router/shelf_router.dart'; + +import '../config/assets.dart'; +import '../model/booking/booking.dart'; + +/// Allows the user to save and restore bookings. +/// +/// Bookings are stored in memory for demo purposes, +/// so they are lost when the server stops. +/// +/// For demo purposes, this API includes a default pre-generated booking. +/// +/// The [Booking.id] is also the index in the bookings list. +class BookingApi { + BookingApi() { + // Create a default booking + var destination = Assets.destinations.first; + final activitiesRef = Assets.activities + .where((activity) => activity.destinationRef == destination.ref) + .map((activity) => activity.ref) + .toList(); + _bookings.add( + Booking( + id: _sequentialId++, + name: '${destination.name}, ${destination.continent}', + startDate: DateTime(2024, 7, 20), + endDate: DateTime(2024, 8, 15), + destinationRef: destination.ref, + activitiesRef: activitiesRef, + ), + ); + } + + // Bookings are kept in memory for demo purposes. + // To keep things simple, the id is also the index in the list. + final List _bookings = List.empty(growable: true); + + // Used to generate IDs for bookings + int _sequentialId = 0; + + Router get router { + final router = Router(); + + // Get User bookings + router.get('/', (Request request) { + return Response.ok( + json.encode(_bookings), + headers: {'Content-Type': 'application/json'}, + ); + }); + + // Get a booking by id + router.get('/', (Request request, String id) { + final bookingId = int.parse(id); + final booking = + _bookings.firstWhereOrNull((booking) => booking.id == bookingId); + + if (booking == null) { + return Response.notFound('Invalid id'); + } + + return Response.ok( + json.encode(booking), + headers: {'Content-Type': 'application/json'}, + ); + }); + + // Save a new booking + router.post('/', (Request request) async { + final body = await request.readAsString(); + final booking = Booking.fromJson(json.decode(body)); + + if (booking.id != null) { + // POST endpoint only allows newly created bookings + return Response.badRequest( + body: 'Booking already has id, use PUT instead.'); + } + + // Add ID to new booking + final bookingWithId = booking.copyWith(id: _sequentialId++); + + // Store booking + _bookings.add(bookingWithId); + + // Respond with newly created booking + return Response( + 201, // created + body: json.encode(bookingWithId), + headers: {'Content-Type': 'application/json'}, + ); + }); + + // Delete booking + router.delete('/', (Request request, String id) async { + final bookingId = int.parse(id); + final booking = + _bookings.firstWhereOrNull((booking) => booking.id == bookingId); + if (booking == null) { + return Response.notFound('Invalid id'); + } + _bookings.remove(booking); + // 240: no content + return Response(204); + }); + + return router; + } +} diff --git a/compass_app/server/lib/routes/continent.dart b/compass_app/server/lib/routes/continent.dart new file mode 100644 index 000000000..2a5ebd7c2 --- /dev/null +++ b/compass_app/server/lib/routes/continent.dart @@ -0,0 +1,44 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; + +import 'package:shelf/shelf.dart'; + +import '../model/continent/continent.dart'; + +final _continents = [ + Continent( + name: 'Europe', + imageUrl: 'https://rstr.in/google/tripedia/TmR12QdlVTT', + ), + Continent( + name: 'Asia', + imageUrl: 'https://rstr.in/google/tripedia/VJ8BXlQg8O1', + ), + Continent( + name: 'South America', + imageUrl: 'https://rstr.in/google/tripedia/flm_-o1aI8e', + ), + Continent( + name: 'Africa', + imageUrl: 'https://rstr.in/google/tripedia/-nzi8yFOBpF', + ), + Continent( + name: 'North America', + imageUrl: 'https://rstr.in/google/tripedia/jlbgFDrSUVE', + ), + Continent( + name: 'Oceania', + imageUrl: 'https://rstr.in/google/tripedia/vxyrDE-fZVL', + ), + Continent( + name: 'Australia', + imageUrl: 'https://rstr.in/google/tripedia/z6vy6HeRyvZ', + ), +]; + +Response continentHandler(Request req) { + return Response.ok(jsonEncode(_continents)); +} diff --git a/compass_app/server/lib/routes/destination.dart b/compass_app/server/lib/routes/destination.dart new file mode 100644 index 000000000..7d63ca577 --- /dev/null +++ b/compass_app/server/lib/routes/destination.dart @@ -0,0 +1,35 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; + +import 'package:shelf/shelf.dart'; +import 'package:shelf_router/shelf_router.dart'; + +import '../config/assets.dart'; + +class DestinationApi { + Router get router { + final router = Router(); + + router.get('/', (Request request) { + return Response.ok( + json.encode(Assets.destinations), + headers: {'Content-Type': 'application/json'}, + ); + }); + + router.get('//activity', (Request request, String id) { + final list = Assets.activities + .where((activity) => activity.destinationRef == id) + .toList(); + return Response.ok( + json.encode(list), + headers: {'Content-Type': 'application/json'}, + ); + }); + + return router; + } +} diff --git a/compass_app/server/lib/routes/login.dart b/compass_app/server/lib/routes/login.dart new file mode 100644 index 000000000..f5939fe77 --- /dev/null +++ b/compass_app/server/lib/routes/login.dart @@ -0,0 +1,50 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; + +import 'package:compass_server/config/constants.dart'; +import 'package:shelf/shelf.dart'; +import 'package:shelf_router/shelf_router.dart'; + +import '../model/login_request/login_request.dart'; +import '../model/login_response/login_response.dart'; + +/// Implements a simple login API. +/// +/// This is provided as an example for Flutter architectural purposes only +/// and shouldn't be used as example on how to implement authentication +/// in production. +/// +/// This API only accepts a fixed email and password for demonstration purposes, +/// then returns a hardcoded token and a user id. +/// +/// This token does not expire and is not secure. +class LoginApi { + Router get router { + final router = Router(); + + router.post('/', (Request request) async { + final body = await request.readAsString(); + final loginRequest = LoginRequest.fromJson(json.decode(body)); + + if (loginRequest.email == Constants.email && + loginRequest.password == Constants.password) { + return Response.ok( + json.encode( + LoginResponse( + token: Constants.token, + userId: Constants.userId, + ), + ), + headers: {'Content-Type': 'application/json'}, + ); + } + + return Response.unauthorized('Invalid credentials'); + }); + + return router; + } +} diff --git a/compass_app/server/lib/routes/user.dart b/compass_app/server/lib/routes/user.dart new file mode 100644 index 000000000..534d8f8ff --- /dev/null +++ b/compass_app/server/lib/routes/user.dart @@ -0,0 +1,27 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; + +import 'package:compass_server/config/constants.dart'; +import 'package:shelf/shelf.dart'; +import 'package:shelf_router/shelf_router.dart'; + +/// Implements a simple user API. +/// +/// This API only returns a hardcoded user for demonstration purposes. +class UserApi { + Router get router { + final router = Router(); + + router.get('/', (Request request) async { + return Response.ok( + json.encode(Constants.user), + headers: {'Content-Type': 'application/json'}, + ); + }); + + return router; + } +} diff --git a/compass_app/server/pubspec.yaml b/compass_app/server/pubspec.yaml new file mode 100644 index 000000000..ba47e5e9d --- /dev/null +++ b/compass_app/server/pubspec.yaml @@ -0,0 +1,23 @@ +name: compass_server +description: A server app using the shelf package and Docker. +publish_to: 'none' +version: 1.0.0 + +environment: + sdk: ^3.5.0 + +dependencies: + args: ^2.4.0 + shelf: ^1.4.0 + shelf_router: ^1.1.0 + freezed_annotation: ^2.4.4 + json_annotation: ^4.9.0 + collection: ^1.19.0 + +dev_dependencies: + http: ^1.1.0 + lints: ^3.0.0 + test: ^1.24.0 + build_runner: ^2.4.11 + freezed: ^2.5.7 + json_serializable: ^6.8.0 diff --git a/compass_app/server/test/server_test.dart b/compass_app/server/test/server_test.dart new file mode 100644 index 000000000..20140d9f1 --- /dev/null +++ b/compass_app/server/test/server_test.dart @@ -0,0 +1,230 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:convert'; +import 'dart:io'; + +import 'package:compass_server/config/constants.dart'; +import 'package:compass_server/model/activity/activity.dart'; +import 'package:compass_server/model/booking/booking.dart'; +import 'package:compass_server/model/continent/continent.dart'; +import 'package:compass_server/model/destination/destination.dart'; +import 'package:compass_server/model/login_request/login_request.dart'; +import 'package:compass_server/model/login_response/login_response.dart'; +import 'package:compass_server/model/user/user.dart'; +import 'package:http/http.dart'; +import 'package:test/test.dart'; + +void main() { + final port = '8080'; + final host = 'http://127.0.0.1:$port'; + late Process p; + + var headers = { + 'Authorization': 'Bearer ${Constants.token}', + }; + + setUp(() async { + p = await Process.start( + 'dart', + ['run', 'bin/compass_server.dart'], + environment: {'PORT': port}, + ); + // Wait for server to start and print to stdout. + await p.stdout.first; + }); + + tearDown(() => p.kill()); + + test('Get Continent end-point', () async { + // Query /continent end-point + final response = await get( + Uri.parse('$host/continent'), + headers: headers, + ); + + expect(response.statusCode, 200); + // Parse json response list + final list = jsonDecode(response.body) as List; + // Parse items + final continents = list.map((element) => Continent.fromJson(element)); + expect(continents.length, 7); + expect(continents.first.name, 'Europe'); + }); + + test('Get Destination end-point', () async { + // Query /destination end-point + final response = await get( + Uri.parse('$host/destination'), + headers: headers, + ); + expect(response.statusCode, 200); + // Parse json response list + final list = jsonDecode(response.body) as List; + // Parse items + final destination = list.map((element) => Destination.fromJson(element)); + expect(destination.length, 137); + expect(destination.first.name, 'Alaska'); + }); + + test('Get Activities end-point', () async { + // Query /destination/alaska/activity end-point + final response = await get( + Uri.parse('$host/destination/alaska/activity'), + headers: headers, + ); + expect(response.statusCode, 200); + // Parse json response list + final list = jsonDecode(response.body) as List; + // Parse items + final activity = list.map((element) => Activity.fromJson(element)); + expect(activity.length, 20); + expect(activity.first.name, 'Glacier Trekking and Ice Climbing'); + }); + + test('Get bookings end-point', () async { + final response = await get( + Uri.parse('$host/booking'), + headers: headers, + ); + expect(response.statusCode, 200); + // Parse json response list + final list = jsonDecode(response.body) as List; + // Parse items + final bookings = list.map((element) => Booking.fromJson(element)); + expect(bookings.length, 1); + expect(bookings.first.id, 0); + }); + + test('Get booking with id 0', () async { + final response = await get( + Uri.parse('$host/booking/0'), + headers: headers, + ); + + expect(response.statusCode, 200); + final booking = Booking.fromJson(jsonDecode(response.body)); + + // Got booking with id 0 + expect(booking.id, 0); + }); + + test('Store a booking', () async { + final response = await post( + Uri.parse('$host/booking'), + headers: headers, + body: jsonEncode( + Booking( + name: "DESTINATION, CONTINENT", + startDate: DateTime(2024, 1, 1), + endDate: DateTime(2024, 2, 2), + destinationRef: 'REF', + activitiesRef: ['ACT1', 'ACT2'], + ), + ), + ); + + expect(response.statusCode, 201); + final booking = Booking.fromJson(jsonDecode(response.body)); + + // New ID should be 1 + expect(booking.id, 1); + }); + + test('Delete a booking', () async { + // First create a booking + final response = await post( + Uri.parse('$host/booking'), + headers: headers, + body: jsonEncode( + Booking( + name: "DESTINATION, CONTINENT", + startDate: DateTime(2024, 1, 1), + endDate: DateTime(2024, 2, 2), + destinationRef: 'REF', + activitiesRef: ['ACT1', 'ACT2'], + ), + ), + ); + expect(response.statusCode, 201); + final booking = Booking.fromJson(jsonDecode(response.body)); + + // Then delete it + final deleteResponse = await delete( + Uri.parse('$host/booking/${booking.id}'), + headers: headers, + ); + + expect(deleteResponse.statusCode, 204); + }); + + test('Delete a booking is not found', () async { + final response = await delete( + Uri.parse('$host/booking/42'), + headers: headers, + ); + + expect(response.statusCode, 404); + }); + + test('Get user', () async { + final response = await get( + Uri.parse('$host/user'), + headers: headers, + ); + + expect(response.statusCode, 200); + final user = User.fromJson(jsonDecode(response.body)); + + // Should get the hardcoded user + expect(user, Constants.user); + }); + + test('404', () async { + final response = await get( + Uri.parse('$host/foobar'), + headers: headers, + ); + expect(response.statusCode, 404); + }); + + test('Login with valid credentials', () async { + final response = await post( + Uri.parse('$host/login'), + body: jsonEncode( + LoginRequest( + email: Constants.email, + password: Constants.password, + ), + ), + ); + expect(response.statusCode, 200); + final loginResponse = LoginResponse.fromJson(jsonDecode(response.body)); + expect(loginResponse.token, Constants.token); + expect(loginResponse.userId, Constants.userId); + }); + + test('Login with wrong credentials', () async { + final response = await post( + Uri.parse('$host/login'), + body: jsonEncode( + LoginRequest( + email: 'INVALID', + password: 'INVALID', + ), + ), + ); + expect(response.statusCode, 401); + }); + + test('Unauthorized request', () async { + // Query /continent end-point + // No auth headers + final response = await get( + Uri.parse('$host/continent'), + ); + + expect(response.statusCode, 401); + }); +} diff --git a/context_menus/pubspec.yaml b/context_menus/pubspec.yaml index a6d6a7b3c..3705005d3 100644 --- a/context_menus/pubspec.yaml +++ b/context_menus/pubspec.yaml @@ -20,7 +20,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/deeplink_store_example/pubspec.yaml b/deeplink_store_example/pubspec.yaml index 4b84a9c1b..cf28b8949 100644 --- a/deeplink_store_example/pubspec.yaml +++ b/deeplink_store_example/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -47,7 +47,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/desktop_photo_search/fluent_ui/pubspec.yaml b/desktop_photo_search/fluent_ui/pubspec.yaml index 84d604212..c775746bf 100644 --- a/desktop_photo_search/fluent_ui/pubspec.yaml +++ b/desktop_photo_search/fluent_ui/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: built_collection: ^5.1.1 diff --git a/desktop_photo_search/material/pubspec.yaml b/desktop_photo_search/material/pubspec.yaml index 72aeaa82a..956e53ca1 100644 --- a/desktop_photo_search/material/pubspec.yaml +++ b/desktop_photo_search/material/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: built_collection: ^5.1.1 diff --git a/dynamic_theme/pubspec.yaml b/dynamic_theme/pubspec.yaml index f351cf070..779eb5aa9 100644 --- a/dynamic_theme/pubspec.yaml +++ b/dynamic_theme/pubspec.yaml @@ -3,7 +3,7 @@ description: "Sample app for the google_generative_ai package" publish_to: 'none' version: 1.0.0+1 environment: - sdk: '>=3.3.0 <4.0.0' + sdk: ^3.5.0 dependencies: flutter: @@ -15,7 +15,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true diff --git a/experimental/date_planner/pubspec.yaml b/experimental/date_planner/pubspec.yaml index 3aa873810..a5cb40798 100644 --- a/experimental/date_planner/pubspec.yaml +++ b/experimental/date_planner/pubspec.yaml @@ -15,4 +15,4 @@ dependencies: uuid: dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 diff --git a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml b/experimental/federated_plugin/federated_plugin/example/pubspec.yaml index e4ebde621..d325a3070 100644 --- a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin/example/pubspec.yaml @@ -4,7 +4,7 @@ description: Demonstrates how to use the federated_plugin plugin. publish_to: 'none' # Remove this line if you wish to publish to pub.dev environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin/pubspec.yaml b/experimental/federated_plugin/federated_plugin/pubspec.yaml index 2629f51e4..07e00e21a 100644 --- a/experimental/federated_plugin/federated_plugin/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.1 publish_to: "none" environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml b/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml index ac49ced89..b20e7f764 100644 --- a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml b/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml index 9193981c8..769f96593 100644 --- a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml b/experimental/federated_plugin/federated_plugin_web/pubspec.yaml index a1a8de776..7ae6b311f 100644 --- a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_web/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml b/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml index 2d4e273fa..2eb890f35 100644 --- a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/experimental/linting_tool/.metadata b/experimental/linting_tool/.metadata deleted file mode 100644 index ec98142da..000000000 --- a/experimental/linting_tool/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: d79295af24c3ed621c33713ecda14ad196fd9c31 - channel: stable - -project_type: app diff --git a/experimental/linting_tool/README.md b/experimental/linting_tool/README.md index 0d1d87045..38706e994 100644 --- a/experimental/linting_tool/README.md +++ b/experimental/linting_tool/README.md @@ -1,21 +1,34 @@ -# linting_tool +# Sample retired -A desktop tool that helps you manage [linter rules](https://dart.dev/guides/language/analysis-options#enabling-linter-rules) -for your Flutter project. +The `linting_tool` sample has been retired. +Flutter's desktop support has evolved over the years and +the underlying data that this tool surfaced is no longer supported. -## Goals for this sample +`linting_tool` was a successful sample of using Flutter to build desktop apps, +written by Abdullah Deshmukh ([X][], [GitHub][]) for Google Summer of Code 2021. +You can learn about Abdullah's experience creating the sample +by reading [GSoC '21: Creating a desktop sample for Flutter][medium]. -* Show how to read and write files on Desktop -* Show how to create, parse and use yaml files -* Show how to implement basic navigation in Desktop apps -* Show how to implement right-click popup menus +[X]: https://x.com/abdullahzakir99 +[GitHub]: https://github.com/abd99 +[medium]: https://medium.com/flutter/gsoc-21-creating-a-desktop-sample-for-flutter-7d77e74812d6 -## Questions/issues +## Flutter on Desktop -If you have a general question about Flutter, the best places to go are: +Flutter supports creating desktop apps for Windows, macOS, and Linux. +To set up platform support or learn more about [Flutter on Desktop][], +check out the [platform integration docs][] for each desktop platform. -* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev) -* [The Flutter Gitter channel](https://gitter.im/flutter/flutter) -* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter) +[Flutter on Desktop]: https://flutter.dev/multi-platform/desktop +[platform integration docs]: https://docs.flutter.dev/platform-integration/desktop -If you run into an issue with the sample itself, please [file an issue](https://github.com/flutter/samples/issues). +## Analyzing and linting Dart projects + +To learn more about configuring analysis of your Dart and Flutter projects, +check out [Customizing static analysis][]. + +For information about the various lints you can configure, +reference the [Linter rules][] index. + +[Customizing static analysis]: https://dart.dev/tools/analysis +[Linter rules]: https://dart.dev/lints diff --git a/experimental/linting_tool/analysis_options.yaml b/experimental/linting_tool/analysis_options.yaml deleted file mode 100644 index 39271ef9d..000000000 --- a/experimental/linting_tool/analysis_options.yaml +++ /dev/null @@ -1,6 +0,0 @@ -include: package:analysis_defaults/flutter.yaml - -analyzer: - exclude: - - lib/model/rule.g.dart - - test/widget_test.mocks.dart diff --git a/experimental/linting_tool/lib/app.dart b/experimental/linting_tool/lib/app.dart deleted file mode 100644 index 60781e03a..000000000 --- a/experimental/linting_tool/lib/app.dart +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:http/http.dart' as http; -import 'package:linting_tool/model/profiles_store.dart'; -import 'package:linting_tool/model/rules_store.dart'; -import 'package:linting_tool/routes.dart' as routes; -import 'package:linting_tool/theme/app_theme.dart'; -import 'package:linting_tool/widgets/adaptive_nav.dart'; -import 'package:provider/provider.dart'; - -final client = http.Client(); - -class LintingTool extends StatefulWidget { - const LintingTool({super.key}); - - static const String homeRoute = routes.homeRoute; - - @override - State createState() => _LintingToolState(); -} - -class _LintingToolState extends State { - @override - Widget build(BuildContext context) { - return MultiProvider( - providers: [ - ChangeNotifierProvider( - create: (context) => RuleStore(client), - ), - ChangeNotifierProvider( - create: (context) => ProfilesStore(client), - ), - ], - child: MaterialApp( - title: 'Flutter Linting Tool', - theme: AppTheme.buildReplyLightTheme(context), - darkTheme: AppTheme.buildReplyDarkTheme(context), - themeMode: ThemeMode.light, - initialRoute: LintingTool.homeRoute, - onGenerateRoute: (settings) { - switch (settings.name) { - case LintingTool.homeRoute: - return MaterialPageRoute( - builder: (context) => const AdaptiveNav(), - settings: settings, - ); - } - return null; - }, - ), - ); - } -} diff --git a/experimental/linting_tool/lib/layout/adaptive.dart b/experimental/linting_tool/lib/layout/adaptive.dart deleted file mode 100644 index 5daa08986..000000000 --- a/experimental/linting_tool/lib/layout/adaptive.dart +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:adaptive_breakpoints/adaptive_breakpoints.dart'; -import 'package:flutter/material.dart'; - -/// Returns a boolean value whether the window is considered medium or large size. -/// Used to build adaptive and responsive layouts. -bool isDisplayLarge(BuildContext context) => - getWindowType(context) >= AdaptiveWindowType.medium; - -/// Returns boolean value whether the window is considered medium size. -/// Used to build adaptive and responsive layouts. -bool isDisplayMedium(BuildContext context) => - getWindowType(context) == AdaptiveWindowType.medium; - -/// Returns boolean value whether the window is considered small size. -/// Used to build adaptive and responsive layouts. -bool isDisplaySmall(BuildContext context) => - getWindowType(context) <= AdaptiveWindowType.small; diff --git a/experimental/linting_tool/lib/main.dart b/experimental/linting_tool/lib/main.dart deleted file mode 100644 index ec45d8660..000000000 --- a/experimental/linting_tool/lib/main.dart +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:hive_flutter/hive_flutter.dart'; -import 'package:linting_tool/app.dart'; -import 'package:linting_tool/model/profile.dart'; -import 'package:linting_tool/model/rule.dart'; -import 'package:window_size/window_size.dart'; - -Future main() async { - /// Initialize Hive DB. - await Hive.initFlutter(); - - /// Register adapters for [Rule] and [RulesProfile] - /// so that their objects can be directly saved to the DB. - Hive.registerAdapter(RuleAdapter()); - Hive.registerAdapter(RulesProfileAdapter()); - - /// Open a [LazyBox] to retrieve data from it - await Hive.openLazyBox('rules_profile'); - - setWindowMinSize(const Size(600, 600)); - - runApp(const LintingTool()); -} diff --git a/experimental/linting_tool/lib/model/editing_controller.dart b/experimental/linting_tool/lib/model/editing_controller.dart deleted file mode 100644 index 4575c705e..000000000 --- a/experimental/linting_tool/lib/model/editing_controller.dart +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:linting_tool/model/profile.dart'; -import 'package:linting_tool/model/profiles_store.dart'; -import 'package:linting_tool/model/rule.dart'; - -/// Used to control editing of the saved profiles on the RulesPage. -class EditingController extends ChangeNotifier { - bool _isEditing; - - EditingController({bool isEditing = false}) : _isEditing = isEditing; - - bool get isEditing => _isEditing; - - set isEditing(bool enabled) { - _selectedRules.clear(); - _isEditing = enabled; - notifyListeners(); - } - - final Set _selectedRules = {}; - - Set get selectedRules => _selectedRules; - - void selectRule(Rule rule) { - _selectedRules.add(rule); - notifyListeners(); - } - - void deselectRule(Rule rule) { - _selectedRules.remove(rule); - notifyListeners(); - } - - Future deleteSelected( - RulesProfile profile, ProfilesStore profilesStore) async { - final rules = profile.rules; - rules.removeWhere((rule) => _selectedRules.contains(rule)); - - final newProfile = RulesProfile(name: profile.name, rules: rules); - - await profilesStore.updateProfile(profile, newProfile); - - isEditing = false; - notifyListeners(); - } -} diff --git a/experimental/linting_tool/lib/model/profile.dart b/experimental/linting_tool/lib/model/profile.dart deleted file mode 100644 index c9acc51a0..000000000 --- a/experimental/linting_tool/lib/model/profile.dart +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:equatable/equatable.dart'; -import 'package:hive/hive.dart'; -import 'package:linting_tool/model/rule.dart'; - -part 'profile.g.dart'; - -@HiveType(typeId: 1) -class RulesProfile extends Equatable { - @HiveField(0) - final String name; - - @HiveField(1) - final List rules; - - const RulesProfile({ - required this.name, - required this.rules, - }); - - @override - List get props => [name]; -} diff --git a/experimental/linting_tool/lib/model/profile.g.dart b/experimental/linting_tool/lib/model/profile.g.dart deleted file mode 100644 index 85d776f09..000000000 --- a/experimental/linting_tool/lib/model/profile.g.dart +++ /dev/null @@ -1,44 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'profile.dart'; - -// ************************************************************************** -// TypeAdapterGenerator -// ************************************************************************** - -class RulesProfileAdapter extends TypeAdapter { - @override - final int typeId = 1; - - @override - RulesProfile read(BinaryReader reader) { - final numOfFields = reader.readByte(); - final fields = { - for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(), - }; - return RulesProfile( - name: fields[0] as String, - rules: (fields[1] as List).cast(), - ); - } - - @override - void write(BinaryWriter writer, RulesProfile obj) { - writer - ..writeByte(2) - ..writeByte(0) - ..write(obj.name) - ..writeByte(1) - ..write(obj.rules); - } - - @override - int get hashCode => typeId.hashCode; - - @override - bool operator ==(Object other) => - identical(this, other) || - other is RulesProfileAdapter && - runtimeType == other.runtimeType && - typeId == other.typeId; -} diff --git a/experimental/linting_tool/lib/model/profiles_store.dart b/experimental/linting_tool/lib/model/profiles_store.dart deleted file mode 100644 index e19edff9b..000000000 --- a/experimental/linting_tool/lib/model/profiles_store.dart +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:convert'; -import 'dart:developer'; -import 'dart:io'; -import 'dart:typed_data'; - -import 'package:file_selector/file_selector.dart' as file_selector; -import 'package:flutter/material.dart'; -import 'package:http/http.dart' as http; -import 'package:json2yaml/json2yaml.dart'; -import 'package:linting_tool/model/profile.dart'; -import 'package:linting_tool/model/rule.dart'; -import 'package:linting_tool/repository/hive_service.dart'; -import 'package:linting_tool/repository/repository.dart'; -import 'package:yaml/yaml.dart'; - -const _boxName = 'rules_profile'; - -class ProfilesStore extends ChangeNotifier { - final Repository repository; - - ProfilesStore(http.Client httpClient) : repository = Repository(httpClient) { - fetchSavedProfiles(); - } - - bool _isLoading = true; - - bool get isLoading => _isLoading; - - List _savedProfiles = []; - - List get savedProfiles => _savedProfiles; - - String? _error; - - String? get error => _error; - - Future fetchSavedProfiles() async { - if (!_isLoading) _isLoading = true; - notifyListeners(); - try { - _savedProfiles = await HiveService.getBoxes(_boxName); - } on Exception catch (e) { - log(e.toString()); - } - _isLoading = false; - - notifyListeners(); - } - - Future addToNewProfile(RulesProfile profile) async { - await HiveService.addBox(profile, _boxName); - - await Future.delayed(const Duration(milliseconds: 100), () async { - await fetchSavedProfiles(); - }); - } - - Future addToExistingProfile(RulesProfile profile, Rule rule) async { - // ignore: todo - // TODO(abd99): Consider refactoring to LinkedHashSet/SplayTreeSet to avoid - // duplication automatically. - // ref: https://github.com/flutter/samples/pull/870#discussion_r685666792 - final rules = profile.rules; - - // If rule is already in profile, skip updating profile - if (rules.contains(rule)) { - return; - } - - rules.add(rule); - - final newProfile = RulesProfile(name: profile.name, rules: rules); - - await HiveService.updateBox(profile, newProfile, _boxName); - - await Future.delayed(const Duration(milliseconds: 100), () async { - await fetchSavedProfiles(); - }); - } - - Future updateProfile( - RulesProfile oldProfile, RulesProfile newProfile) async { - await HiveService.updateBox(oldProfile, newProfile, _boxName); - - await Future.delayed(const Duration(milliseconds: 100), () async { - await fetchSavedProfiles(); - }); - } - - Future removeRuleFromProfile(RulesProfile profile, Rule rule) async { - final newProfile = - RulesProfile(name: profile.name, rules: profile.rules..remove(rule)); - await updateProfile(profile, newProfile); - } - - Future deleteProfile(RulesProfile profile) async { - await HiveService.deleteBox(profile, _boxName); - - await Future.delayed(const Duration(milliseconds: 100), () async { - await fetchSavedProfiles(); - }); - } - - Future exportProfileFile( - RulesProfile profile, { - RulesStyle rulesStyle = RulesStyle.booleanMap, - }) async { - _isLoading = true; - notifyListeners(); - - var resultSaved = false; - - try { - final templateFileData = await repository.getTemplateFile(); - - /// Fetch formatted data to create new YamlFile. - final newYamlFile = - _prepareYamlFile(profile, templateFileData, rulesStyle); - - resultSaved = await _saveFileToDisk(newYamlFile); - } on SocketException catch (e) { - log(e.toString()); - _error = 'Check internet connection.'; - resultSaved = false; - } on Exception catch (e) { - log(e.toString()); - } - - _isLoading = false; - notifyListeners(); - - return resultSaved; - } - - Future _saveFileToDisk(String newYamlFile) async { - const name = 'analysis_options.yaml'; - - /// Get file path using file picker. - final saveLocation = await file_selector.getSaveLocation( - suggestedName: name, - ); - - final data = Uint8List.fromList(newYamlFile.codeUnits); - final file = file_selector.XFile.fromData(data, name: name); - - /// Save file to disk if path was provided. - if (saveLocation != null) { - await file.saveTo(saveLocation.path); - return true; - } - - const errorMessage = 'File path not found.'; - _error = errorMessage; - throw Exception(errorMessage); - } - - String _prepareYamlFile( - RulesProfile profile, YamlMap templateFile, RulesStyle rulesStyle) { - final rules = profile.rules.map((e) => e.name); - - final rulesData = - json.decode(json.encode(templateFile)) as Map; - - /// Add rules to existing template according to formatting style. - if (rulesStyle == RulesStyle.booleanMap) { - final rulesMap = {for (final rule in rules) rule: true}; - rulesData.update('linter', (dynamic value) => {'rules': rulesMap}); - } else { - rulesData.update('linter', (dynamic value) => {'rules': rules}); - } - - return json2yaml(rulesData, yamlStyle: YamlStyle.pubspecYaml); - } -} - -/// Formatting style for rules. -enum RulesStyle { - list, - booleanMap, -} diff --git a/experimental/linting_tool/lib/model/rule.dart b/experimental/linting_tool/lib/model/rule.dart deleted file mode 100644 index 224bdfbec..000000000 --- a/experimental/linting_tool/lib/model/rule.dart +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:equatable/equatable.dart'; -import 'package:hive/hive.dart'; -import 'package:json_annotation/json_annotation.dart'; - -part 'rule.g.dart'; - -@JsonSerializable() -@HiveType(typeId: 0) -class Rule extends Equatable { - @HiveField(0) - final String name; - @HiveField(1) - final String description; - @HiveField(2) - final String group; - @HiveField(3) - final String state; - @HiveField(4) - final List incompatible; - @HiveField(5) - final List sets; - @HiveField(6) - final String details; - - const Rule({ - required this.name, - required this.description, - required this.group, - required this.state, - required this.incompatible, - required this.sets, - required this.details, - }); - - factory Rule.fromJson(Map json) => _$RuleFromJson(json); - - Map toJson() => _$RuleToJson(this); - - @override - List get props => [name]; -} diff --git a/experimental/linting_tool/lib/model/rule.g.dart b/experimental/linting_tool/lib/model/rule.g.dart deleted file mode 100644 index bc9e8f8af..000000000 --- a/experimental/linting_tool/lib/model/rule.g.dart +++ /dev/null @@ -1,85 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'rule.dart'; - -// ************************************************************************** -// TypeAdapterGenerator -// ************************************************************************** - -class RuleAdapter extends TypeAdapter { - @override - final int typeId = 0; - - @override - Rule read(BinaryReader reader) { - final numOfFields = reader.readByte(); - final fields = { - for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(), - }; - return Rule( - name: fields[0] as String, - description: fields[1] as String, - group: fields[2] as String, - state: fields[3] as String, - incompatible: (fields[4] as List).cast(), - sets: (fields[5] as List).cast(), - details: fields[6] as String, - ); - } - - @override - void write(BinaryWriter writer, Rule obj) { - writer - ..writeByte(7) - ..writeByte(0) - ..write(obj.name) - ..writeByte(1) - ..write(obj.description) - ..writeByte(2) - ..write(obj.group) - ..writeByte(3) - ..write(obj.state) - ..writeByte(4) - ..write(obj.incompatible) - ..writeByte(5) - ..write(obj.sets) - ..writeByte(6) - ..write(obj.details); - } - - @override - int get hashCode => typeId.hashCode; - - @override - bool operator ==(Object other) => - identical(this, other) || - other is RuleAdapter && - runtimeType == other.runtimeType && - typeId == other.typeId; -} - -// ************************************************************************** -// JsonSerializableGenerator -// ************************************************************************** - -Rule _$RuleFromJson(Map json) => Rule( - name: json['name'] as String, - description: json['description'] as String, - group: json['group'] as String, - state: json['state'] as String, - incompatible: (json['incompatible'] as List) - .map((e) => e as String) - .toList(), - sets: (json['sets'] as List).map((e) => e as String).toList(), - details: json['details'] as String, - ); - -Map _$RuleToJson(Rule instance) => { - 'name': instance.name, - 'description': instance.description, - 'group': instance.group, - 'state': instance.state, - 'incompatible': instance.incompatible, - 'sets': instance.sets, - 'details': instance.details, - }; diff --git a/experimental/linting_tool/lib/model/rules_store.dart b/experimental/linting_tool/lib/model/rules_store.dart deleted file mode 100644 index 66ef06f49..000000000 --- a/experimental/linting_tool/lib/model/rules_store.dart +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:developer'; -import 'dart:io'; - -import 'package:flutter/material.dart'; -import 'package:http/http.dart' as http; -import 'package:linting_tool/model/profile.dart'; -import 'package:linting_tool/model/rule.dart'; -import 'package:linting_tool/repository/repository.dart'; - -/// Manages fetching rules from the web. -class RuleStore extends ChangeNotifier { - final Repository repository; - - RuleStore(http.Client httpClient) : repository = Repository(httpClient) { - fetchRules(); - } - - bool _isLoading = true; - - bool get isLoading => _isLoading; - - List _rules = []; - - List get rules => _rules; - - String? _error; - - String? get error => _error; - - List get defaultProfiles { - if (isLoading || rules.isEmpty) { - return const []; - } - - final Map setsToProfiles = {}; - - for (final rule in rules) { - for (final setName in rule.sets) { - final profile = setsToProfiles[setName]; - if (profile == null) { - setsToProfiles[setName] = RulesProfile(name: setName, rules: [rule]); - } else { - profile.rules.add(rule); - } - } - } - - return setsToProfiles.values.toList(growable: false); - } - - Future fetchRules() async { - if (!_isLoading) _isLoading = true; - notifyListeners(); - try { - _rules = await repository.getRulesList(); - } on SocketException catch (e) { - log(e.toString()); - _error = 'Check internet connection.'; - } on Exception catch (e) { - log(e.toString()); - } - _isLoading = false; - - notifyListeners(); - } -} diff --git a/experimental/linting_tool/lib/pages/default_lints_page.dart b/experimental/linting_tool/lib/pages/default_lints_page.dart deleted file mode 100644 index 3c356c9cb..000000000 --- a/experimental/linting_tool/lib/pages/default_lints_page.dart +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:linting_tool/layout/adaptive.dart'; -import 'package:linting_tool/model/rules_store.dart'; -import 'package:linting_tool/pages/default_rules_page.dart'; -import 'package:linting_tool/theme/colors.dart'; -import 'package:provider/provider.dart'; - -class DefaultLintsPage extends StatelessWidget { - const DefaultLintsPage({super.key}); - - @override - Widget build(BuildContext context) { - return Consumer( - builder: (context, rulesStore, child) { - if (rulesStore.isLoading) { - return const CircularProgressIndicator.adaptive(); - } - - final defaultSets = rulesStore.defaultProfiles; - if (defaultSets.isNotEmpty) { - final isDesktop = isDisplayLarge(context); - final isTablet = isDisplayMedium(context); - final startPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - final endPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - - return ListView.separated( - padding: EdgeInsetsDirectional.only( - start: startPadding, - end: endPadding, - top: isDesktop ? 28 : 16, - bottom: isDesktop ? kToolbarHeight : 16, - ), - cacheExtent: 5, - itemCount: defaultSets.length, - itemBuilder: (context, index) { - final profile = defaultSets[index]; - return ListTile( - title: Text( - profile.name, - ), - tileColor: AppColors.white50, - onTap: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => DefaultRulesPage(profile: profile), - ), - ); - }, - ); - }, - separatorBuilder: (context, index) => const SizedBox(height: 4), - ); - } - - return Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text(rulesStore.error ?? 'Failed to load rules.'), - const SizedBox( - height: 16.0, - ), - IconButton( - onPressed: () => rulesStore.fetchRules(), - icon: const Icon(Icons.refresh), - ), - ], - ); - }, - ); - } -} diff --git a/experimental/linting_tool/lib/pages/default_rules_page.dart b/experimental/linting_tool/lib/pages/default_rules_page.dart deleted file mode 100644 index 6e411d361..000000000 --- a/experimental/linting_tool/lib/pages/default_rules_page.dart +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart' show SystemUiOverlayStyle; -import 'package:linting_tool/layout/adaptive.dart'; -import 'package:linting_tool/model/profile.dart'; -import 'package:linting_tool/widgets/lint_expansion_tile.dart'; - -class DefaultRulesPage extends StatelessWidget { - final RulesProfile profile; - - const DefaultRulesPage({ - required this.profile, - super.key, - }); - - @override - Widget build(BuildContext context) { - final isDesktop = isDisplayLarge(context); - final isTablet = isDisplayMedium(context); - final textTheme = Theme.of(context).textTheme; - final startPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - final endPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - return Scaffold( - appBar: AppBar( - title: Text( - profile.name, - style: textTheme.titleSmall!.copyWith( - color: textTheme.bodyLarge!.color, - ), - ), - leading: Padding( - padding: const EdgeInsets.only(left: 80.0), - child: TextButton.icon( - onPressed: () { - Navigator.pop(context); - }, - icon: const Icon(Icons.arrow_back_ios_new), - label: const Text('Back'), - ), - ), - leadingWidth: 160.0, - toolbarHeight: 38.0, - backgroundColor: Colors.white, - systemOverlayStyle: SystemUiOverlayStyle.dark, - ), - body: ListView.separated( - padding: EdgeInsetsDirectional.only( - start: startPadding, - end: endPadding, - top: isDesktop ? 28 : 16, - bottom: isDesktop ? kToolbarHeight : 16, - ), - itemCount: profile.rules.length, - cacheExtent: 5, - itemBuilder: (context, index) { - return LintExpansionTile( - rule: profile.rules[index], - ); - }, - separatorBuilder: (context, index) => const SizedBox(height: 4), - ), - ); - } -} diff --git a/experimental/linting_tool/lib/pages/home_page.dart b/experimental/linting_tool/lib/pages/home_page.dart deleted file mode 100644 index 2dc63a96f..000000000 --- a/experimental/linting_tool/lib/pages/home_page.dart +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:linting_tool/layout/adaptive.dart'; -import 'package:linting_tool/model/rules_store.dart'; -import 'package:linting_tool/widgets/lint_expansion_tile.dart'; -import 'package:provider/provider.dart'; - -class HomePage extends StatelessWidget { - const HomePage({super.key}); - - @override - Widget build(BuildContext context) { - return Consumer( - builder: (context, rulesStore, child) { - if (rulesStore.isLoading) { - return const CircularProgressIndicator.adaptive(); - } - - if (rulesStore.rules.isNotEmpty) { - final isDesktop = isDisplayLarge(context); - final isTablet = isDisplayMedium(context); - final startPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - final endPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - - return ListView.separated( - padding: EdgeInsetsDirectional.only( - start: startPadding, - end: endPadding, - top: isDesktop ? 28 : 16, - bottom: isDesktop ? kToolbarHeight : 16, - ), - itemCount: rulesStore.rules.length, - cacheExtent: 5, - itemBuilder: (context, index) { - return LintExpansionTile( - rule: rulesStore.rules[index], - ); - }, - separatorBuilder: (context, index) => const SizedBox(height: 4), - ); - } - - return Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text(rulesStore.error ?? 'Failed to load rules.'), - const SizedBox( - height: 16.0, - ), - IconButton( - onPressed: () => rulesStore.fetchRules(), - icon: const Icon(Icons.refresh), - ), - ], - ); - }, - ); - } -} diff --git a/experimental/linting_tool/lib/pages/rules_page.dart b/experimental/linting_tool/lib/pages/rules_page.dart deleted file mode 100644 index 77ca1ab1d..000000000 --- a/experimental/linting_tool/lib/pages/rules_page.dart +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:context_menus/context_menus.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart' show SystemUiOverlayStyle; -import 'package:linting_tool/layout/adaptive.dart'; -import 'package:linting_tool/model/editing_controller.dart'; -import 'package:linting_tool/model/profiles_store.dart'; -import 'package:linting_tool/widgets/saved_rule_tile.dart'; -import 'package:provider/provider.dart'; - -class RulesPage extends StatelessWidget { - final int selectedProfileIndex; - - const RulesPage({ - required this.selectedProfileIndex, - super.key, - }); - - @override - Widget build(BuildContext context) { - final isDesktop = isDisplayLarge(context); - final isTablet = isDisplayMedium(context); - final textTheme = Theme.of(context).textTheme; - final startPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - final endPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 4.0; - return Scaffold( - appBar: AppBar( - title: Text( - context - .read() - .savedProfiles[selectedProfileIndex] - .name, - style: textTheme.titleSmall!.copyWith( - color: textTheme.bodyLarge!.color, - ), - ), - leading: Padding( - padding: const EdgeInsets.only(left: 80.0), - child: TextButton.icon( - onPressed: () { - Navigator.pop(context); - }, - icon: const Icon(Icons.arrow_back_ios_new), - label: const Text('Back'), - ), - ), - leadingWidth: 160.0, - toolbarHeight: 38.0, - backgroundColor: Colors.white, - systemOverlayStyle: SystemUiOverlayStyle.dark, - ), - - /// ContextMenuOverlay is required to show - /// right-click context menus using ContextMenuRegion. - body: ContextMenuOverlay( - child: Consumer( - builder: (context, profilesStore, child) { - var profile = profilesStore.savedProfiles[selectedProfileIndex]; - return profile.rules.isEmpty - ? const Center( - child: Text('There are no rules added to the profile.'), - ) - : Row( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Expanded( - child: ListView.separated( - padding: EdgeInsetsDirectional.only( - start: startPadding, - end: endPadding, - top: isDesktop ? 28 : 16, - bottom: isDesktop ? kToolbarHeight : 16, - ), - itemCount: profile.rules.length, - cacheExtent: 5, - itemBuilder: (context, index) { - /// Show right-click context menu to delete rule. - return ContextMenuRegion( - contextMenu: GenericContextMenu( - buttonConfigs: [ - ContextMenuButtonConfig( - 'Remove rule from profile', - onPressed: () { - context - .read() - .removeRuleFromProfile( - profile, profile.rules[index]); - }, - ), - ], - ), - child: SavedRuleTile( - rule: profile.rules[index], - ), - ); - }, - separatorBuilder: (context, index) => - const SizedBox(height: 4), - ), - ), - Padding( - padding: const EdgeInsetsDirectional.only(top: 28), - child: Row( - children: [ - Consumer( - builder: (context, editingController, child) { - var isEditing = editingController.isEditing; - return isEditing - ? Column( - children: [ - IconButton( - icon: const Icon(Icons.done), - onPressed: () { - editingController.isEditing = - false; - }, - ), - if (editingController - .selectedRules.isNotEmpty) - IconButton( - icon: const Icon(Icons.delete), - onPressed: () { - editingController - .deleteSelected( - profile, - profilesStore, - ); - }, - ), - ], - ) - : IconButton( - icon: const Icon(Icons.edit), - onPressed: () { - editingController.isEditing = true; - }, - ); - }, - ), - SizedBox( - width: isTablet - ? 30 - : isDesktop - ? 60 - : 16), - ], - ), - ), - ], - ); - }, - ), - ), - ); - } -} diff --git a/experimental/linting_tool/lib/pages/saved_lints_page.dart b/experimental/linting_tool/lib/pages/saved_lints_page.dart deleted file mode 100644 index d7f2639a3..000000000 --- a/experimental/linting_tool/lib/pages/saved_lints_page.dart +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:linting_tool/layout/adaptive.dart'; -import 'package:linting_tool/model/editing_controller.dart'; -import 'package:linting_tool/model/profiles_store.dart'; -import 'package:linting_tool/pages/rules_page.dart'; -import 'package:linting_tool/theme/colors.dart'; -import 'package:provider/provider.dart'; - -class SavedLintsPage extends StatefulWidget { - const SavedLintsPage({super.key}); - - @override - State createState() => _SavedLintsPageState(); -} - -class _SavedLintsPageState extends State { - @override - Widget build(BuildContext context) { - return Consumer( - builder: (context, profilesStore, child) { - if (profilesStore.isLoading) { - return const CircularProgressIndicator.adaptive(); - } - - if (!profilesStore.isLoading) { - if (profilesStore.savedProfiles.isNotEmpty) { - final isDesktop = isDisplayLarge(context); - final isTablet = isDisplayMedium(context); - final startPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - final endPadding = isTablet - ? 60.0 - : isDesktop - ? 120.0 - : 16.0; - - return ListView.separated( - padding: EdgeInsetsDirectional.only( - start: startPadding, - end: endPadding, - top: isDesktop ? 28 : 16, - bottom: isDesktop ? kToolbarHeight : 16, - ), - itemCount: profilesStore.savedProfiles.length, - cacheExtent: 5, - itemBuilder: (itemBuilderContext, index) { - var profile = profilesStore.savedProfiles[index]; - return ListTile( - title: Text( - profile.name, - ), - tileColor: AppColors.white50, - onTap: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => ChangeNotifierProvider( - create: (context) => EditingController(), - child: RulesPage(selectedProfileIndex: index), - ), - ), - ); - }, - trailing: Row( - mainAxisSize: MainAxisSize.min, - children: [ - IconButton( - icon: const Icon(Icons.edit), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => ChangeNotifierProvider( - create: (context) => EditingController( - isEditing: true, - ), - child: RulesPage(selectedProfileIndex: index), - ), - ), - ); - }, - ), - const SizedBox( - width: 8.0, - ), - PopupMenuButton( - icon: const Icon(Icons.more_vert), - onSelected: (value) async { - switch (value) { - case 'Export file': - // ignore: todo - // TODO(abd99): Add option to select formatting style. - - var saved = await profilesStore - .exportProfileFile(profile); - - if (!context.mounted) return; - - if (!saved) { - _showSnackBar( - context, - profilesStore.error ?? 'Failed to save file.', - ); - } - - case 'Delete': - await profilesStore.deleteProfile(profile); - default: - } - }, - itemBuilder: (context) { - return [ - const PopupMenuItem( - value: 'Export file', - child: Text('Export file'), - ), - const PopupMenuItem( - value: 'Delete', - child: Text('Delete'), - ), - ]; - }, - ), - ], - ), - ); - }, - separatorBuilder: (context, index) => const SizedBox(height: 4), - ); - } - } - - return Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text(profilesStore.error ?? 'No saved profiles found.'), - const SizedBox( - height: 16.0, - ), - IconButton( - onPressed: () => profilesStore.fetchSavedProfiles(), - icon: const Icon(Icons.refresh), - ), - ], - ); - }, - ); - } - - void _showSnackBar(BuildContext context, String data) { - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text(data), - ), - ); - } -} diff --git a/experimental/linting_tool/lib/repository/api_provider.dart b/experimental/linting_tool/lib/repository/api_provider.dart deleted file mode 100644 index 76d2349a9..000000000 --- a/experimental/linting_tool/lib/repository/api_provider.dart +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:convert'; -import 'package:http/http.dart' as http; -import 'package:linting_tool/model/rule.dart'; -import 'package:yaml/yaml.dart'; - -class APIProvider { - final http.Client httpClient; - - APIProvider(this.httpClient); - - Future> getRulesList() async { - final response = await httpClient.get(Uri.parse( - 'https://raw.githubusercontent.com/dart-lang/site-www/main/src/_data/linter_rules.json', - )); - - if (response.statusCode == 200) { - final data = json.decode(response.body) as List; - final rulesList = [ - for (final item in data) Rule.fromJson(item as Map) - ]; - return rulesList; - } else { - throw Exception('Failed to load rules'); - } - } - - Future getTemplateFile() async { - final response = await httpClient.get(Uri.parse( - 'https://raw.githubusercontent.com/flutter/flutter/main/packages/flutter_tools/templates/app_shared/analysis_options.yaml.tmpl')); - if (response.statusCode == 200) { - return loadYaml(response.body) as YamlMap; - } else { - throw Exception('Failed to load template file'); - } - } -} diff --git a/experimental/linting_tool/lib/repository/hive_service.dart b/experimental/linting_tool/lib/repository/hive_service.dart deleted file mode 100644 index 3fdc75d0e..000000000 --- a/experimental/linting_tool/lib/repository/hive_service.dart +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:hive/hive.dart'; - -class HiveService { - static Future addBox(T item, String boxName) async { - final openBox = await Hive.openLazyBox( - boxName, - ); - - final List existingProducts = await getBoxes(boxName); - - if (!existingProducts.contains(item)) { - await openBox.add(item); - return true; - } - return false; - } - - static Future addBoxes(List items, String boxName) async { - final openBox = await Hive.openLazyBox( - boxName, - ); - - final Set existingProducts = Set.unmodifiable(await getBoxes(boxName)); - - for (final item in items) { - if (!existingProducts.contains(item)) { - await openBox.add(item); - } - } - } - - static Future deleteBox(T item, String boxName) async { - final openBox = await Hive.openLazyBox( - boxName, - ); - - final List boxes = await getBoxes(boxName); - - for (final box in boxes) { - if (box == item) { - await openBox.deleteAt(boxes.indexOf(item)); - } - } - } - - static Future updateBox(T item, T newItem, String boxName) async { - final openBox = await Hive.openLazyBox( - boxName, - ); - - final List boxes = await getBoxes(boxName); - - for (final box in boxes) { - if (box == item) { - await openBox.putAt(boxes.indexOf(item), newItem); - } - } - } - - static Future> getBoxes(String boxName, [String? query]) async { - final openBox = await Hive.openLazyBox(boxName); - - final length = openBox.length; - - final boxList = [ - for (int i = 0; i < length; i++) await openBox.getAt(i) as T - ]; - - return boxList; - } -} diff --git a/experimental/linting_tool/lib/repository/repository.dart b/experimental/linting_tool/lib/repository/repository.dart deleted file mode 100644 index eadd8f409..000000000 --- a/experimental/linting_tool/lib/repository/repository.dart +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:http/http.dart' as http; -import 'package:linting_tool/model/rule.dart'; -import 'package:linting_tool/repository/api_provider.dart'; -import 'package:yaml/yaml.dart'; - -class Repository { - final APIProvider _apiProvider; - - Repository(http.Client httpClient) : _apiProvider = APIProvider(httpClient); - - Future> getRulesList() => _apiProvider.getRulesList(); - - Future getTemplateFile() => _apiProvider.getTemplateFile(); -} diff --git a/experimental/linting_tool/lib/routes.dart b/experimental/linting_tool/lib/routes.dart deleted file mode 100644 index 184c9a694..000000000 --- a/experimental/linting_tool/lib/routes.dart +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -const String homeRoute = '/home'; -// TODO(abd99): Add new routes. diff --git a/experimental/linting_tool/lib/theme/app_theme.dart b/experimental/linting_tool/lib/theme/app_theme.dart deleted file mode 100644 index fc1339e79..000000000 --- a/experimental/linting_tool/lib/theme/app_theme.dart +++ /dev/null @@ -1,234 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:flutter_markdown/flutter_markdown.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:linting_tool/theme/colors.dart'; - -abstract class AppTheme { - static ThemeData buildReplyLightTheme(BuildContext context) { - final base = ThemeData.light(); - return base.copyWith( - bottomSheetTheme: BottomSheetThemeData( - backgroundColor: AppColors.blue700, - modalBackgroundColor: Colors.white.withAlpha(179), - ), - navigationRailTheme: NavigationRailThemeData( - backgroundColor: AppColors.blue700, - selectedIconTheme: const IconThemeData( - color: AppColors.orange500, - ), - selectedLabelTextStyle: - GoogleFonts.workSansTextTheme().headlineSmall!.copyWith( - color: AppColors.orange500, - ), - unselectedIconTheme: const IconThemeData( - color: AppColors.blue200, - ), - unselectedLabelTextStyle: - GoogleFonts.workSansTextTheme().headlineSmall!.copyWith( - color: AppColors.blue200, - ), - ), - canvasColor: AppColors.white50, - cardColor: AppColors.white50, - chipTheme: _buildChipTheme( - AppColors.blue700, - AppColors.lightChipBackground, - Brightness.light, - ), - colorScheme: ColorScheme.fromSwatch( - primarySwatch: Colors.blueGrey, - ), - textTheme: _buildReplyLightTextTheme(base.textTheme), - scaffoldBackgroundColor: AppColors.blue50, - bottomAppBarTheme: const BottomAppBarTheme(color: AppColors.blue700), - ); - } - - static ThemeData buildReplyDarkTheme(BuildContext context) { - final base = ThemeData.dark(); - return base.copyWith( - bottomSheetTheme: BottomSheetThemeData( - backgroundColor: AppColors.darkDrawerBackground, - modalBackgroundColor: Colors.black.withAlpha(179), - ), - navigationRailTheme: NavigationRailThemeData( - backgroundColor: AppColors.darkBottomAppBarBackground, - selectedIconTheme: const IconThemeData( - color: AppColors.orange300, - ), - selectedLabelTextStyle: - GoogleFonts.workSansTextTheme().headlineSmall!.copyWith( - color: AppColors.orange300, - ), - unselectedIconTheme: const IconThemeData( - color: AppColors.greyLabel, - ), - unselectedLabelTextStyle: - GoogleFonts.workSansTextTheme().headlineSmall!.copyWith( - color: AppColors.greyLabel, - ), - ), - canvasColor: AppColors.black900, - cardColor: AppColors.darkCardBackground, - chipTheme: _buildChipTheme( - AppColors.blue200, - AppColors.darkChipBackground, - Brightness.dark, - ), - colorScheme: const ColorScheme.dark( - primary: AppColors.blue200, - secondary: AppColors.orange300, - surface: AppColors.black800, - error: AppColors.red200, - onPrimary: AppColors.black900, - onSecondary: AppColors.black900, - onSurface: AppColors.white50, - onError: AppColors.black900, - ), - textTheme: _buildReplyDarkTextTheme(base.textTheme), - scaffoldBackgroundColor: AppColors.black900, - bottomAppBarTheme: - const BottomAppBarTheme(color: AppColors.darkBottomAppBarBackground), - ); - } - - static ChipThemeData _buildChipTheme( - Color primaryColor, - Color chipBackground, - Brightness brightness, - ) { - return ChipThemeData( - backgroundColor: primaryColor.withAlpha(31), - disabledColor: primaryColor.withAlpha(222), - selectedColor: primaryColor.withAlpha(12), - secondarySelectedColor: chipBackground, - padding: const EdgeInsets.all(4), - shape: const StadiumBorder(), - labelStyle: GoogleFonts.workSansTextTheme().bodyMedium!.copyWith( - color: brightness == Brightness.dark - ? AppColors.white50 - : AppColors.black900, - ), - secondaryLabelStyle: GoogleFonts.workSansTextTheme().bodyMedium!, - brightness: brightness, - ); - } - - static TextTheme _buildReplyLightTextTheme(TextTheme base) { - return base.copyWith( - headlineMedium: GoogleFonts.workSans( - fontWeight: FontWeight.w600, - fontSize: 34, - letterSpacing: 0.4, - height: 0.9, - color: AppColors.black900, - ), - headlineSmall: GoogleFonts.workSans( - fontWeight: FontWeight.bold, - fontSize: 24, - letterSpacing: 0.27, - color: AppColors.black900, - ), - titleLarge: GoogleFonts.workSans( - fontWeight: FontWeight.w600, - fontSize: 20, - letterSpacing: 0.18, - color: AppColors.black900, - ), - titleSmall: GoogleFonts.workSans( - fontWeight: FontWeight.w600, - fontSize: 14, - letterSpacing: -0.04, - color: AppColors.black900, - ), - bodyLarge: GoogleFonts.workSans( - fontWeight: FontWeight.normal, - fontSize: 18, - letterSpacing: 0.2, - color: AppColors.black900, - ), - bodyMedium: GoogleFonts.workSans( - fontWeight: FontWeight.normal, - fontSize: 14, - letterSpacing: -0.05, - color: AppColors.black900, - ), - bodySmall: GoogleFonts.workSans( - fontWeight: FontWeight.normal, - fontSize: 12, - letterSpacing: 0.2, - color: AppColors.black900, - ), - ); - } - - static TextTheme _buildReplyDarkTextTheme(TextTheme base) { - return base.copyWith( - headlineMedium: GoogleFonts.workSans( - fontWeight: FontWeight.w600, - fontSize: 34, - letterSpacing: 0.4, - height: 0.9, - color: AppColors.white50, - ), - headlineSmall: GoogleFonts.workSans( - fontWeight: FontWeight.bold, - fontSize: 24, - letterSpacing: 0.27, - color: AppColors.white50, - ), - titleLarge: GoogleFonts.workSans( - fontWeight: FontWeight.w600, - fontSize: 20, - letterSpacing: 0.18, - color: AppColors.white50, - ), - titleSmall: GoogleFonts.workSans( - fontWeight: FontWeight.w600, - fontSize: 14, - letterSpacing: -0.04, - color: AppColors.white50, - ), - bodyLarge: GoogleFonts.workSans( - fontWeight: FontWeight.normal, - fontSize: 18, - letterSpacing: 0.2, - color: AppColors.white50, - ), - bodyMedium: GoogleFonts.workSans( - fontWeight: FontWeight.normal, - fontSize: 14, - letterSpacing: -0.05, - color: AppColors.white50, - ), - bodySmall: GoogleFonts.workSans( - fontWeight: FontWeight.normal, - fontSize: 12, - letterSpacing: 0.2, - color: AppColors.white50, - ), - ); - } - - static MarkdownStyleSheet buildMarkDownTheme(ThemeData theme) { - final textTheme = theme.textTheme; - return MarkdownStyleSheet.largeFromTheme(theme).copyWith( - strong: textTheme.titleSmall!, - em: textTheme.bodyMedium!.copyWith( - fontWeight: FontWeight.w900, - fontStyle: FontStyle.italic, - ), - codeblockPadding: const EdgeInsets.all(8), - codeblockDecoration: BoxDecoration( - color: Colors.grey.shade100, - ), - code: TextStyle( - backgroundColor: Colors.grey.shade100, - ), - ); - } -} diff --git a/experimental/linting_tool/lib/theme/colors.dart b/experimental/linting_tool/lib/theme/colors.dart deleted file mode 100644 index 2166ea19b..000000000 --- a/experimental/linting_tool/lib/theme/colors.dart +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; - -abstract class AppColors { - static const Color white50 = Color(0xFFFFFFFF); - - static const Color black800 = Color(0xFF121212); - static const Color black900 = Color(0xFF000000); - - static const Color blue50 = Color(0xFFEEF0F2); - static const Color blue100 = Color(0xFFD2DBE0); - static const Color blue200 = Color(0xFFADBBC4); - static const Color blue300 = Color(0xFF8CA2AE); - static const Color blue600 = Color(0xFF4A6572); - static const Color blue700 = Color(0xFF344955); - static const Color blue800 = Color(0xFF232F34); - - static const Color orange300 = Color(0xFFFBD790); - static const Color orange400 = Color(0xFFF9BE64); - static const Color orange500 = Color(0xFFF9AA33); - - static const Color red200 = Color(0xFFCF7779); - static const Color red400 = Color(0xFFFF4C5D); - - static const Color white50Alpha060 = Color(0x99FFFFFF); - - static const Color blue50Alpha060 = Color(0x99EEF0F2); - - static const Color black900Alpha020 = Color(0x33000000); - static const Color black900Alpha087 = Color(0xDE000000); - static const Color black900Alpha060 = Color(0x99000000); - - static const Color greyLabel = Color(0xFFAEAEAE); - static const Color darkBottomAppBarBackground = Color(0xFF2D2D2D); - static const Color darkDrawerBackground = Color(0xFF353535); - static const Color darkCardBackground = Color(0xFF1E1E1E); - static const Color darkChipBackground = Color(0xFF2A2A2A); - static const Color lightChipBackground = Color(0xFFE5E5E5); -} diff --git a/experimental/linting_tool/lib/widgets/adaptive_nav.dart b/experimental/linting_tool/lib/widgets/adaptive_nav.dart deleted file mode 100644 index 0a45f096e..000000000 --- a/experimental/linting_tool/lib/widgets/adaptive_nav.dart +++ /dev/null @@ -1,352 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math' as math; - -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart' show SystemUiOverlayStyle; -import 'package:linting_tool/layout/adaptive.dart'; -import 'package:linting_tool/pages/default_lints_page.dart'; -import 'package:linting_tool/pages/home_page.dart'; -import 'package:linting_tool/pages/saved_lints_page.dart'; -import 'package:linting_tool/theme/colors.dart'; - -final navKey = GlobalKey(); - -class AdaptiveNav extends StatefulWidget { - const AdaptiveNav({super.key}); - - @override - State createState() => _AdaptiveNavState(); -} - -class _AdaptiveNavState extends State { - @override - Widget build(BuildContext context) { - final isDesktop = isDisplayLarge(context); - const navigationDestinations = <_Destination>[ - _Destination( - textLabel: 'Home', - icon: Icons.home_outlined, - selectedIcon: Icons.home, - destination: HomePage(), - ), - _Destination( - textLabel: 'Saved Profiles', - icon: Icons.save_outlined, - selectedIcon: Icons.save, - destination: SavedLintsPage(), - ), - _Destination( - textLabel: 'Default Profiles', - icon: Icons.featured_play_list_outlined, - selectedIcon: Icons.featured_play_list, - destination: DefaultLintsPage(), - ), - ]; - - const trailing = { - 'About': Icons.info_outline, - }; - - return _NavView( - extended: isDesktop, - destinations: navigationDestinations, - trailing: trailing, - ); - } -} - -class _NavView extends StatefulWidget { - const _NavView({ - required this.extended, - required this.destinations, - this.trailing = const {}, - }); - - final bool extended; - final List<_Destination> destinations; - final Map trailing; - - @override - _NavViewState createState() => _NavViewState(); -} - -class _NavViewState extends State<_NavView> { - late final ValueNotifier _isExtended; - var _selectedIndex = 0; - - @override - void initState() { - super.initState(); - _isExtended = ValueNotifier(widget.extended); - } - - void _onDestinationSelected(int index) { - setState(() { - _selectedIndex = index; - }); - } - - @override - Widget build(BuildContext context) { - final textTheme = Theme.of(context).textTheme; - return Scaffold( - appBar: AppBar( - title: Text( - 'Flutter Linting Tool', - style: textTheme.titleSmall!.copyWith( - color: textTheme.bodyLarge!.color, - ), - ), - toolbarHeight: 38.0, - backgroundColor: Colors.white, - systemOverlayStyle: SystemUiOverlayStyle.dark, - ), - body: Row( - children: [ - LayoutBuilder( - builder: (context, constraints) { - return SingleChildScrollView( - clipBehavior: Clip.antiAlias, - child: ConstrainedBox( - constraints: BoxConstraints( - minHeight: constraints.maxHeight, - ), - child: IntrinsicHeight( - child: ValueListenableBuilder( - valueListenable: _isExtended, - builder: (context, value, child) { - var isSmallDisplay = isDisplaySmall(context); - return NavigationRail( - destinations: [ - for (var destination in widget.destinations) - NavigationRailDestination( - icon: Icon(destination.icon), - selectedIcon: destination.selectedIcon != null - ? Icon(destination.selectedIcon) - : null, - label: Text(destination.textLabel), - ), - ], - extended: _isExtended.value && !isSmallDisplay, - labelType: NavigationRailLabelType.none, - leading: _NavigationRailHeader( - extended: _isExtended, - ), - trailing: _NavigationRailTrailingSection( - trailingDestinations: widget.trailing, - ), - selectedIndex: _selectedIndex, - onDestinationSelected: _onDestinationSelected, - ); - }, - ), - ), - ), - ); - }, - ), - const VerticalDivider(thickness: 1, width: 1), - Expanded( - child: Center( - child: ConstrainedBox( - constraints: const BoxConstraints(maxWidth: 1340), - child: AnimatedSwitcher( - duration: const Duration(milliseconds: 300), - switchOutCurve: Curves.easeOut, - switchInCurve: Curves.easeIn, - child: widget.destinations[_selectedIndex].destination, - ), - ), - ), - ), - ], - ), - ); - } -} - -class _NavigationRailHeader extends StatelessWidget { - const _NavigationRailHeader({ - required this.extended, - }); - - final ValueNotifier extended; - - @override - Widget build(BuildContext context) { - final textTheme = Theme.of(context).textTheme; - final animation = NavigationRail.extendedAnimation(context); - - return AnimatedBuilder( - animation: animation, - builder: (context, child) { - return Align( - alignment: AlignmentDirectional.centerStart, - widthFactor: animation.value, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - SizedBox( - height: 56, - child: Row( - children: [ - const SizedBox(width: 6), - InkWell( - borderRadius: const BorderRadius.all(Radius.circular(16)), - onTap: () { - extended.value = !extended.value!; - }, - child: Row( - children: [ - Transform.rotate( - angle: animation.value * math.pi, - child: const Icon( - Icons.arrow_left, - color: AppColors.white50, - size: 16, - ), - ), - const FlutterLogo(), - const SizedBox(width: 10), - Align( - alignment: AlignmentDirectional.centerStart, - widthFactor: animation.value, - child: Opacity( - opacity: animation.value, - child: Text( - 'Linting Tool', - style: textTheme.bodyLarge!.copyWith( - color: AppColors.white50, - ), - ), - ), - ), - SizedBox(width: 18 * animation.value), - ], - ), - ), - ], - ), - ), - const SizedBox(height: 8), - ], - ), - ); - }, - ); - } -} - -class _NavigationRailTrailingSection extends StatelessWidget { - const _NavigationRailTrailingSection({ - required this.trailingDestinations, - }); - - final Map trailingDestinations; - - @override - Widget build(BuildContext context) { - final theme = Theme.of(context); - final textTheme = theme.textTheme; - final navigationRailTheme = theme.navigationRailTheme; - final animation = NavigationRail.extendedAnimation(context); - - return AnimatedBuilder( - animation: animation, - builder: (context, child) { - return Visibility( - maintainAnimation: true, - maintainState: true, - visible: animation.value > 0, - child: Opacity( - opacity: animation.value, - child: Align( - widthFactor: animation.value, - alignment: AlignmentDirectional.centerStart, - child: SizedBox( - height: 485, - width: 256, - child: ListView( - padding: const EdgeInsets.all(12), - physics: const NeverScrollableScrollPhysics(), - children: [ - const Divider( - color: AppColors.blue200, - thickness: 0.4, - indent: 14, - endIndent: 16, - ), - const SizedBox(height: 8), - for (var item in trailingDestinations.keys) - InkWell( - borderRadius: const BorderRadius.all( - Radius.circular(36), - ), - onTap: () => _onTapped(context, item), - child: Column( - children: [ - Row( - children: [ - const SizedBox(width: 12), - Icon( - trailingDestinations[item], - color: AppColors.blue300, - ), - const SizedBox(width: 24), - Text( - item, - style: textTheme.bodyLarge!.copyWith( - color: navigationRailTheme - .unselectedLabelTextStyle!.color, - ), - ), - const SizedBox(height: 72), - ], - ), - ], - ), - ), - ], - ), - ), - ), - ), - ); - }, - ); - } - - void _onTapped(BuildContext context, String key) { - switch (key) { - case 'About': - showAboutDialog( - context: context, - applicationIcon: const FlutterLogo(), - children: [ - const Text( - 'A tool that helps you manage linter rules for your Flutter projects.', - ), - ], - ); - default: - break; - } - } -} - -class _Destination { - const _Destination({ - required this.destination, - required this.textLabel, - required this.icon, - this.selectedIcon, - }); - - final String textLabel; - final IconData icon; - final IconData? selectedIcon; - final Widget destination; -} diff --git a/experimental/linting_tool/lib/widgets/lint_expansion_tile.dart b/experimental/linting_tool/lib/widgets/lint_expansion_tile.dart deleted file mode 100644 index 0663203ad..000000000 --- a/experimental/linting_tool/lib/widgets/lint_expansion_tile.dart +++ /dev/null @@ -1,324 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:flutter_markdown/flutter_markdown.dart'; -import 'package:linting_tool/model/profile.dart'; -import 'package:linting_tool/model/profiles_store.dart'; -import 'package:linting_tool/model/rule.dart'; -import 'package:linting_tool/theme/app_theme.dart'; -import 'package:linting_tool/theme/colors.dart'; -import 'package:provider/provider.dart'; - -class LintExpansionTile extends StatefulWidget { - final Rule rule; - - const LintExpansionTile({ - required this.rule, - super.key, - }); - - @override - State createState() => _LintExpansionTileState(); -} - -class _LintExpansionTileState extends State { - var isExpanded = false; - - @override - Widget build(BuildContext context) { - final theme = Theme.of(context); - final textTheme = theme.textTheme; - final rule = widget.rule; - final incompatibleString = - rule.incompatible.isNotEmpty ? rule.incompatible.join(', ') : 'none'; - final setsString = rule.sets.isNotEmpty ? rule.sets.join(', ') : 'none'; - return ExpansionTile( - collapsedBackgroundColor: AppColors.white50, - title: Text( - rule.name, - style: textTheme.titleMedium!.copyWith( - fontWeight: FontWeight.w700, - ), - ), - subtitle: Text( - rule.description, - style: textTheme.bodySmall!, - ), - initiallyExpanded: isExpanded, - onExpansionChanged: (value) { - setState(() { - isExpanded = value; - }); - }, - expandedAlignment: Alignment.centerLeft, - childrenPadding: const EdgeInsets.symmetric( - horizontal: 16.0, - vertical: 8.0, - ), - backgroundColor: AppColors.white50, - maintainState: true, - expandedCrossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'Group:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' ${rule.group}', - ), - ], - ), - textAlign: TextAlign.left, - ), - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'State:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' ${rule.state}', - ), - ], - ), - textAlign: TextAlign.left, - ), - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'Incompatible:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' $incompatibleString', - ), - ], - ), - textAlign: TextAlign.left, - ), - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'Sets:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' $setsString', - ), - ], - ), - textAlign: TextAlign.left, - ), - const SizedBox( - height: 16.0, - ), - MarkdownBody( - data: rule.details, - selectable: true, - styleSheet: AppTheme.buildMarkDownTheme(theme), - ), - const SizedBox( - height: 8.0, - ), - Align( - alignment: Alignment.centerRight, - child: ElevatedButton( - child: const Text('Add to profile'), - onPressed: () async { - ProfileType? destinationProfileType = - await showDialog( - context: context, - builder: (context) { - return const _ProfileTypeDialog(); - }, - ); - if (!context.mounted) return; - if (destinationProfileType == ProfileType.newProfile) { - await showDialog( - context: context, - builder: (context) { - return NewProfileDialog(rule: rule); - }, - ); - } else if (destinationProfileType == - ProfileType.existingProfile) { - await showDialog( - context: context, - builder: (context) { - return ExistingProfileDialog(rule: rule); - }, - ); - } - }, - ), - ), - const SizedBox( - height: 16.0, - ), - ], - ); - } -} - -enum ProfileType { - newProfile, - existingProfile, -} - -class _ProfileTypeDialog extends StatelessWidget { - const _ProfileTypeDialog(); - - @override - Widget build(BuildContext context) { - var profilesStore = context.watch(); - - return AlertDialog( - actionsPadding: const EdgeInsets.only( - left: 16.0, - right: 16.0, - bottom: 16.0, - ), - title: const Text('Select Profile Type'), - actions: [ - if (profilesStore.savedProfiles.isNotEmpty) - ElevatedButton( - onPressed: () { - Navigator.pop(context, ProfileType.existingProfile); - }, - child: const Text('Existing'), - ), - TextButton( - onPressed: () { - Navigator.pop(context, ProfileType.newProfile); - }, - child: const Text('New'), - ), - ], - ); - } -} - -class NewProfileDialog extends StatefulWidget { - final Rule rule; - const NewProfileDialog({ - required this.rule, - super.key, - }); - - @override - State createState() => _NewProfileDialogState(); -} - -class _NewProfileDialogState extends State { - @override - Widget build(BuildContext context) { - String name = ''; - final formKey = GlobalKey(); - - return AlertDialog( - title: const Text('Create new lint profile'), - content: Form( - key: formKey, - autovalidateMode: AutovalidateMode.onUserInteraction, - child: Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text('Profile Name'), - TextFormField( - onChanged: (value) { - name = value; - }, - validator: (value) { - if (value == null || value.isEmpty) { - return 'Name cannot be empty.'; - } - return null; - }, - ), - ], - ), - ), - actionsPadding: const EdgeInsets.all(16.0), - actions: [ - TextButton( - onPressed: () { - Navigator.pop(context); - }, - child: const Text('Cancel'), - ), - ElevatedButton( - onPressed: () async { - if (formKey.currentState!.validate()) { - var newProfile = RulesProfile( - name: name, - rules: [widget.rule], - ); - await Provider.of(context, listen: false) - .addToNewProfile(newProfile); - if (!context.mounted) return; - Navigator.pop(context); - } - }, - child: const Text('Save'), - ), - ], - ); - } -} - -class ExistingProfileDialog extends StatefulWidget { - const ExistingProfileDialog({ - super.key, - required this.rule, - }); - - final Rule rule; - - @override - State createState() => _ExistingProfileDialogState(); -} - -class _ExistingProfileDialogState extends State { - @override - Widget build(BuildContext context) { - final profilesStore = Provider.of(context); - final savedProfiles = profilesStore.savedProfiles; - return AlertDialog( - title: const Text('Select a lint profile'), - content: Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: List.generate( - savedProfiles.length, - (index) => ListTile( - title: Text(savedProfiles[index].name), - onTap: () async { - await profilesStore.addToExistingProfile( - savedProfiles[index], widget.rule); - if (!context.mounted) return; - Navigator.pop(context); - }, - ), - ), - ), - actionsPadding: const EdgeInsets.all(16.0), - actions: [ - TextButton( - onPressed: () { - Navigator.pop(context); - }, - child: const Text('Cancel'), - ), - ], - ); - } -} diff --git a/experimental/linting_tool/lib/widgets/saved_rule_tile.dart b/experimental/linting_tool/lib/widgets/saved_rule_tile.dart deleted file mode 100644 index 79c927025..000000000 --- a/experimental/linting_tool/lib/widgets/saved_rule_tile.dart +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:flutter_markdown/flutter_markdown.dart'; -import 'package:linting_tool/model/editing_controller.dart'; -import 'package:linting_tool/model/rule.dart'; -import 'package:linting_tool/theme/app_theme.dart'; -import 'package:linting_tool/theme/colors.dart'; -import 'package:provider/provider.dart'; - -class SavedRuleTile extends StatefulWidget { - final Rule rule; - - const SavedRuleTile({ - required this.rule, - super.key, - }); - - @override - State createState() => _SavedRuleTileState(); -} - -class _SavedRuleTileState extends State { - var isExpanded = false; - var isSelected = false; - - @override - Widget build(BuildContext context) { - final theme = Theme.of(context); - final textTheme = theme.textTheme; - final rule = widget.rule; - final incompatibleString = - rule.incompatible.isNotEmpty ? rule.incompatible.join(', ') : 'none'; - final setsString = rule.sets.isNotEmpty ? rule.sets.join(', ') : 'none'; - - return Consumer( - builder: (context, editingController, child) { - return ExpansionTile( - collapsedBackgroundColor: AppColors.white50, - leading: editingController.isEditing - ? Checkbox( - value: isSelected && - editingController.selectedRules.contains(rule), - onChanged: (value) { - if (value!) { - editingController.selectRule(rule); - setState(() { - isSelected = value; - }); - } else { - editingController.deselectRule(rule); - setState(() { - isSelected = value; - }); - } - }, - ) - : null, - title: Text( - rule.name, - style: textTheme.titleMedium!.copyWith( - fontWeight: FontWeight.w700, - ), - ), - subtitle: Text( - rule.description, - style: textTheme.bodySmall!, - ), - initiallyExpanded: isExpanded, - onExpansionChanged: (value) { - setState(() { - isExpanded = value; - }); - }, - expandedAlignment: Alignment.centerLeft, - childrenPadding: const EdgeInsets.symmetric( - horizontal: 16.0, - vertical: 8.0, - ), - backgroundColor: AppColors.white50, - maintainState: true, - expandedCrossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'Group:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' ${rule.group}', - ), - ], - ), - textAlign: TextAlign.left, - ), - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'State:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' ${rule.state}', - ), - ], - ), - textAlign: TextAlign.left, - ), - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'Incompatible:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' $incompatibleString', - ), - ], - ), - textAlign: TextAlign.left, - ), - Text.rich( - TextSpan( - children: [ - TextSpan( - text: 'Sets:', - style: textTheme.titleSmall, - ), - TextSpan( - text: ' $setsString', - ), - ], - ), - textAlign: TextAlign.left, - ), - const SizedBox( - height: 16.0, - ), - MarkdownBody( - data: rule.details, - selectable: true, - styleSheet: AppTheme.buildMarkDownTheme(theme), - ), - const SizedBox( - height: 16.0, - ), - ], - ); - }, - ); - } -} diff --git a/experimental/linting_tool/linux/flutter/generated_plugin_registrant.cc b/experimental/linting_tool/linux/flutter/generated_plugin_registrant.cc deleted file mode 100644 index c259cda91..000000000 --- a/experimental/linting_tool/linux/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,23 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - -#include -#include -#include - -void fl_register_plugins(FlPluginRegistry* registry) { - g_autoptr(FlPluginRegistrar) file_selector_linux_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin"); - file_selector_plugin_register_with_registrar(file_selector_linux_registrar); - g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); - url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); - g_autoptr(FlPluginRegistrar) window_size_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "WindowSizePlugin"); - window_size_plugin_register_with_registrar(window_size_registrar); -} diff --git a/experimental/linting_tool/macos/Flutter/GeneratedPluginRegistrant.swift b/experimental/linting_tool/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index 87d00ec02..000000000 --- a/experimental/linting_tool/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import file_selector_macos -import path_provider_foundation -import url_launcher_macos -import window_size - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin")) - PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) - UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) - WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin")) -} diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png deleted file mode 100644 index 3c4935a7c..000000000 Binary files a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png and /dev/null differ diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png deleted file mode 100644 index ed4cc1642..000000000 Binary files a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png and /dev/null differ diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png deleted file mode 100644 index 483be6138..000000000 Binary files a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png and /dev/null differ diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png deleted file mode 100644 index bcbf36df2..000000000 Binary files a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png and /dev/null differ diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png deleted file mode 100644 index 9c0a65286..000000000 Binary files a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png and /dev/null differ diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png deleted file mode 100644 index e71a72613..000000000 Binary files a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png and /dev/null differ diff --git a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png deleted file mode 100644 index 8a31fe2dd..000000000 Binary files a/experimental/linting_tool/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png and /dev/null differ diff --git a/experimental/linting_tool/pubspec.yaml b/experimental/linting_tool/pubspec.yaml deleted file mode 100644 index 093c73383..000000000 --- a/experimental/linting_tool/pubspec.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: linting_tool -description: A new Flutter project. - -version: 1.0.0+1 - -publish_to: "none" - -environment: - sdk: ^3.4.0-0 - -dependencies: - flutter: - sdk: flutter - adaptive_breakpoints: ^0.1.1 - cupertino_icons: ^1.0.2 - equatable: ^2.0.3 - file_selector: ^1.0.0 - flutter_markdown: ^0.7.3 - google_fonts: ^6.0.0 - hive: ^2.0.4 - hive_flutter: ^1.1.0 - http: ^1.2.1 - json2yaml: ^3.0.0 - json_annotation: ^4.8.1 - mockito: ^5.0.13 - provider: ^6.0.2 - yaml: ^3.1.0 - context_menus: ^1.0.1 - window_size: - git: - url: https://github.com/google/flutter-desktop-embedding.git - path: plugins/window_size - -dev_dependencies: - analysis_defaults: - path: ../../analysis_defaults - flutter_test: - sdk: flutter - build_runner: ^2.4.6 - hive_generator: ^2.0.0 - json_serializable: ^6.7.1 - -flutter: - uses-material-design: true diff --git a/experimental/linting_tool/test/widget_test.dart b/experimental/linting_tool/test/widget_test.dart deleted file mode 100644 index f32e5cb64..000000000 --- a/experimental/linting_tool/test/widget_test.dart +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2021 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:io'; - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; -import 'package:hive_flutter/hive_flutter.dart'; -import 'package:http/http.dart' as http; -import 'package:linting_tool/app.dart'; -import 'package:linting_tool/model/profile.dart'; -import 'package:linting_tool/model/profiles_store.dart'; -import 'package:linting_tool/model/rule.dart'; -import 'package:linting_tool/model/rules_store.dart'; -import 'package:linting_tool/pages/default_lints_page.dart'; -import 'package:linting_tool/pages/home_page.dart'; -import 'package:linting_tool/pages/saved_lints_page.dart'; -import 'package:linting_tool/theme/app_theme.dart'; -import 'package:linting_tool/widgets/adaptive_nav.dart'; -import 'package:mockito/annotations.dart'; -import 'package:mockito/mockito.dart'; -import 'package:provider/provider.dart'; - -import 'widget_test.mocks.dart'; - -late MockClient _mockClient; - -class _TestApp extends StatelessWidget { - const _TestApp(); - - @override - Widget build(BuildContext context) { - return MultiProvider( - providers: [ - ChangeNotifierProvider( - create: (context) => RuleStore(_mockClient), - ), - ChangeNotifierProvider( - create: (context) => ProfilesStore(_mockClient), - ), - ], - child: MaterialApp( - title: 'Flutter Linting Tool', - initialRoute: LintingTool.homeRoute, - theme: AppTheme.buildReplyLightTheme(context), - onGenerateRoute: (settings) { - switch (settings.name) { - case LintingTool.homeRoute: - return MaterialPageRoute( - builder: (context) => const AdaptiveNav(), - settings: settings, - ); - } - return null; - }, - ), - ); - } -} - -@GenerateMocks([http.Client]) -void main() { - setUp(() async { - final tempDir = await Directory.systemTemp.createTemp(); - Hive.init(tempDir.path); - Hive.registerAdapter(RuleAdapter()); - Hive.registerAdapter(RulesProfileAdapter()); - await Hive.openLazyBox('rules_profile'); - _mockClient = MockClient(); - }); - - testWidgets('NavigationRail smoke test', (tester) async { - var responseBody = - '''[{"name": "always_use_package_imports","description": "Avoid relative imports for files in `lib/`.","group": "errors","state": "stable","incompatible": [],"sets": [],"details": "*DO* avoid relative imports for files in `lib/`.\n\nWhen mixing relative and absolute imports it's possible to create confusion\nwhere the same member gets imported in two different ways. One way to avoid\nthat is to ensure you consistently use absolute imports for files withing the\n`lib/` directory.\n\nThis is the opposite of 'prefer_relative_imports'.\nMight be used with 'avoid_relative_lib_imports' to avoid relative imports of\nfiles within `lib/` directory outside of it. (for example `test/`)\n\n**GOOD:**\n\n```dart\nimport 'package:foo/bar.dart';\n\nimport 'package:foo/baz.dart';\n\nimport 'package:foo/src/baz.dart';\n...\n```\n\n**BAD:**\n\n```dart\nimport 'baz.dart';\n\nimport 'src/bag.dart'\n\nimport '../lib/baz.dart';\n\n...\n```\n\n"}]'''; - - when(_mockClient.get(Uri.parse( - 'https://raw.githubusercontent.com/dart-lang/site-www/main/src/_data/linter_rules.json', - ))).thenAnswer( - (_) async => http.Response(responseBody, 400), - ); - - await tester.pumpWidget(const _TestApp()); - expect(find.byType(HomePage), findsOneWidget); - expect(find.byType(SavedLintsPage), findsNothing); - - var offset = tester.getCenter(find.text('Saved Profiles').first); - await tester.tapAt(offset); - await tester.pumpAndSettle(); - expect(find.byType(SavedLintsPage), findsOneWidget); - expect(find.byType(DefaultLintsPage), findsNothing); - - offset = tester.getCenter(find.text('Default Profiles').first); - await tester.tapAt(offset); - await tester.pumpAndSettle(); - expect(find.byType(DefaultLintsPage), findsOneWidget); - expect(find.byType(HomePage), findsNothing); - - offset = tester.getCenter(find.text('Home').first); - await tester.tapAt(offset); - await tester.pumpAndSettle(); - expect(find.byType(HomePage), findsOneWidget); - }); -} diff --git a/experimental/linting_tool/test/widget_test.mocks.dart b/experimental/linting_tool/test/widget_test.mocks.dart deleted file mode 100644 index c3b2fb95d..000000000 --- a/experimental/linting_tool/test/widget_test.mocks.dart +++ /dev/null @@ -1,263 +0,0 @@ -// Mocks generated by Mockito 5.4.2 from annotations -// in linting_tool/test/widget_test.dart. -// Do not manually edit this file. - -// ignore_for_file: no_leading_underscores_for_library_prefixes -import 'dart:async' as _i3; -import 'dart:convert' as _i4; -import 'dart:typed_data' as _i5; - -import 'package:http/http.dart' as _i2; -import 'package:mockito/mockito.dart' as _i1; - -// ignore_for_file: type=lint -// ignore_for_file: avoid_redundant_argument_values -// ignore_for_file: avoid_setters_without_getters -// ignore_for_file: comment_references -// ignore_for_file: implementation_imports -// ignore_for_file: invalid_use_of_visible_for_testing_member -// ignore_for_file: prefer_const_constructors -// ignore_for_file: unnecessary_parenthesis -// ignore_for_file: camel_case_types -// ignore_for_file: subtype_of_sealed_class - -class _FakeResponse_0 extends _i1.SmartFake implements _i2.Response { - _FakeResponse_0( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeStreamedResponse_1 extends _i1.SmartFake - implements _i2.StreamedResponse { - _FakeStreamedResponse_1( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -/// A class which mocks [Client]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockClient extends _i1.Mock implements _i2.Client { - MockClient() { - _i1.throwOnMissingStub(this); - } - - @override - _i3.Future<_i2.Response> head( - Uri? url, { - Map? headers, - }) => - (super.noSuchMethod( - Invocation.method( - #head, - [url], - {#headers: headers}, - ), - returnValue: _i3.Future<_i2.Response>.value(_FakeResponse_0( - this, - Invocation.method( - #head, - [url], - {#headers: headers}, - ), - )), - ) as _i3.Future<_i2.Response>); - @override - _i3.Future<_i2.Response> get( - Uri? url, { - Map? headers, - }) => - (super.noSuchMethod( - Invocation.method( - #get, - [url], - {#headers: headers}, - ), - returnValue: _i3.Future<_i2.Response>.value(_FakeResponse_0( - this, - Invocation.method( - #get, - [url], - {#headers: headers}, - ), - )), - ) as _i3.Future<_i2.Response>); - @override - _i3.Future<_i2.Response> post( - Uri? url, { - Map? headers, - Object? body, - _i4.Encoding? encoding, - }) => - (super.noSuchMethod( - Invocation.method( - #post, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - returnValue: _i3.Future<_i2.Response>.value(_FakeResponse_0( - this, - Invocation.method( - #post, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - )), - ) as _i3.Future<_i2.Response>); - @override - _i3.Future<_i2.Response> put( - Uri? url, { - Map? headers, - Object? body, - _i4.Encoding? encoding, - }) => - (super.noSuchMethod( - Invocation.method( - #put, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - returnValue: _i3.Future<_i2.Response>.value(_FakeResponse_0( - this, - Invocation.method( - #put, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - )), - ) as _i3.Future<_i2.Response>); - @override - _i3.Future<_i2.Response> patch( - Uri? url, { - Map? headers, - Object? body, - _i4.Encoding? encoding, - }) => - (super.noSuchMethod( - Invocation.method( - #patch, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - returnValue: _i3.Future<_i2.Response>.value(_FakeResponse_0( - this, - Invocation.method( - #patch, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - )), - ) as _i3.Future<_i2.Response>); - @override - _i3.Future<_i2.Response> delete( - Uri? url, { - Map? headers, - Object? body, - _i4.Encoding? encoding, - }) => - (super.noSuchMethod( - Invocation.method( - #delete, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - returnValue: _i3.Future<_i2.Response>.value(_FakeResponse_0( - this, - Invocation.method( - #delete, - [url], - { - #headers: headers, - #body: body, - #encoding: encoding, - }, - ), - )), - ) as _i3.Future<_i2.Response>); - @override - _i3.Future read( - Uri? url, { - Map? headers, - }) => - (super.noSuchMethod( - Invocation.method( - #read, - [url], - {#headers: headers}, - ), - returnValue: _i3.Future.value(''), - ) as _i3.Future); - @override - _i3.Future<_i5.Uint8List> readBytes( - Uri? url, { - Map? headers, - }) => - (super.noSuchMethod( - Invocation.method( - #readBytes, - [url], - {#headers: headers}, - ), - returnValue: _i3.Future<_i5.Uint8List>.value(_i5.Uint8List(0)), - ) as _i3.Future<_i5.Uint8List>); - @override - _i3.Future<_i2.StreamedResponse> send(_i2.BaseRequest? request) => - (super.noSuchMethod( - Invocation.method( - #send, - [request], - ), - returnValue: - _i3.Future<_i2.StreamedResponse>.value(_FakeStreamedResponse_1( - this, - Invocation.method( - #send, - [request], - ), - )), - ) as _i3.Future<_i2.StreamedResponse>); - @override - void close() => super.noSuchMethod( - Invocation.method( - #close, - [], - ), - returnValueForMissingStub: null, - ); -} diff --git a/experimental/linting_tool/web/index.html b/experimental/linting_tool/web/index.html deleted file mode 100644 index 6749182c3..000000000 --- a/experimental/linting_tool/web/index.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - linting_tool - - - - - - - diff --git a/experimental/linting_tool/windows/runner/CMakeLists.txt b/experimental/linting_tool/windows/runner/CMakeLists.txt deleted file mode 100644 index 977e38b5d..000000000 --- a/experimental/linting_tool/windows/runner/CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ -cmake_minimum_required(VERSION 3.15) -project(runner LANGUAGES CXX) - -add_executable(${BINARY_NAME} WIN32 - "flutter_window.cpp" - "main.cpp" - "run_loop.cpp" - "utils.cpp" - "win32_window.cpp" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" - "Runner.rc" - "runner.exe.manifest" -) -apply_standard_settings(${BINARY_NAME}) -target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") -target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") -add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/experimental/linting_tool/windows/runner/run_loop.cpp b/experimental/linting_tool/windows/runner/run_loop.cpp deleted file mode 100644 index 2d6636ab6..000000000 --- a/experimental/linting_tool/windows/runner/run_loop.cpp +++ /dev/null @@ -1,66 +0,0 @@ -#include "run_loop.h" - -#include - -#include - -RunLoop::RunLoop() {} - -RunLoop::~RunLoop() {} - -void RunLoop::Run() { - bool keep_running = true; - TimePoint next_flutter_event_time = TimePoint::clock::now(); - while (keep_running) { - std::chrono::nanoseconds wait_duration = - std::max(std::chrono::nanoseconds(0), - next_flutter_event_time - TimePoint::clock::now()); - ::MsgWaitForMultipleObjects( - 0, nullptr, FALSE, static_cast(wait_duration.count() / 1000), - QS_ALLINPUT); - bool processed_events = false; - MSG message; - // All pending Windows messages must be processed; MsgWaitForMultipleObjects - // won't return again for items left in the queue after PeekMessage. - while (::PeekMessage(&message, nullptr, 0, 0, PM_REMOVE)) { - processed_events = true; - if (message.message == WM_QUIT) { - keep_running = false; - break; - } - ::TranslateMessage(&message); - ::DispatchMessage(&message); - // Allow Flutter to process messages each time a Windows message is - // processed, to prevent starvation. - next_flutter_event_time = - std::min(next_flutter_event_time, ProcessFlutterMessages()); - } - // If the PeekMessage loop didn't run, process Flutter messages. - if (!processed_events) { - next_flutter_event_time = - std::min(next_flutter_event_time, ProcessFlutterMessages()); - } - } -} - -void RunLoop::RegisterFlutterInstance( - flutter::FlutterEngine* flutter_instance) { - flutter_instances_.insert(flutter_instance); -} - -void RunLoop::UnregisterFlutterInstance( - flutter::FlutterEngine* flutter_instance) { - flutter_instances_.erase(flutter_instance); -} - -RunLoop::TimePoint RunLoop::ProcessFlutterMessages() { - TimePoint next_event_time = TimePoint::max(); - for (auto instance : flutter_instances_) { - std::chrono::nanoseconds wait_duration = instance->ProcessMessages(); - if (wait_duration != std::chrono::nanoseconds::max()) { - next_event_time = - std::min(next_event_time, TimePoint::clock::now() + wait_duration); - } - } - return next_event_time; -} diff --git a/experimental/linting_tool/windows/runner/run_loop.h b/experimental/linting_tool/windows/runner/run_loop.h deleted file mode 100644 index 000d36246..000000000 --- a/experimental/linting_tool/windows/runner/run_loop.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef RUNNER_RUN_LOOP_H_ -#define RUNNER_RUN_LOOP_H_ - -#include - -#include -#include - -// A runloop that will service events for Flutter instances as well -// as native messages. -class RunLoop { - public: - RunLoop(); - ~RunLoop(); - - // Prevent copying - RunLoop(RunLoop const&) = delete; - RunLoop& operator=(RunLoop const&) = delete; - - // Runs the run loop until the application quits. - void Run(); - - // Registers the given Flutter instance for event servicing. - void RegisterFlutterInstance( - flutter::FlutterEngine* flutter_instance); - - // Unregisters the given Flutter instance from event servicing. - void UnregisterFlutterInstance( - flutter::FlutterEngine* flutter_instance); - - private: - using TimePoint = std::chrono::steady_clock::time_point; - - // Processes all currently pending messages for registered Flutter instances. - TimePoint ProcessFlutterMessages(); - - std::set flutter_instances_; -}; - -#endif // RUNNER_RUN_LOOP_H_ diff --git a/experimental/pedometer/example/lib/steps_repo.dart b/experimental/pedometer/example/lib/steps_repo.dart index 980efd589..553f01536 100644 --- a/experimental/pedometer/example/lib/steps_repo.dart +++ b/experimental/pedometer/example/lib/steps_repo.dart @@ -6,8 +6,8 @@ import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:intl/intl.dart'; import 'package:jni/jni.dart' as jni; -import 'package:pedometer/pedometer_bindings_generated.dart' as pd; import 'package:pedometer/health_connect.dart' as hc; +import 'package:pedometer/pedometer_bindings_generated.dart' as pd; /// Class to hold the information needed for the chart class Steps { @@ -124,10 +124,12 @@ class _AndroidStepsRepo implements StepsRepo { late final hc.HealthConnectClient client; _AndroidStepsRepo() { + // ignore: invalid_use_of_internal_member activity = hc.Activity.fromReference(jni.Jni.getCurrentActivity()); applicationContext = + // ignore: invalid_use_of_internal_member hc.Context.fromReference(jni.Jni.getCachedApplicationContext()); - client = hc.HealthConnectClient.getOrCreate1(applicationContext); + client = hc.HealthConnectClient.getOrCreate$1(applicationContext); } @override @@ -153,7 +155,7 @@ class _AndroidStepsRepo implements StepsRepo { } final data = await Future.wait(futures); return data.asMap().entries.map((entry) { - final stepsLong = entry.value.get0(hc.StepsRecord.COUNT_TOTAL); + final stepsLong = entry.value.get(hc.StepsRecord.COUNT_TOTAL); final steps = stepsLong.isNull ? 0 : stepsLong.intValue(); return Steps(entry.key.toString().padLeft(2, '0'), steps); }).toList(); diff --git a/experimental/pedometer/example/pubspec.yaml b/experimental/pedometer/example/pubspec.yaml index 47cdddd7c..fc2874ab9 100644 --- a/experimental/pedometer/example/pubspec.yaml +++ b/experimental/pedometer/example/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -41,7 +41,7 @@ dependencies: ffi: ^2.1.2 intl: ^0.19.0 - jni: ^0.11.0 + jni: ^0.12.0 fl_chart: ^0.69.0 dev_dependencies: @@ -53,7 +53,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/experimental/pedometer/lib/health_connect.dart b/experimental/pedometer/lib/health_connect.dart index 718376d50..020c24340 100644 --- a/experimental/pedometer/lib/health_connect.dart +++ b/experimental/pedometer/lib/health_connect.dart @@ -1,16 +1,26 @@ // Autogenerated by jnigen. DO NOT EDIT! // ignore_for_file: annotate_overrides +// ignore_for_file: argument_type_not_assignable // ignore_for_file: camel_case_extensions // ignore_for_file: camel_case_types // ignore_for_file: constant_identifier_names // ignore_for_file: doc_directive_unknown // ignore_for_file: file_names +// ignore_for_file: inference_failure_on_untyped_parameter +// ignore_for_file: invalid_internal_annotation +// ignore_for_file: invalid_use_of_internal_member +// ignore_for_file: library_prefixes // ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: no_leading_underscores_for_library_prefixes // ignore_for_file: no_leading_underscores_for_local_identifiers // ignore_for_file: non_constant_identifier_names +// ignore_for_file: only_throw_errors // ignore_for_file: overridden_fields +// ignore_for_file: prefer_double_quotes +// ignore_for_file: unintended_html_in_doc_comment // ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_parenthesis // ignore_for_file: unused_element // ignore_for_file: unused_field // ignore_for_file: unused_import @@ -18,1379 +28,2233 @@ // ignore_for_file: unused_shown_name // ignore_for_file: use_super_parameters -import "dart:isolate" show ReceivePort; -import "dart:ffi" as ffi; -import "package:jni/internal_helpers_for_jnigen.dart"; -import "package:jni/jni.dart" as jni; +import 'dart:core' show Object, String, bool, double, int; +import 'dart:core' as _$core; -/// from: androidx.health.connect.client.HealthConnectClient$Companion -class HealthConnectClient_Companion extends jni.JObject { - @override - late final jni.JObjType $type = type; +import 'package:jni/_internal.dart' as _$jni; +import 'package:jni/jni.dart' as _$jni; +/// from: `androidx.health.connect.client.HealthConnectClient$Companion` +class HealthConnectClient_Companion extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + + @_$jni.internal HealthConnectClient_Companion.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/HealthConnectClient$Companion"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/HealthConnectClient$Companion'); /// The type which includes information such as the signature of this class. - static const type = $HealthConnectClient_CompanionType(); + static const type = $HealthConnectClient_Companion$Type(); static final _id_DEFAULT_PROVIDER_PACKAGE_NAME = _class.staticFieldId( - r"DEFAULT_PROVIDER_PACKAGE_NAME", - r"Ljava/lang/String;", + r'DEFAULT_PROVIDER_PACKAGE_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DEFAULT_PROVIDER_PACKAGE_NAME + /// from: `static public final java.lang.String DEFAULT_PROVIDER_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DEFAULT_PROVIDER_PACKAGE_NAME => - _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get DEFAULT_PROVIDER_PACKAGE_NAME => + _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const _$jni.JStringType()); static final _id_HEALTH_CONNECT_CLIENT_TAG = _class.staticFieldId( - r"HEALTH_CONNECT_CLIENT_TAG", - r"Ljava/lang/String;", + r'HEALTH_CONNECT_CLIENT_TAG', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String HEALTH_CONNECT_CLIENT_TAG + /// from: `static public final java.lang.String HEALTH_CONNECT_CLIENT_TAG` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get HEALTH_CONNECT_CLIENT_TAG => - _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const jni.JStringType()); + static _$jni.JString get HEALTH_CONNECT_CLIENT_TAG => + _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const _$jni.JStringType()); static final _id_isAvailable = _class.instanceMethodId( - r"isAvailable", - r"(Landroid/content/Context;Ljava/util/List;)Z", + r'isAvailable', + r'(Landroid/content/Context;Ljava/util/List;)Z', ); - static final _isAvailable = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _isAvailable = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public final boolean isAvailable(android.content.Context context, java.util.List list) + /// from: `public final boolean isAvailable(android.content.Context context, java.util.List list)` bool isAvailable( Context context, - jni.JList list, + _$jni.JList<_$jni.JString> list, ) { - return _isAvailable(reference.pointer, _id_isAvailable as jni.JMethodIDPtr, - context.reference.pointer, list.reference.pointer) + return _isAvailable( + reference.pointer, + _id_isAvailable as _$jni.JMethodIDPtr, + context.reference.pointer, + list.reference.pointer) .boolean; } static final _id_getOrCreate = _class.instanceMethodId( - r"getOrCreate", - r"(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;", + r'getOrCreate', + r'(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getOrCreate = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list) + /// from: `public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list)` /// The returned object must be released after use, by calling the [release] method. HealthConnectClient getOrCreate( Context context, - jni.JList list, + _$jni.JList<_$jni.JString> list, ) { - return _getOrCreate(reference.pointer, _id_getOrCreate as jni.JMethodIDPtr, - context.reference.pointer, list.reference.pointer) - .object(const $HealthConnectClientType()); + return _getOrCreate( + reference.pointer, + _id_getOrCreate as _$jni.JMethodIDPtr, + context.reference.pointer, + list.reference.pointer) + .object(const $HealthConnectClient$Type()); } - static final _id_isAvailable1 = _class.instanceMethodId( - r"isAvailable", - r"(Landroid/content/Context;)Z", + static final _id_isAvailable$1 = _class.instanceMethodId( + r'isAvailable', + r'(Landroid/content/Context;)Z', ); - static final _isAvailable1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _isAvailable$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final boolean isAvailable(android.content.Context context) - bool isAvailable1( + /// from: `public final boolean isAvailable(android.content.Context context)` + bool isAvailable$1( Context context, ) { - return _isAvailable1(reference.pointer, - _id_isAvailable1 as jni.JMethodIDPtr, context.reference.pointer) + return _isAvailable$1(reference.pointer, + _id_isAvailable$1 as _$jni.JMethodIDPtr, context.reference.pointer) .boolean; } - static final _id_getOrCreate1 = _class.instanceMethodId( - r"getOrCreate", - r"(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;", + static final _id_getOrCreate$1 = _class.instanceMethodId( + r'getOrCreate', + r'(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getOrCreate$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context) + /// from: `public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. - HealthConnectClient getOrCreate1( + HealthConnectClient getOrCreate$1( Context context, ) { - return _getOrCreate1(reference.pointer, - _id_getOrCreate1 as jni.JMethodIDPtr, context.reference.pointer) - .object(const $HealthConnectClientType()); + return _getOrCreate$1(reference.pointer, + _id_getOrCreate$1 as _$jni.JMethodIDPtr, context.reference.pointer) + .object(const $HealthConnectClient$Type()); } } -final class $HealthConnectClient_CompanionType - extends jni.JObjType { - const $HealthConnectClient_CompanionType(); +final class $HealthConnectClient_Companion$Type + extends _$jni.JObjType { + @_$jni.internal + const $HealthConnectClient_Companion$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/HealthConnectClient$Companion;"; + r'Landroidx/health/connect/client/HealthConnectClient$Companion;'; - @override - HealthConnectClient_Companion fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + HealthConnectClient_Companion fromReference(_$jni.JReference reference) => HealthConnectClient_Companion.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($HealthConnectClient_CompanionType).hashCode; + @_$core.override + int get hashCode => ($HealthConnectClient_Companion$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($HealthConnectClient_CompanionType) && - other is $HealthConnectClient_CompanionType; + return other.runtimeType == ($HealthConnectClient_Companion$Type) && + other is $HealthConnectClient_Companion$Type; } } -/// from: androidx.health.connect.client.HealthConnectClient -class HealthConnectClient extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.HealthConnectClient` +class HealthConnectClient extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal HealthConnectClient.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = - jni.JClass.forName(r"androidx/health/connect/client/HealthConnectClient"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/HealthConnectClient'); /// The type which includes information such as the signature of this class. - static const type = $HealthConnectClientType(); + static const type = $HealthConnectClient$Type(); static final _id_Companion = _class.staticFieldId( - r"Companion", - r"Landroidx/health/connect/client/HealthConnectClient$Companion;", + r'Companion', + r'Landroidx/health/connect/client/HealthConnectClient$Companion;', ); - /// from: static public final androidx.health.connect.client.HealthConnectClient$Companion Companion + /// from: `static public final androidx.health.connect.client.HealthConnectClient$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static HealthConnectClient_Companion get Companion => - _id_Companion.get(_class, const $HealthConnectClient_CompanionType()); + _id_Companion.get(_class, const $HealthConnectClient_Companion$Type()); static final _id_DEFAULT_PROVIDER_PACKAGE_NAME = _class.staticFieldId( - r"DEFAULT_PROVIDER_PACKAGE_NAME", - r"Ljava/lang/String;", + r'DEFAULT_PROVIDER_PACKAGE_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DEFAULT_PROVIDER_PACKAGE_NAME + /// from: `static public final java.lang.String DEFAULT_PROVIDER_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DEFAULT_PROVIDER_PACKAGE_NAME => - _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get DEFAULT_PROVIDER_PACKAGE_NAME => + _id_DEFAULT_PROVIDER_PACKAGE_NAME.get(_class, const _$jni.JStringType()); static final _id_HEALTH_CONNECT_CLIENT_TAG = _class.staticFieldId( - r"HEALTH_CONNECT_CLIENT_TAG", - r"Ljava/lang/String;", + r'HEALTH_CONNECT_CLIENT_TAG', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String HEALTH_CONNECT_CLIENT_TAG + /// from: `static public final java.lang.String HEALTH_CONNECT_CLIENT_TAG` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get HEALTH_CONNECT_CLIENT_TAG => - _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const jni.JStringType()); + static _$jni.JString get HEALTH_CONNECT_CLIENT_TAG => + _id_HEALTH_CONNECT_CLIENT_TAG.get(_class, const _$jni.JStringType()); static final _id_getPermissionController = _class.instanceMethodId( - r"getPermissionController", - r"()Landroidx/health/connect/client/PermissionController;", + r'getPermissionController', + r'()Landroidx/health/connect/client/PermissionController;', ); - static final _getPermissionController = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getPermissionController = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract androidx.health.connect.client.PermissionController getPermissionController() + /// from: `public abstract androidx.health.connect.client.PermissionController getPermissionController()` /// The returned object must be released after use, by calling the [release] method. PermissionController getPermissionController() { - return _getPermissionController( - reference.pointer, _id_getPermissionController as jni.JMethodIDPtr) - .object(const $PermissionControllerType()); + return _getPermissionController(reference.pointer, + _id_getPermissionController as _$jni.JMethodIDPtr) + .object(const $PermissionController$Type()); } static final _id_insertRecords = _class.instanceMethodId( - r"insertRecords", - r"(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'insertRecords', + r'(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _insertRecords = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _insertRecords = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object insertRecords(java.util.List list, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object insertRecords(java.util.List list, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future insertRecords( - jni.JList list, + _$core.Future<_$jni.JObject> insertRecords( + _$jni.JList<_$jni.JObject> list, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _insertRecords(reference.pointer, _id_insertRecords as jni.JMethodIDPtr, + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _insertRecords(reference.pointer, _id_insertRecords as _$jni.JMethodIDPtr, list.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_updateRecords = _class.instanceMethodId( - r"updateRecords", - r"(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'updateRecords', + r'(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _updateRecords = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _updateRecords = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object updateRecords(java.util.List list, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object updateRecords(java.util.List list, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future updateRecords( - jni.JList list, + _$core.Future<_$jni.JObject> updateRecords( + _$jni.JList<_$jni.JObject> list, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _updateRecords(reference.pointer, _id_updateRecords as jni.JMethodIDPtr, + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _updateRecords(reference.pointer, _id_updateRecords as _$jni.JMethodIDPtr, list.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_deleteRecords = _class.instanceMethodId( - r"deleteRecords", - r"(Lkotlin/reflect/KClass;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'deleteRecords', + r'(Lkotlin/reflect/KClass;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _deleteRecords = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _deleteRecords = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, java.util.List list, java.util.List list1, kotlin.coroutines.Continuation continuation) - /// The returned object must be released after use, by calling the [release] method. - Future deleteRecords( - jni.JObject kClass, - jni.JList list, - jni.JList list1, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, java.util.List list, java.util.List list1, kotlin.coroutines.Continuation continuation)` + /// The returned object must be released after use, by calling the [release] method. + _$core.Future<_$jni.JObject> deleteRecords( + _$jni.JObject kClass, + _$jni.JList<_$jni.JString> list, + _$jni.JList<_$jni.JString> list1, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); _deleteRecords( reference.pointer, - _id_deleteRecords as jni.JMethodIDPtr, + _id_deleteRecords as _$jni.JMethodIDPtr, kClass.reference.pointer, list.reference.pointer, list1.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } - static final _id_deleteRecords1 = _class.instanceMethodId( - r"deleteRecords", - r"(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + static final _id_deleteRecords$1 = _class.instanceMethodId( + r'deleteRecords', + r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _deleteRecords1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _deleteRecords$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, kotlin.coroutines.Continuation continuation) - /// The returned object must be released after use, by calling the [release] method. - Future deleteRecords1( - jni.JObject kClass, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, kotlin.coroutines.Continuation continuation)` + /// The returned object must be released after use, by calling the [release] method. + _$core.Future<_$jni.JObject> deleteRecords$1( + _$jni.JObject kClass, TimeRangeFilter timeRangeFilter, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _deleteRecords1( + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _deleteRecords$1( reference.pointer, - _id_deleteRecords1 as jni.JMethodIDPtr, + _id_deleteRecords$1 as _$jni.JMethodIDPtr, kClass.reference.pointer, timeRangeFilter.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_readRecord = _class.instanceMethodId( - r"readRecord", - r"(Lkotlin/reflect/KClass;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'readRecord', + r'(Lkotlin/reflect/KClass;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _readRecord = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _readRecord = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public abstract java.lang.Object readRecord(kotlin.reflect.KClass kClass, java.lang.String string, kotlin.coroutines.Continuation continuation) - /// The returned object must be released after use, by calling the [release] method. - Future readRecord<$T extends jni.JObject>( - jni.JObject kClass, - jni.JString string, { - required jni.JObjType<$T> T, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract java.lang.Object readRecord(kotlin.reflect.KClass kClass, java.lang.String string, kotlin.coroutines.Continuation continuation)` + /// The returned object must be released after use, by calling the [release] method. + _$core.Future<_$jni.JObject> readRecord<$T extends _$jni.JObject>( + _$jni.JObject kClass, + _$jni.JString string, { + required _$jni.JObjType<$T> T, }) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); _readRecord( reference.pointer, - _id_readRecord as jni.JMethodIDPtr, + _id_readRecord as _$jni.JMethodIDPtr, kClass.reference.pointer, string.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_readRecords = _class.instanceMethodId( - r"readRecords", - r"(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'readRecords', + r'(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _readRecords = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _readRecords = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object readRecords(androidx.health.connect.client.request.ReadRecordsRequest readRecordsRequest, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object readRecords(androidx.health.connect.client.request.ReadRecordsRequest readRecordsRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future readRecords<$T extends jni.JObject>( + _$core.Future<_$jni.JObject> readRecords<$T extends _$jni.JObject>( ReadRecordsRequest<$T> readRecordsRequest, { - jni.JObjType<$T>? T, + _$jni.JObjType<$T>? T, }) async { - T ??= jni.lowestCommonSuperType([ - (readRecordsRequest.$type as $ReadRecordsRequestType).T, - ]) as jni.JObjType<$T>; - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _readRecords(reference.pointer, _id_readRecords as jni.JMethodIDPtr, + T ??= _$jni.lowestCommonSuperType([ + (readRecordsRequest.$type as $ReadRecordsRequest$Type).T, + ]) as _$jni.JObjType<$T>; + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _readRecords(reference.pointer, _id_readRecords as _$jni.JMethodIDPtr, readRecordsRequest.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_aggregate = _class.instanceMethodId( - r"aggregate", - r"(Landroidx/health/connect/client/request/AggregateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'aggregate', + r'(Landroidx/health/connect/client/request/AggregateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregate = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _aggregate = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object aggregate(androidx.health.connect.client.request.AggregateRequest aggregateRequest, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object aggregate(androidx.health.connect.client.request.AggregateRequest aggregateRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future aggregate( + _$core.Future aggregate( AggregateRequest aggregateRequest, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _aggregate(reference.pointer, _id_aggregate as jni.JMethodIDPtr, + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _aggregate(reference.pointer, _id_aggregate as _$jni.JMethodIDPtr, aggregateRequest.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const $AggregationResultType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const $AggregationResult$Type().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const $AggregationResultType().fromReference($o); + return const $AggregationResult$Type().fromReference($o); } static final _id_aggregateGroupByDuration = _class.instanceMethodId( - r"aggregateGroupByDuration", - r"(Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'aggregateGroupByDuration', + r'(Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregateGroupByDuration = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _aggregateGroupByDuration = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object aggregateGroupByDuration(androidx.health.connect.client.request.AggregateGroupByDurationRequest aggregateGroupByDurationRequest, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object aggregateGroupByDuration(androidx.health.connect.client.request.AggregateGroupByDurationRequest aggregateGroupByDurationRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future> aggregateGroupByDuration( + _$core.Future<_$jni.JList<_$jni.JObject>> aggregateGroupByDuration( AggregateGroupByDurationRequest aggregateGroupByDurationRequest, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); _aggregateGroupByDuration( reference.pointer, - _id_aggregateGroupByDuration as jni.JMethodIDPtr, + _id_aggregateGroupByDuration as _$jni.JMethodIDPtr, aggregateGroupByDurationRequest.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JListType(jni.JObjectType()).jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = + const _$jni.JListType(_$jni.JObjectType()).jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JListType(jni.JObjectType()).fromReference($o); + return const _$jni.JListType(_$jni.JObjectType()).fromReference($o); } static final _id_aggregateGroupByPeriod = _class.instanceMethodId( - r"aggregateGroupByPeriod", - r"(Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'aggregateGroupByPeriod', + r'(Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregateGroupByPeriod = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _aggregateGroupByPeriod = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object aggregateGroupByPeriod(androidx.health.connect.client.request.AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object aggregateGroupByPeriod(androidx.health.connect.client.request.AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future> aggregateGroupByPeriod( + _$core.Future<_$jni.JList<_$jni.JObject>> aggregateGroupByPeriod( AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); _aggregateGroupByPeriod( reference.pointer, - _id_aggregateGroupByPeriod as jni.JMethodIDPtr, + _id_aggregateGroupByPeriod as _$jni.JMethodIDPtr, aggregateGroupByPeriodRequest.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JListType(jni.JObjectType()).jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = + const _$jni.JListType(_$jni.JObjectType()).jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JListType(jni.JObjectType()).fromReference($o); + return const _$jni.JListType(_$jni.JObjectType()).fromReference($o); } static final _id_getChangesToken = _class.instanceMethodId( - r"getChangesToken", - r"(Landroidx/health/connect/client/request/ChangesTokenRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'getChangesToken', + r'(Landroidx/health/connect/client/request/ChangesTokenRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getChangesToken = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getChangesToken = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object getChangesToken(androidx.health.connect.client.request.ChangesTokenRequest changesTokenRequest, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object getChangesToken(androidx.health.connect.client.request.ChangesTokenRequest changesTokenRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future getChangesToken( + _$core.Future<_$jni.JString> getChangesToken( ChangesTokenRequest changesTokenRequest, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _getChangesToken(reference.pointer, _id_getChangesToken as jni.JMethodIDPtr, - changesTokenRequest.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JStringType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _getChangesToken( + reference.pointer, + _id_getChangesToken as _$jni.JMethodIDPtr, + changesTokenRequest.reference.pointer, + $c.reference.pointer) + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JStringType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JStringType().fromReference($o); + return const _$jni.JStringType().fromReference($o); } static final _id_registerForDataNotifications = _class.instanceMethodId( - r"registerForDataNotifications", - r"(Ljava/lang/String;Ljava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'registerForDataNotifications', + r'(Ljava/lang/String;Ljava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _registerForDataNotifications = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public abstract java.lang.Object registerForDataNotifications(java.lang.String string, java.lang.Iterable iterable, kotlin.coroutines.Continuation continuation) - /// The returned object must be released after use, by calling the [release] method. - Future registerForDataNotifications( - jni.JString string, - jni.JObject iterable, + static final _registerForDataNotifications = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract java.lang.Object registerForDataNotifications(java.lang.String string, java.lang.Iterable iterable, kotlin.coroutines.Continuation continuation)` + /// The returned object must be released after use, by calling the [release] method. + _$core.Future<_$jni.JObject> registerForDataNotifications( + _$jni.JString string, + _$jni.JObject iterable, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); _registerForDataNotifications( reference.pointer, - _id_registerForDataNotifications as jni.JMethodIDPtr, + _id_registerForDataNotifications as _$jni.JMethodIDPtr, string.reference.pointer, iterable.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_unregisterFromDataNotifications = _class.instanceMethodId( - r"unregisterFromDataNotifications", - r"(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'unregisterFromDataNotifications', + r'(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _unregisterFromDataNotifications = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + static final _unregisterFromDataNotifications = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object unregisterFromDataNotifications(java.lang.String string, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object unregisterFromDataNotifications(java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future unregisterFromDataNotifications( - jni.JString string, + _$core.Future<_$jni.JObject> unregisterFromDataNotifications( + _$jni.JString string, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); _unregisterFromDataNotifications( reference.pointer, - _id_unregisterFromDataNotifications as jni.JMethodIDPtr, + _id_unregisterFromDataNotifications as _$jni.JMethodIDPtr, string.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_getChanges = _class.instanceMethodId( - r"getChanges", - r"(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'getChanges', + r'(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getChanges = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getChanges = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object getChanges(java.lang.String string, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object getChanges(java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future getChanges( - jni.JString string, + _$core.Future<_$jni.JObject> getChanges( + _$jni.JString string, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _getChanges(reference.pointer, _id_getChanges as jni.JMethodIDPtr, + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _getChanges(reference.pointer, _id_getChanges as _$jni.JMethodIDPtr, string.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_isAvailable = _class.staticMethodId( - r"isAvailable", - r"(Landroid/content/Context;Ljava/util/List;)Z", + r'isAvailable', + r'(Landroid/content/Context;Ljava/util/List;)Z', ); - static final _isAvailable = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _isAvailable = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticBooleanMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public boolean isAvailable(android.content.Context context, java.util.List list) + /// from: `static public boolean isAvailable(android.content.Context context, java.util.List list)` static bool isAvailable( Context context, - jni.JList list, + _$jni.JList<_$jni.JString> list, ) { return _isAvailable( _class.reference.pointer, - _id_isAvailable as jni.JMethodIDPtr, + _id_isAvailable as _$jni.JMethodIDPtr, context.reference.pointer, list.reference.pointer) .boolean; } static final _id_getOrCreate = _class.staticMethodId( - r"getOrCreate", - r"(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;", + r'getOrCreate', + r'(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getOrCreate = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list) + /// from: `static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list)` /// The returned object must be released after use, by calling the [release] method. static HealthConnectClient getOrCreate( Context context, - jni.JList list, + _$jni.JList<_$jni.JString> list, ) { return _getOrCreate( _class.reference.pointer, - _id_getOrCreate as jni.JMethodIDPtr, + _id_getOrCreate as _$jni.JMethodIDPtr, context.reference.pointer, list.reference.pointer) - .object(const $HealthConnectClientType()); + .object(const $HealthConnectClient$Type()); } - static final _id_isAvailable1 = _class.staticMethodId( - r"isAvailable", - r"(Landroid/content/Context;)Z", + static final _id_isAvailable$1 = _class.staticMethodId( + r'isAvailable', + r'(Landroid/content/Context;)Z', ); - static final _isAvailable1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticBooleanMethod") + static final _isAvailable$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public boolean isAvailable(android.content.Context context) - static bool isAvailable1( + /// from: `static public boolean isAvailable(android.content.Context context)` + static bool isAvailable$1( Context context, ) { - return _isAvailable1(_class.reference.pointer, - _id_isAvailable1 as jni.JMethodIDPtr, context.reference.pointer) + return _isAvailable$1(_class.reference.pointer, + _id_isAvailable$1 as _$jni.JMethodIDPtr, context.reference.pointer) .boolean; } - static final _id_getOrCreate1 = _class.staticMethodId( - r"getOrCreate", - r"(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;", + static final _id_getOrCreate$1 = _class.staticMethodId( + r'getOrCreate', + r'(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _getOrCreate$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context) + /// from: `static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. - static HealthConnectClient getOrCreate1( + static HealthConnectClient getOrCreate$1( Context context, ) { - return _getOrCreate1(_class.reference.pointer, - _id_getOrCreate1 as jni.JMethodIDPtr, context.reference.pointer) - .object(const $HealthConnectClientType()); + return _getOrCreate$1(_class.reference.pointer, + _id_getOrCreate$1 as _$jni.JMethodIDPtr, context.reference.pointer) + .object(const $HealthConnectClient$Type()); + } + + /// Maps a specific port to the implemented interface. + static final _$core.Map _$impls = {}; + static _$jni.JObjectPtr _$invoke( + int port, + _$jni.JObjectPtr descriptor, + _$jni.JObjectPtr args, + ) { + return _$invokeMethod( + port, + _$jni.MethodInvocation.fromAddresses( + 0, + descriptor.address, + args.address, + ), + ); + } + + static final _$jni.Pointer< + _$jni.NativeFunction< + _$jni.JObjectPtr Function( + _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> + _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + + static _$jni.Pointer<_$jni.Void> _$invokeMethod( + int $p, + _$jni.MethodInvocation $i, + ) { + try { + final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); + final $a = $i.args; + if ($d == + r'getPermissionController()Landroidx/health/connect/client/PermissionController;') { + final $r = _$impls[$p]!.getPermissionController(); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'insertRecords(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.insertRecords( + $a[0].as(const _$jni.JListType(_$jni.JObjectType()), + releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'updateRecords(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.updateRecords( + $a[0].as(const _$jni.JListType(_$jni.JObjectType()), + releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'deleteRecords(Lkotlin/reflect/KClass;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.deleteRecords( + $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), + $a[1].as(const _$jni.JListType(_$jni.JStringType()), + releaseOriginal: true), + $a[2].as(const _$jni.JListType(_$jni.JStringType()), + releaseOriginal: true), + $a[3].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'deleteRecords(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.deleteRecords$1( + $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), + $a[1].as(const $TimeRangeFilter$Type(), releaseOriginal: true), + $a[2].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'readRecord(Lkotlin/reflect/KClass;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.readRecord( + $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), + $a[1].as(const _$jni.JStringType(), releaseOriginal: true), + $a[2].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'readRecords(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.readRecords( + $a[0].as(const $ReadRecordsRequest$Type(_$jni.JObjectType()), + releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'aggregate(Landroidx/health/connect/client/request/AggregateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.aggregate( + $a[0].as(const $AggregateRequest$Type(), releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'aggregateGroupByDuration(Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.aggregateGroupByDuration( + $a[0].as(const $AggregateGroupByDurationRequest$Type(), + releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'aggregateGroupByPeriod(Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.aggregateGroupByPeriod( + $a[0].as(const $AggregateGroupByPeriodRequest$Type(), + releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'getChangesToken(Landroidx/health/connect/client/request/ChangesTokenRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.getChangesToken( + $a[0].as(const $ChangesTokenRequest$Type(), releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'registerForDataNotifications(Ljava/lang/String;Ljava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.registerForDataNotifications( + $a[0].as(const _$jni.JStringType(), releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + $a[2].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'unregisterFromDataNotifications(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.unregisterFromDataNotifications( + $a[0].as(const _$jni.JStringType(), releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'getChanges(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.getChanges( + $a[0].as(const _$jni.JStringType(), releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == r'isAvailable(Landroid/content/Context;Ljava/util/List;)Z') { + final $r = _$impls[$p]!.isAvailable( + $a[0].as(const $Context$Type(), releaseOriginal: true), + $a[1].as(const _$jni.JListType(_$jni.JStringType()), + releaseOriginal: true), + ); + return _$jni.JBoolean($r).reference.toPointer(); + } + if ($d == + r'getOrCreate(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;') { + final $r = _$impls[$p]!.getOrCreate( + $a[0].as(const $Context$Type(), releaseOriginal: true), + $a[1].as(const _$jni.JListType(_$jni.JStringType()), + releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == r'isAvailable(Landroid/content/Context;)Z') { + final $r = _$impls[$p]!.isAvailable$1( + $a[0].as(const $Context$Type(), releaseOriginal: true), + ); + return _$jni.JBoolean($r).reference.toPointer(); + } + if ($d == + r'getOrCreate(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;') { + final $r = _$impls[$p]!.getOrCreate$1( + $a[0].as(const $Context$Type(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + } catch (e) { + return _$jni.ProtectedJniExtensions.newDartException(e); + } + return _$jni.nullptr; + } + + static void implementIn( + _$jni.JImplementer implementer, + $HealthConnectClient $impl, + ) { + late final _$jni.RawReceivePort $p; + $p = _$jni.RawReceivePort(($m) { + if ($m == null) { + _$impls.remove($p.sendPort.nativePort); + $p.close(); + return; + } + final $i = _$jni.MethodInvocation.fromMessage($m); + final $r = _$invokeMethod($p.sendPort.nativePort, $i); + _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + }); + implementer.add( + r'androidx.health.connect.client.HealthConnectClient', + $p, + _$invokePointer, + [], + ); + final $a = $p.sendPort.nativePort; + _$impls[$a] = $impl; + } + + factory HealthConnectClient.implement( + $HealthConnectClient $impl, + ) { + final $i = _$jni.JImplementer(); + implementIn($i, $impl); + return HealthConnectClient.fromReference( + $i.implementReference(), + ); + } +} + +abstract base mixin class $HealthConnectClient { + factory $HealthConnectClient({ + required PermissionController Function() getPermissionController, + required _$jni.JObject Function( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + insertRecords, + required _$jni.JObject Function( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + updateRecords, + required _$jni.JObject Function( + _$jni.JObject kClass, + _$jni.JList<_$jni.JString> list, + _$jni.JList<_$jni.JString> list1, + _$jni.JObject $c) + deleteRecords, + required _$jni.JObject Function(_$jni.JObject kClass, + TimeRangeFilter timeRangeFilter, _$jni.JObject $c) + deleteRecords$1, + required _$jni.JObject Function( + _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) + readRecord, + required _$jni.JObject Function( + ReadRecordsRequest<_$jni.JObject> readRecordsRequest, + _$jni.JObject $c) + readRecords, + required _$jni.JObject Function( + AggregateRequest aggregateRequest, _$jni.JObject $c) + aggregate, + required _$jni.JObject Function( + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + _$jni.JObject $c) + aggregateGroupByDuration, + required _$jni.JObject Function( + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + _$jni.JObject $c) + aggregateGroupByPeriod, + required _$jni.JObject Function( + ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) + getChangesToken, + required _$jni.JObject Function( + _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) + registerForDataNotifications, + required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + unregisterFromDataNotifications, + required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + getChanges, + required bool Function(Context context, _$jni.JList<_$jni.JString> list) + isAvailable, + required HealthConnectClient Function( + Context context, _$jni.JList<_$jni.JString> list) + getOrCreate, + required bool Function(Context context) isAvailable$1, + required HealthConnectClient Function(Context context) getOrCreate$1, + }) = _$HealthConnectClient; + + PermissionController getPermissionController(); + _$jni.JObject insertRecords( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c); + _$jni.JObject updateRecords( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c); + _$jni.JObject deleteRecords( + _$jni.JObject kClass, + _$jni.JList<_$jni.JString> list, + _$jni.JList<_$jni.JString> list1, + _$jni.JObject $c); + _$jni.JObject deleteRecords$1( + _$jni.JObject kClass, TimeRangeFilter timeRangeFilter, _$jni.JObject $c); + _$jni.JObject readRecord( + _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c); + _$jni.JObject readRecords( + ReadRecordsRequest<_$jni.JObject> readRecordsRequest, _$jni.JObject $c); + _$jni.JObject aggregate(AggregateRequest aggregateRequest, _$jni.JObject $c); + _$jni.JObject aggregateGroupByDuration( + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + _$jni.JObject $c); + _$jni.JObject aggregateGroupByPeriod( + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + _$jni.JObject $c); + _$jni.JObject getChangesToken( + ChangesTokenRequest changesTokenRequest, _$jni.JObject $c); + _$jni.JObject registerForDataNotifications( + _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c); + _$jni.JObject unregisterFromDataNotifications( + _$jni.JString string, _$jni.JObject $c); + _$jni.JObject getChanges(_$jni.JString string, _$jni.JObject $c); + bool isAvailable(Context context, _$jni.JList<_$jni.JString> list); + HealthConnectClient getOrCreate( + Context context, _$jni.JList<_$jni.JString> list); + bool isAvailable$1(Context context); + HealthConnectClient getOrCreate$1(Context context); +} + +final class _$HealthConnectClient with $HealthConnectClient { + _$HealthConnectClient({ + required PermissionController Function() getPermissionController, + required _$jni.JObject Function( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + insertRecords, + required _$jni.JObject Function( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) + updateRecords, + required _$jni.JObject Function( + _$jni.JObject kClass, + _$jni.JList<_$jni.JString> list, + _$jni.JList<_$jni.JString> list1, + _$jni.JObject $c) + deleteRecords, + required _$jni.JObject Function(_$jni.JObject kClass, + TimeRangeFilter timeRangeFilter, _$jni.JObject $c) + deleteRecords$1, + required _$jni.JObject Function( + _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) + readRecord, + required _$jni.JObject Function( + ReadRecordsRequest<_$jni.JObject> readRecordsRequest, + _$jni.JObject $c) + readRecords, + required _$jni.JObject Function( + AggregateRequest aggregateRequest, _$jni.JObject $c) + aggregate, + required _$jni.JObject Function( + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + _$jni.JObject $c) + aggregateGroupByDuration, + required _$jni.JObject Function( + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + _$jni.JObject $c) + aggregateGroupByPeriod, + required _$jni.JObject Function( + ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) + getChangesToken, + required _$jni.JObject Function( + _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) + registerForDataNotifications, + required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + unregisterFromDataNotifications, + required _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + getChanges, + required bool Function(Context context, _$jni.JList<_$jni.JString> list) + isAvailable, + required HealthConnectClient Function( + Context context, _$jni.JList<_$jni.JString> list) + getOrCreate, + required bool Function(Context context) isAvailable$1, + required HealthConnectClient Function(Context context) getOrCreate$1, + }) : _getPermissionController = getPermissionController, + _insertRecords = insertRecords, + _updateRecords = updateRecords, + _deleteRecords = deleteRecords, + _deleteRecords$1 = deleteRecords$1, + _readRecord = readRecord, + _readRecords = readRecords, + _aggregate = aggregate, + _aggregateGroupByDuration = aggregateGroupByDuration, + _aggregateGroupByPeriod = aggregateGroupByPeriod, + _getChangesToken = getChangesToken, + _registerForDataNotifications = registerForDataNotifications, + _unregisterFromDataNotifications = unregisterFromDataNotifications, + _getChanges = getChanges, + _isAvailable = isAvailable, + _getOrCreate = getOrCreate, + _isAvailable$1 = isAvailable$1, + _getOrCreate$1 = getOrCreate$1; + + final PermissionController Function() _getPermissionController; + final _$jni.JObject Function( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) _insertRecords; + final _$jni.JObject Function( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) _updateRecords; + final _$jni.JObject Function( + _$jni.JObject kClass, + _$jni.JList<_$jni.JString> list, + _$jni.JList<_$jni.JString> list1, + _$jni.JObject $c) _deleteRecords; + final _$jni.JObject Function(_$jni.JObject kClass, + TimeRangeFilter timeRangeFilter, _$jni.JObject $c) _deleteRecords$1; + final _$jni.JObject Function( + _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) _readRecord; + final _$jni.JObject Function( + ReadRecordsRequest<_$jni.JObject> readRecordsRequest, + _$jni.JObject $c) _readRecords; + final _$jni.JObject Function( + AggregateRequest aggregateRequest, _$jni.JObject $c) _aggregate; + final _$jni.JObject Function( + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + _$jni.JObject $c) _aggregateGroupByDuration; + final _$jni.JObject Function( + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + _$jni.JObject $c) _aggregateGroupByPeriod; + final _$jni.JObject Function( + ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) + _getChangesToken; + final _$jni.JObject Function( + _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) + _registerForDataNotifications; + final _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + _unregisterFromDataNotifications; + final _$jni.JObject Function(_$jni.JString string, _$jni.JObject $c) + _getChanges; + final bool Function(Context context, _$jni.JList<_$jni.JString> list) + _isAvailable; + final HealthConnectClient Function( + Context context, _$jni.JList<_$jni.JString> list) _getOrCreate; + final bool Function(Context context) _isAvailable$1; + final HealthConnectClient Function(Context context) _getOrCreate$1; + + PermissionController getPermissionController() { + return _getPermissionController(); + } + + _$jni.JObject insertRecords( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) { + return _insertRecords(list, $c); + } + + _$jni.JObject updateRecords( + _$jni.JList<_$jni.JObject> list, _$jni.JObject $c) { + return _updateRecords(list, $c); + } + + _$jni.JObject deleteRecords( + _$jni.JObject kClass, + _$jni.JList<_$jni.JString> list, + _$jni.JList<_$jni.JString> list1, + _$jni.JObject $c) { + return _deleteRecords(kClass, list, list1, $c); + } + + _$jni.JObject deleteRecords$1( + _$jni.JObject kClass, TimeRangeFilter timeRangeFilter, _$jni.JObject $c) { + return _deleteRecords$1(kClass, timeRangeFilter, $c); + } + + _$jni.JObject readRecord( + _$jni.JObject kClass, _$jni.JString string, _$jni.JObject $c) { + return _readRecord(kClass, string, $c); + } + + _$jni.JObject readRecords( + ReadRecordsRequest<_$jni.JObject> readRecordsRequest, _$jni.JObject $c) { + return _readRecords(readRecordsRequest, $c); + } + + _$jni.JObject aggregate(AggregateRequest aggregateRequest, _$jni.JObject $c) { + return _aggregate(aggregateRequest, $c); + } + + _$jni.JObject aggregateGroupByDuration( + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + _$jni.JObject $c) { + return _aggregateGroupByDuration(aggregateGroupByDurationRequest, $c); + } + + _$jni.JObject aggregateGroupByPeriod( + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + _$jni.JObject $c) { + return _aggregateGroupByPeriod(aggregateGroupByPeriodRequest, $c); + } + + _$jni.JObject getChangesToken( + ChangesTokenRequest changesTokenRequest, _$jni.JObject $c) { + return _getChangesToken(changesTokenRequest, $c); + } + + _$jni.JObject registerForDataNotifications( + _$jni.JString string, _$jni.JObject iterable, _$jni.JObject $c) { + return _registerForDataNotifications(string, iterable, $c); + } + + _$jni.JObject unregisterFromDataNotifications( + _$jni.JString string, _$jni.JObject $c) { + return _unregisterFromDataNotifications(string, $c); + } + + _$jni.JObject getChanges(_$jni.JString string, _$jni.JObject $c) { + return _getChanges(string, $c); + } + + bool isAvailable(Context context, _$jni.JList<_$jni.JString> list) { + return _isAvailable(context, list); + } + + HealthConnectClient getOrCreate( + Context context, _$jni.JList<_$jni.JString> list) { + return _getOrCreate(context, list); + } + + bool isAvailable$1(Context context) { + return _isAvailable$1(context); + } + + HealthConnectClient getOrCreate$1(Context context) { + return _getOrCreate$1(context); } } -final class $HealthConnectClientType extends jni.JObjType { - const $HealthConnectClientType(); +final class $HealthConnectClient$Type + extends _$jni.JObjType { + @_$jni.internal + const $HealthConnectClient$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/HealthConnectClient;"; + r'Landroidx/health/connect/client/HealthConnectClient;'; - @override - HealthConnectClient fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + HealthConnectClient fromReference(_$jni.JReference reference) => HealthConnectClient.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($HealthConnectClientType).hashCode; + @_$core.override + int get hashCode => ($HealthConnectClient$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($HealthConnectClientType) && - other is $HealthConnectClientType; + return other.runtimeType == ($HealthConnectClient$Type) && + other is $HealthConnectClient$Type; } } -/// from: androidx.health.connect.client.PermissionController$Companion -class PermissionController_Companion extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.PermissionController$Companion` +class PermissionController_Companion extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal PermissionController_Companion.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/PermissionController$Companion"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/PermissionController$Companion'); /// The type which includes information such as the signature of this class. - static const type = $PermissionController_CompanionType(); + static const type = $PermissionController_Companion$Type(); static final _id_createRequestPermissionResultContract = _class.instanceMethodId( - r"createRequestPermissionResultContract", - r"(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;", + r'createRequestPermissionResultContract', + r'(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;', ); static final _createRequestPermissionResultContract = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string) + /// from: `public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject createRequestPermissionResultContract( - jni.JString string, + _$jni.JObject createRequestPermissionResultContract( + _$jni.JString string, ) { return _createRequestPermissionResultContract( reference.pointer, - _id_createRequestPermissionResultContract as jni.JMethodIDPtr, + _id_createRequestPermissionResultContract as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_createRequestPermissionResultContract1 = + static final _id_createRequestPermissionResultContract$1 = _class.instanceMethodId( - r"createRequestPermissionResultContract", - r"()Landroidx/activity/result/contract/ActivityResultContract;", + r'createRequestPermissionResultContract', + r'()Landroidx/activity/result/contract/ActivityResultContract;', ); - static final _createRequestPermissionResultContract1 = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _createRequestPermissionResultContract$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract() + /// from: `public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject createRequestPermissionResultContract1() { - return _createRequestPermissionResultContract1(reference.pointer, - _id_createRequestPermissionResultContract1 as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject createRequestPermissionResultContract$1() { + return _createRequestPermissionResultContract$1(reference.pointer, + _id_createRequestPermissionResultContract$1 as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } } -final class $PermissionController_CompanionType - extends jni.JObjType { - const $PermissionController_CompanionType(); +final class $PermissionController_Companion$Type + extends _$jni.JObjType { + @_$jni.internal + const $PermissionController_Companion$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/PermissionController$Companion;"; + r'Landroidx/health/connect/client/PermissionController$Companion;'; - @override - PermissionController_Companion fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + PermissionController_Companion fromReference(_$jni.JReference reference) => PermissionController_Companion.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($PermissionController_CompanionType).hashCode; + @_$core.override + int get hashCode => ($PermissionController_Companion$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($PermissionController_CompanionType) && - other is $PermissionController_CompanionType; + return other.runtimeType == ($PermissionController_Companion$Type) && + other is $PermissionController_Companion$Type; } } -/// from: androidx.health.connect.client.PermissionController -class PermissionController extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.PermissionController` +class PermissionController extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal PermissionController.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/PermissionController"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/PermissionController'); /// The type which includes information such as the signature of this class. - static const type = $PermissionControllerType(); + static const type = $PermissionController$Type(); static final _id_Companion = _class.staticFieldId( - r"Companion", - r"Landroidx/health/connect/client/PermissionController$Companion;", + r'Companion', + r'Landroidx/health/connect/client/PermissionController$Companion;', ); - /// from: static public final androidx.health.connect.client.PermissionController$Companion Companion + /// from: `static public final androidx.health.connect.client.PermissionController$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static PermissionController_Companion get Companion => - _id_Companion.get(_class, const $PermissionController_CompanionType()); + _id_Companion.get(_class, const $PermissionController_Companion$Type()); static final _id_getGrantedPermissions = _class.instanceMethodId( - r"getGrantedPermissions", - r"(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", + r'getGrantedPermissions', + r'(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getGrantedPermissions = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getGrantedPermissions = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object getGrantedPermissions(java.util.Set set, kotlin.coroutines.Continuation continuation) + /// from: `public abstract java.lang.Object getGrantedPermissions(java.util.Set set, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - Future> getGrantedPermissions( - jni.JSet set0, + _$core.Future<_$jni.JSet<_$jni.JObject>> getGrantedPermissions( + _$jni.JSet<_$jni.JObject> set, ) async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); _getGrantedPermissions( reference.pointer, - _id_getGrantedPermissions as jni.JMethodIDPtr, - set0.reference.pointer, + _id_getGrantedPermissions as _$jni.JMethodIDPtr, + set.reference.pointer, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JSetType(jni.JObjectType()).jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = + const _$jni.JSetType(_$jni.JObjectType()).jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JSetType(jni.JObjectType()).fromReference($o); + return const _$jni.JSetType(_$jni.JObjectType()).fromReference($o); } static final _id_revokeAllPermissions = _class.instanceMethodId( - r"revokeAllPermissions", - r"(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", - ); - - static final _revokeAllPermissions = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: public abstract java.lang.Object revokeAllPermissions(kotlin.coroutines.Continuation continuation) - /// The returned object must be released after use, by calling the [release] method. - Future revokeAllPermissions() async { - final $p = ReceivePort(); - final $c = jni.JObject.fromReference( - ProtectedJniExtensions.newPortContinuation($p)); - _revokeAllPermissions(reference.pointer, - _id_revokeAllPermissions as jni.JMethodIDPtr, $c.reference.pointer) - .object(const jni.JObjectType()); - final $o = jni.JGlobalReference(jni.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni.JObjectType().jClass.reference.pointer; - if (!jni.Jni.env.IsInstanceOf($o.pointer, $k)) { - throw "Failed"; + r'revokeAllPermissions', + r'(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', + ); + + static final _revokeAllPermissions = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract java.lang.Object revokeAllPermissions(kotlin.coroutines.Continuation continuation)` + /// The returned object must be released after use, by calling the [release] method. + _$core.Future<_$jni.JObject> revokeAllPermissions() async { + final $p = _$jni.ReceivePort(); + final $c = _$jni.JObject.fromReference( + _$jni.ProtectedJniExtensions.newPortContinuation($p)); + _revokeAllPermissions( + reference.pointer, + _id_revokeAllPermissions as _$jni.JMethodIDPtr, + $c.reference.pointer) + .object(const _$jni.JObjectType()); + final $o = + _$jni.JGlobalReference(_$jni.JObjectPtr.fromAddress(await $p.first)); + final $k = const _$jni.JObjectType().jClass.reference.pointer; + if (!_$jni.Jni.env.IsInstanceOf($o.pointer, $k)) { + throw 'Failed'; } - return const jni.JObjectType().fromReference($o); + return const _$jni.JObjectType().fromReference($o); } static final _id_createRequestPermissionResultContract = _class.staticMethodId( - r"createRequestPermissionResultContract", - r"(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;", + r'createRequestPermissionResultContract', + r'(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;', ); static final _createRequestPermissionResultContract = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string) + /// from: `static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static jni.JObject createRequestPermissionResultContract( - jni.JString string, + static _$jni.JObject createRequestPermissionResultContract( + _$jni.JString string, ) { return _createRequestPermissionResultContract( _class.reference.pointer, - _id_createRequestPermissionResultContract as jni.JMethodIDPtr, + _id_createRequestPermissionResultContract as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_createRequestPermissionResultContract1 = + static final _id_createRequestPermissionResultContract$1 = _class.staticMethodId( - r"createRequestPermissionResultContract", - r"()Landroidx/activity/result/contract/ActivityResultContract;", + r'createRequestPermissionResultContract', + r'()Landroidx/activity/result/contract/ActivityResultContract;', ); - static final _createRequestPermissionResultContract1 = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + static final _createRequestPermissionResultContract$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract() + /// from: `static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract()` /// The returned object must be released after use, by calling the [release] method. - static jni.JObject createRequestPermissionResultContract1() { - return _createRequestPermissionResultContract1(_class.reference.pointer, - _id_createRequestPermissionResultContract1 as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + static _$jni.JObject createRequestPermissionResultContract$1() { + return _createRequestPermissionResultContract$1(_class.reference.pointer, + _id_createRequestPermissionResultContract$1 as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); + } + + /// Maps a specific port to the implemented interface. + static final _$core.Map _$impls = {}; + static _$jni.JObjectPtr _$invoke( + int port, + _$jni.JObjectPtr descriptor, + _$jni.JObjectPtr args, + ) { + return _$invokeMethod( + port, + _$jni.MethodInvocation.fromAddresses( + 0, + descriptor.address, + args.address, + ), + ); + } + + static final _$jni.Pointer< + _$jni.NativeFunction< + _$jni.JObjectPtr Function( + _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> + _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + + static _$jni.Pointer<_$jni.Void> _$invokeMethod( + int $p, + _$jni.MethodInvocation $i, + ) { + try { + final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); + final $a = $i.args; + if ($d == + r'getGrantedPermissions(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.getGrantedPermissions( + $a[0].as(const _$jni.JSetType(_$jni.JObjectType()), + releaseOriginal: true), + $a[1].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'revokeAllPermissions(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.revokeAllPermissions( + $a[0].as(const _$jni.JObjectType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'createRequestPermissionResultContract(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;') { + final $r = _$impls[$p]!.createRequestPermissionResultContract( + $a[0].as(const _$jni.JStringType(), releaseOriginal: true), + ); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + if ($d == + r'createRequestPermissionResultContract()Landroidx/activity/result/contract/ActivityResultContract;') { + final $r = _$impls[$p]!.createRequestPermissionResultContract$1(); + return ($r as _$jni.JObject) + .as(const _$jni.JObjectType()) + .reference + .toPointer(); + } + } catch (e) { + return _$jni.ProtectedJniExtensions.newDartException(e); + } + return _$jni.nullptr; + } + + static void implementIn( + _$jni.JImplementer implementer, + $PermissionController $impl, + ) { + late final _$jni.RawReceivePort $p; + $p = _$jni.RawReceivePort(($m) { + if ($m == null) { + _$impls.remove($p.sendPort.nativePort); + $p.close(); + return; + } + final $i = _$jni.MethodInvocation.fromMessage($m); + final $r = _$invokeMethod($p.sendPort.nativePort, $i); + _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + }); + implementer.add( + r'androidx.health.connect.client.PermissionController', + $p, + _$invokePointer, + [], + ); + final $a = $p.sendPort.nativePort; + _$impls[$a] = $impl; + } + + factory PermissionController.implement( + $PermissionController $impl, + ) { + final $i = _$jni.JImplementer(); + implementIn($i, $impl); + return PermissionController.fromReference( + $i.implementReference(), + ); + } +} + +abstract base mixin class $PermissionController { + factory $PermissionController({ + required _$jni.JObject Function( + _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) + getGrantedPermissions, + required _$jni.JObject Function(_$jni.JObject $c) revokeAllPermissions, + required _$jni.JObject Function(_$jni.JString string) + createRequestPermissionResultContract, + required _$jni.JObject Function() createRequestPermissionResultContract$1, + }) = _$PermissionController; + + _$jni.JObject getGrantedPermissions( + _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c); + _$jni.JObject revokeAllPermissions(_$jni.JObject $c); + _$jni.JObject createRequestPermissionResultContract(_$jni.JString string); + _$jni.JObject createRequestPermissionResultContract$1(); +} + +final class _$PermissionController with $PermissionController { + _$PermissionController({ + required _$jni.JObject Function( + _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) + getGrantedPermissions, + required _$jni.JObject Function(_$jni.JObject $c) revokeAllPermissions, + required _$jni.JObject Function(_$jni.JString string) + createRequestPermissionResultContract, + required _$jni.JObject Function() createRequestPermissionResultContract$1, + }) : _getGrantedPermissions = getGrantedPermissions, + _revokeAllPermissions = revokeAllPermissions, + _createRequestPermissionResultContract = + createRequestPermissionResultContract, + _createRequestPermissionResultContract$1 = + createRequestPermissionResultContract$1; + + final _$jni.JObject Function(_$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) + _getGrantedPermissions; + final _$jni.JObject Function(_$jni.JObject $c) _revokeAllPermissions; + final _$jni.JObject Function(_$jni.JString string) + _createRequestPermissionResultContract; + final _$jni.JObject Function() _createRequestPermissionResultContract$1; + + _$jni.JObject getGrantedPermissions( + _$jni.JSet<_$jni.JObject> set, _$jni.JObject $c) { + return _getGrantedPermissions(set, $c); + } + + _$jni.JObject revokeAllPermissions(_$jni.JObject $c) { + return _revokeAllPermissions($c); + } + + _$jni.JObject createRequestPermissionResultContract(_$jni.JString string) { + return _createRequestPermissionResultContract(string); + } + + _$jni.JObject createRequestPermissionResultContract$1() { + return _createRequestPermissionResultContract$1(); } } -final class $PermissionControllerType - extends jni.JObjType { - const $PermissionControllerType(); +final class $PermissionController$Type + extends _$jni.JObjType { + @_$jni.internal + const $PermissionController$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/PermissionController;"; + r'Landroidx/health/connect/client/PermissionController;'; - @override - PermissionController fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + PermissionController fromReference(_$jni.JReference reference) => PermissionController.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($PermissionControllerType).hashCode; + @_$core.override + int get hashCode => ($PermissionController$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($PermissionControllerType) && - other is $PermissionControllerType; + return other.runtimeType == ($PermissionController$Type) && + other is $PermissionController$Type; } } -/// from: androidx.health.connect.client.records.StepsRecord$Companion -class StepsRecord_Companion extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.records.StepsRecord$Companion` +class StepsRecord_Companion extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal StepsRecord_Companion.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/records/StepsRecord$Companion"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/records/StepsRecord$Companion'); /// The type which includes information such as the signature of this class. - static const type = $StepsRecord_CompanionType(); - static final _id_new0 = _class.constructorId( - r"(Lkotlin/jvm/internal/DefaultConstructorMarker;)V", + static const type = $StepsRecord_Companion$Type(); + static final _id_new$ = _class.constructorId( + r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory StepsRecord_Companion( - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return StepsRecord_Companion.fromReference(_new0( + return StepsRecord_Companion.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, defaultConstructorMarker.reference.pointer) .reference); } } -final class $StepsRecord_CompanionType - extends jni.JObjType { - const $StepsRecord_CompanionType(); +final class $StepsRecord_Companion$Type + extends _$jni.JObjType { + @_$jni.internal + const $StepsRecord_Companion$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/records/StepsRecord$Companion;"; + r'Landroidx/health/connect/client/records/StepsRecord$Companion;'; - @override - StepsRecord_Companion fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + StepsRecord_Companion fromReference(_$jni.JReference reference) => StepsRecord_Companion.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($StepsRecord_CompanionType).hashCode; + @_$core.override + int get hashCode => ($StepsRecord_Companion$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($StepsRecord_CompanionType) && - other is $StepsRecord_CompanionType; + return other.runtimeType == ($StepsRecord_Companion$Type) && + other is $StepsRecord_Companion$Type; } } -/// from: androidx.health.connect.client.records.StepsRecord -class StepsRecord extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.records.StepsRecord` +class StepsRecord extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal StepsRecord.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = - jni.JClass.forName(r"androidx/health/connect/client/records/StepsRecord"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/records/StepsRecord'); /// The type which includes information such as the signature of this class. - static const type = $StepsRecordType(); + static const type = $StepsRecord$Type(); static final _id_Companion = _class.staticFieldId( - r"Companion", - r"Landroidx/health/connect/client/records/StepsRecord$Companion;", + r'Companion', + r'Landroidx/health/connect/client/records/StepsRecord$Companion;', ); - /// from: static public final androidx.health.connect.client.records.StepsRecord$Companion Companion + /// from: `static public final androidx.health.connect.client.records.StepsRecord$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static StepsRecord_Companion get Companion => - _id_Companion.get(_class, const $StepsRecord_CompanionType()); + _id_Companion.get(_class, const $StepsRecord_Companion$Type()); static final _id_COUNT_TOTAL = _class.staticFieldId( - r"COUNT_TOTAL", - r"Landroidx/health/connect/client/aggregate/AggregateMetric;", + r'COUNT_TOTAL', + r'Landroidx/health/connect/client/aggregate/AggregateMetric;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric COUNT_TOTAL + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric COUNT_TOTAL` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric get COUNT_TOTAL => - _id_COUNT_TOTAL.get(_class, const $AggregateMetricType(jni.JLongType())); + static AggregateMetric<_$jni.JLong> get COUNT_TOTAL => _id_COUNT_TOTAL.get( + _class, const $AggregateMetric$Type(_$jni.JLongType())); - static final _id_new0 = _class.constructorId( - r"(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;)V", + static final _id_new$ = _class.constructorId( + r'(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Int64, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.Int64, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata) + /// from: `public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata)` /// The returned object must be released after use, by calling the [release] method. factory StepsRecord( int j, Instant instant, - jni.JObject zoneOffset, + _$jni.JObject zoneOffset, Instant instant1, - jni.JObject zoneOffset1, - jni.JObject metadata, + _$jni.JObject zoneOffset1, + _$jni.JObject metadata, ) { - return StepsRecord.fromReference(_new0( + return StepsRecord.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, j, instant.reference.pointer, zoneOffset.reference.pointer, @@ -1400,54 +2264,54 @@ class StepsRecord extends jni.JObject { .reference); } - static final _id_new1 = _class.constructorId( - r"(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$1 = _class.constructorId( + r'(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Int64, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.Int64, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory StepsRecord.new1( + factory StepsRecord.new$1( int j, Instant instant, - jni.JObject zoneOffset, + _$jni.JObject zoneOffset, Instant instant1, - jni.JObject zoneOffset1, - jni.JObject metadata, + _$jni.JObject zoneOffset1, + _$jni.JObject metadata, int i, - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return StepsRecord.fromReference(_new1( + return StepsRecord.fromReference(_new$1( _class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, + _id_new$1 as _$jni.JMethodIDPtr, j, instant.reference.pointer, zoneOffset.reference.pointer, @@ -1460,519 +2324,544 @@ class StepsRecord extends jni.JObject { } static final _id_getCount = _class.instanceMethodId( - r"getCount", - r"()J", + r'getCount', + r'()J', ); - static final _getCount = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallLongMethod") + static final _getCount = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallLongMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final long getCount() + /// from: `public final long getCount()` int getCount() { - return _getCount(reference.pointer, _id_getCount as jni.JMethodIDPtr).long; + return _getCount(reference.pointer, _id_getCount as _$jni.JMethodIDPtr) + .long; } static final _id_getStartTime = _class.instanceMethodId( - r"getStartTime", - r"()Ljava/time/Instant;", + r'getStartTime', + r'()Ljava/time/Instant;', ); - static final _getStartTime = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getStartTime = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.time.Instant getStartTime() + /// from: `public java.time.Instant getStartTime()` /// The returned object must be released after use, by calling the [release] method. Instant getStartTime() { return _getStartTime( - reference.pointer, _id_getStartTime as jni.JMethodIDPtr) - .object(const $InstantType()); + reference.pointer, _id_getStartTime as _$jni.JMethodIDPtr) + .object(const $Instant$Type()); } static final _id_getStartZoneOffset = _class.instanceMethodId( - r"getStartZoneOffset", - r"()Ljava/time/ZoneOffset;", + r'getStartZoneOffset', + r'()Ljava/time/ZoneOffset;', ); - static final _getStartZoneOffset = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getStartZoneOffset = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.time.ZoneOffset getStartZoneOffset() + /// from: `public java.time.ZoneOffset getStartZoneOffset()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getStartZoneOffset() { + _$jni.JObject getStartZoneOffset() { return _getStartZoneOffset( - reference.pointer, _id_getStartZoneOffset as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getStartZoneOffset as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getEndTime = _class.instanceMethodId( - r"getEndTime", - r"()Ljava/time/Instant;", + r'getEndTime', + r'()Ljava/time/Instant;', ); - static final _getEndTime = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getEndTime = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.time.Instant getEndTime() + /// from: `public java.time.Instant getEndTime()` /// The returned object must be released after use, by calling the [release] method. Instant getEndTime() { - return _getEndTime(reference.pointer, _id_getEndTime as jni.JMethodIDPtr) - .object(const $InstantType()); + return _getEndTime(reference.pointer, _id_getEndTime as _$jni.JMethodIDPtr) + .object(const $Instant$Type()); } static final _id_getEndZoneOffset = _class.instanceMethodId( - r"getEndZoneOffset", - r"()Ljava/time/ZoneOffset;", + r'getEndZoneOffset', + r'()Ljava/time/ZoneOffset;', ); - static final _getEndZoneOffset = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getEndZoneOffset = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.time.ZoneOffset getEndZoneOffset() + /// from: `public java.time.ZoneOffset getEndZoneOffset()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getEndZoneOffset() { + _$jni.JObject getEndZoneOffset() { return _getEndZoneOffset( - reference.pointer, _id_getEndZoneOffset as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getEndZoneOffset as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getMetadata = _class.instanceMethodId( - r"getMetadata", - r"()Landroidx/health/connect/client/records/metadata/Metadata;", + r'getMetadata', + r'()Landroidx/health/connect/client/records/metadata/Metadata;', ); - static final _getMetadata = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getMetadata = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public androidx.health.connect.client.records.metadata.Metadata getMetadata() + /// from: `public androidx.health.connect.client.records.metadata.Metadata getMetadata()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getMetadata() { - return _getMetadata(reference.pointer, _id_getMetadata as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getMetadata() { + return _getMetadata( + reference.pointer, _id_getMetadata as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_equals = _class.instanceMethodId( - r"equals", - r"(Ljava/lang/Object;)Z", + r'equals', + r'(Ljava/lang/Object;)Z', ); - static final _equals = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _equals = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean equals(java.lang.Object object) + /// from: `public boolean equals(java.lang.Object object)` bool equals( - jni.JObject object, + _$jni.JObject object, ) { - return _equals(reference.pointer, _id_equals as jni.JMethodIDPtr, + return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, object.reference.pointer) .boolean; } - static final _id_hashCode1 = _class.instanceMethodId( - r"hashCode", - r"()I", + static final _id_hashCode$1 = _class.instanceMethodId( + r'hashCode', + r'()I', ); - static final _hashCode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int hashCode() - int hashCode1() { - return _hashCode1(reference.pointer, _id_hashCode1 as jni.JMethodIDPtr) + /// from: `public int hashCode()` + int hashCode$1() { + return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) .integer; } } -final class $StepsRecordType extends jni.JObjType { - const $StepsRecordType(); +final class $StepsRecord$Type extends _$jni.JObjType { + @_$jni.internal + const $StepsRecord$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/records/StepsRecord;"; + r'Landroidx/health/connect/client/records/StepsRecord;'; - @override - StepsRecord fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + StepsRecord fromReference(_$jni.JReference reference) => StepsRecord.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($StepsRecordType).hashCode; + @_$core.override + int get hashCode => ($StepsRecord$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($StepsRecordType) && other is $StepsRecordType; + return other.runtimeType == ($StepsRecord$Type) && + other is $StepsRecord$Type; } } -/// from: androidx.health.connect.client.time.TimeRangeFilter$Companion -class TimeRangeFilter_Companion extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.time.TimeRangeFilter$Companion` +class TimeRangeFilter_Companion extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal TimeRangeFilter_Companion.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/time/TimeRangeFilter$Companion"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/time/TimeRangeFilter$Companion'); /// The type which includes information such as the signature of this class. - static const type = $TimeRangeFilter_CompanionType(); + static const type = $TimeRangeFilter_Companion$Type(); static final _id_between = _class.instanceMethodId( - r"between", - r"(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;", + r'between', + r'(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _between = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1) + /// from: `public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter between( Instant instant, Instant instant1, ) { - return _between(reference.pointer, _id_between as jni.JMethodIDPtr, + return _between(reference.pointer, _id_between as _$jni.JMethodIDPtr, instant.reference.pointer, instant1.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } - static final _id_between1 = _class.instanceMethodId( - r"between", - r"(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;", + static final _id_between$1 = _class.instanceMethodId( + r'between', + r'(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _between$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1) + /// from: `public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter between1( - jni.JObject localDateTime, - jni.JObject localDateTime1, + TimeRangeFilter between$1( + _$jni.JObject localDateTime, + _$jni.JObject localDateTime1, ) { - return _between1(reference.pointer, _id_between1 as jni.JMethodIDPtr, + return _between$1(reference.pointer, _id_between$1 as _$jni.JMethodIDPtr, localDateTime.reference.pointer, localDateTime1.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } static final _id_before = _class.instanceMethodId( - r"before", - r"(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;", + r'before', + r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _before = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant) + /// from: `public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter before( Instant instant, ) { - return _before(reference.pointer, _id_before as jni.JMethodIDPtr, + return _before(reference.pointer, _id_before as _$jni.JMethodIDPtr, instant.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } - static final _id_before1 = _class.instanceMethodId( - r"before", - r"(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;", + static final _id_before$1 = _class.instanceMethodId( + r'before', + r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _before$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime) + /// from: `public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter before1( - jni.JObject localDateTime, + TimeRangeFilter before$1( + _$jni.JObject localDateTime, ) { - return _before1(reference.pointer, _id_before1 as jni.JMethodIDPtr, + return _before$1(reference.pointer, _id_before$1 as _$jni.JMethodIDPtr, localDateTime.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } static final _id_after = _class.instanceMethodId( - r"after", - r"(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;", + r'after', + r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _after = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant) + /// from: `public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. TimeRangeFilter after( Instant instant, ) { - return _after(reference.pointer, _id_after as jni.JMethodIDPtr, + return _after(reference.pointer, _id_after as _$jni.JMethodIDPtr, instant.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } - static final _id_after1 = _class.instanceMethodId( - r"after", - r"(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;", + static final _id_after$1 = _class.instanceMethodId( + r'after', + r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _after$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime) + /// from: `public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter after1( - jni.JObject localDateTime, + TimeRangeFilter after$1( + _$jni.JObject localDateTime, ) { - return _after1(reference.pointer, _id_after1 as jni.JMethodIDPtr, + return _after$1(reference.pointer, _id_after$1 as _$jni.JMethodIDPtr, localDateTime.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } - static final _id_new0 = _class.constructorId( - r"(Lkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$ = _class.constructorId( + r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory TimeRangeFilter_Companion( - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return TimeRangeFilter_Companion.fromReference(_new0( + return TimeRangeFilter_Companion.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, defaultConstructorMarker.reference.pointer) .reference); } } -final class $TimeRangeFilter_CompanionType - extends jni.JObjType { - const $TimeRangeFilter_CompanionType(); +final class $TimeRangeFilter_Companion$Type + extends _$jni.JObjType { + @_$jni.internal + const $TimeRangeFilter_Companion$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/time/TimeRangeFilter$Companion;"; + r'Landroidx/health/connect/client/time/TimeRangeFilter$Companion;'; - @override - TimeRangeFilter_Companion fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + TimeRangeFilter_Companion fromReference(_$jni.JReference reference) => TimeRangeFilter_Companion.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($TimeRangeFilter_CompanionType).hashCode; + @_$core.override + int get hashCode => ($TimeRangeFilter_Companion$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($TimeRangeFilter_CompanionType) && - other is $TimeRangeFilter_CompanionType; + return other.runtimeType == ($TimeRangeFilter_Companion$Type) && + other is $TimeRangeFilter_Companion$Type; } } -/// from: androidx.health.connect.client.time.TimeRangeFilter -class TimeRangeFilter extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.time.TimeRangeFilter` +class TimeRangeFilter extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal TimeRangeFilter.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/time/TimeRangeFilter"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/time/TimeRangeFilter'); /// The type which includes information such as the signature of this class. - static const type = $TimeRangeFilterType(); + static const type = $TimeRangeFilter$Type(); static final _id_Companion = _class.staticFieldId( - r"Companion", - r"Landroidx/health/connect/client/time/TimeRangeFilter$Companion;", + r'Companion', + r'Landroidx/health/connect/client/time/TimeRangeFilter$Companion;', ); - /// from: static public final androidx.health.connect.client.time.TimeRangeFilter$Companion Companion + /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter_Companion get Companion => - _id_Companion.get(_class, const $TimeRangeFilter_CompanionType()); + _id_Companion.get(_class, const $TimeRangeFilter_Companion$Type()); - static final _id_new0 = _class.constructorId( - r"(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)V", + static final _id_new$ = _class.constructorId( + r'(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. factory TimeRangeFilter( Instant instant, Instant instant1, - jni.JObject localDateTime, - jni.JObject localDateTime1, + _$jni.JObject localDateTime, + _$jni.JObject localDateTime1, ) { - return TimeRangeFilter.fromReference(_new0( + return TimeRangeFilter.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, instant.reference.pointer, instant1.reference.pointer, localDateTime.reference.pointer, @@ -1980,48 +2869,48 @@ class TimeRangeFilter extends jni.JObject { .reference); } - static final _id_new1 = _class.constructorId( - r"(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$1 = _class.constructorId( + r'(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory TimeRangeFilter.new1( + factory TimeRangeFilter.new$1( Instant instant, Instant instant1, - jni.JObject localDateTime, - jni.JObject localDateTime1, + _$jni.JObject localDateTime, + _$jni.JObject localDateTime1, int i, - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return TimeRangeFilter.fromReference(_new1( + return TimeRangeFilter.fromReference(_new$1( _class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, + _id_new$1 as _$jni.JMethodIDPtr, instant.reference.pointer, instant1.reference.pointer, localDateTime.reference.pointer, @@ -2032,3041 +2921,3095 @@ class TimeRangeFilter extends jni.JObject { } static final _id_equals = _class.instanceMethodId( - r"equals", - r"(Ljava/lang/Object;)Z", + r'equals', + r'(Ljava/lang/Object;)Z', ); - static final _equals = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _equals = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean equals(java.lang.Object object) + /// from: `public boolean equals(java.lang.Object object)` bool equals( - jni.JObject object, + _$jni.JObject object, ) { - return _equals(reference.pointer, _id_equals as jni.JMethodIDPtr, + return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, object.reference.pointer) .boolean; } - static final _id_hashCode1 = _class.instanceMethodId( - r"hashCode", - r"()I", + static final _id_hashCode$1 = _class.instanceMethodId( + r'hashCode', + r'()I', ); - static final _hashCode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int hashCode() - int hashCode1() { - return _hashCode1(reference.pointer, _id_hashCode1 as jni.JMethodIDPtr) + /// from: `public int hashCode()` + int hashCode$1() { + return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) .integer; } - static final _id_new2 = _class.constructorId( - r"()V", + static final _id_new$2 = _class.constructorId( + r'()V', ); - static final _new2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + static final _new$2 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. - factory TimeRangeFilter.new2() { + factory TimeRangeFilter.new$2() { return TimeRangeFilter.fromReference( - _new2(_class.reference.pointer, _id_new2 as jni.JMethodIDPtr) + _new$2(_class.reference.pointer, _id_new$2 as _$jni.JMethodIDPtr) .reference); } static final _id_between = _class.staticMethodId( - r"between", - r"(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;", + r'between', + r'(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _between = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1) + /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter between( Instant instant, Instant instant1, ) { - return _between(_class.reference.pointer, _id_between as jni.JMethodIDPtr, + return _between(_class.reference.pointer, _id_between as _$jni.JMethodIDPtr, instant.reference.pointer, instant1.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } - static final _id_between1 = _class.staticMethodId( - r"between", - r"(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;", + static final _id_between$1 = _class.staticMethodId( + r'between', + r'(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _between$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1) + /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter between1( - jni.JObject localDateTime, - jni.JObject localDateTime1, + static TimeRangeFilter between$1( + _$jni.JObject localDateTime, + _$jni.JObject localDateTime1, ) { - return _between1(_class.reference.pointer, _id_between1 as jni.JMethodIDPtr, - localDateTime.reference.pointer, localDateTime1.reference.pointer) - .object(const $TimeRangeFilterType()); + return _between$1( + _class.reference.pointer, + _id_between$1 as _$jni.JMethodIDPtr, + localDateTime.reference.pointer, + localDateTime1.reference.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_before = _class.staticMethodId( - r"before", - r"(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;", + r'before', + r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _before = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant) + /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter before( Instant instant, ) { - return _before(_class.reference.pointer, _id_before as jni.JMethodIDPtr, + return _before(_class.reference.pointer, _id_before as _$jni.JMethodIDPtr, instant.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } - static final _id_before1 = _class.staticMethodId( - r"before", - r"(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;", + static final _id_before$1 = _class.staticMethodId( + r'before', + r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _before$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime) + /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter before1( - jni.JObject localDateTime, + static TimeRangeFilter before$1( + _$jni.JObject localDateTime, ) { - return _before1(_class.reference.pointer, _id_before1 as jni.JMethodIDPtr, - localDateTime.reference.pointer) - .object(const $TimeRangeFilterType()); + return _before$1(_class.reference.pointer, + _id_before$1 as _$jni.JMethodIDPtr, localDateTime.reference.pointer) + .object(const $TimeRangeFilter$Type()); } static final _id_after = _class.staticMethodId( - r"after", - r"(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;", + r'after', + r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _after = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant) + /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. static TimeRangeFilter after( Instant instant, ) { - return _after(_class.reference.pointer, _id_after as jni.JMethodIDPtr, + return _after(_class.reference.pointer, _id_after as _$jni.JMethodIDPtr, instant.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } - static final _id_after1 = _class.staticMethodId( - r"after", - r"(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;", + static final _id_after$1 = _class.staticMethodId( + r'after', + r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _after$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime) + /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter after1( - jni.JObject localDateTime, + static TimeRangeFilter after$1( + _$jni.JObject localDateTime, ) { - return _after1(_class.reference.pointer, _id_after1 as jni.JMethodIDPtr, + return _after$1(_class.reference.pointer, _id_after$1 as _$jni.JMethodIDPtr, localDateTime.reference.pointer) - .object(const $TimeRangeFilterType()); + .object(const $TimeRangeFilter$Type()); } } -final class $TimeRangeFilterType extends jni.JObjType { - const $TimeRangeFilterType(); +final class $TimeRangeFilter$Type extends _$jni.JObjType { + @_$jni.internal + const $TimeRangeFilter$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/time/TimeRangeFilter;"; + r'Landroidx/health/connect/client/time/TimeRangeFilter;'; - @override - TimeRangeFilter fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + TimeRangeFilter fromReference(_$jni.JReference reference) => TimeRangeFilter.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($TimeRangeFilterType).hashCode; + @_$core.override + int get hashCode => ($TimeRangeFilter$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($TimeRangeFilterType) && - other is $TimeRangeFilterType; + return other.runtimeType == ($TimeRangeFilter$Type) && + other is $TimeRangeFilter$Type; } } -/// from: android.content.Context -class Context extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `android.content.Context` +class Context extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal Context.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName(r"android/content/Context"); + static final _class = _$jni.JClass.forName(r'android/content/Context'); /// The type which includes information such as the signature of this class. - static const type = $ContextType(); + static const type = $Context$Type(); static final _id_ACCESSIBILITY_SERVICE = _class.staticFieldId( - r"ACCESSIBILITY_SERVICE", - r"Ljava/lang/String;", + r'ACCESSIBILITY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACCESSIBILITY_SERVICE + /// from: `static public final java.lang.String ACCESSIBILITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACCESSIBILITY_SERVICE => - _id_ACCESSIBILITY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get ACCESSIBILITY_SERVICE => + _id_ACCESSIBILITY_SERVICE.get(_class, const _$jni.JStringType()); static final _id_ACCOUNT_SERVICE = _class.staticFieldId( - r"ACCOUNT_SERVICE", - r"Ljava/lang/String;", + r'ACCOUNT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACCOUNT_SERVICE + /// from: `static public final java.lang.String ACCOUNT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACCOUNT_SERVICE => - _id_ACCOUNT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get ACCOUNT_SERVICE => + _id_ACCOUNT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_ACTIVITY_SERVICE = _class.staticFieldId( - r"ACTIVITY_SERVICE", - r"Ljava/lang/String;", + r'ACTIVITY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTIVITY_SERVICE + /// from: `static public final java.lang.String ACTIVITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTIVITY_SERVICE => - _id_ACTIVITY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTIVITY_SERVICE => + _id_ACTIVITY_SERVICE.get(_class, const _$jni.JStringType()); static final _id_ALARM_SERVICE = _class.staticFieldId( - r"ALARM_SERVICE", - r"Ljava/lang/String;", + r'ALARM_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ALARM_SERVICE + /// from: `static public final java.lang.String ALARM_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ALARM_SERVICE => - _id_ALARM_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get ALARM_SERVICE => + _id_ALARM_SERVICE.get(_class, const _$jni.JStringType()); static final _id_APPWIDGET_SERVICE = _class.staticFieldId( - r"APPWIDGET_SERVICE", - r"Ljava/lang/String;", + r'APPWIDGET_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String APPWIDGET_SERVICE + /// from: `static public final java.lang.String APPWIDGET_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get APPWIDGET_SERVICE => - _id_APPWIDGET_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get APPWIDGET_SERVICE => + _id_APPWIDGET_SERVICE.get(_class, const _$jni.JStringType()); static final _id_APP_OPS_SERVICE = _class.staticFieldId( - r"APP_OPS_SERVICE", - r"Ljava/lang/String;", + r'APP_OPS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String APP_OPS_SERVICE + /// from: `static public final java.lang.String APP_OPS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get APP_OPS_SERVICE => - _id_APP_OPS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get APP_OPS_SERVICE => + _id_APP_OPS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_APP_SEARCH_SERVICE = _class.staticFieldId( - r"APP_SEARCH_SERVICE", - r"Ljava/lang/String;", + r'APP_SEARCH_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String APP_SEARCH_SERVICE + /// from: `static public final java.lang.String APP_SEARCH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get APP_SEARCH_SERVICE => - _id_APP_SEARCH_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get APP_SEARCH_SERVICE => + _id_APP_SEARCH_SERVICE.get(_class, const _$jni.JStringType()); static final _id_AUDIO_SERVICE = _class.staticFieldId( - r"AUDIO_SERVICE", - r"Ljava/lang/String;", + r'AUDIO_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String AUDIO_SERVICE + /// from: `static public final java.lang.String AUDIO_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get AUDIO_SERVICE => - _id_AUDIO_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get AUDIO_SERVICE => + _id_AUDIO_SERVICE.get(_class, const _$jni.JStringType()); static final _id_BATTERY_SERVICE = _class.staticFieldId( - r"BATTERY_SERVICE", - r"Ljava/lang/String;", + r'BATTERY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BATTERY_SERVICE + /// from: `static public final java.lang.String BATTERY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get BATTERY_SERVICE => - _id_BATTERY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get BATTERY_SERVICE => + _id_BATTERY_SERVICE.get(_class, const _$jni.JStringType()); - /// from: static public final int BIND_ABOVE_CLIENT + /// from: `static public final int BIND_ABOVE_CLIENT` static const BIND_ABOVE_CLIENT = 8; - /// from: static public final int BIND_ADJUST_WITH_ACTIVITY + /// from: `static public final int BIND_ADJUST_WITH_ACTIVITY` static const BIND_ADJUST_WITH_ACTIVITY = 128; - /// from: static public final int BIND_ALLOW_OOM_MANAGEMENT + /// from: `static public final int BIND_ALLOW_OOM_MANAGEMENT` static const BIND_ALLOW_OOM_MANAGEMENT = 16; - /// from: static public final int BIND_AUTO_CREATE + /// from: `static public final int BIND_AUTO_CREATE` static const BIND_AUTO_CREATE = 1; - /// from: static public final int BIND_DEBUG_UNBIND + /// from: `static public final int BIND_DEBUG_UNBIND` static const BIND_DEBUG_UNBIND = 2; - /// from: static public final int BIND_EXTERNAL_SERVICE + /// from: `static public final int BIND_EXTERNAL_SERVICE` static const BIND_EXTERNAL_SERVICE = -2147483648; - /// from: static public final int BIND_IMPORTANT + /// from: `static public final int BIND_IMPORTANT` static const BIND_IMPORTANT = 64; - /// from: static public final int BIND_INCLUDE_CAPABILITIES + /// from: `static public final int BIND_INCLUDE_CAPABILITIES` static const BIND_INCLUDE_CAPABILITIES = 4096; - /// from: static public final int BIND_NOT_FOREGROUND + /// from: `static public final int BIND_NOT_FOREGROUND` static const BIND_NOT_FOREGROUND = 4; - /// from: static public final int BIND_NOT_PERCEPTIBLE + /// from: `static public final int BIND_NOT_PERCEPTIBLE` static const BIND_NOT_PERCEPTIBLE = 256; - /// from: static public final int BIND_WAIVE_PRIORITY + /// from: `static public final int BIND_WAIVE_PRIORITY` static const BIND_WAIVE_PRIORITY = 32; static final _id_BIOMETRIC_SERVICE = _class.staticFieldId( - r"BIOMETRIC_SERVICE", - r"Ljava/lang/String;", + r'BIOMETRIC_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BIOMETRIC_SERVICE + /// from: `static public final java.lang.String BIOMETRIC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get BIOMETRIC_SERVICE => - _id_BIOMETRIC_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get BIOMETRIC_SERVICE => + _id_BIOMETRIC_SERVICE.get(_class, const _$jni.JStringType()); static final _id_BLOB_STORE_SERVICE = _class.staticFieldId( - r"BLOB_STORE_SERVICE", - r"Ljava/lang/String;", + r'BLOB_STORE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BLOB_STORE_SERVICE + /// from: `static public final java.lang.String BLOB_STORE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get BLOB_STORE_SERVICE => - _id_BLOB_STORE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get BLOB_STORE_SERVICE => + _id_BLOB_STORE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_BLUETOOTH_SERVICE = _class.staticFieldId( - r"BLUETOOTH_SERVICE", - r"Ljava/lang/String;", + r'BLUETOOTH_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BLUETOOTH_SERVICE + /// from: `static public final java.lang.String BLUETOOTH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get BLUETOOTH_SERVICE => - _id_BLUETOOTH_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get BLUETOOTH_SERVICE => + _id_BLUETOOTH_SERVICE.get(_class, const _$jni.JStringType()); static final _id_BUGREPORT_SERVICE = _class.staticFieldId( - r"BUGREPORT_SERVICE", - r"Ljava/lang/String;", + r'BUGREPORT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BUGREPORT_SERVICE + /// from: `static public final java.lang.String BUGREPORT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get BUGREPORT_SERVICE => - _id_BUGREPORT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get BUGREPORT_SERVICE => + _id_BUGREPORT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_CAMERA_SERVICE = _class.staticFieldId( - r"CAMERA_SERVICE", - r"Ljava/lang/String;", + r'CAMERA_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CAMERA_SERVICE + /// from: `static public final java.lang.String CAMERA_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CAMERA_SERVICE => - _id_CAMERA_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CAMERA_SERVICE => + _id_CAMERA_SERVICE.get(_class, const _$jni.JStringType()); static final _id_CAPTIONING_SERVICE = _class.staticFieldId( - r"CAPTIONING_SERVICE", - r"Ljava/lang/String;", + r'CAPTIONING_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CAPTIONING_SERVICE + /// from: `static public final java.lang.String CAPTIONING_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CAPTIONING_SERVICE => - _id_CAPTIONING_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CAPTIONING_SERVICE => + _id_CAPTIONING_SERVICE.get(_class, const _$jni.JStringType()); static final _id_CARRIER_CONFIG_SERVICE = _class.staticFieldId( - r"CARRIER_CONFIG_SERVICE", - r"Ljava/lang/String;", + r'CARRIER_CONFIG_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CARRIER_CONFIG_SERVICE + /// from: `static public final java.lang.String CARRIER_CONFIG_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CARRIER_CONFIG_SERVICE => - _id_CARRIER_CONFIG_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CARRIER_CONFIG_SERVICE => + _id_CARRIER_CONFIG_SERVICE.get(_class, const _$jni.JStringType()); static final _id_CLIPBOARD_SERVICE = _class.staticFieldId( - r"CLIPBOARD_SERVICE", - r"Ljava/lang/String;", + r'CLIPBOARD_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CLIPBOARD_SERVICE + /// from: `static public final java.lang.String CLIPBOARD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CLIPBOARD_SERVICE => - _id_CLIPBOARD_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CLIPBOARD_SERVICE => + _id_CLIPBOARD_SERVICE.get(_class, const _$jni.JStringType()); static final _id_COMPANION_DEVICE_SERVICE = _class.staticFieldId( - r"COMPANION_DEVICE_SERVICE", - r"Ljava/lang/String;", + r'COMPANION_DEVICE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String COMPANION_DEVICE_SERVICE + /// from: `static public final java.lang.String COMPANION_DEVICE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get COMPANION_DEVICE_SERVICE => - _id_COMPANION_DEVICE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get COMPANION_DEVICE_SERVICE => + _id_COMPANION_DEVICE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_CONNECTIVITY_DIAGNOSTICS_SERVICE = _class.staticFieldId( - r"CONNECTIVITY_DIAGNOSTICS_SERVICE", - r"Ljava/lang/String;", + r'CONNECTIVITY_DIAGNOSTICS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CONNECTIVITY_DIAGNOSTICS_SERVICE + /// from: `static public final java.lang.String CONNECTIVITY_DIAGNOSTICS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CONNECTIVITY_DIAGNOSTICS_SERVICE => - _id_CONNECTIVITY_DIAGNOSTICS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CONNECTIVITY_DIAGNOSTICS_SERVICE => + _id_CONNECTIVITY_DIAGNOSTICS_SERVICE.get( + _class, const _$jni.JStringType()); static final _id_CONNECTIVITY_SERVICE = _class.staticFieldId( - r"CONNECTIVITY_SERVICE", - r"Ljava/lang/String;", + r'CONNECTIVITY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CONNECTIVITY_SERVICE + /// from: `static public final java.lang.String CONNECTIVITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CONNECTIVITY_SERVICE => - _id_CONNECTIVITY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CONNECTIVITY_SERVICE => + _id_CONNECTIVITY_SERVICE.get(_class, const _$jni.JStringType()); static final _id_CONSUMER_IR_SERVICE = _class.staticFieldId( - r"CONSUMER_IR_SERVICE", - r"Ljava/lang/String;", + r'CONSUMER_IR_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CONSUMER_IR_SERVICE + /// from: `static public final java.lang.String CONSUMER_IR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CONSUMER_IR_SERVICE => - _id_CONSUMER_IR_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CONSUMER_IR_SERVICE => + _id_CONSUMER_IR_SERVICE.get(_class, const _$jni.JStringType()); - /// from: static public final int CONTEXT_IGNORE_SECURITY + /// from: `static public final int CONTEXT_IGNORE_SECURITY` static const CONTEXT_IGNORE_SECURITY = 2; - /// from: static public final int CONTEXT_INCLUDE_CODE + /// from: `static public final int CONTEXT_INCLUDE_CODE` static const CONTEXT_INCLUDE_CODE = 1; - /// from: static public final int CONTEXT_RESTRICTED + /// from: `static public final int CONTEXT_RESTRICTED` static const CONTEXT_RESTRICTED = 4; static final _id_CROSS_PROFILE_APPS_SERVICE = _class.staticFieldId( - r"CROSS_PROFILE_APPS_SERVICE", - r"Ljava/lang/String;", + r'CROSS_PROFILE_APPS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CROSS_PROFILE_APPS_SERVICE + /// from: `static public final java.lang.String CROSS_PROFILE_APPS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CROSS_PROFILE_APPS_SERVICE => - _id_CROSS_PROFILE_APPS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get CROSS_PROFILE_APPS_SERVICE => + _id_CROSS_PROFILE_APPS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_DEVICE_POLICY_SERVICE = _class.staticFieldId( - r"DEVICE_POLICY_SERVICE", - r"Ljava/lang/String;", + r'DEVICE_POLICY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DEVICE_POLICY_SERVICE + /// from: `static public final java.lang.String DEVICE_POLICY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DEVICE_POLICY_SERVICE => - _id_DEVICE_POLICY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get DEVICE_POLICY_SERVICE => + _id_DEVICE_POLICY_SERVICE.get(_class, const _$jni.JStringType()); static final _id_DISPLAY_HASH_SERVICE = _class.staticFieldId( - r"DISPLAY_HASH_SERVICE", - r"Ljava/lang/String;", + r'DISPLAY_HASH_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DISPLAY_HASH_SERVICE + /// from: `static public final java.lang.String DISPLAY_HASH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DISPLAY_HASH_SERVICE => - _id_DISPLAY_HASH_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get DISPLAY_HASH_SERVICE => + _id_DISPLAY_HASH_SERVICE.get(_class, const _$jni.JStringType()); static final _id_DISPLAY_SERVICE = _class.staticFieldId( - r"DISPLAY_SERVICE", - r"Ljava/lang/String;", + r'DISPLAY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DISPLAY_SERVICE + /// from: `static public final java.lang.String DISPLAY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DISPLAY_SERVICE => - _id_DISPLAY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get DISPLAY_SERVICE => + _id_DISPLAY_SERVICE.get(_class, const _$jni.JStringType()); static final _id_DOMAIN_VERIFICATION_SERVICE = _class.staticFieldId( - r"DOMAIN_VERIFICATION_SERVICE", - r"Ljava/lang/String;", + r'DOMAIN_VERIFICATION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DOMAIN_VERIFICATION_SERVICE + /// from: `static public final java.lang.String DOMAIN_VERIFICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DOMAIN_VERIFICATION_SERVICE => - _id_DOMAIN_VERIFICATION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get DOMAIN_VERIFICATION_SERVICE => + _id_DOMAIN_VERIFICATION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_DOWNLOAD_SERVICE = _class.staticFieldId( - r"DOWNLOAD_SERVICE", - r"Ljava/lang/String;", + r'DOWNLOAD_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DOWNLOAD_SERVICE + /// from: `static public final java.lang.String DOWNLOAD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DOWNLOAD_SERVICE => - _id_DOWNLOAD_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get DOWNLOAD_SERVICE => + _id_DOWNLOAD_SERVICE.get(_class, const _$jni.JStringType()); static final _id_DROPBOX_SERVICE = _class.staticFieldId( - r"DROPBOX_SERVICE", - r"Ljava/lang/String;", + r'DROPBOX_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DROPBOX_SERVICE + /// from: `static public final java.lang.String DROPBOX_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get DROPBOX_SERVICE => - _id_DROPBOX_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get DROPBOX_SERVICE => + _id_DROPBOX_SERVICE.get(_class, const _$jni.JStringType()); static final _id_EUICC_SERVICE = _class.staticFieldId( - r"EUICC_SERVICE", - r"Ljava/lang/String;", + r'EUICC_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EUICC_SERVICE + /// from: `static public final java.lang.String EUICC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EUICC_SERVICE => - _id_EUICC_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get EUICC_SERVICE => + _id_EUICC_SERVICE.get(_class, const _$jni.JStringType()); static final _id_FILE_INTEGRITY_SERVICE = _class.staticFieldId( - r"FILE_INTEGRITY_SERVICE", - r"Ljava/lang/String;", + r'FILE_INTEGRITY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String FILE_INTEGRITY_SERVICE + /// from: `static public final java.lang.String FILE_INTEGRITY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get FILE_INTEGRITY_SERVICE => - _id_FILE_INTEGRITY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get FILE_INTEGRITY_SERVICE => + _id_FILE_INTEGRITY_SERVICE.get(_class, const _$jni.JStringType()); static final _id_FINGERPRINT_SERVICE = _class.staticFieldId( - r"FINGERPRINT_SERVICE", - r"Ljava/lang/String;", + r'FINGERPRINT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String FINGERPRINT_SERVICE + /// from: `static public final java.lang.String FINGERPRINT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get FINGERPRINT_SERVICE => - _id_FINGERPRINT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get FINGERPRINT_SERVICE => + _id_FINGERPRINT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_GAME_SERVICE = _class.staticFieldId( - r"GAME_SERVICE", - r"Ljava/lang/String;", + r'GAME_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String GAME_SERVICE + /// from: `static public final java.lang.String GAME_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get GAME_SERVICE => - _id_GAME_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get GAME_SERVICE => + _id_GAME_SERVICE.get(_class, const _$jni.JStringType()); static final _id_HARDWARE_PROPERTIES_SERVICE = _class.staticFieldId( - r"HARDWARE_PROPERTIES_SERVICE", - r"Ljava/lang/String;", + r'HARDWARE_PROPERTIES_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String HARDWARE_PROPERTIES_SERVICE + /// from: `static public final java.lang.String HARDWARE_PROPERTIES_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get HARDWARE_PROPERTIES_SERVICE => - _id_HARDWARE_PROPERTIES_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get HARDWARE_PROPERTIES_SERVICE => + _id_HARDWARE_PROPERTIES_SERVICE.get(_class, const _$jni.JStringType()); static final _id_INPUT_METHOD_SERVICE = _class.staticFieldId( - r"INPUT_METHOD_SERVICE", - r"Ljava/lang/String;", + r'INPUT_METHOD_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String INPUT_METHOD_SERVICE + /// from: `static public final java.lang.String INPUT_METHOD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get INPUT_METHOD_SERVICE => - _id_INPUT_METHOD_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get INPUT_METHOD_SERVICE => + _id_INPUT_METHOD_SERVICE.get(_class, const _$jni.JStringType()); static final _id_INPUT_SERVICE = _class.staticFieldId( - r"INPUT_SERVICE", - r"Ljava/lang/String;", + r'INPUT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String INPUT_SERVICE + /// from: `static public final java.lang.String INPUT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get INPUT_SERVICE => - _id_INPUT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get INPUT_SERVICE => + _id_INPUT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_IPSEC_SERVICE = _class.staticFieldId( - r"IPSEC_SERVICE", - r"Ljava/lang/String;", + r'IPSEC_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String IPSEC_SERVICE + /// from: `static public final java.lang.String IPSEC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get IPSEC_SERVICE => - _id_IPSEC_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get IPSEC_SERVICE => + _id_IPSEC_SERVICE.get(_class, const _$jni.JStringType()); static final _id_JOB_SCHEDULER_SERVICE = _class.staticFieldId( - r"JOB_SCHEDULER_SERVICE", - r"Ljava/lang/String;", + r'JOB_SCHEDULER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String JOB_SCHEDULER_SERVICE + /// from: `static public final java.lang.String JOB_SCHEDULER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get JOB_SCHEDULER_SERVICE => - _id_JOB_SCHEDULER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get JOB_SCHEDULER_SERVICE => + _id_JOB_SCHEDULER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_KEYGUARD_SERVICE = _class.staticFieldId( - r"KEYGUARD_SERVICE", - r"Ljava/lang/String;", + r'KEYGUARD_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String KEYGUARD_SERVICE + /// from: `static public final java.lang.String KEYGUARD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get KEYGUARD_SERVICE => - _id_KEYGUARD_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get KEYGUARD_SERVICE => + _id_KEYGUARD_SERVICE.get(_class, const _$jni.JStringType()); static final _id_LAUNCHER_APPS_SERVICE = _class.staticFieldId( - r"LAUNCHER_APPS_SERVICE", - r"Ljava/lang/String;", + r'LAUNCHER_APPS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String LAUNCHER_APPS_SERVICE + /// from: `static public final java.lang.String LAUNCHER_APPS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get LAUNCHER_APPS_SERVICE => - _id_LAUNCHER_APPS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get LAUNCHER_APPS_SERVICE => + _id_LAUNCHER_APPS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_LAYOUT_INFLATER_SERVICE = _class.staticFieldId( - r"LAYOUT_INFLATER_SERVICE", - r"Ljava/lang/String;", + r'LAYOUT_INFLATER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String LAYOUT_INFLATER_SERVICE + /// from: `static public final java.lang.String LAYOUT_INFLATER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get LAYOUT_INFLATER_SERVICE => - _id_LAYOUT_INFLATER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get LAYOUT_INFLATER_SERVICE => + _id_LAYOUT_INFLATER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_LOCALE_SERVICE = _class.staticFieldId( - r"LOCALE_SERVICE", - r"Ljava/lang/String;", + r'LOCALE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String LOCALE_SERVICE + /// from: `static public final java.lang.String LOCALE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get LOCALE_SERVICE => - _id_LOCALE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get LOCALE_SERVICE => + _id_LOCALE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_LOCATION_SERVICE = _class.staticFieldId( - r"LOCATION_SERVICE", - r"Ljava/lang/String;", + r'LOCATION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String LOCATION_SERVICE + /// from: `static public final java.lang.String LOCATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get LOCATION_SERVICE => - _id_LOCATION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get LOCATION_SERVICE => + _id_LOCATION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_MEDIA_COMMUNICATION_SERVICE = _class.staticFieldId( - r"MEDIA_COMMUNICATION_SERVICE", - r"Ljava/lang/String;", + r'MEDIA_COMMUNICATION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MEDIA_COMMUNICATION_SERVICE + /// from: `static public final java.lang.String MEDIA_COMMUNICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get MEDIA_COMMUNICATION_SERVICE => - _id_MEDIA_COMMUNICATION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get MEDIA_COMMUNICATION_SERVICE => + _id_MEDIA_COMMUNICATION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_MEDIA_METRICS_SERVICE = _class.staticFieldId( - r"MEDIA_METRICS_SERVICE", - r"Ljava/lang/String;", + r'MEDIA_METRICS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MEDIA_METRICS_SERVICE + /// from: `static public final java.lang.String MEDIA_METRICS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get MEDIA_METRICS_SERVICE => - _id_MEDIA_METRICS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get MEDIA_METRICS_SERVICE => + _id_MEDIA_METRICS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_MEDIA_PROJECTION_SERVICE = _class.staticFieldId( - r"MEDIA_PROJECTION_SERVICE", - r"Ljava/lang/String;", + r'MEDIA_PROJECTION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MEDIA_PROJECTION_SERVICE + /// from: `static public final java.lang.String MEDIA_PROJECTION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get MEDIA_PROJECTION_SERVICE => - _id_MEDIA_PROJECTION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get MEDIA_PROJECTION_SERVICE => + _id_MEDIA_PROJECTION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_MEDIA_ROUTER_SERVICE = _class.staticFieldId( - r"MEDIA_ROUTER_SERVICE", - r"Ljava/lang/String;", + r'MEDIA_ROUTER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MEDIA_ROUTER_SERVICE + /// from: `static public final java.lang.String MEDIA_ROUTER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get MEDIA_ROUTER_SERVICE => - _id_MEDIA_ROUTER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get MEDIA_ROUTER_SERVICE => + _id_MEDIA_ROUTER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_MEDIA_SESSION_SERVICE = _class.staticFieldId( - r"MEDIA_SESSION_SERVICE", - r"Ljava/lang/String;", + r'MEDIA_SESSION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MEDIA_SESSION_SERVICE + /// from: `static public final java.lang.String MEDIA_SESSION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get MEDIA_SESSION_SERVICE => - _id_MEDIA_SESSION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get MEDIA_SESSION_SERVICE => + _id_MEDIA_SESSION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_MIDI_SERVICE = _class.staticFieldId( - r"MIDI_SERVICE", - r"Ljava/lang/String;", + r'MIDI_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MIDI_SERVICE + /// from: `static public final java.lang.String MIDI_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get MIDI_SERVICE => - _id_MIDI_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get MIDI_SERVICE => + _id_MIDI_SERVICE.get(_class, const _$jni.JStringType()); - /// from: static public final int MODE_APPEND + /// from: `static public final int MODE_APPEND` static const MODE_APPEND = 32768; - /// from: static public final int MODE_ENABLE_WRITE_AHEAD_LOGGING + /// from: `static public final int MODE_ENABLE_WRITE_AHEAD_LOGGING` static const MODE_ENABLE_WRITE_AHEAD_LOGGING = 8; - /// from: static public final int MODE_MULTI_PROCESS + /// from: `static public final int MODE_MULTI_PROCESS` static const MODE_MULTI_PROCESS = 4; - /// from: static public final int MODE_NO_LOCALIZED_COLLATORS + /// from: `static public final int MODE_NO_LOCALIZED_COLLATORS` static const MODE_NO_LOCALIZED_COLLATORS = 16; - /// from: static public final int MODE_PRIVATE + /// from: `static public final int MODE_PRIVATE` static const MODE_PRIVATE = 0; - /// from: static public final int MODE_WORLD_READABLE + /// from: `static public final int MODE_WORLD_READABLE` static const MODE_WORLD_READABLE = 1; - /// from: static public final int MODE_WORLD_WRITEABLE + /// from: `static public final int MODE_WORLD_WRITEABLE` static const MODE_WORLD_WRITEABLE = 2; static final _id_NETWORK_STATS_SERVICE = _class.staticFieldId( - r"NETWORK_STATS_SERVICE", - r"Ljava/lang/String;", + r'NETWORK_STATS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String NETWORK_STATS_SERVICE + /// from: `static public final java.lang.String NETWORK_STATS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get NETWORK_STATS_SERVICE => - _id_NETWORK_STATS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get NETWORK_STATS_SERVICE => + _id_NETWORK_STATS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_NFC_SERVICE = _class.staticFieldId( - r"NFC_SERVICE", - r"Ljava/lang/String;", + r'NFC_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String NFC_SERVICE + /// from: `static public final java.lang.String NFC_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get NFC_SERVICE => - _id_NFC_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get NFC_SERVICE => + _id_NFC_SERVICE.get(_class, const _$jni.JStringType()); static final _id_NOTIFICATION_SERVICE = _class.staticFieldId( - r"NOTIFICATION_SERVICE", - r"Ljava/lang/String;", + r'NOTIFICATION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String NOTIFICATION_SERVICE + /// from: `static public final java.lang.String NOTIFICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get NOTIFICATION_SERVICE => - _id_NOTIFICATION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get NOTIFICATION_SERVICE => + _id_NOTIFICATION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_NSD_SERVICE = _class.staticFieldId( - r"NSD_SERVICE", - r"Ljava/lang/String;", + r'NSD_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String NSD_SERVICE + /// from: `static public final java.lang.String NSD_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get NSD_SERVICE => - _id_NSD_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get NSD_SERVICE => + _id_NSD_SERVICE.get(_class, const _$jni.JStringType()); static final _id_PEOPLE_SERVICE = _class.staticFieldId( - r"PEOPLE_SERVICE", - r"Ljava/lang/String;", + r'PEOPLE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String PEOPLE_SERVICE + /// from: `static public final java.lang.String PEOPLE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get PEOPLE_SERVICE => - _id_PEOPLE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get PEOPLE_SERVICE => + _id_PEOPLE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_PERFORMANCE_HINT_SERVICE = _class.staticFieldId( - r"PERFORMANCE_HINT_SERVICE", - r"Ljava/lang/String;", + r'PERFORMANCE_HINT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String PERFORMANCE_HINT_SERVICE + /// from: `static public final java.lang.String PERFORMANCE_HINT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get PERFORMANCE_HINT_SERVICE => - _id_PERFORMANCE_HINT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get PERFORMANCE_HINT_SERVICE => + _id_PERFORMANCE_HINT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_POWER_SERVICE = _class.staticFieldId( - r"POWER_SERVICE", - r"Ljava/lang/String;", + r'POWER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String POWER_SERVICE + /// from: `static public final java.lang.String POWER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get POWER_SERVICE => - _id_POWER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get POWER_SERVICE => + _id_POWER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_PRINT_SERVICE = _class.staticFieldId( - r"PRINT_SERVICE", - r"Ljava/lang/String;", + r'PRINT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String PRINT_SERVICE + /// from: `static public final java.lang.String PRINT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get PRINT_SERVICE => - _id_PRINT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get PRINT_SERVICE => + _id_PRINT_SERVICE.get(_class, const _$jni.JStringType()); - /// from: static public final int RECEIVER_EXPORTED + /// from: `static public final int RECEIVER_EXPORTED` static const RECEIVER_EXPORTED = 2; - /// from: static public final int RECEIVER_NOT_EXPORTED + /// from: `static public final int RECEIVER_NOT_EXPORTED` static const RECEIVER_NOT_EXPORTED = 4; - /// from: static public final int RECEIVER_VISIBLE_TO_INSTANT_APPS + /// from: `static public final int RECEIVER_VISIBLE_TO_INSTANT_APPS` static const RECEIVER_VISIBLE_TO_INSTANT_APPS = 1; static final _id_RESTRICTIONS_SERVICE = _class.staticFieldId( - r"RESTRICTIONS_SERVICE", - r"Ljava/lang/String;", + r'RESTRICTIONS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String RESTRICTIONS_SERVICE + /// from: `static public final java.lang.String RESTRICTIONS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get RESTRICTIONS_SERVICE => - _id_RESTRICTIONS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get RESTRICTIONS_SERVICE => + _id_RESTRICTIONS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_ROLE_SERVICE = _class.staticFieldId( - r"ROLE_SERVICE", - r"Ljava/lang/String;", + r'ROLE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ROLE_SERVICE + /// from: `static public final java.lang.String ROLE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ROLE_SERVICE => - _id_ROLE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get ROLE_SERVICE => + _id_ROLE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_SEARCH_SERVICE = _class.staticFieldId( - r"SEARCH_SERVICE", - r"Ljava/lang/String;", + r'SEARCH_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SEARCH_SERVICE + /// from: `static public final java.lang.String SEARCH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get SEARCH_SERVICE => - _id_SEARCH_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get SEARCH_SERVICE => + _id_SEARCH_SERVICE.get(_class, const _$jni.JStringType()); static final _id_SENSOR_SERVICE = _class.staticFieldId( - r"SENSOR_SERVICE", - r"Ljava/lang/String;", + r'SENSOR_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SENSOR_SERVICE + /// from: `static public final java.lang.String SENSOR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get SENSOR_SERVICE => - _id_SENSOR_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get SENSOR_SERVICE => + _id_SENSOR_SERVICE.get(_class, const _$jni.JStringType()); static final _id_SHORTCUT_SERVICE = _class.staticFieldId( - r"SHORTCUT_SERVICE", - r"Ljava/lang/String;", + r'SHORTCUT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SHORTCUT_SERVICE + /// from: `static public final java.lang.String SHORTCUT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get SHORTCUT_SERVICE => - _id_SHORTCUT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get SHORTCUT_SERVICE => + _id_SHORTCUT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_STATUS_BAR_SERVICE = _class.staticFieldId( - r"STATUS_BAR_SERVICE", - r"Ljava/lang/String;", + r'STATUS_BAR_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String STATUS_BAR_SERVICE + /// from: `static public final java.lang.String STATUS_BAR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get STATUS_BAR_SERVICE => - _id_STATUS_BAR_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get STATUS_BAR_SERVICE => + _id_STATUS_BAR_SERVICE.get(_class, const _$jni.JStringType()); static final _id_STORAGE_SERVICE = _class.staticFieldId( - r"STORAGE_SERVICE", - r"Ljava/lang/String;", + r'STORAGE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String STORAGE_SERVICE + /// from: `static public final java.lang.String STORAGE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get STORAGE_SERVICE => - _id_STORAGE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get STORAGE_SERVICE => + _id_STORAGE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_STORAGE_STATS_SERVICE = _class.staticFieldId( - r"STORAGE_STATS_SERVICE", - r"Ljava/lang/String;", + r'STORAGE_STATS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String STORAGE_STATS_SERVICE + /// from: `static public final java.lang.String STORAGE_STATS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get STORAGE_STATS_SERVICE => - _id_STORAGE_STATS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get STORAGE_STATS_SERVICE => + _id_STORAGE_STATS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_SYSTEM_HEALTH_SERVICE = _class.staticFieldId( - r"SYSTEM_HEALTH_SERVICE", - r"Ljava/lang/String;", + r'SYSTEM_HEALTH_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SYSTEM_HEALTH_SERVICE + /// from: `static public final java.lang.String SYSTEM_HEALTH_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get SYSTEM_HEALTH_SERVICE => - _id_SYSTEM_HEALTH_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get SYSTEM_HEALTH_SERVICE => + _id_SYSTEM_HEALTH_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TELECOM_SERVICE = _class.staticFieldId( - r"TELECOM_SERVICE", - r"Ljava/lang/String;", + r'TELECOM_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TELECOM_SERVICE + /// from: `static public final java.lang.String TELECOM_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TELECOM_SERVICE => - _id_TELECOM_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TELECOM_SERVICE => + _id_TELECOM_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TELEPHONY_IMS_SERVICE = _class.staticFieldId( - r"TELEPHONY_IMS_SERVICE", - r"Ljava/lang/String;", + r'TELEPHONY_IMS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TELEPHONY_IMS_SERVICE + /// from: `static public final java.lang.String TELEPHONY_IMS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TELEPHONY_IMS_SERVICE => - _id_TELEPHONY_IMS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TELEPHONY_IMS_SERVICE => + _id_TELEPHONY_IMS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TELEPHONY_SERVICE = _class.staticFieldId( - r"TELEPHONY_SERVICE", - r"Ljava/lang/String;", + r'TELEPHONY_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TELEPHONY_SERVICE + /// from: `static public final java.lang.String TELEPHONY_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TELEPHONY_SERVICE => - _id_TELEPHONY_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TELEPHONY_SERVICE => + _id_TELEPHONY_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TELEPHONY_SUBSCRIPTION_SERVICE = _class.staticFieldId( - r"TELEPHONY_SUBSCRIPTION_SERVICE", - r"Ljava/lang/String;", + r'TELEPHONY_SUBSCRIPTION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TELEPHONY_SUBSCRIPTION_SERVICE + /// from: `static public final java.lang.String TELEPHONY_SUBSCRIPTION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TELEPHONY_SUBSCRIPTION_SERVICE => - _id_TELEPHONY_SUBSCRIPTION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TELEPHONY_SUBSCRIPTION_SERVICE => + _id_TELEPHONY_SUBSCRIPTION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TEXT_CLASSIFICATION_SERVICE = _class.staticFieldId( - r"TEXT_CLASSIFICATION_SERVICE", - r"Ljava/lang/String;", + r'TEXT_CLASSIFICATION_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TEXT_CLASSIFICATION_SERVICE + /// from: `static public final java.lang.String TEXT_CLASSIFICATION_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TEXT_CLASSIFICATION_SERVICE => - _id_TEXT_CLASSIFICATION_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TEXT_CLASSIFICATION_SERVICE => + _id_TEXT_CLASSIFICATION_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TEXT_SERVICES_MANAGER_SERVICE = _class.staticFieldId( - r"TEXT_SERVICES_MANAGER_SERVICE", - r"Ljava/lang/String;", + r'TEXT_SERVICES_MANAGER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TEXT_SERVICES_MANAGER_SERVICE + /// from: `static public final java.lang.String TEXT_SERVICES_MANAGER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TEXT_SERVICES_MANAGER_SERVICE => - _id_TEXT_SERVICES_MANAGER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TEXT_SERVICES_MANAGER_SERVICE => + _id_TEXT_SERVICES_MANAGER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TV_INPUT_SERVICE = _class.staticFieldId( - r"TV_INPUT_SERVICE", - r"Ljava/lang/String;", + r'TV_INPUT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TV_INPUT_SERVICE + /// from: `static public final java.lang.String TV_INPUT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TV_INPUT_SERVICE => - _id_TV_INPUT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TV_INPUT_SERVICE => + _id_TV_INPUT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_TV_INTERACTIVE_APP_SERVICE = _class.staticFieldId( - r"TV_INTERACTIVE_APP_SERVICE", - r"Ljava/lang/String;", + r'TV_INTERACTIVE_APP_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TV_INTERACTIVE_APP_SERVICE + /// from: `static public final java.lang.String TV_INTERACTIVE_APP_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get TV_INTERACTIVE_APP_SERVICE => - _id_TV_INTERACTIVE_APP_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get TV_INTERACTIVE_APP_SERVICE => + _id_TV_INTERACTIVE_APP_SERVICE.get(_class, const _$jni.JStringType()); static final _id_UI_MODE_SERVICE = _class.staticFieldId( - r"UI_MODE_SERVICE", - r"Ljava/lang/String;", + r'UI_MODE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String UI_MODE_SERVICE + /// from: `static public final java.lang.String UI_MODE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get UI_MODE_SERVICE => - _id_UI_MODE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get UI_MODE_SERVICE => + _id_UI_MODE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_USAGE_STATS_SERVICE = _class.staticFieldId( - r"USAGE_STATS_SERVICE", - r"Ljava/lang/String;", + r'USAGE_STATS_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String USAGE_STATS_SERVICE + /// from: `static public final java.lang.String USAGE_STATS_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get USAGE_STATS_SERVICE => - _id_USAGE_STATS_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get USAGE_STATS_SERVICE => + _id_USAGE_STATS_SERVICE.get(_class, const _$jni.JStringType()); static final _id_USB_SERVICE = _class.staticFieldId( - r"USB_SERVICE", - r"Ljava/lang/String;", + r'USB_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String USB_SERVICE + /// from: `static public final java.lang.String USB_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get USB_SERVICE => - _id_USB_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get USB_SERVICE => + _id_USB_SERVICE.get(_class, const _$jni.JStringType()); static final _id_USER_SERVICE = _class.staticFieldId( - r"USER_SERVICE", - r"Ljava/lang/String;", + r'USER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String USER_SERVICE + /// from: `static public final java.lang.String USER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get USER_SERVICE => - _id_USER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get USER_SERVICE => + _id_USER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_VIBRATOR_MANAGER_SERVICE = _class.staticFieldId( - r"VIBRATOR_MANAGER_SERVICE", - r"Ljava/lang/String;", + r'VIBRATOR_MANAGER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String VIBRATOR_MANAGER_SERVICE + /// from: `static public final java.lang.String VIBRATOR_MANAGER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get VIBRATOR_MANAGER_SERVICE => - _id_VIBRATOR_MANAGER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get VIBRATOR_MANAGER_SERVICE => + _id_VIBRATOR_MANAGER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_VIBRATOR_SERVICE = _class.staticFieldId( - r"VIBRATOR_SERVICE", - r"Ljava/lang/String;", + r'VIBRATOR_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String VIBRATOR_SERVICE + /// from: `static public final java.lang.String VIBRATOR_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get VIBRATOR_SERVICE => - _id_VIBRATOR_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get VIBRATOR_SERVICE => + _id_VIBRATOR_SERVICE.get(_class, const _$jni.JStringType()); static final _id_VPN_MANAGEMENT_SERVICE = _class.staticFieldId( - r"VPN_MANAGEMENT_SERVICE", - r"Ljava/lang/String;", + r'VPN_MANAGEMENT_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String VPN_MANAGEMENT_SERVICE + /// from: `static public final java.lang.String VPN_MANAGEMENT_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get VPN_MANAGEMENT_SERVICE => - _id_VPN_MANAGEMENT_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get VPN_MANAGEMENT_SERVICE => + _id_VPN_MANAGEMENT_SERVICE.get(_class, const _$jni.JStringType()); static final _id_WALLPAPER_SERVICE = _class.staticFieldId( - r"WALLPAPER_SERVICE", - r"Ljava/lang/String;", + r'WALLPAPER_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String WALLPAPER_SERVICE + /// from: `static public final java.lang.String WALLPAPER_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get WALLPAPER_SERVICE => - _id_WALLPAPER_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get WALLPAPER_SERVICE => + _id_WALLPAPER_SERVICE.get(_class, const _$jni.JStringType()); static final _id_WIFI_AWARE_SERVICE = _class.staticFieldId( - r"WIFI_AWARE_SERVICE", - r"Ljava/lang/String;", + r'WIFI_AWARE_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String WIFI_AWARE_SERVICE + /// from: `static public final java.lang.String WIFI_AWARE_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get WIFI_AWARE_SERVICE => - _id_WIFI_AWARE_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get WIFI_AWARE_SERVICE => + _id_WIFI_AWARE_SERVICE.get(_class, const _$jni.JStringType()); static final _id_WIFI_P2P_SERVICE = _class.staticFieldId( - r"WIFI_P2P_SERVICE", - r"Ljava/lang/String;", + r'WIFI_P2P_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String WIFI_P2P_SERVICE + /// from: `static public final java.lang.String WIFI_P2P_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get WIFI_P2P_SERVICE => - _id_WIFI_P2P_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get WIFI_P2P_SERVICE => + _id_WIFI_P2P_SERVICE.get(_class, const _$jni.JStringType()); static final _id_WIFI_RTT_RANGING_SERVICE = _class.staticFieldId( - r"WIFI_RTT_RANGING_SERVICE", - r"Ljava/lang/String;", + r'WIFI_RTT_RANGING_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String WIFI_RTT_RANGING_SERVICE + /// from: `static public final java.lang.String WIFI_RTT_RANGING_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get WIFI_RTT_RANGING_SERVICE => - _id_WIFI_RTT_RANGING_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get WIFI_RTT_RANGING_SERVICE => + _id_WIFI_RTT_RANGING_SERVICE.get(_class, const _$jni.JStringType()); static final _id_WIFI_SERVICE = _class.staticFieldId( - r"WIFI_SERVICE", - r"Ljava/lang/String;", + r'WIFI_SERVICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String WIFI_SERVICE + /// from: `static public final java.lang.String WIFI_SERVICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get WIFI_SERVICE => - _id_WIFI_SERVICE.get(_class, const jni.JStringType()); + static _$jni.JString get WIFI_SERVICE => + _id_WIFI_SERVICE.get(_class, const _$jni.JStringType()); static final _id_WINDOW_SERVICE = _class.staticFieldId( - r"WINDOW_SERVICE", - r"Ljava/lang/String;", - ); - - /// from: static public final java.lang.String WINDOW_SERVICE - /// The returned object must be released after use, by calling the [release] method. - static jni.JString get WINDOW_SERVICE => - _id_WINDOW_SERVICE.get(_class, const jni.JStringType()); - - static final _id_new0 = _class.constructorId( - r"()V", + r'WINDOW_SERVICE', + r'Ljava/lang/String;', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: public void () + /// from: `static public final java.lang.String WINDOW_SERVICE` /// The returned object must be released after use, by calling the [release] method. - factory Context() { - return Context.fromReference( - _new0(_class.reference.pointer, _id_new0 as jni.JMethodIDPtr) - .reference); - } + static _$jni.JString get WINDOW_SERVICE => + _id_WINDOW_SERVICE.get(_class, const _$jni.JStringType()); static final _id_getAssets = _class.instanceMethodId( - r"getAssets", - r"()Landroid/content/res/AssetManager;", + r'getAssets', + r'()Landroid/content/res/AssetManager;', ); - static final _getAssets = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getAssets = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.res.AssetManager getAssets() + /// from: `public abstract android.content.res.AssetManager getAssets()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getAssets() { - return _getAssets(reference.pointer, _id_getAssets as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getAssets() { + return _getAssets(reference.pointer, _id_getAssets as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getResources = _class.instanceMethodId( - r"getResources", - r"()Landroid/content/res/Resources;", + r'getResources', + r'()Landroid/content/res/Resources;', ); - static final _getResources = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getResources = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.res.Resources getResources() + /// from: `public abstract android.content.res.Resources getResources()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getResources() { + _$jni.JObject getResources() { return _getResources( - reference.pointer, _id_getResources as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getResources as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getPackageManager = _class.instanceMethodId( - r"getPackageManager", - r"()Landroid/content/pm/PackageManager;", + r'getPackageManager', + r'()Landroid/content/pm/PackageManager;', ); - static final _getPackageManager = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getPackageManager = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.pm.PackageManager getPackageManager() + /// from: `public abstract android.content.pm.PackageManager getPackageManager()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getPackageManager() { + _$jni.JObject getPackageManager() { return _getPackageManager( - reference.pointer, _id_getPackageManager as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getPackageManager as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getContentResolver = _class.instanceMethodId( - r"getContentResolver", - r"()Landroid/content/ContentResolver;", + r'getContentResolver', + r'()Landroid/content/ContentResolver;', ); - static final _getContentResolver = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getContentResolver = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.ContentResolver getContentResolver() + /// from: `public abstract android.content.ContentResolver getContentResolver()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getContentResolver() { + _$jni.JObject getContentResolver() { return _getContentResolver( - reference.pointer, _id_getContentResolver as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getContentResolver as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getMainLooper = _class.instanceMethodId( - r"getMainLooper", - r"()Landroid/os/Looper;", + r'getMainLooper', + r'()Landroid/os/Looper;', ); - static final _getMainLooper = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getMainLooper = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.os.Looper getMainLooper() + /// from: `public abstract android.os.Looper getMainLooper()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getMainLooper() { + _$jni.JObject getMainLooper() { return _getMainLooper( - reference.pointer, _id_getMainLooper as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getMainLooper as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getMainExecutor = _class.instanceMethodId( - r"getMainExecutor", - r"()Ljava/util/concurrent/Executor;", + r'getMainExecutor', + r'()Ljava/util/concurrent/Executor;', ); - static final _getMainExecutor = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getMainExecutor = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.util.concurrent.Executor getMainExecutor() + /// from: `public java.util.concurrent.Executor getMainExecutor()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getMainExecutor() { + _$jni.JObject getMainExecutor() { return _getMainExecutor( - reference.pointer, _id_getMainExecutor as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getMainExecutor as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getApplicationContext = _class.instanceMethodId( - r"getApplicationContext", - r"()Landroid/content/Context;", + r'getApplicationContext', + r'()Landroid/content/Context;', ); - static final _getApplicationContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getApplicationContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.Context getApplicationContext() + /// from: `public abstract android.content.Context getApplicationContext()` /// The returned object must be released after use, by calling the [release] method. Context getApplicationContext() { return _getApplicationContext( - reference.pointer, _id_getApplicationContext as jni.JMethodIDPtr) - .object(const $ContextType()); + reference.pointer, _id_getApplicationContext as _$jni.JMethodIDPtr) + .object(const $Context$Type()); } static final _id_registerComponentCallbacks = _class.instanceMethodId( - r"registerComponentCallbacks", - r"(Landroid/content/ComponentCallbacks;)V", - ); - - static final _registerComponentCallbacks = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'registerComponentCallbacks', + r'(Landroid/content/ComponentCallbacks;)V', + ); + + static final _registerComponentCallbacks = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks) + /// from: `public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void registerComponentCallbacks( - jni.JObject componentCallbacks, + _$jni.JObject componentCallbacks, ) { _registerComponentCallbacks( reference.pointer, - _id_registerComponentCallbacks as jni.JMethodIDPtr, + _id_registerComponentCallbacks as _$jni.JMethodIDPtr, componentCallbacks.reference.pointer) .check(); } static final _id_unregisterComponentCallbacks = _class.instanceMethodId( - r"unregisterComponentCallbacks", - r"(Landroid/content/ComponentCallbacks;)V", - ); - - static final _unregisterComponentCallbacks = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'unregisterComponentCallbacks', + r'(Landroid/content/ComponentCallbacks;)V', + ); + + static final _unregisterComponentCallbacks = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks) + /// from: `public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void unregisterComponentCallbacks( - jni.JObject componentCallbacks, + _$jni.JObject componentCallbacks, ) { _unregisterComponentCallbacks( reference.pointer, - _id_unregisterComponentCallbacks as jni.JMethodIDPtr, + _id_unregisterComponentCallbacks as _$jni.JMethodIDPtr, componentCallbacks.reference.pointer) .check(); } static final _id_getText = _class.instanceMethodId( - r"getText", - r"(I)Ljava/lang/CharSequence;", + r'getText', + r'(I)Ljava/lang/CharSequence;', ); - static final _getText = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _getText = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final java.lang.CharSequence getText(int i) + /// from: `public final java.lang.CharSequence getText(int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getText( + _$jni.JObject getText( int i, ) { - return _getText(reference.pointer, _id_getText as jni.JMethodIDPtr, i) - .object(const jni.JObjectType()); + return _getText(reference.pointer, _id_getText as _$jni.JMethodIDPtr, i) + .object(const _$jni.JObjectType()); } static final _id_getString = _class.instanceMethodId( - r"getString", - r"(I)Ljava/lang/String;", + r'getString', + r'(I)Ljava/lang/String;', ); - static final _getString = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _getString = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final java.lang.String getString(int i) + /// from: `public final java.lang.String getString(int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JString getString( + _$jni.JString getString( int i, ) { - return _getString(reference.pointer, _id_getString as jni.JMethodIDPtr, i) - .object(const jni.JStringType()); + return _getString(reference.pointer, _id_getString as _$jni.JMethodIDPtr, i) + .object(const _$jni.JStringType()); } - static final _id_getString1 = _class.instanceMethodId( - r"getString", - r"(I[Ljava/lang/Object;)Ljava/lang/String;", + static final _id_getString$1 = _class.instanceMethodId( + r'getString', + r'(I[Ljava/lang/Object;)Ljava/lang/String;', ); - static final _getString1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") + static final _getString$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final java.lang.String getString(int i, java.lang.Object[] objects) + /// from: `public final java.lang.String getString(int i, java.lang.Object[] objects)` /// The returned object must be released after use, by calling the [release] method. - jni.JString getString1( + _$jni.JString getString$1( int i, - jni.JArray objects, + _$jni.JArray<_$jni.JObject> objects, ) { - return _getString1(reference.pointer, _id_getString1 as jni.JMethodIDPtr, i, - objects.reference.pointer) - .object(const jni.JStringType()); + return _getString$1(reference.pointer, + _id_getString$1 as _$jni.JMethodIDPtr, i, objects.reference.pointer) + .object(const _$jni.JStringType()); } static final _id_getColor = _class.instanceMethodId( - r"getColor", - r"(I)I", + r'getColor', + r'(I)I', ); - static final _getColor = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallIntMethod") + static final _getColor = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final int getColor(int i) + /// from: `public final int getColor(int i)` int getColor( int i, ) { - return _getColor(reference.pointer, _id_getColor as jni.JMethodIDPtr, i) + return _getColor(reference.pointer, _id_getColor as _$jni.JMethodIDPtr, i) .integer; } static final _id_getDrawable = _class.instanceMethodId( - r"getDrawable", - r"(I)Landroid/graphics/drawable/Drawable;", + r'getDrawable', + r'(I)Landroid/graphics/drawable/Drawable;', ); - static final _getDrawable = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _getDrawable = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final android.graphics.drawable.Drawable getDrawable(int i) + /// from: `public final android.graphics.drawable.Drawable getDrawable(int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getDrawable( + _$jni.JObject getDrawable( int i, ) { return _getDrawable( - reference.pointer, _id_getDrawable as jni.JMethodIDPtr, i) - .object(const jni.JObjectType()); + reference.pointer, _id_getDrawable as _$jni.JMethodIDPtr, i) + .object(const _$jni.JObjectType()); } static final _id_getColorStateList = _class.instanceMethodId( - r"getColorStateList", - r"(I)Landroid/content/res/ColorStateList;", + r'getColorStateList', + r'(I)Landroid/content/res/ColorStateList;', ); - static final _getColorStateList = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _getColorStateList = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final android.content.res.ColorStateList getColorStateList(int i) + /// from: `public final android.content.res.ColorStateList getColorStateList(int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getColorStateList( + _$jni.JObject getColorStateList( int i, ) { return _getColorStateList( - reference.pointer, _id_getColorStateList as jni.JMethodIDPtr, i) - .object(const jni.JObjectType()); + reference.pointer, _id_getColorStateList as _$jni.JMethodIDPtr, i) + .object(const _$jni.JObjectType()); } static final _id_setTheme = _class.instanceMethodId( - r"setTheme", - r"(I)V", + r'setTheme', + r'(I)V', ); - static final _setTheme = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setTheme = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public abstract void setTheme(int i) + /// from: `public abstract void setTheme(int i)` void setTheme( int i, ) { - _setTheme(reference.pointer, _id_setTheme as jni.JMethodIDPtr, i).check(); + _setTheme(reference.pointer, _id_setTheme as _$jni.JMethodIDPtr, i).check(); } static final _id_getTheme = _class.instanceMethodId( - r"getTheme", - r"()Landroid/content/res/Resources$Theme;", + r'getTheme', + r'()Landroid/content/res/Resources$Theme;', ); - static final _getTheme = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getTheme = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.res.Resources$Theme getTheme() + /// from: `public abstract android.content.res.Resources$Theme getTheme()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getTheme() { - return _getTheme(reference.pointer, _id_getTheme as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getTheme() { + return _getTheme(reference.pointer, _id_getTheme as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_obtainStyledAttributes = _class.instanceMethodId( - r"obtainStyledAttributes", - r"([I)Landroid/content/res/TypedArray;", + r'obtainStyledAttributes', + r'([I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _obtainStyledAttributes = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final android.content.res.TypedArray obtainStyledAttributes(int[] is) + /// from: `public final android.content.res.TypedArray obtainStyledAttributes(int[] is)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject obtainStyledAttributes( - jni.JArray is0, + _$jni.JObject obtainStyledAttributes( + _$jni.JArray<_$jni.jint> is$, ) { return _obtainStyledAttributes( reference.pointer, - _id_obtainStyledAttributes as jni.JMethodIDPtr, - is0.reference.pointer) - .object(const jni.JObjectType()); + _id_obtainStyledAttributes as _$jni.JMethodIDPtr, + is$.reference.pointer) + .object(const _$jni.JObjectType()); } - static final _id_obtainStyledAttributes1 = _class.instanceMethodId( - r"obtainStyledAttributes", - r"(I[I)Landroid/content/res/TypedArray;", + static final _id_obtainStyledAttributes$1 = _class.instanceMethodId( + r'obtainStyledAttributes', + r'(I[I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") + static final _obtainStyledAttributes$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final android.content.res.TypedArray obtainStyledAttributes(int i, int[] is) + /// from: `public final android.content.res.TypedArray obtainStyledAttributes(int i, int[] is)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject obtainStyledAttributes1( + _$jni.JObject obtainStyledAttributes$1( int i, - jni.JArray is0, + _$jni.JArray<_$jni.jint> is$, ) { - return _obtainStyledAttributes1( + return _obtainStyledAttributes$1( reference.pointer, - _id_obtainStyledAttributes1 as jni.JMethodIDPtr, + _id_obtainStyledAttributes$1 as _$jni.JMethodIDPtr, i, - is0.reference.pointer) - .object(const jni.JObjectType()); + is$.reference.pointer) + .object(const _$jni.JObjectType()); } - static final _id_obtainStyledAttributes2 = _class.instanceMethodId( - r"obtainStyledAttributes", - r"(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;", + static final _id_obtainStyledAttributes$2 = _class.instanceMethodId( + r'obtainStyledAttributes', + r'(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _obtainStyledAttributes$2 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is) + /// from: `public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject obtainStyledAttributes2( - jni.JObject attributeSet, - jni.JArray is0, + _$jni.JObject obtainStyledAttributes$2( + _$jni.JObject attributeSet, + _$jni.JArray<_$jni.jint> is$, ) { - return _obtainStyledAttributes2( + return _obtainStyledAttributes$2( reference.pointer, - _id_obtainStyledAttributes2 as jni.JMethodIDPtr, + _id_obtainStyledAttributes$2 as _$jni.JMethodIDPtr, attributeSet.reference.pointer, - is0.reference.pointer) - .object(const jni.JObjectType()); + is$.reference.pointer) + .object(const _$jni.JObjectType()); } - static final _id_obtainStyledAttributes3 = _class.instanceMethodId( - r"obtainStyledAttributes", - r"(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;", + static final _id_obtainStyledAttributes$3 = _class.instanceMethodId( + r'obtainStyledAttributes', + r'(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes3 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _obtainStyledAttributes$3 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + int)>(); - /// from: public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is, int i, int i1) + /// from: `public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is, int i, int i1)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject obtainStyledAttributes3( - jni.JObject attributeSet, - jni.JArray is0, + _$jni.JObject obtainStyledAttributes$3( + _$jni.JObject attributeSet, + _$jni.JArray<_$jni.jint> is$, int i, int i1, ) { - return _obtainStyledAttributes3( + return _obtainStyledAttributes$3( reference.pointer, - _id_obtainStyledAttributes3 as jni.JMethodIDPtr, + _id_obtainStyledAttributes$3 as _$jni.JMethodIDPtr, attributeSet.reference.pointer, - is0.reference.pointer, + is$.reference.pointer, i, i1) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_getClassLoader = _class.instanceMethodId( - r"getClassLoader", - r"()Ljava/lang/ClassLoader;", + r'getClassLoader', + r'()Ljava/lang/ClassLoader;', ); - static final _getClassLoader = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getClassLoader = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.ClassLoader getClassLoader() + /// from: `public abstract java.lang.ClassLoader getClassLoader()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getClassLoader() { + _$jni.JObject getClassLoader() { return _getClassLoader( - reference.pointer, _id_getClassLoader as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getClassLoader as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getPackageName = _class.instanceMethodId( - r"getPackageName", - r"()Ljava/lang/String;", + r'getPackageName', + r'()Ljava/lang/String;', ); - static final _getPackageName = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getPackageName = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.String getPackageName() + /// from: `public abstract java.lang.String getPackageName()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getPackageName() { + _$jni.JString getPackageName() { return _getPackageName( - reference.pointer, _id_getPackageName as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getPackageName as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getOpPackageName = _class.instanceMethodId( - r"getOpPackageName", - r"()Ljava/lang/String;", + r'getOpPackageName', + r'()Ljava/lang/String;', ); - static final _getOpPackageName = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getOpPackageName = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getOpPackageName() + /// from: `public java.lang.String getOpPackageName()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getOpPackageName() { + _$jni.JString getOpPackageName() { return _getOpPackageName( - reference.pointer, _id_getOpPackageName as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getOpPackageName as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getAttributionTag = _class.instanceMethodId( - r"getAttributionTag", - r"()Ljava/lang/String;", + r'getAttributionTag', + r'()Ljava/lang/String;', ); - static final _getAttributionTag = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getAttributionTag = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getAttributionTag() + /// from: `public java.lang.String getAttributionTag()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getAttributionTag() { + _$jni.JString getAttributionTag() { return _getAttributionTag( - reference.pointer, _id_getAttributionTag as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getAttributionTag as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getAttributionSource = _class.instanceMethodId( - r"getAttributionSource", - r"()Landroid/content/AttributionSource;", + r'getAttributionSource', + r'()Landroid/content/AttributionSource;', ); - static final _getAttributionSource = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getAttributionSource = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.AttributionSource getAttributionSource() + /// from: `public android.content.AttributionSource getAttributionSource()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getAttributionSource() { + _$jni.JObject getAttributionSource() { return _getAttributionSource( - reference.pointer, _id_getAttributionSource as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getAttributionSource as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getParams = _class.instanceMethodId( - r"getParams", - r"()Landroid/content/ContextParams;", + r'getParams', + r'()Landroid/content/ContextParams;', ); - static final _getParams = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getParams = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.ContextParams getParams() + /// from: `public android.content.ContextParams getParams()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getParams() { - return _getParams(reference.pointer, _id_getParams as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getParams() { + return _getParams(reference.pointer, _id_getParams as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getApplicationInfo = _class.instanceMethodId( - r"getApplicationInfo", - r"()Landroid/content/pm/ApplicationInfo;", + r'getApplicationInfo', + r'()Landroid/content/pm/ApplicationInfo;', ); - static final _getApplicationInfo = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getApplicationInfo = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.pm.ApplicationInfo getApplicationInfo() + /// from: `public abstract android.content.pm.ApplicationInfo getApplicationInfo()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getApplicationInfo() { + _$jni.JObject getApplicationInfo() { return _getApplicationInfo( - reference.pointer, _id_getApplicationInfo as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getApplicationInfo as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getPackageResourcePath = _class.instanceMethodId( - r"getPackageResourcePath", - r"()Ljava/lang/String;", + r'getPackageResourcePath', + r'()Ljava/lang/String;', ); - static final _getPackageResourcePath = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getPackageResourcePath = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.String getPackageResourcePath() + /// from: `public abstract java.lang.String getPackageResourcePath()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getPackageResourcePath() { + _$jni.JString getPackageResourcePath() { return _getPackageResourcePath( - reference.pointer, _id_getPackageResourcePath as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getPackageResourcePath as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getPackageCodePath = _class.instanceMethodId( - r"getPackageCodePath", - r"()Ljava/lang/String;", + r'getPackageCodePath', + r'()Ljava/lang/String;', ); - static final _getPackageCodePath = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getPackageCodePath = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.String getPackageCodePath() + /// from: `public abstract java.lang.String getPackageCodePath()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getPackageCodePath() { + _$jni.JString getPackageCodePath() { return _getPackageCodePath( - reference.pointer, _id_getPackageCodePath as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getPackageCodePath as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getSharedPreferences = _class.instanceMethodId( - r"getSharedPreferences", - r"(Ljava/lang/String;I)Landroid/content/SharedPreferences;", + r'getSharedPreferences', + r'(Ljava/lang/String;I)Landroid/content/SharedPreferences;', ); - static final _getSharedPreferences = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _getSharedPreferences = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String string, int i) + /// from: `public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getSharedPreferences( - jni.JString string, + _$jni.JObject getSharedPreferences( + _$jni.JString string, int i, ) { return _getSharedPreferences( reference.pointer, - _id_getSharedPreferences as jni.JMethodIDPtr, + _id_getSharedPreferences as _$jni.JMethodIDPtr, string.reference.pointer, i) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_moveSharedPreferencesFrom = _class.instanceMethodId( - r"moveSharedPreferencesFrom", - r"(Landroid/content/Context;Ljava/lang/String;)Z", + r'moveSharedPreferencesFrom', + r'(Landroid/content/Context;Ljava/lang/String;)Z', ); - static final _moveSharedPreferencesFrom = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _moveSharedPreferencesFrom = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract boolean moveSharedPreferencesFrom(android.content.Context context, java.lang.String string) + /// from: `public abstract boolean moveSharedPreferencesFrom(android.content.Context context, java.lang.String string)` bool moveSharedPreferencesFrom( Context context, - jni.JString string, + _$jni.JString string, ) { return _moveSharedPreferencesFrom( reference.pointer, - _id_moveSharedPreferencesFrom as jni.JMethodIDPtr, + _id_moveSharedPreferencesFrom as _$jni.JMethodIDPtr, context.reference.pointer, string.reference.pointer) .boolean; } static final _id_deleteSharedPreferences = _class.instanceMethodId( - r"deleteSharedPreferences", - r"(Ljava/lang/String;)Z", + r'deleteSharedPreferences', + r'(Ljava/lang/String;)Z', ); - static final _deleteSharedPreferences = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _deleteSharedPreferences = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract boolean deleteSharedPreferences(java.lang.String string) + /// from: `public abstract boolean deleteSharedPreferences(java.lang.String string)` bool deleteSharedPreferences( - jni.JString string, + _$jni.JString string, ) { return _deleteSharedPreferences( reference.pointer, - _id_deleteSharedPreferences as jni.JMethodIDPtr, + _id_deleteSharedPreferences as _$jni.JMethodIDPtr, string.reference.pointer) .boolean; } static final _id_openFileInput = _class.instanceMethodId( - r"openFileInput", - r"(Ljava/lang/String;)Ljava/io/FileInputStream;", + r'openFileInput', + r'(Ljava/lang/String;)Ljava/io/FileInputStream;', ); - static final _openFileInput = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _openFileInput = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.io.FileInputStream openFileInput(java.lang.String string) + /// from: `public abstract java.io.FileInputStream openFileInput(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject openFileInput( - jni.JString string, + _$jni.JObject openFileInput( + _$jni.JString string, ) { return _openFileInput(reference.pointer, - _id_openFileInput as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + _id_openFileInput as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const _$jni.JObjectType()); } static final _id_openFileOutput = _class.instanceMethodId( - r"openFileOutput", - r"(Ljava/lang/String;I)Ljava/io/FileOutputStream;", + r'openFileOutput', + r'(Ljava/lang/String;I)Ljava/io/FileOutputStream;', ); - static final _openFileOutput = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _openFileOutput = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract java.io.FileOutputStream openFileOutput(java.lang.String string, int i) + /// from: `public abstract java.io.FileOutputStream openFileOutput(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject openFileOutput( - jni.JString string, + _$jni.JObject openFileOutput( + _$jni.JString string, int i, ) { - return _openFileOutput(reference.pointer, - _id_openFileOutput as jni.JMethodIDPtr, string.reference.pointer, i) - .object(const jni.JObjectType()); + return _openFileOutput( + reference.pointer, + _id_openFileOutput as _$jni.JMethodIDPtr, + string.reference.pointer, + i) + .object(const _$jni.JObjectType()); } static final _id_deleteFile = _class.instanceMethodId( - r"deleteFile", - r"(Ljava/lang/String;)Z", + r'deleteFile', + r'(Ljava/lang/String;)Z', ); - static final _deleteFile = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _deleteFile = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract boolean deleteFile(java.lang.String string) + /// from: `public abstract boolean deleteFile(java.lang.String string)` bool deleteFile( - jni.JString string, + _$jni.JString string, ) { - return _deleteFile(reference.pointer, _id_deleteFile as jni.JMethodIDPtr, + return _deleteFile(reference.pointer, _id_deleteFile as _$jni.JMethodIDPtr, string.reference.pointer) .boolean; } static final _id_getFileStreamPath = _class.instanceMethodId( - r"getFileStreamPath", - r"(Ljava/lang/String;)Ljava/io/File;", + r'getFileStreamPath', + r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getFileStreamPath = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getFileStreamPath = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.io.File getFileStreamPath(java.lang.String string) + /// from: `public abstract java.io.File getFileStreamPath(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getFileStreamPath( - jni.JString string, + _$jni.JObject getFileStreamPath( + _$jni.JString string, ) { - return _getFileStreamPath(reference.pointer, - _id_getFileStreamPath as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + return _getFileStreamPath( + reference.pointer, + _id_getFileStreamPath as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JObjectType()); } static final _id_getDataDir = _class.instanceMethodId( - r"getDataDir", - r"()Ljava/io/File;", + r'getDataDir', + r'()Ljava/io/File;', ); - static final _getDataDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getDataDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File getDataDir() + /// from: `public abstract java.io.File getDataDir()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getDataDir() { - return _getDataDir(reference.pointer, _id_getDataDir as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getDataDir() { + return _getDataDir(reference.pointer, _id_getDataDir as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getFilesDir = _class.instanceMethodId( - r"getFilesDir", - r"()Ljava/io/File;", + r'getFilesDir', + r'()Ljava/io/File;', ); - static final _getFilesDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getFilesDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File getFilesDir() + /// from: `public abstract java.io.File getFilesDir()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getFilesDir() { - return _getFilesDir(reference.pointer, _id_getFilesDir as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getFilesDir() { + return _getFilesDir( + reference.pointer, _id_getFilesDir as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getNoBackupFilesDir = _class.instanceMethodId( - r"getNoBackupFilesDir", - r"()Ljava/io/File;", + r'getNoBackupFilesDir', + r'()Ljava/io/File;', ); - static final _getNoBackupFilesDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getNoBackupFilesDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File getNoBackupFilesDir() + /// from: `public abstract java.io.File getNoBackupFilesDir()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getNoBackupFilesDir() { + _$jni.JObject getNoBackupFilesDir() { return _getNoBackupFilesDir( - reference.pointer, _id_getNoBackupFilesDir as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getNoBackupFilesDir as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getExternalFilesDir = _class.instanceMethodId( - r"getExternalFilesDir", - r"(Ljava/lang/String;)Ljava/io/File;", + r'getExternalFilesDir', + r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getExternalFilesDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getExternalFilesDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.io.File getExternalFilesDir(java.lang.String string) + /// from: `public abstract java.io.File getExternalFilesDir(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getExternalFilesDir( - jni.JString string, + _$jni.JObject getExternalFilesDir( + _$jni.JString string, ) { return _getExternalFilesDir( reference.pointer, - _id_getExternalFilesDir as jni.JMethodIDPtr, + _id_getExternalFilesDir as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_getExternalFilesDirs = _class.instanceMethodId( - r"getExternalFilesDirs", - r"(Ljava/lang/String;)[Ljava/io/File;", + r'getExternalFilesDirs', + r'(Ljava/lang/String;)[Ljava/io/File;', ); - static final _getExternalFilesDirs = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getExternalFilesDirs = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.io.File[] getExternalFilesDirs(java.lang.String string) + /// from: `public abstract java.io.File[] getExternalFilesDirs(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getExternalFilesDirs( - jni.JString string, + _$jni.JArray<_$jni.JObject> getExternalFilesDirs( + _$jni.JString string, ) { return _getExternalFilesDirs( reference.pointer, - _id_getExternalFilesDirs as jni.JMethodIDPtr, + _id_getExternalFilesDirs as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.JObjectType())); + .object(const _$jni.JArrayType(_$jni.JObjectType())); } static final _id_getObbDir = _class.instanceMethodId( - r"getObbDir", - r"()Ljava/io/File;", + r'getObbDir', + r'()Ljava/io/File;', ); - static final _getObbDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getObbDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File getObbDir() + /// from: `public abstract java.io.File getObbDir()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getObbDir() { - return _getObbDir(reference.pointer, _id_getObbDir as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getObbDir() { + return _getObbDir(reference.pointer, _id_getObbDir as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getObbDirs = _class.instanceMethodId( - r"getObbDirs", - r"()[Ljava/io/File;", + r'getObbDirs', + r'()[Ljava/io/File;', ); - static final _getObbDirs = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getObbDirs = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File[] getObbDirs() + /// from: `public abstract java.io.File[] getObbDirs()` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getObbDirs() { - return _getObbDirs(reference.pointer, _id_getObbDirs as jni.JMethodIDPtr) - .object(const jni.JArrayType(jni.JObjectType())); + _$jni.JArray<_$jni.JObject> getObbDirs() { + return _getObbDirs(reference.pointer, _id_getObbDirs as _$jni.JMethodIDPtr) + .object(const _$jni.JArrayType(_$jni.JObjectType())); } static final _id_getCacheDir = _class.instanceMethodId( - r"getCacheDir", - r"()Ljava/io/File;", + r'getCacheDir', + r'()Ljava/io/File;', ); - static final _getCacheDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getCacheDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File getCacheDir() + /// from: `public abstract java.io.File getCacheDir()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getCacheDir() { - return _getCacheDir(reference.pointer, _id_getCacheDir as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getCacheDir() { + return _getCacheDir( + reference.pointer, _id_getCacheDir as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getCodeCacheDir = _class.instanceMethodId( - r"getCodeCacheDir", - r"()Ljava/io/File;", + r'getCodeCacheDir', + r'()Ljava/io/File;', ); - static final _getCodeCacheDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getCodeCacheDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File getCodeCacheDir() + /// from: `public abstract java.io.File getCodeCacheDir()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getCodeCacheDir() { + _$jni.JObject getCodeCacheDir() { return _getCodeCacheDir( - reference.pointer, _id_getCodeCacheDir as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getCodeCacheDir as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getExternalCacheDir = _class.instanceMethodId( - r"getExternalCacheDir", - r"()Ljava/io/File;", + r'getExternalCacheDir', + r'()Ljava/io/File;', ); - static final _getExternalCacheDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getExternalCacheDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File getExternalCacheDir() + /// from: `public abstract java.io.File getExternalCacheDir()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getExternalCacheDir() { + _$jni.JObject getExternalCacheDir() { return _getExternalCacheDir( - reference.pointer, _id_getExternalCacheDir as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getExternalCacheDir as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getExternalCacheDirs = _class.instanceMethodId( - r"getExternalCacheDirs", - r"()[Ljava/io/File;", + r'getExternalCacheDirs', + r'()[Ljava/io/File;', ); - static final _getExternalCacheDirs = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getExternalCacheDirs = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File[] getExternalCacheDirs() + /// from: `public abstract java.io.File[] getExternalCacheDirs()` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getExternalCacheDirs() { + _$jni.JArray<_$jni.JObject> getExternalCacheDirs() { return _getExternalCacheDirs( - reference.pointer, _id_getExternalCacheDirs as jni.JMethodIDPtr) - .object(const jni.JArrayType(jni.JObjectType())); + reference.pointer, _id_getExternalCacheDirs as _$jni.JMethodIDPtr) + .object(const _$jni.JArrayType(_$jni.JObjectType())); } static final _id_getExternalMediaDirs = _class.instanceMethodId( - r"getExternalMediaDirs", - r"()[Ljava/io/File;", + r'getExternalMediaDirs', + r'()[Ljava/io/File;', ); - static final _getExternalMediaDirs = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getExternalMediaDirs = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.io.File[] getExternalMediaDirs() + /// from: `public abstract java.io.File[] getExternalMediaDirs()` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getExternalMediaDirs() { + _$jni.JArray<_$jni.JObject> getExternalMediaDirs() { return _getExternalMediaDirs( - reference.pointer, _id_getExternalMediaDirs as jni.JMethodIDPtr) - .object(const jni.JArrayType(jni.JObjectType())); + reference.pointer, _id_getExternalMediaDirs as _$jni.JMethodIDPtr) + .object(const _$jni.JArrayType(_$jni.JObjectType())); } static final _id_fileList = _class.instanceMethodId( - r"fileList", - r"()[Ljava/lang/String;", + r'fileList', + r'()[Ljava/lang/String;', ); - static final _fileList = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _fileList = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.String[] fileList() + /// from: `public abstract java.lang.String[] fileList()` /// The returned object must be released after use, by calling the [release] method. - jni.JArray fileList() { - return _fileList(reference.pointer, _id_fileList as jni.JMethodIDPtr) - .object(const jni.JArrayType(jni.JStringType())); + _$jni.JArray<_$jni.JString> fileList() { + return _fileList(reference.pointer, _id_fileList as _$jni.JMethodIDPtr) + .object(const _$jni.JArrayType(_$jni.JStringType())); } static final _id_getDir = _class.instanceMethodId( - r"getDir", - r"(Ljava/lang/String;I)Ljava/io/File;", + r'getDir', + r'(Ljava/lang/String;I)Ljava/io/File;', ); - static final _getDir = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _getDir = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract java.io.File getDir(java.lang.String string, int i) + /// from: `public abstract java.io.File getDir(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getDir( - jni.JString string, + _$jni.JObject getDir( + _$jni.JString string, int i, ) { - return _getDir(reference.pointer, _id_getDir as jni.JMethodIDPtr, + return _getDir(reference.pointer, _id_getDir as _$jni.JMethodIDPtr, string.reference.pointer, i) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_openOrCreateDatabase = _class.instanceMethodId( - r"openOrCreateDatabase", - r"(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;", + r'openOrCreateDatabase', + r'(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;', ); - static final _openOrCreateDatabase = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _openOrCreateDatabase = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory) + /// from: `public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject openOrCreateDatabase( - jni.JString string, + _$jni.JObject openOrCreateDatabase( + _$jni.JString string, int i, - jni.JObject cursorFactory, + _$jni.JObject cursorFactory, ) { return _openOrCreateDatabase( reference.pointer, - _id_openOrCreateDatabase as jni.JMethodIDPtr, + _id_openOrCreateDatabase as _$jni.JMethodIDPtr, string.reference.pointer, i, cursorFactory.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_openOrCreateDatabase1 = _class.instanceMethodId( - r"openOrCreateDatabase", - r"(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;Landroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase;", + static final _id_openOrCreateDatabase$1 = _class.instanceMethodId( + r'openOrCreateDatabase', + r'(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;Landroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase;', ); - static final _openOrCreateDatabase1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _openOrCreateDatabase$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory, android.database.DatabaseErrorHandler databaseErrorHandler) + /// from: `public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory, android.database.DatabaseErrorHandler databaseErrorHandler)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject openOrCreateDatabase1( - jni.JString string, + _$jni.JObject openOrCreateDatabase$1( + _$jni.JString string, int i, - jni.JObject cursorFactory, - jni.JObject databaseErrorHandler, + _$jni.JObject cursorFactory, + _$jni.JObject databaseErrorHandler, ) { - return _openOrCreateDatabase1( + return _openOrCreateDatabase$1( reference.pointer, - _id_openOrCreateDatabase1 as jni.JMethodIDPtr, + _id_openOrCreateDatabase$1 as _$jni.JMethodIDPtr, string.reference.pointer, i, cursorFactory.reference.pointer, databaseErrorHandler.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_moveDatabaseFrom = _class.instanceMethodId( - r"moveDatabaseFrom", - r"(Landroid/content/Context;Ljava/lang/String;)Z", + r'moveDatabaseFrom', + r'(Landroid/content/Context;Ljava/lang/String;)Z', ); - static final _moveDatabaseFrom = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _moveDatabaseFrom = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract boolean moveDatabaseFrom(android.content.Context context, java.lang.String string) + /// from: `public abstract boolean moveDatabaseFrom(android.content.Context context, java.lang.String string)` bool moveDatabaseFrom( Context context, - jni.JString string, + _$jni.JString string, ) { return _moveDatabaseFrom( reference.pointer, - _id_moveDatabaseFrom as jni.JMethodIDPtr, + _id_moveDatabaseFrom as _$jni.JMethodIDPtr, context.reference.pointer, string.reference.pointer) .boolean; } static final _id_deleteDatabase = _class.instanceMethodId( - r"deleteDatabase", - r"(Ljava/lang/String;)Z", + r'deleteDatabase', + r'(Ljava/lang/String;)Z', ); - static final _deleteDatabase = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _deleteDatabase = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract boolean deleteDatabase(java.lang.String string) + /// from: `public abstract boolean deleteDatabase(java.lang.String string)` bool deleteDatabase( - jni.JString string, + _$jni.JString string, ) { return _deleteDatabase(reference.pointer, - _id_deleteDatabase as jni.JMethodIDPtr, string.reference.pointer) + _id_deleteDatabase as _$jni.JMethodIDPtr, string.reference.pointer) .boolean; } static final _id_getDatabasePath = _class.instanceMethodId( - r"getDatabasePath", - r"(Ljava/lang/String;)Ljava/io/File;", + r'getDatabasePath', + r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getDatabasePath = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getDatabasePath = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.io.File getDatabasePath(java.lang.String string) + /// from: `public abstract java.io.File getDatabasePath(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getDatabasePath( - jni.JString string, + _$jni.JObject getDatabasePath( + _$jni.JString string, ) { return _getDatabasePath(reference.pointer, - _id_getDatabasePath as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + _id_getDatabasePath as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const _$jni.JObjectType()); } static final _id_databaseList = _class.instanceMethodId( - r"databaseList", - r"()[Ljava/lang/String;", + r'databaseList', + r'()[Ljava/lang/String;', ); - static final _databaseList = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _databaseList = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.String[] databaseList() + /// from: `public abstract java.lang.String[] databaseList()` /// The returned object must be released after use, by calling the [release] method. - jni.JArray databaseList() { + _$jni.JArray<_$jni.JString> databaseList() { return _databaseList( - reference.pointer, _id_databaseList as jni.JMethodIDPtr) - .object(const jni.JArrayType(jni.JStringType())); + reference.pointer, _id_databaseList as _$jni.JMethodIDPtr) + .object(const _$jni.JArrayType(_$jni.JStringType())); } static final _id_getWallpaper = _class.instanceMethodId( - r"getWallpaper", - r"()Landroid/graphics/drawable/Drawable;", + r'getWallpaper', + r'()Landroid/graphics/drawable/Drawable;', ); - static final _getWallpaper = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getWallpaper = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.graphics.drawable.Drawable getWallpaper() + /// from: `public abstract android.graphics.drawable.Drawable getWallpaper()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getWallpaper() { + _$jni.JObject getWallpaper() { return _getWallpaper( - reference.pointer, _id_getWallpaper as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getWallpaper as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_peekWallpaper = _class.instanceMethodId( - r"peekWallpaper", - r"()Landroid/graphics/drawable/Drawable;", + r'peekWallpaper', + r'()Landroid/graphics/drawable/Drawable;', ); - static final _peekWallpaper = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _peekWallpaper = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.graphics.drawable.Drawable peekWallpaper() + /// from: `public abstract android.graphics.drawable.Drawable peekWallpaper()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject peekWallpaper() { + _$jni.JObject peekWallpaper() { return _peekWallpaper( - reference.pointer, _id_peekWallpaper as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_peekWallpaper as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getWallpaperDesiredMinimumWidth = _class.instanceMethodId( - r"getWallpaperDesiredMinimumWidth", - r"()I", + r'getWallpaperDesiredMinimumWidth', + r'()I', ); - static final _getWallpaperDesiredMinimumWidth = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _getWallpaperDesiredMinimumWidth = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public abstract int getWallpaperDesiredMinimumWidth() + /// from: `public abstract int getWallpaperDesiredMinimumWidth()` int getWallpaperDesiredMinimumWidth() { return _getWallpaperDesiredMinimumWidth(reference.pointer, - _id_getWallpaperDesiredMinimumWidth as jni.JMethodIDPtr) + _id_getWallpaperDesiredMinimumWidth as _$jni.JMethodIDPtr) .integer; } static final _id_getWallpaperDesiredMinimumHeight = _class.instanceMethodId( - r"getWallpaperDesiredMinimumHeight", - r"()I", + r'getWallpaperDesiredMinimumHeight', + r'()I', ); static final _getWallpaperDesiredMinimumHeight = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract int getWallpaperDesiredMinimumHeight() + /// from: `public abstract int getWallpaperDesiredMinimumHeight()` int getWallpaperDesiredMinimumHeight() { return _getWallpaperDesiredMinimumHeight(reference.pointer, - _id_getWallpaperDesiredMinimumHeight as jni.JMethodIDPtr) + _id_getWallpaperDesiredMinimumHeight as _$jni.JMethodIDPtr) .integer; } static final _id_setWallpaper = _class.instanceMethodId( - r"setWallpaper", - r"(Landroid/graphics/Bitmap;)V", + r'setWallpaper', + r'(Landroid/graphics/Bitmap;)V', ); - static final _setWallpaper = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setWallpaper = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void setWallpaper(android.graphics.Bitmap bitmap) + /// from: `public abstract void setWallpaper(android.graphics.Bitmap bitmap)` void setWallpaper( - jni.JObject bitmap, + _$jni.JObject bitmap, ) { - _setWallpaper(reference.pointer, _id_setWallpaper as jni.JMethodIDPtr, + _setWallpaper(reference.pointer, _id_setWallpaper as _$jni.JMethodIDPtr, bitmap.reference.pointer) .check(); } - static final _id_setWallpaper1 = _class.instanceMethodId( - r"setWallpaper", - r"(Ljava/io/InputStream;)V", + static final _id_setWallpaper$1 = _class.instanceMethodId( + r'setWallpaper', + r'(Ljava/io/InputStream;)V', ); - static final _setWallpaper1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setWallpaper$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void setWallpaper(java.io.InputStream inputStream) - void setWallpaper1( - jni.JObject inputStream, + /// from: `public abstract void setWallpaper(java.io.InputStream inputStream)` + void setWallpaper$1( + _$jni.JObject inputStream, ) { - _setWallpaper1(reference.pointer, _id_setWallpaper1 as jni.JMethodIDPtr, + _setWallpaper$1(reference.pointer, _id_setWallpaper$1 as _$jni.JMethodIDPtr, inputStream.reference.pointer) .check(); } static final _id_clearWallpaper = _class.instanceMethodId( - r"clearWallpaper", - r"()V", + r'clearWallpaper', + r'()V', ); - static final _clearWallpaper = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _clearWallpaper = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract void clearWallpaper() + /// from: `public abstract void clearWallpaper()` void clearWallpaper() { - _clearWallpaper(reference.pointer, _id_clearWallpaper as jni.JMethodIDPtr) + _clearWallpaper(reference.pointer, _id_clearWallpaper as _$jni.JMethodIDPtr) .check(); } static final _id_startActivity = _class.instanceMethodId( - r"startActivity", - r"(Landroid/content/Intent;)V", + r'startActivity', + r'(Landroid/content/Intent;)V', ); - static final _startActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _startActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void startActivity(android.content.Intent intent) + /// from: `public abstract void startActivity(android.content.Intent intent)` void startActivity( Intent intent, ) { - _startActivity(reference.pointer, _id_startActivity as jni.JMethodIDPtr, + _startActivity(reference.pointer, _id_startActivity as _$jni.JMethodIDPtr, intent.reference.pointer) .check(); } - static final _id_startActivity1 = _class.instanceMethodId( - r"startActivity", - r"(Landroid/content/Intent;Landroid/os/Bundle;)V", + static final _id_startActivity$1 = _class.instanceMethodId( + r'startActivity', + r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivity1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivity$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public abstract void startActivity(android.content.Intent intent, android.os.Bundle bundle) - void startActivity1( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract void startActivity(android.content.Intent intent, android.os.Bundle bundle)` + void startActivity$1( Intent intent, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startActivity1(reference.pointer, _id_startActivity1 as jni.JMethodIDPtr, - intent.reference.pointer, bundle.reference.pointer) + _startActivity$1( + reference.pointer, + _id_startActivity$1 as _$jni.JMethodIDPtr, + intent.reference.pointer, + bundle.reference.pointer) .check(); } static final _id_startActivities = _class.instanceMethodId( - r"startActivities", - r"([Landroid/content/Intent;)V", + r'startActivities', + r'([Landroid/content/Intent;)V', ); - static final _startActivities = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _startActivities = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void startActivities(android.content.Intent[] intents) + /// from: `public abstract void startActivities(android.content.Intent[] intents)` void startActivities( - jni.JArray intents, + _$jni.JArray intents, ) { - _startActivities(reference.pointer, _id_startActivities as jni.JMethodIDPtr, + _startActivities( + reference.pointer, + _id_startActivities as _$jni.JMethodIDPtr, intents.reference.pointer) .check(); } - static final _id_startActivities1 = _class.instanceMethodId( - r"startActivities", - r"([Landroid/content/Intent;Landroid/os/Bundle;)V", + static final _id_startActivities$1 = _class.instanceMethodId( + r'startActivities', + r'([Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivities1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivities$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public abstract void startActivities(android.content.Intent[] intents, android.os.Bundle bundle) - void startActivities1( - jni.JArray intents, - jni.JObject bundle, - ) { - _startActivities1( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract void startActivities(android.content.Intent[] intents, android.os.Bundle bundle)` + void startActivities$1( + _$jni.JArray intents, + _$jni.JObject bundle, + ) { + _startActivities$1( reference.pointer, - _id_startActivities1 as jni.JMethodIDPtr, + _id_startActivities$1 as _$jni.JMethodIDPtr, intents.reference.pointer, bundle.reference.pointer) .check(); } static final _id_startIntentSender = _class.instanceMethodId( - r"startIntentSender", - r"(Landroid/content/IntentSender;Landroid/content/Intent;III)V", + r'startIntentSender', + r'(Landroid/content/IntentSender;Landroid/content/Intent;III)V', ); - static final _startIntentSender = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startIntentSender = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int, int, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + int, + int)>(); - /// from: public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2) + /// from: `public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2)` void startIntentSender( - jni.JObject intentSender, + _$jni.JObject intentSender, Intent intent, int i, int i1, @@ -5074,7 +6017,7 @@ class Context extends jni.JObject { ) { _startIntentSender( reference.pointer, - _id_startIntentSender as jni.JMethodIDPtr, + _id_startIntentSender as _$jni.JMethodIDPtr, intentSender.reference.pointer, intent.reference.pointer, i, @@ -5083,48 +6026,48 @@ class Context extends jni.JObject { .check(); } - static final _id_startIntentSender1 = _class.instanceMethodId( - r"startIntentSender", - r"(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V", + static final _id_startIntentSender$1 = _class.instanceMethodId( + r'startIntentSender', + r'(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSender1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startIntentSender$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, int, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle) - void startIntentSender1( - jni.JObject intentSender, + /// from: `public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle)` + void startIntentSender$1( + _$jni.JObject intentSender, Intent intent, int i, int i1, int i2, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startIntentSender1( + _startIntentSender$1( reference.pointer, - _id_startIntentSender1 as jni.JMethodIDPtr, + _id_startIntentSender$1 as _$jni.JMethodIDPtr, intentSender.reference.pointer, intent.reference.pointer, i, @@ -5135,173 +6078,182 @@ class Context extends jni.JObject { } static final _id_sendBroadcast = _class.instanceMethodId( - r"sendBroadcast", - r"(Landroid/content/Intent;)V", + r'sendBroadcast', + r'(Landroid/content/Intent;)V', ); - static final _sendBroadcast = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _sendBroadcast = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendBroadcast(android.content.Intent intent) + /// from: `public abstract void sendBroadcast(android.content.Intent intent)` void sendBroadcast( Intent intent, ) { - _sendBroadcast(reference.pointer, _id_sendBroadcast as jni.JMethodIDPtr, + _sendBroadcast(reference.pointer, _id_sendBroadcast as _$jni.JMethodIDPtr, intent.reference.pointer) .check(); } - static final _id_sendBroadcast1 = _class.instanceMethodId( - r"sendBroadcast", - r"(Landroid/content/Intent;Ljava/lang/String;)V", + static final _id_sendBroadcast$1 = _class.instanceMethodId( + r'sendBroadcast', + r'(Landroid/content/Intent;Ljava/lang/String;)V', ); - static final _sendBroadcast1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendBroadcast$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public abstract void sendBroadcast(android.content.Intent intent, java.lang.String string) - void sendBroadcast1( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract void sendBroadcast(android.content.Intent intent, java.lang.String string)` + void sendBroadcast$1( Intent intent, - jni.JString string, + _$jni.JString string, ) { - _sendBroadcast1(reference.pointer, _id_sendBroadcast1 as jni.JMethodIDPtr, - intent.reference.pointer, string.reference.pointer) + _sendBroadcast$1( + reference.pointer, + _id_sendBroadcast$1 as _$jni.JMethodIDPtr, + intent.reference.pointer, + string.reference.pointer) .check(); } static final _id_sendBroadcastWithMultiplePermissions = _class.instanceMethodId( - r"sendBroadcastWithMultiplePermissions", - r"(Landroid/content/Intent;[Ljava/lang/String;)V", + r'sendBroadcastWithMultiplePermissions', + r'(Landroid/content/Intent;[Ljava/lang/String;)V', ); static final _sendBroadcastWithMultiplePermissions = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void sendBroadcastWithMultiplePermissions(android.content.Intent intent, java.lang.String[] strings) + /// from: `public void sendBroadcastWithMultiplePermissions(android.content.Intent intent, java.lang.String[] strings)` void sendBroadcastWithMultiplePermissions( Intent intent, - jni.JArray strings, + _$jni.JArray<_$jni.JString> strings, ) { _sendBroadcastWithMultiplePermissions( reference.pointer, - _id_sendBroadcastWithMultiplePermissions as jni.JMethodIDPtr, + _id_sendBroadcastWithMultiplePermissions as _$jni.JMethodIDPtr, intent.reference.pointer, strings.reference.pointer) .check(); } static final _id_sendOrderedBroadcast = _class.instanceMethodId( - r"sendOrderedBroadcast", - r"(Landroid/content/Intent;Ljava/lang/String;)V", + r'sendOrderedBroadcast', + r'(Landroid/content/Intent;Ljava/lang/String;)V', ); - static final _sendOrderedBroadcast = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendOrderedBroadcast = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string) + /// from: `public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string)` void sendOrderedBroadcast( Intent intent, - jni.JString string, + _$jni.JString string, ) { _sendOrderedBroadcast( reference.pointer, - _id_sendOrderedBroadcast as jni.JMethodIDPtr, + _id_sendOrderedBroadcast as _$jni.JMethodIDPtr, intent.reference.pointer, string.reference.pointer) .check(); } - static final _id_sendOrderedBroadcast1 = _class.instanceMethodId( - r"sendOrderedBroadcast", - r"(Landroid/content/Intent;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V", + static final _id_sendOrderedBroadcast$1 = _class.instanceMethodId( + r'sendOrderedBroadcast', + r'(Landroid/content/Intent;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendOrderedBroadcast1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendOrderedBroadcast$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle) - void sendOrderedBroadcast1( + /// from: `public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle)` + void sendOrderedBroadcast$1( Intent intent, - jni.JString string, - jni.JObject broadcastReceiver, - jni.JObject handler, + _$jni.JString string, + _$jni.JObject broadcastReceiver, + _$jni.JObject handler, int i, - jni.JString string1, - jni.JObject bundle, + _$jni.JString string1, + _$jni.JObject bundle, ) { - _sendOrderedBroadcast1( + _sendOrderedBroadcast$1( reference.pointer, - _id_sendOrderedBroadcast1 as jni.JMethodIDPtr, + _id_sendOrderedBroadcast$1 as _$jni.JMethodIDPtr, intent.reference.pointer, string.reference.pointer, broadcastReceiver.reference.pointer, @@ -5313,70 +6265,73 @@ class Context extends jni.JObject { } static final _id_sendBroadcastAsUser = _class.instanceMethodId( - r"sendBroadcastAsUser", - r"(Landroid/content/Intent;Landroid/os/UserHandle;)V", + r'sendBroadcastAsUser', + r'(Landroid/content/Intent;Landroid/os/UserHandle;)V', ); - static final _sendBroadcastAsUser = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendBroadcastAsUser = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle) + /// from: `public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` void sendBroadcastAsUser( Intent intent, - jni.JObject userHandle, + _$jni.JObject userHandle, ) { _sendBroadcastAsUser( reference.pointer, - _id_sendBroadcastAsUser as jni.JMethodIDPtr, + _id_sendBroadcastAsUser as _$jni.JMethodIDPtr, intent.reference.pointer, userHandle.reference.pointer) .check(); } - static final _id_sendBroadcastAsUser1 = _class.instanceMethodId( - r"sendBroadcastAsUser", - r"(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;)V", + static final _id_sendBroadcastAsUser$1 = _class.instanceMethodId( + r'sendBroadcastAsUser', + r'(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;)V', ); - static final _sendBroadcastAsUser1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendBroadcastAsUser$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string) - void sendBroadcastAsUser1( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string)` + void sendBroadcastAsUser$1( Intent intent, - jni.JObject userHandle, - jni.JString string, + _$jni.JObject userHandle, + _$jni.JString string, ) { - _sendBroadcastAsUser1( + _sendBroadcastAsUser$1( reference.pointer, - _id_sendBroadcastAsUser1 as jni.JMethodIDPtr, + _id_sendBroadcastAsUser$1 as _$jni.JMethodIDPtr, intent.reference.pointer, userHandle.reference.pointer, string.reference.pointer) @@ -5384,53 +6339,54 @@ class Context extends jni.JObject { } static final _id_sendOrderedBroadcastAsUser = _class.instanceMethodId( - r"sendOrderedBroadcastAsUser", - r"(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V", + r'sendOrderedBroadcastAsUser', + r'(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendOrderedBroadcastAsUser = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer)>(); + static final _sendOrderedBroadcastAsUser = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle) + /// from: `public abstract void sendOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle)` void sendOrderedBroadcastAsUser( Intent intent, - jni.JObject userHandle, - jni.JString string, - jni.JObject broadcastReceiver, - jni.JObject handler, + _$jni.JObject userHandle, + _$jni.JString string, + _$jni.JObject broadcastReceiver, + _$jni.JObject handler, int i, - jni.JString string1, - jni.JObject bundle, + _$jni.JString string1, + _$jni.JObject bundle, ) { _sendOrderedBroadcastAsUser( reference.pointer, - _id_sendOrderedBroadcastAsUser as jni.JMethodIDPtr, + _id_sendOrderedBroadcastAsUser as _$jni.JMethodIDPtr, intent.reference.pointer, userHandle.reference.pointer, string.reference.pointer, @@ -5442,54 +6398,54 @@ class Context extends jni.JObject { .check(); } - static final _id_sendOrderedBroadcast2 = _class.instanceMethodId( - r"sendOrderedBroadcast", - r"(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V", + static final _id_sendOrderedBroadcast$2 = _class.instanceMethodId( + r'sendOrderedBroadcast', + r'(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendOrderedBroadcast2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendOrderedBroadcast$2 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, java.lang.String string1, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string2, android.os.Bundle bundle) - void sendOrderedBroadcast2( + /// from: `public void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, java.lang.String string1, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string2, android.os.Bundle bundle)` + void sendOrderedBroadcast$2( Intent intent, - jni.JString string, - jni.JString string1, - jni.JObject broadcastReceiver, - jni.JObject handler, + _$jni.JString string, + _$jni.JString string1, + _$jni.JObject broadcastReceiver, + _$jni.JObject handler, int i, - jni.JString string2, - jni.JObject bundle, + _$jni.JString string2, + _$jni.JObject bundle, ) { - _sendOrderedBroadcast2( + _sendOrderedBroadcast$2( reference.pointer, - _id_sendOrderedBroadcast2 as jni.JMethodIDPtr, + _id_sendOrderedBroadcast$2 as _$jni.JMethodIDPtr, intent.reference.pointer, string.reference.pointer, string1.reference.pointer, @@ -5502,106 +6458,110 @@ class Context extends jni.JObject { } static final _id_sendStickyBroadcast = _class.instanceMethodId( - r"sendStickyBroadcast", - r"(Landroid/content/Intent;)V", + r'sendStickyBroadcast', + r'(Landroid/content/Intent;)V', ); - static final _sendStickyBroadcast = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _sendStickyBroadcast = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendStickyBroadcast(android.content.Intent intent) + /// from: `public abstract void sendStickyBroadcast(android.content.Intent intent)` void sendStickyBroadcast( Intent intent, ) { _sendStickyBroadcast( reference.pointer, - _id_sendStickyBroadcast as jni.JMethodIDPtr, + _id_sendStickyBroadcast as _$jni.JMethodIDPtr, intent.reference.pointer) .check(); } - static final _id_sendStickyBroadcast1 = _class.instanceMethodId( - r"sendStickyBroadcast", - r"(Landroid/content/Intent;Landroid/os/Bundle;)V", + static final _id_sendStickyBroadcast$1 = _class.instanceMethodId( + r'sendStickyBroadcast', + r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _sendStickyBroadcast1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendStickyBroadcast$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public void sendStickyBroadcast(android.content.Intent intent, android.os.Bundle bundle) - void sendStickyBroadcast1( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void sendStickyBroadcast(android.content.Intent intent, android.os.Bundle bundle)` + void sendStickyBroadcast$1( Intent intent, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _sendStickyBroadcast1( + _sendStickyBroadcast$1( reference.pointer, - _id_sendStickyBroadcast1 as jni.JMethodIDPtr, + _id_sendStickyBroadcast$1 as _$jni.JMethodIDPtr, intent.reference.pointer, bundle.reference.pointer) .check(); } static final _id_sendStickyOrderedBroadcast = _class.instanceMethodId( - r"sendStickyOrderedBroadcast", - r"(Landroid/content/Intent;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V", + r'sendStickyOrderedBroadcast', + r'(Landroid/content/Intent;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendStickyOrderedBroadcast = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer)>(); + static final _sendStickyOrderedBroadcast = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendStickyOrderedBroadcast(android.content.Intent intent, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle) + /// from: `public abstract void sendStickyOrderedBroadcast(android.content.Intent intent, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle)` void sendStickyOrderedBroadcast( Intent intent, - jni.JObject broadcastReceiver, - jni.JObject handler, + _$jni.JObject broadcastReceiver, + _$jni.JObject handler, int i, - jni.JString string, - jni.JObject bundle, + _$jni.JString string, + _$jni.JObject bundle, ) { _sendStickyOrderedBroadcast( reference.pointer, - _id_sendStickyOrderedBroadcast as jni.JMethodIDPtr, + _id_sendStickyOrderedBroadcast as _$jni.JMethodIDPtr, intent.reference.pointer, broadcastReceiver.reference.pointer, handler.reference.pointer, @@ -5612,110 +6572,113 @@ class Context extends jni.JObject { } static final _id_removeStickyBroadcast = _class.instanceMethodId( - r"removeStickyBroadcast", - r"(Landroid/content/Intent;)V", + r'removeStickyBroadcast', + r'(Landroid/content/Intent;)V', ); - static final _removeStickyBroadcast = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _removeStickyBroadcast = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void removeStickyBroadcast(android.content.Intent intent) + /// from: `public abstract void removeStickyBroadcast(android.content.Intent intent)` void removeStickyBroadcast( Intent intent, ) { _removeStickyBroadcast( reference.pointer, - _id_removeStickyBroadcast as jni.JMethodIDPtr, + _id_removeStickyBroadcast as _$jni.JMethodIDPtr, intent.reference.pointer) .check(); } static final _id_sendStickyBroadcastAsUser = _class.instanceMethodId( - r"sendStickyBroadcastAsUser", - r"(Landroid/content/Intent;Landroid/os/UserHandle;)V", + r'sendStickyBroadcastAsUser', + r'(Landroid/content/Intent;Landroid/os/UserHandle;)V', ); - static final _sendStickyBroadcastAsUser = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _sendStickyBroadcastAsUser = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle) + /// from: `public abstract void sendStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` void sendStickyBroadcastAsUser( Intent intent, - jni.JObject userHandle, + _$jni.JObject userHandle, ) { _sendStickyBroadcastAsUser( reference.pointer, - _id_sendStickyBroadcastAsUser as jni.JMethodIDPtr, + _id_sendStickyBroadcastAsUser as _$jni.JMethodIDPtr, intent.reference.pointer, userHandle.reference.pointer) .check(); } static final _id_sendStickyOrderedBroadcastAsUser = _class.instanceMethodId( - r"sendStickyOrderedBroadcastAsUser", - r"(Landroid/content/Intent;Landroid/os/UserHandle;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V", + r'sendStickyOrderedBroadcastAsUser', + r'(Landroid/content/Intent;Landroid/os/UserHandle;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); static final _sendStickyOrderedBroadcastAsUser = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void sendStickyOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle) + /// from: `public abstract void sendStickyOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle)` void sendStickyOrderedBroadcastAsUser( Intent intent, - jni.JObject userHandle, - jni.JObject broadcastReceiver, - jni.JObject handler, + _$jni.JObject userHandle, + _$jni.JObject broadcastReceiver, + _$jni.JObject handler, int i, - jni.JString string, - jni.JObject bundle, + _$jni.JString string, + _$jni.JObject bundle, ) { _sendStickyOrderedBroadcastAsUser( reference.pointer, - _id_sendStickyOrderedBroadcastAsUser as jni.JMethodIDPtr, + _id_sendStickyOrderedBroadcastAsUser as _$jni.JMethodIDPtr, intent.reference.pointer, userHandle.reference.pointer, broadcastReceiver.reference.pointer, @@ -5727,371 +6690,390 @@ class Context extends jni.JObject { } static final _id_removeStickyBroadcastAsUser = _class.instanceMethodId( - r"removeStickyBroadcastAsUser", - r"(Landroid/content/Intent;Landroid/os/UserHandle;)V", + r'removeStickyBroadcastAsUser', + r'(Landroid/content/Intent;Landroid/os/UserHandle;)V', ); - static final _removeStickyBroadcastAsUser = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + static final _removeStickyBroadcastAsUser = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void removeStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle) + /// from: `public abstract void removeStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` void removeStickyBroadcastAsUser( Intent intent, - jni.JObject userHandle, + _$jni.JObject userHandle, ) { _removeStickyBroadcastAsUser( reference.pointer, - _id_removeStickyBroadcastAsUser as jni.JMethodIDPtr, + _id_removeStickyBroadcastAsUser as _$jni.JMethodIDPtr, intent.reference.pointer, userHandle.reference.pointer) .check(); } static final _id_registerReceiver = _class.instanceMethodId( - r"registerReceiver", - r"(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;", + r'registerReceiver', + r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;', ); - static final _registerReceiver = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _registerReceiver = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter) + /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter)` /// The returned object must be released after use, by calling the [release] method. Intent registerReceiver( - jni.JObject broadcastReceiver, - jni.JObject intentFilter, + _$jni.JObject broadcastReceiver, + _$jni.JObject intentFilter, ) { return _registerReceiver( reference.pointer, - _id_registerReceiver as jni.JMethodIDPtr, + _id_registerReceiver as _$jni.JMethodIDPtr, broadcastReceiver.reference.pointer, intentFilter.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_registerReceiver1 = _class.instanceMethodId( - r"registerReceiver", - r"(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;", + static final _id_registerReceiver$1 = _class.instanceMethodId( + r'registerReceiver', + r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;', ); - static final _registerReceiver1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _registerReceiver$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int)>(); - /// from: public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, int i) + /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, int i)` /// The returned object must be released after use, by calling the [release] method. - Intent registerReceiver1( - jni.JObject broadcastReceiver, - jni.JObject intentFilter, + Intent registerReceiver$1( + _$jni.JObject broadcastReceiver, + _$jni.JObject intentFilter, int i, ) { - return _registerReceiver1( + return _registerReceiver$1( reference.pointer, - _id_registerReceiver1 as jni.JMethodIDPtr, + _id_registerReceiver$1 as _$jni.JMethodIDPtr, broadcastReceiver.reference.pointer, intentFilter.reference.pointer, i) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_registerReceiver2 = _class.instanceMethodId( - r"registerReceiver", - r"(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent;", + static final _id_registerReceiver$2 = _class.instanceMethodId( + r'registerReceiver', + r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent;', ); - static final _registerReceiver2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _registerReceiver$2 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler) - /// The returned object must be released after use, by calling the [release] method. - Intent registerReceiver2( - jni.JObject broadcastReceiver, - jni.JObject intentFilter, - jni.JString string, - jni.JObject handler, - ) { - return _registerReceiver2( - reference.pointer, - _id_registerReceiver2 as jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler)` + /// The returned object must be released after use, by calling the [release] method. + Intent registerReceiver$2( + _$jni.JObject broadcastReceiver, + _$jni.JObject intentFilter, + _$jni.JString string, + _$jni.JObject handler, + ) { + return _registerReceiver$2( + reference.pointer, + _id_registerReceiver$2 as _$jni.JMethodIDPtr, broadcastReceiver.reference.pointer, intentFilter.reference.pointer, string.reference.pointer, handler.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_registerReceiver3 = _class.instanceMethodId( - r"registerReceiver", - r"(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;", + static final _id_registerReceiver$3 = _class.instanceMethodId( + r'registerReceiver', + r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;', ); - static final _registerReceiver3 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _registerReceiver$3 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler, int i) + /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler, int i)` /// The returned object must be released after use, by calling the [release] method. - Intent registerReceiver3( - jni.JObject broadcastReceiver, - jni.JObject intentFilter, - jni.JString string, - jni.JObject handler, + Intent registerReceiver$3( + _$jni.JObject broadcastReceiver, + _$jni.JObject intentFilter, + _$jni.JString string, + _$jni.JObject handler, int i, ) { - return _registerReceiver3( + return _registerReceiver$3( reference.pointer, - _id_registerReceiver3 as jni.JMethodIDPtr, + _id_registerReceiver$3 as _$jni.JMethodIDPtr, broadcastReceiver.reference.pointer, intentFilter.reference.pointer, string.reference.pointer, handler.reference.pointer, i) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_unregisterReceiver = _class.instanceMethodId( - r"unregisterReceiver", - r"(Landroid/content/BroadcastReceiver;)V", + r'unregisterReceiver', + r'(Landroid/content/BroadcastReceiver;)V', ); - static final _unregisterReceiver = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _unregisterReceiver = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void unregisterReceiver(android.content.BroadcastReceiver broadcastReceiver) + /// from: `public abstract void unregisterReceiver(android.content.BroadcastReceiver broadcastReceiver)` void unregisterReceiver( - jni.JObject broadcastReceiver, + _$jni.JObject broadcastReceiver, ) { _unregisterReceiver( reference.pointer, - _id_unregisterReceiver as jni.JMethodIDPtr, + _id_unregisterReceiver as _$jni.JMethodIDPtr, broadcastReceiver.reference.pointer) .check(); } static final _id_startService = _class.instanceMethodId( - r"startService", - r"(Landroid/content/Intent;)Landroid/content/ComponentName;", + r'startService', + r'(Landroid/content/Intent;)Landroid/content/ComponentName;', ); - static final _startService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _startService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.content.ComponentName startService(android.content.Intent intent) + /// from: `public abstract android.content.ComponentName startService(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject startService( + _$jni.JObject startService( Intent intent, ) { return _startService(reference.pointer, - _id_startService as jni.JMethodIDPtr, intent.reference.pointer) - .object(const jni.JObjectType()); + _id_startService as _$jni.JMethodIDPtr, intent.reference.pointer) + .object(const _$jni.JObjectType()); } static final _id_startForegroundService = _class.instanceMethodId( - r"startForegroundService", - r"(Landroid/content/Intent;)Landroid/content/ComponentName;", + r'startForegroundService', + r'(Landroid/content/Intent;)Landroid/content/ComponentName;', ); - static final _startForegroundService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _startForegroundService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.content.ComponentName startForegroundService(android.content.Intent intent) + /// from: `public abstract android.content.ComponentName startForegroundService(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject startForegroundService( + _$jni.JObject startForegroundService( Intent intent, ) { return _startForegroundService( reference.pointer, - _id_startForegroundService as jni.JMethodIDPtr, + _id_startForegroundService as _$jni.JMethodIDPtr, intent.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_stopService = _class.instanceMethodId( - r"stopService", - r"(Landroid/content/Intent;)Z", + r'stopService', + r'(Landroid/content/Intent;)Z', ); - static final _stopService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _stopService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract boolean stopService(android.content.Intent intent) + /// from: `public abstract boolean stopService(android.content.Intent intent)` bool stopService( Intent intent, ) { - return _stopService(reference.pointer, _id_stopService as jni.JMethodIDPtr, - intent.reference.pointer) + return _stopService(reference.pointer, + _id_stopService as _$jni.JMethodIDPtr, intent.reference.pointer) .boolean; } static final _id_bindService = _class.instanceMethodId( - r"bindService", - r"(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z", + r'bindService', + r'(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z', ); - static final _bindService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _bindService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int)>(); - /// from: public abstract boolean bindService(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i) + /// from: `public abstract boolean bindService(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i)` bool bindService( Intent intent, - jni.JObject serviceConnection, + _$jni.JObject serviceConnection, int i, ) { - return _bindService(reference.pointer, _id_bindService as jni.JMethodIDPtr, - intent.reference.pointer, serviceConnection.reference.pointer, i) + return _bindService( + reference.pointer, + _id_bindService as _$jni.JMethodIDPtr, + intent.reference.pointer, + serviceConnection.reference.pointer, + i) .boolean; } - static final _id_bindService1 = _class.instanceMethodId( - r"bindService", - r"(Landroid/content/Intent;ILjava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z", + static final _id_bindService$1 = _class.instanceMethodId( + r'bindService', + r'(Landroid/content/Intent;ILjava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z', ); - static final _bindService1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _bindService$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean bindService(android.content.Intent intent, int i, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection) - bool bindService1( + /// from: `public boolean bindService(android.content.Intent intent, int i, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection)` + bool bindService$1( Intent intent, int i, - jni.JObject executor, - jni.JObject serviceConnection, + _$jni.JObject executor, + _$jni.JObject serviceConnection, ) { - return _bindService1( + return _bindService$1( reference.pointer, - _id_bindService1 as jni.JMethodIDPtr, + _id_bindService$1 as _$jni.JMethodIDPtr, intent.reference.pointer, i, executor.reference.pointer, @@ -6100,44 +7082,44 @@ class Context extends jni.JObject { } static final _id_bindIsolatedService = _class.instanceMethodId( - r"bindIsolatedService", - r"(Landroid/content/Intent;ILjava/lang/String;Ljava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z", + r'bindIsolatedService', + r'(Landroid/content/Intent;ILjava/lang/String;Ljava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z', ); - static final _bindIsolatedService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _bindIsolatedService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean bindIsolatedService(android.content.Intent intent, int i, java.lang.String string, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection) + /// from: `public boolean bindIsolatedService(android.content.Intent intent, int i, java.lang.String string, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection)` bool bindIsolatedService( Intent intent, int i, - jni.JString string, - jni.JObject executor, - jni.JObject serviceConnection, + _$jni.JString string, + _$jni.JObject executor, + _$jni.JObject serviceConnection, ) { return _bindIsolatedService( reference.pointer, - _id_bindIsolatedService as jni.JMethodIDPtr, + _id_bindIsolatedService as _$jni.JMethodIDPtr, intent.reference.pointer, i, string.reference.pointer, @@ -6147,41 +7129,41 @@ class Context extends jni.JObject { } static final _id_bindServiceAsUser = _class.instanceMethodId( - r"bindServiceAsUser", - r"(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/UserHandle;)Z", + r'bindServiceAsUser', + r'(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/UserHandle;)Z', ); - static final _bindServiceAsUser = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _bindServiceAsUser = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean bindServiceAsUser(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i, android.os.UserHandle userHandle) + /// from: `public boolean bindServiceAsUser(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i, android.os.UserHandle userHandle)` bool bindServiceAsUser( Intent intent, - jni.JObject serviceConnection, + _$jni.JObject serviceConnection, int i, - jni.JObject userHandle, + _$jni.JObject userHandle, ) { return _bindServiceAsUser( reference.pointer, - _id_bindServiceAsUser as jni.JMethodIDPtr, + _id_bindServiceAsUser as _$jni.JMethodIDPtr, intent.reference.pointer, serviceConnection.reference.pointer, i, @@ -6190,34 +7172,34 @@ class Context extends jni.JObject { } static final _id_updateServiceGroup = _class.instanceMethodId( - r"updateServiceGroup", - r"(Landroid/content/ServiceConnection;II)V", + r'updateServiceGroup', + r'(Landroid/content/ServiceConnection;II)V', ); - static final _updateServiceGroup = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _updateServiceGroup = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, int)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int)>(); - /// from: public void updateServiceGroup(android.content.ServiceConnection serviceConnection, int i, int i1) + /// from: `public void updateServiceGroup(android.content.ServiceConnection serviceConnection, int i, int i1)` void updateServiceGroup( - jni.JObject serviceConnection, + _$jni.JObject serviceConnection, int i, int i1, ) { _updateServiceGroup( reference.pointer, - _id_updateServiceGroup as jni.JMethodIDPtr, + _id_updateServiceGroup as _$jni.JMethodIDPtr, serviceConnection.reference.pointer, i, i1) @@ -6225,63 +7207,63 @@ class Context extends jni.JObject { } static final _id_unbindService = _class.instanceMethodId( - r"unbindService", - r"(Landroid/content/ServiceConnection;)V", + r'unbindService', + r'(Landroid/content/ServiceConnection;)V', ); - static final _unbindService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _unbindService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void unbindService(android.content.ServiceConnection serviceConnection) + /// from: `public abstract void unbindService(android.content.ServiceConnection serviceConnection)` void unbindService( - jni.JObject serviceConnection, + _$jni.JObject serviceConnection, ) { - _unbindService(reference.pointer, _id_unbindService as jni.JMethodIDPtr, + _unbindService(reference.pointer, _id_unbindService as _$jni.JMethodIDPtr, serviceConnection.reference.pointer) .check(); } static final _id_startInstrumentation = _class.instanceMethodId( - r"startInstrumentation", - r"(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z", + r'startInstrumentation', + r'(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z', ); - static final _startInstrumentation = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startInstrumentation = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public abstract boolean startInstrumentation(android.content.ComponentName componentName, java.lang.String string, android.os.Bundle bundle) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public abstract boolean startInstrumentation(android.content.ComponentName componentName, java.lang.String string, android.os.Bundle bundle)` bool startInstrumentation( - jni.JObject componentName, - jni.JString string, - jni.JObject bundle, + _$jni.JObject componentName, + _$jni.JString string, + _$jni.JObject bundle, ) { return _startInstrumentation( reference.pointer, - _id_startInstrumentation as jni.JMethodIDPtr, + _id_startInstrumentation as _$jni.JMethodIDPtr, componentName.reference.pointer, string.reference.pointer, bundle.reference.pointer) @@ -6289,115 +7271,119 @@ class Context extends jni.JObject { } static final _id_getSystemService = _class.instanceMethodId( - r"getSystemService", - r"(Ljava/lang/String;)Ljava/lang/Object;", + r'getSystemService', + r'(Ljava/lang/String;)Ljava/lang/Object;', ); - static final _getSystemService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getSystemService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.Object getSystemService(java.lang.String string) + /// from: `public abstract java.lang.Object getSystemService(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getSystemService( - jni.JString string, + _$jni.JObject getSystemService( + _$jni.JString string, ) { - return _getSystemService(reference.pointer, - _id_getSystemService as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + return _getSystemService( + reference.pointer, + _id_getSystemService as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JObjectType()); } - static final _id_getSystemService1 = _class.instanceMethodId( - r"getSystemService", - r"(Ljava/lang/Class;)Ljava/lang/Object;", + static final _id_getSystemService$1 = _class.instanceMethodId( + r'getSystemService', + r'(Ljava/lang/Class;)Ljava/lang/Object;', ); - static final _getSystemService1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getSystemService$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final T getSystemService(java.lang.Class class) + /// from: `public final T getSystemService(java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - $T getSystemService1<$T extends jni.JObject>( - jni.JObject class0, { - required jni.JObjType<$T> T, + $T getSystemService$1<$T extends _$jni.JObject>( + _$jni.JObject class$, { + required _$jni.JObjType<$T> T, }) { - return _getSystemService1(reference.pointer, - _id_getSystemService1 as jni.JMethodIDPtr, class0.reference.pointer) + return _getSystemService$1( + reference.pointer, + _id_getSystemService$1 as _$jni.JMethodIDPtr, + class$.reference.pointer) .object(T); } static final _id_getSystemServiceName = _class.instanceMethodId( - r"getSystemServiceName", - r"(Ljava/lang/Class;)Ljava/lang/String;", + r'getSystemServiceName', + r'(Ljava/lang/Class;)Ljava/lang/String;', ); - static final _getSystemServiceName = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getSystemServiceName = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract java.lang.String getSystemServiceName(java.lang.Class class) + /// from: `public abstract java.lang.String getSystemServiceName(java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - jni.JString getSystemServiceName( - jni.JObject class0, + _$jni.JString getSystemServiceName( + _$jni.JObject class$, ) { return _getSystemServiceName( reference.pointer, - _id_getSystemServiceName as jni.JMethodIDPtr, - class0.reference.pointer) - .object(const jni.JStringType()); + _id_getSystemServiceName as _$jni.JMethodIDPtr, + class$.reference.pointer) + .object(const _$jni.JStringType()); } static final _id_checkPermission = _class.instanceMethodId( - r"checkPermission", - r"(Ljava/lang/String;II)I", + r'checkPermission', + r'(Ljava/lang/String;II)I', ); - static final _checkPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _checkPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallIntMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int)>(); - /// from: public abstract int checkPermission(java.lang.String string, int i, int i1) + /// from: `public abstract int checkPermission(java.lang.String string, int i, int i1)` int checkPermission( - jni.JString string, + _$jni.JString string, int i, int i1, ) { return _checkPermission( reference.pointer, - _id_checkPermission as jni.JMethodIDPtr, + _id_checkPermission as _$jni.JMethodIDPtr, string.reference.pointer, i, i1) @@ -6405,117 +7391,123 @@ class Context extends jni.JObject { } static final _id_checkCallingPermission = _class.instanceMethodId( - r"checkCallingPermission", - r"(Ljava/lang/String;)I", + r'checkCallingPermission', + r'(Ljava/lang/String;)I', ); - static final _checkCallingPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallIntMethod") + static final _checkCallingPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract int checkCallingPermission(java.lang.String string) + /// from: `public abstract int checkCallingPermission(java.lang.String string)` int checkCallingPermission( - jni.JString string, + _$jni.JString string, ) { return _checkCallingPermission( reference.pointer, - _id_checkCallingPermission as jni.JMethodIDPtr, + _id_checkCallingPermission as _$jni.JMethodIDPtr, string.reference.pointer) .integer; } static final _id_checkCallingOrSelfPermission = _class.instanceMethodId( - r"checkCallingOrSelfPermission", - r"(Ljava/lang/String;)I", - ); - - static final _checkCallingOrSelfPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallIntMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'checkCallingOrSelfPermission', + r'(Ljava/lang/String;)I', + ); + + static final _checkCallingOrSelfPermission = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallIntMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract int checkCallingOrSelfPermission(java.lang.String string) + /// from: `public abstract int checkCallingOrSelfPermission(java.lang.String string)` int checkCallingOrSelfPermission( - jni.JString string, + _$jni.JString string, ) { return _checkCallingOrSelfPermission( reference.pointer, - _id_checkCallingOrSelfPermission as jni.JMethodIDPtr, + _id_checkCallingOrSelfPermission as _$jni.JMethodIDPtr, string.reference.pointer) .integer; } static final _id_checkSelfPermission = _class.instanceMethodId( - r"checkSelfPermission", - r"(Ljava/lang/String;)I", + r'checkSelfPermission', + r'(Ljava/lang/String;)I', ); - static final _checkSelfPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallIntMethod") + static final _checkSelfPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract int checkSelfPermission(java.lang.String string) + /// from: `public abstract int checkSelfPermission(java.lang.String string)` int checkSelfPermission( - jni.JString string, + _$jni.JString string, ) { return _checkSelfPermission( reference.pointer, - _id_checkSelfPermission as jni.JMethodIDPtr, + _id_checkSelfPermission as _$jni.JMethodIDPtr, string.reference.pointer) .integer; } static final _id_enforcePermission = _class.instanceMethodId( - r"enforcePermission", - r"(Ljava/lang/String;IILjava/lang/String;)V", + r'enforcePermission', + r'(Ljava/lang/String;IILjava/lang/String;)V', ); - static final _enforcePermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _enforcePermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, int, ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void enforcePermission(java.lang.String string, int i, int i1, java.lang.String string1) + /// from: `public abstract void enforcePermission(java.lang.String string, int i, int i1, java.lang.String string1)` void enforcePermission( - jni.JString string, + _$jni.JString string, int i, int i1, - jni.JString string1, + _$jni.JString string1, ) { _enforcePermission( reference.pointer, - _id_enforcePermission as jni.JMethodIDPtr, + _id_enforcePermission as _$jni.JMethodIDPtr, string.reference.pointer, i, i1, @@ -6524,98 +7516,109 @@ class Context extends jni.JObject { } static final _id_enforceCallingPermission = _class.instanceMethodId( - r"enforceCallingPermission", - r"(Ljava/lang/String;Ljava/lang/String;)V", + r'enforceCallingPermission', + r'(Ljava/lang/String;Ljava/lang/String;)V', ); - static final _enforceCallingPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _enforceCallingPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void enforceCallingPermission(java.lang.String string, java.lang.String string1) + /// from: `public abstract void enforceCallingPermission(java.lang.String string, java.lang.String string1)` void enforceCallingPermission( - jni.JString string, - jni.JString string1, + _$jni.JString string, + _$jni.JString string1, ) { _enforceCallingPermission( reference.pointer, - _id_enforceCallingPermission as jni.JMethodIDPtr, + _id_enforceCallingPermission as _$jni.JMethodIDPtr, string.reference.pointer, string1.reference.pointer) .check(); } static final _id_enforceCallingOrSelfPermission = _class.instanceMethodId( - r"enforceCallingOrSelfPermission", - r"(Ljava/lang/String;Ljava/lang/String;)V", + r'enforceCallingOrSelfPermission', + r'(Ljava/lang/String;Ljava/lang/String;)V', ); - static final _enforceCallingOrSelfPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + static final _enforceCallingOrSelfPermission = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void enforceCallingOrSelfPermission(java.lang.String string, java.lang.String string1) + /// from: `public abstract void enforceCallingOrSelfPermission(java.lang.String string, java.lang.String string1)` void enforceCallingOrSelfPermission( - jni.JString string, - jni.JString string1, + _$jni.JString string, + _$jni.JString string1, ) { _enforceCallingOrSelfPermission( reference.pointer, - _id_enforceCallingOrSelfPermission as jni.JMethodIDPtr, + _id_enforceCallingOrSelfPermission as _$jni.JMethodIDPtr, string.reference.pointer, string1.reference.pointer) .check(); } static final _id_grantUriPermission = _class.instanceMethodId( - r"grantUriPermission", - r"(Ljava/lang/String;Landroid/net/Uri;I)V", + r'grantUriPermission', + r'(Ljava/lang/String;Landroid/net/Uri;I)V', ); - static final _grantUriPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _grantUriPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int)>(); - /// from: public abstract void grantUriPermission(java.lang.String string, android.net.Uri uri, int i) + /// from: `public abstract void grantUriPermission(java.lang.String string, android.net.Uri uri, int i)` void grantUriPermission( - jni.JString string, - jni.JObject uri, + _$jni.JString string, + _$jni.JObject uri, int i, ) { _grantUriPermission( reference.pointer, - _id_grantUriPermission as jni.JMethodIDPtr, + _id_grantUriPermission as _$jni.JMethodIDPtr, string.reference.pointer, uri.reference.pointer, i) @@ -6623,63 +7626,68 @@ class Context extends jni.JObject { } static final _id_revokeUriPermission = _class.instanceMethodId( - r"revokeUriPermission", - r"(Landroid/net/Uri;I)V", + r'revokeUriPermission', + r'(Landroid/net/Uri;I)V', ); - static final _revokeUriPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _revokeUriPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract void revokeUriPermission(android.net.Uri uri, int i) + /// from: `public abstract void revokeUriPermission(android.net.Uri uri, int i)` void revokeUriPermission( - jni.JObject uri, + _$jni.JObject uri, int i, ) { _revokeUriPermission( reference.pointer, - _id_revokeUriPermission as jni.JMethodIDPtr, + _id_revokeUriPermission as _$jni.JMethodIDPtr, uri.reference.pointer, i) .check(); } - static final _id_revokeUriPermission1 = _class.instanceMethodId( - r"revokeUriPermission", - r"(Ljava/lang/String;Landroid/net/Uri;I)V", + static final _id_revokeUriPermission$1 = _class.instanceMethodId( + r'revokeUriPermission', + r'(Ljava/lang/String;Landroid/net/Uri;I)V', ); - static final _revokeUriPermission1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _revokeUriPermission$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int)>(); - - /// from: public abstract void revokeUriPermission(java.lang.String string, android.net.Uri uri, int i) - void revokeUriPermission1( - jni.JString string, - jni.JObject uri, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int)>(); + + /// from: `public abstract void revokeUriPermission(java.lang.String string, android.net.Uri uri, int i)` + void revokeUriPermission$1( + _$jni.JString string, + _$jni.JObject uri, int i, ) { - _revokeUriPermission1( + _revokeUriPermission$1( reference.pointer, - _id_revokeUriPermission1 as jni.JMethodIDPtr, + _id_revokeUriPermission$1 as _$jni.JMethodIDPtr, string.reference.pointer, uri.reference.pointer, i) @@ -6687,36 +7695,36 @@ class Context extends jni.JObject { } static final _id_checkUriPermission = _class.instanceMethodId( - r"checkUriPermission", - r"(Landroid/net/Uri;III)I", + r'checkUriPermission', + r'(Landroid/net/Uri;III)I', ); - static final _checkUriPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _checkUriPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallIntMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, int, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int, int)>(); - /// from: public abstract int checkUriPermission(android.net.Uri uri, int i, int i1, int i2) + /// from: `public abstract int checkUriPermission(android.net.Uri uri, int i, int i1, int i2)` int checkUriPermission( - jni.JObject uri, + _$jni.JObject uri, int i, int i1, int i2, ) { return _checkUriPermission( reference.pointer, - _id_checkUriPermission as jni.JMethodIDPtr, + _id_checkUriPermission as _$jni.JMethodIDPtr, uri.reference.pointer, i, i1, @@ -6725,205 +7733,217 @@ class Context extends jni.JObject { } static final _id_checkUriPermissions = _class.instanceMethodId( - r"checkUriPermissions", - r"(Ljava/util/List;III)[I", + r'checkUriPermissions', + r'(Ljava/util/List;III)[I', ); - static final _checkUriPermissions = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _checkUriPermissions = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, int, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int, int, int)>(); - /// from: public java.lang.Object[] checkUriPermissions(java.util.List list, int i, int i1, int i2) + /// from: `public java.lang.Object[] checkUriPermissions(java.util.List list, int i, int i1, int i2)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray checkUriPermissions( - jni.JList list, + _$jni.JArray<_$jni.jint> checkUriPermissions( + _$jni.JList<_$jni.JObject> list, int i, int i1, int i2, ) { return _checkUriPermissions( reference.pointer, - _id_checkUriPermissions as jni.JMethodIDPtr, + _id_checkUriPermissions as _$jni.JMethodIDPtr, list.reference.pointer, i, i1, i2) - .object(const jni.JArrayType(jni.jintType())); + .object(const _$jni.JArrayType(_$jni.jintType())); } static final _id_checkCallingUriPermission = _class.instanceMethodId( - r"checkCallingUriPermission", - r"(Landroid/net/Uri;I)I", + r'checkCallingUriPermission', + r'(Landroid/net/Uri;I)I', ); - static final _checkCallingUriPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallIntMethod") + static final _checkCallingUriPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract int checkCallingUriPermission(android.net.Uri uri, int i) + /// from: `public abstract int checkCallingUriPermission(android.net.Uri uri, int i)` int checkCallingUriPermission( - jni.JObject uri, + _$jni.JObject uri, int i, ) { return _checkCallingUriPermission( reference.pointer, - _id_checkCallingUriPermission as jni.JMethodIDPtr, + _id_checkCallingUriPermission as _$jni.JMethodIDPtr, uri.reference.pointer, i) .integer; } static final _id_checkCallingUriPermissions = _class.instanceMethodId( - r"checkCallingUriPermissions", - r"(Ljava/util/List;I)[I", + r'checkCallingUriPermissions', + r'(Ljava/util/List;I)[I', ); - static final _checkCallingUriPermissions = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + static final _checkCallingUriPermissions = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public java.lang.Object[] checkCallingUriPermissions(java.util.List list, int i) + /// from: `public java.lang.Object[] checkCallingUriPermissions(java.util.List list, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray checkCallingUriPermissions( - jni.JList list, + _$jni.JArray<_$jni.jint> checkCallingUriPermissions( + _$jni.JList<_$jni.JObject> list, int i, ) { return _checkCallingUriPermissions( reference.pointer, - _id_checkCallingUriPermissions as jni.JMethodIDPtr, + _id_checkCallingUriPermissions as _$jni.JMethodIDPtr, list.reference.pointer, i) - .object(const jni.JArrayType(jni.jintType())); + .object(const _$jni.JArrayType(_$jni.jintType())); } static final _id_checkCallingOrSelfUriPermission = _class.instanceMethodId( - r"checkCallingOrSelfUriPermission", - r"(Landroid/net/Uri;I)I", + r'checkCallingOrSelfUriPermission', + r'(Landroid/net/Uri;I)I', ); - static final _checkCallingOrSelfUriPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallIntMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + static final _checkCallingOrSelfUriPermission = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallIntMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract int checkCallingOrSelfUriPermission(android.net.Uri uri, int i) + /// from: `public abstract int checkCallingOrSelfUriPermission(android.net.Uri uri, int i)` int checkCallingOrSelfUriPermission( - jni.JObject uri, + _$jni.JObject uri, int i, ) { return _checkCallingOrSelfUriPermission( reference.pointer, - _id_checkCallingOrSelfUriPermission as jni.JMethodIDPtr, + _id_checkCallingOrSelfUriPermission as _$jni.JMethodIDPtr, uri.reference.pointer, i) .integer; } static final _id_checkCallingOrSelfUriPermissions = _class.instanceMethodId( - r"checkCallingOrSelfUriPermissions", - r"(Ljava/util/List;I)[I", + r'checkCallingOrSelfUriPermissions', + r'(Ljava/util/List;I)[I', ); static final _checkCallingOrSelfUriPermissions = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public java.lang.Object[] checkCallingOrSelfUriPermissions(java.util.List list, int i) + /// from: `public java.lang.Object[] checkCallingOrSelfUriPermissions(java.util.List list, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray checkCallingOrSelfUriPermissions( - jni.JList list, + _$jni.JArray<_$jni.jint> checkCallingOrSelfUriPermissions( + _$jni.JList<_$jni.JObject> list, int i, ) { return _checkCallingOrSelfUriPermissions( reference.pointer, - _id_checkCallingOrSelfUriPermissions as jni.JMethodIDPtr, + _id_checkCallingOrSelfUriPermissions as _$jni.JMethodIDPtr, list.reference.pointer, i) - .object(const jni.JArrayType(jni.jintType())); + .object(const _$jni.JArrayType(_$jni.jintType())); } - static final _id_checkUriPermission1 = _class.instanceMethodId( - r"checkUriPermission", - r"(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I", + static final _id_checkUriPermission$1 = _class.instanceMethodId( + r'checkUriPermission', + r'(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I', ); - static final _checkUriPermission1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _checkUriPermission$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallIntMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallIntMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, int, int)>(); - /// from: public abstract int checkUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2) - int checkUriPermission1( - jni.JObject uri, - jni.JString string, - jni.JString string1, + /// from: `public abstract int checkUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2)` + int checkUriPermission$1( + _$jni.JObject uri, + _$jni.JString string, + _$jni.JString string1, int i, int i1, int i2, ) { - return _checkUriPermission1( + return _checkUriPermission$1( reference.pointer, - _id_checkUriPermission1 as jni.JMethodIDPtr, + _id_checkUriPermission$1 as _$jni.JMethodIDPtr, uri.reference.pointer, string.reference.pointer, string1.reference.pointer, @@ -6934,38 +7954,44 @@ class Context extends jni.JObject { } static final _id_enforceUriPermission = _class.instanceMethodId( - r"enforceUriPermission", - r"(Landroid/net/Uri;IIILjava/lang/String;)V", + r'enforceUriPermission', + r'(Landroid/net/Uri;IIILjava/lang/String;)V', ); - static final _enforceUriPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _enforceUriPermission = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, int, int, ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + int, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void enforceUriPermission(android.net.Uri uri, int i, int i1, int i2, java.lang.String string) + /// from: `public abstract void enforceUriPermission(android.net.Uri uri, int i, int i1, int i2, java.lang.String string)` void enforceUriPermission( - jni.JObject uri, + _$jni.JObject uri, int i, int i1, int i2, - jni.JString string, + _$jni.JString string, ) { _enforceUriPermission( reference.pointer, - _id_enforceUriPermission as jni.JMethodIDPtr, + _id_enforceUriPermission as _$jni.JMethodIDPtr, uri.reference.pointer, i, i1, @@ -6975,34 +8001,39 @@ class Context extends jni.JObject { } static final _id_enforceCallingUriPermission = _class.instanceMethodId( - r"enforceCallingUriPermission", - r"(Landroid/net/Uri;ILjava/lang/String;)V", + r'enforceCallingUriPermission', + r'(Landroid/net/Uri;ILjava/lang/String;)V', ); - static final _enforceCallingUriPermission = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, ffi.Pointer)>(); + static final _enforceCallingUriPermission = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void enforceCallingUriPermission(android.net.Uri uri, int i, java.lang.String string) + /// from: `public abstract void enforceCallingUriPermission(android.net.Uri uri, int i, java.lang.String string)` void enforceCallingUriPermission( - jni.JObject uri, + _$jni.JObject uri, int i, - jni.JString string, + _$jni.JString string, ) { _enforceCallingUriPermission( reference.pointer, - _id_enforceCallingUriPermission as jni.JMethodIDPtr, + _id_enforceCallingUriPermission as _$jni.JMethodIDPtr, uri.reference.pointer, i, string.reference.pointer) @@ -7010,90 +8041,90 @@ class Context extends jni.JObject { } static final _id_enforceCallingOrSelfUriPermission = _class.instanceMethodId( - r"enforceCallingOrSelfUriPermission", - r"(Landroid/net/Uri;ILjava/lang/String;)V", + r'enforceCallingOrSelfUriPermission', + r'(Landroid/net/Uri;ILjava/lang/String;)V', ); static final _enforceCallingOrSelfUriPermission = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void enforceCallingOrSelfUriPermission(android.net.Uri uri, int i, java.lang.String string) + /// from: `public abstract void enforceCallingOrSelfUriPermission(android.net.Uri uri, int i, java.lang.String string)` void enforceCallingOrSelfUriPermission( - jni.JObject uri, + _$jni.JObject uri, int i, - jni.JString string, + _$jni.JString string, ) { _enforceCallingOrSelfUriPermission( reference.pointer, - _id_enforceCallingOrSelfUriPermission as jni.JMethodIDPtr, + _id_enforceCallingOrSelfUriPermission as _$jni.JMethodIDPtr, uri.reference.pointer, i, string.reference.pointer) .check(); } - static final _id_enforceUriPermission1 = _class.instanceMethodId( - r"enforceUriPermission", - r"(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;)V", + static final _id_enforceUriPermission$1 = _class.instanceMethodId( + r'enforceUriPermission', + r'(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;)V', ); - static final _enforceUriPermission1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _enforceUriPermission$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, int, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract void enforceUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2, java.lang.String string2) - void enforceUriPermission1( - jni.JObject uri, - jni.JString string, - jni.JString string1, + /// from: `public abstract void enforceUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2, java.lang.String string2)` + void enforceUriPermission$1( + _$jni.JObject uri, + _$jni.JString string, + _$jni.JString string1, int i, int i1, int i2, - jni.JString string2, + _$jni.JString string2, ) { - _enforceUriPermission1( + _enforceUriPermission$1( reference.pointer, - _id_enforceUriPermission1 as jni.JMethodIDPtr, + _id_enforceUriPermission$1 as _$jni.JMethodIDPtr, uri.reference.pointer, string.reference.pointer, string1.reference.pointer, @@ -7105,8694 +8136,8680 @@ class Context extends jni.JObject { } static final _id_revokeSelfPermissionOnKill = _class.instanceMethodId( - r"revokeSelfPermissionOnKill", - r"(Ljava/lang/String;)V", - ); - - static final _revokeSelfPermissionOnKill = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'revokeSelfPermissionOnKill', + r'(Ljava/lang/String;)V', + ); + + static final _revokeSelfPermissionOnKill = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void revokeSelfPermissionOnKill(java.lang.String string) + /// from: `public void revokeSelfPermissionOnKill(java.lang.String string)` void revokeSelfPermissionOnKill( - jni.JString string, + _$jni.JString string, ) { _revokeSelfPermissionOnKill( reference.pointer, - _id_revokeSelfPermissionOnKill as jni.JMethodIDPtr, + _id_revokeSelfPermissionOnKill as _$jni.JMethodIDPtr, string.reference.pointer) .check(); } static final _id_revokeSelfPermissionsOnKill = _class.instanceMethodId( - r"revokeSelfPermissionsOnKill", - r"(Ljava/util/Collection;)V", - ); - - static final _revokeSelfPermissionsOnKill = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'revokeSelfPermissionsOnKill', + r'(Ljava/util/Collection;)V', + ); + + static final _revokeSelfPermissionsOnKill = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void revokeSelfPermissionsOnKill(java.util.Collection collection) + /// from: `public void revokeSelfPermissionsOnKill(java.util.Collection collection)` void revokeSelfPermissionsOnKill( - jni.JObject collection, + _$jni.JObject collection, ) { _revokeSelfPermissionsOnKill( reference.pointer, - _id_revokeSelfPermissionsOnKill as jni.JMethodIDPtr, + _id_revokeSelfPermissionsOnKill as _$jni.JMethodIDPtr, collection.reference.pointer) .check(); } static final _id_createPackageContext = _class.instanceMethodId( - r"createPackageContext", - r"(Ljava/lang/String;I)Landroid/content/Context;", + r'createPackageContext', + r'(Ljava/lang/String;I)Landroid/content/Context;', ); - static final _createPackageContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _createPackageContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public abstract android.content.Context createPackageContext(java.lang.String string, int i) + /// from: `public abstract android.content.Context createPackageContext(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. Context createPackageContext( - jni.JString string, + _$jni.JString string, int i, ) { return _createPackageContext( reference.pointer, - _id_createPackageContext as jni.JMethodIDPtr, + _id_createPackageContext as _$jni.JMethodIDPtr, string.reference.pointer, i) - .object(const $ContextType()); + .object(const $Context$Type()); } static final _id_createContextForSplit = _class.instanceMethodId( - r"createContextForSplit", - r"(Ljava/lang/String;)Landroid/content/Context;", + r'createContextForSplit', + r'(Ljava/lang/String;)Landroid/content/Context;', ); - static final _createContextForSplit = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _createContextForSplit = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.content.Context createContextForSplit(java.lang.String string) + /// from: `public abstract android.content.Context createContextForSplit(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Context createContextForSplit( - jni.JString string, + _$jni.JString string, ) { return _createContextForSplit( reference.pointer, - _id_createContextForSplit as jni.JMethodIDPtr, + _id_createContextForSplit as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $ContextType()); + .object(const $Context$Type()); } static final _id_createConfigurationContext = _class.instanceMethodId( - r"createConfigurationContext", - r"(Landroid/content/res/Configuration;)Landroid/content/Context;", - ); - - static final _createConfigurationContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'createConfigurationContext', + r'(Landroid/content/res/Configuration;)Landroid/content/Context;', + ); + + static final _createConfigurationContext = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.content.Context createConfigurationContext(android.content.res.Configuration configuration) + /// from: `public abstract android.content.Context createConfigurationContext(android.content.res.Configuration configuration)` /// The returned object must be released after use, by calling the [release] method. Context createConfigurationContext( - jni.JObject configuration, + _$jni.JObject configuration, ) { return _createConfigurationContext( reference.pointer, - _id_createConfigurationContext as jni.JMethodIDPtr, + _id_createConfigurationContext as _$jni.JMethodIDPtr, configuration.reference.pointer) - .object(const $ContextType()); + .object(const $Context$Type()); } static final _id_createDisplayContext = _class.instanceMethodId( - r"createDisplayContext", - r"(Landroid/view/Display;)Landroid/content/Context;", + r'createDisplayContext', + r'(Landroid/view/Display;)Landroid/content/Context;', ); - static final _createDisplayContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _createDisplayContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public abstract android.content.Context createDisplayContext(android.view.Display display) + /// from: `public abstract android.content.Context createDisplayContext(android.view.Display display)` /// The returned object must be released after use, by calling the [release] method. Context createDisplayContext( - jni.JObject display, + _$jni.JObject display, ) { return _createDisplayContext( reference.pointer, - _id_createDisplayContext as jni.JMethodIDPtr, + _id_createDisplayContext as _$jni.JMethodIDPtr, display.reference.pointer) - .object(const $ContextType()); + .object(const $Context$Type()); } static final _id_createWindowContext = _class.instanceMethodId( - r"createWindowContext", - r"(ILandroid/os/Bundle;)Landroid/content/Context;", + r'createWindowContext', + r'(ILandroid/os/Bundle;)Landroid/content/Context;', ); - static final _createWindowContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") + static final _createWindowContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Context createWindowContext(int i, android.os.Bundle bundle) + /// from: `public android.content.Context createWindowContext(int i, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. Context createWindowContext( int i, - jni.JObject bundle, + _$jni.JObject bundle, ) { return _createWindowContext( reference.pointer, - _id_createWindowContext as jni.JMethodIDPtr, + _id_createWindowContext as _$jni.JMethodIDPtr, i, bundle.reference.pointer) - .object(const $ContextType()); + .object(const $Context$Type()); } - static final _id_createWindowContext1 = _class.instanceMethodId( - r"createWindowContext", - r"(Landroid/view/Display;ILandroid/os/Bundle;)Landroid/content/Context;", + static final _id_createWindowContext$1 = _class.instanceMethodId( + r'createWindowContext', + r'(Landroid/view/Display;ILandroid/os/Bundle;)Landroid/content/Context;', ); - static final _createWindowContext1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _createWindowContext$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Context createWindowContext(android.view.Display display, int i, android.os.Bundle bundle) + /// from: `public android.content.Context createWindowContext(android.view.Display display, int i, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Context createWindowContext1( - jni.JObject display, + Context createWindowContext$1( + _$jni.JObject display, int i, - jni.JObject bundle, + _$jni.JObject bundle, ) { - return _createWindowContext1( + return _createWindowContext$1( reference.pointer, - _id_createWindowContext1 as jni.JMethodIDPtr, + _id_createWindowContext$1 as _$jni.JMethodIDPtr, display.reference.pointer, i, bundle.reference.pointer) - .object(const $ContextType()); + .object(const $Context$Type()); } static final _id_createContext = _class.instanceMethodId( - r"createContext", - r"(Landroid/content/ContextParams;)Landroid/content/Context;", + r'createContext', + r'(Landroid/content/ContextParams;)Landroid/content/Context;', ); - static final _createContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _createContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Context createContext(android.content.ContextParams contextParams) + /// from: `public android.content.Context createContext(android.content.ContextParams contextParams)` /// The returned object must be released after use, by calling the [release] method. Context createContext( - jni.JObject contextParams, + _$jni.JObject contextParams, ) { return _createContext( reference.pointer, - _id_createContext as jni.JMethodIDPtr, + _id_createContext as _$jni.JMethodIDPtr, contextParams.reference.pointer) - .object(const $ContextType()); + .object(const $Context$Type()); } static final _id_createAttributionContext = _class.instanceMethodId( - r"createAttributionContext", - r"(Ljava/lang/String;)Landroid/content/Context;", + r'createAttributionContext', + r'(Ljava/lang/String;)Landroid/content/Context;', ); - static final _createAttributionContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _createAttributionContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Context createAttributionContext(java.lang.String string) + /// from: `public android.content.Context createAttributionContext(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Context createAttributionContext( - jni.JString string, + _$jni.JString string, ) { return _createAttributionContext( reference.pointer, - _id_createAttributionContext as jni.JMethodIDPtr, + _id_createAttributionContext as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $ContextType()); + .object(const $Context$Type()); } static final _id_createDeviceProtectedStorageContext = _class.instanceMethodId( - r"createDeviceProtectedStorageContext", - r"()Landroid/content/Context;", + r'createDeviceProtectedStorageContext', + r'()Landroid/content/Context;', ); static final _createDeviceProtectedStorageContext = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract android.content.Context createDeviceProtectedStorageContext() + /// from: `public abstract android.content.Context createDeviceProtectedStorageContext()` /// The returned object must be released after use, by calling the [release] method. Context createDeviceProtectedStorageContext() { return _createDeviceProtectedStorageContext(reference.pointer, - _id_createDeviceProtectedStorageContext as jni.JMethodIDPtr) - .object(const $ContextType()); + _id_createDeviceProtectedStorageContext as _$jni.JMethodIDPtr) + .object(const $Context$Type()); } static final _id_getDisplay = _class.instanceMethodId( - r"getDisplay", - r"()Landroid/view/Display;", + r'getDisplay', + r'()Landroid/view/Display;', ); - static final _getDisplay = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getDisplay = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.view.Display getDisplay() + /// from: `public android.view.Display getDisplay()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getDisplay() { - return _getDisplay(reference.pointer, _id_getDisplay as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getDisplay() { + return _getDisplay(reference.pointer, _id_getDisplay as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_isRestricted = _class.instanceMethodId( - r"isRestricted", - r"()Z", + r'isRestricted', + r'()Z', ); - static final _isRestricted = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isRestricted = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isRestricted() + /// from: `public boolean isRestricted()` bool isRestricted() { return _isRestricted( - reference.pointer, _id_isRestricted as jni.JMethodIDPtr) + reference.pointer, _id_isRestricted as _$jni.JMethodIDPtr) .boolean; } static final _id_isDeviceProtectedStorage = _class.instanceMethodId( - r"isDeviceProtectedStorage", - r"()Z", + r'isDeviceProtectedStorage', + r'()Z', ); - static final _isDeviceProtectedStorage = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isDeviceProtectedStorage = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public abstract boolean isDeviceProtectedStorage() + /// from: `public abstract boolean isDeviceProtectedStorage()` bool isDeviceProtectedStorage() { - return _isDeviceProtectedStorage( - reference.pointer, _id_isDeviceProtectedStorage as jni.JMethodIDPtr) + return _isDeviceProtectedStorage(reference.pointer, + _id_isDeviceProtectedStorage as _$jni.JMethodIDPtr) .boolean; } static final _id_isUiContext = _class.instanceMethodId( - r"isUiContext", - r"()Z", + r'isUiContext', + r'()Z', ); - static final _isUiContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isUiContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isUiContext() + /// from: `public boolean isUiContext()` bool isUiContext() { - return _isUiContext(reference.pointer, _id_isUiContext as jni.JMethodIDPtr) + return _isUiContext( + reference.pointer, _id_isUiContext as _$jni.JMethodIDPtr) .boolean; } } -final class $ContextType extends jni.JObjType { - const $ContextType(); +final class $Context$Type extends _$jni.JObjType { + @_$jni.internal + const $Context$Type(); - @override - String get signature => r"Landroid/content/Context;"; + @_$jni.internal + @_$core.override + String get signature => r'Landroid/content/Context;'; - @override - Context fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + Context fromReference(_$jni.JReference reference) => Context.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($ContextType).hashCode; + @_$core.override + int get hashCode => ($Context$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($ContextType) && other is $ContextType; + return other.runtimeType == ($Context$Type) && other is $Context$Type; } } -/// from: android.content.Intent$FilterComparison -class Intent_FilterComparison extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `android.content.Intent$FilterComparison` +class Intent_FilterComparison extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal Intent_FilterComparison.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); static final _class = - jni.JClass.forName(r"android/content/Intent$FilterComparison"); + _$jni.JClass.forName(r'android/content/Intent$FilterComparison'); /// The type which includes information such as the signature of this class. - static const type = $Intent_FilterComparisonType(); - static final _id_new0 = _class.constructorId( - r"(Landroid/content/Intent;)V", + static const type = $Intent_FilterComparison$Type(); + static final _id_new$ = _class.constructorId( + r'(Landroid/content/Intent;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (android.content.Intent intent) + /// from: `public void (android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. factory Intent_FilterComparison( Intent intent, ) { - return Intent_FilterComparison.fromReference(_new0(_class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, intent.reference.pointer) + return Intent_FilterComparison.fromReference(_new$(_class.reference.pointer, + _id_new$ as _$jni.JMethodIDPtr, intent.reference.pointer) .reference); } static final _id_getIntent = _class.instanceMethodId( - r"getIntent", - r"()Landroid/content/Intent;", + r'getIntent', + r'()Landroid/content/Intent;', ); - static final _getIntent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getIntent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.Intent getIntent() + /// from: `public android.content.Intent getIntent()` /// The returned object must be released after use, by calling the [release] method. Intent getIntent() { - return _getIntent(reference.pointer, _id_getIntent as jni.JMethodIDPtr) - .object(const $IntentType()); + return _getIntent(reference.pointer, _id_getIntent as _$jni.JMethodIDPtr) + .object(const $Intent$Type()); } static final _id_equals = _class.instanceMethodId( - r"equals", - r"(Ljava/lang/Object;)Z", + r'equals', + r'(Ljava/lang/Object;)Z', ); - static final _equals = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _equals = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean equals(java.lang.Object object) + /// from: `public boolean equals(java.lang.Object object)` bool equals( - jni.JObject object, + _$jni.JObject object, ) { - return _equals(reference.pointer, _id_equals as jni.JMethodIDPtr, + return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, object.reference.pointer) .boolean; } - static final _id_hashCode1 = _class.instanceMethodId( - r"hashCode", - r"()I", + static final _id_hashCode$1 = _class.instanceMethodId( + r'hashCode', + r'()I', ); - static final _hashCode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int hashCode() - int hashCode1() { - return _hashCode1(reference.pointer, _id_hashCode1 as jni.JMethodIDPtr) + /// from: `public int hashCode()` + int hashCode$1() { + return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) .integer; } } -final class $Intent_FilterComparisonType - extends jni.JObjType { - const $Intent_FilterComparisonType(); +final class $Intent_FilterComparison$Type + extends _$jni.JObjType { + @_$jni.internal + const $Intent_FilterComparison$Type(); - @override - String get signature => r"Landroid/content/Intent$FilterComparison;"; + @_$jni.internal + @_$core.override + String get signature => r'Landroid/content/Intent$FilterComparison;'; - @override - Intent_FilterComparison fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + Intent_FilterComparison fromReference(_$jni.JReference reference) => Intent_FilterComparison.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($Intent_FilterComparisonType).hashCode; + @_$core.override + int get hashCode => ($Intent_FilterComparison$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($Intent_FilterComparisonType) && - other is $Intent_FilterComparisonType; + return other.runtimeType == ($Intent_FilterComparison$Type) && + other is $Intent_FilterComparison$Type; } } -/// from: android.content.Intent$ShortcutIconResource -class Intent_ShortcutIconResource extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `android.content.Intent$ShortcutIconResource` +class Intent_ShortcutIconResource extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal Intent_ShortcutIconResource.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); static final _class = - jni.JClass.forName(r"android/content/Intent$ShortcutIconResource"); + _$jni.JClass.forName(r'android/content/Intent$ShortcutIconResource'); /// The type which includes information such as the signature of this class. - static const type = $Intent_ShortcutIconResourceType(); + static const type = $Intent_ShortcutIconResource$Type(); static final _id_CREATOR = _class.staticFieldId( - r"CREATOR", - r"Landroid/os/Parcelable$Creator;", + r'CREATOR', + r'Landroid/os/Parcelable$Creator;', ); - /// from: static public final android.os.Parcelable$Creator CREATOR + /// from: `static public final android.os.Parcelable$Creator CREATOR` /// The returned object must be released after use, by calling the [release] method. - static jni.JObject get CREATOR => - _id_CREATOR.get(_class, const jni.JObjectType()); + static _$jni.JObject get CREATOR => + _id_CREATOR.get(_class, const _$jni.JObjectType()); static final _id_packageName = _class.instanceFieldId( - r"packageName", - r"Ljava/lang/String;", + r'packageName', + r'Ljava/lang/String;', ); - /// from: public java.lang.String packageName + /// from: `public java.lang.String packageName` /// The returned object must be released after use, by calling the [release] method. - jni.JString get packageName => - _id_packageName.get(this, const jni.JStringType()); + _$jni.JString get packageName => + _id_packageName.get(this, const _$jni.JStringType()); - /// from: public java.lang.String packageName + /// from: `public java.lang.String packageName` /// The returned object must be released after use, by calling the [release] method. - set packageName(jni.JString value) => - _id_packageName.set(this, const jni.JStringType(), value); + set packageName(_$jni.JString value) => + _id_packageName.set(this, const _$jni.JStringType(), value); static final _id_resourceName = _class.instanceFieldId( - r"resourceName", - r"Ljava/lang/String;", + r'resourceName', + r'Ljava/lang/String;', ); - /// from: public java.lang.String resourceName + /// from: `public java.lang.String resourceName` /// The returned object must be released after use, by calling the [release] method. - jni.JString get resourceName => - _id_resourceName.get(this, const jni.JStringType()); + _$jni.JString get resourceName => + _id_resourceName.get(this, const _$jni.JStringType()); - /// from: public java.lang.String resourceName + /// from: `public java.lang.String resourceName` /// The returned object must be released after use, by calling the [release] method. - set resourceName(jni.JString value) => - _id_resourceName.set(this, const jni.JStringType(), value); + set resourceName(_$jni.JString value) => + _id_resourceName.set(this, const _$jni.JStringType(), value); - static final _id_new0 = _class.constructorId( - r"()V", + static final _id_new$ = _class.constructorId( + r'()V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Intent_ShortcutIconResource() { return Intent_ShortcutIconResource.fromReference( - _new0(_class.reference.pointer, _id_new0 as jni.JMethodIDPtr) + _new$(_class.reference.pointer, _id_new$ as _$jni.JMethodIDPtr) .reference); } static final _id_fromContext = _class.staticMethodId( - r"fromContext", - r"(Landroid/content/Context;I)Landroid/content/Intent$ShortcutIconResource;", + r'fromContext', + r'(Landroid/content/Context;I)Landroid/content/Intent$ShortcutIconResource;', ); - static final _fromContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _fromContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: static public android.content.Intent$ShortcutIconResource fromContext(android.content.Context context, int i) + /// from: `static public android.content.Intent$ShortcutIconResource fromContext(android.content.Context context, int i)` /// The returned object must be released after use, by calling the [release] method. static Intent_ShortcutIconResource fromContext( Context context, int i, ) { return _fromContext(_class.reference.pointer, - _id_fromContext as jni.JMethodIDPtr, context.reference.pointer, i) - .object(const $Intent_ShortcutIconResourceType()); + _id_fromContext as _$jni.JMethodIDPtr, context.reference.pointer, i) + .object(const $Intent_ShortcutIconResource$Type()); } static final _id_describeContents = _class.instanceMethodId( - r"describeContents", - r"()I", + r'describeContents', + r'()I', ); - static final _describeContents = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _describeContents = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int describeContents() + /// from: `public int describeContents()` int describeContents() { return _describeContents( - reference.pointer, _id_describeContents as jni.JMethodIDPtr) + reference.pointer, _id_describeContents as _$jni.JMethodIDPtr) .integer; } static final _id_writeToParcel = _class.instanceMethodId( - r"writeToParcel", - r"(Landroid/os/Parcel;I)V", + r'writeToParcel', + r'(Landroid/os/Parcel;I)V', ); - static final _writeToParcel = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _writeToParcel = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public void writeToParcel(android.os.Parcel parcel, int i) + /// from: `public void writeToParcel(android.os.Parcel parcel, int i)` void writeToParcel( - jni.JObject parcel, + _$jni.JObject parcel, int i, ) { - _writeToParcel(reference.pointer, _id_writeToParcel as jni.JMethodIDPtr, + _writeToParcel(reference.pointer, _id_writeToParcel as _$jni.JMethodIDPtr, parcel.reference.pointer, i) .check(); } - static final _id_toString1 = _class.instanceMethodId( - r"toString", - r"()Ljava/lang/String;", + static final _id_toString$1 = _class.instanceMethodId( + r'toString', + r'()Ljava/lang/String;', ); - static final _toString1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _toString$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String toString() + /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. - jni.JString toString1() { - return _toString1(reference.pointer, _id_toString1 as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } } -final class $Intent_ShortcutIconResourceType - extends jni.JObjType { - const $Intent_ShortcutIconResourceType(); +final class $Intent_ShortcutIconResource$Type + extends _$jni.JObjType { + @_$jni.internal + const $Intent_ShortcutIconResource$Type(); - @override - String get signature => r"Landroid/content/Intent$ShortcutIconResource;"; + @_$jni.internal + @_$core.override + String get signature => r'Landroid/content/Intent$ShortcutIconResource;'; - @override - Intent_ShortcutIconResource fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + Intent_ShortcutIconResource fromReference(_$jni.JReference reference) => Intent_ShortcutIconResource.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($Intent_ShortcutIconResourceType).hashCode; + @_$core.override + int get hashCode => ($Intent_ShortcutIconResource$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($Intent_ShortcutIconResourceType) && - other is $Intent_ShortcutIconResourceType; + return other.runtimeType == ($Intent_ShortcutIconResource$Type) && + other is $Intent_ShortcutIconResource$Type; } } -/// from: android.content.Intent -class Intent extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `android.content.Intent` +class Intent extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal Intent.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName(r"android/content/Intent"); + static final _class = _$jni.JClass.forName(r'android/content/Intent'); /// The type which includes information such as the signature of this class. - static const type = $IntentType(); + static const type = $Intent$Type(); static final _id_ACTION_AIRPLANE_MODE_CHANGED = _class.staticFieldId( - r"ACTION_AIRPLANE_MODE_CHANGED", - r"Ljava/lang/String;", + r'ACTION_AIRPLANE_MODE_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_AIRPLANE_MODE_CHANGED + /// from: `static public final java.lang.String ACTION_AIRPLANE_MODE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_AIRPLANE_MODE_CHANGED => - _id_ACTION_AIRPLANE_MODE_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_AIRPLANE_MODE_CHANGED => + _id_ACTION_AIRPLANE_MODE_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_ALL_APPS = _class.staticFieldId( - r"ACTION_ALL_APPS", - r"Ljava/lang/String;", + r'ACTION_ALL_APPS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_ALL_APPS + /// from: `static public final java.lang.String ACTION_ALL_APPS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_ALL_APPS => - _id_ACTION_ALL_APPS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_ALL_APPS => + _id_ACTION_ALL_APPS.get(_class, const _$jni.JStringType()); static final _id_ACTION_ANSWER = _class.staticFieldId( - r"ACTION_ANSWER", - r"Ljava/lang/String;", + r'ACTION_ANSWER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_ANSWER + /// from: `static public final java.lang.String ACTION_ANSWER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_ANSWER => - _id_ACTION_ANSWER.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_ANSWER => + _id_ACTION_ANSWER.get(_class, const _$jni.JStringType()); static final _id_ACTION_APPLICATION_LOCALE_CHANGED = _class.staticFieldId( - r"ACTION_APPLICATION_LOCALE_CHANGED", - r"Ljava/lang/String;", + r'ACTION_APPLICATION_LOCALE_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_APPLICATION_LOCALE_CHANGED + /// from: `static public final java.lang.String ACTION_APPLICATION_LOCALE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_APPLICATION_LOCALE_CHANGED => + static _$jni.JString get ACTION_APPLICATION_LOCALE_CHANGED => _id_ACTION_APPLICATION_LOCALE_CHANGED.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_APPLICATION_PREFERENCES = _class.staticFieldId( - r"ACTION_APPLICATION_PREFERENCES", - r"Ljava/lang/String;", + r'ACTION_APPLICATION_PREFERENCES', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_APPLICATION_PREFERENCES + /// from: `static public final java.lang.String ACTION_APPLICATION_PREFERENCES` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_APPLICATION_PREFERENCES => - _id_ACTION_APPLICATION_PREFERENCES.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_APPLICATION_PREFERENCES => + _id_ACTION_APPLICATION_PREFERENCES.get(_class, const _$jni.JStringType()); static final _id_ACTION_APPLICATION_RESTRICTIONS_CHANGED = _class.staticFieldId( - r"ACTION_APPLICATION_RESTRICTIONS_CHANGED", - r"Ljava/lang/String;", + r'ACTION_APPLICATION_RESTRICTIONS_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_APPLICATION_RESTRICTIONS_CHANGED + /// from: `static public final java.lang.String ACTION_APPLICATION_RESTRICTIONS_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_APPLICATION_RESTRICTIONS_CHANGED => + static _$jni.JString get ACTION_APPLICATION_RESTRICTIONS_CHANGED => _id_ACTION_APPLICATION_RESTRICTIONS_CHANGED.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_APP_ERROR = _class.staticFieldId( - r"ACTION_APP_ERROR", - r"Ljava/lang/String;", + r'ACTION_APP_ERROR', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_APP_ERROR + /// from: `static public final java.lang.String ACTION_APP_ERROR` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_APP_ERROR => - _id_ACTION_APP_ERROR.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_APP_ERROR => + _id_ACTION_APP_ERROR.get(_class, const _$jni.JStringType()); static final _id_ACTION_ASSIST = _class.staticFieldId( - r"ACTION_ASSIST", - r"Ljava/lang/String;", + r'ACTION_ASSIST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_ASSIST + /// from: `static public final java.lang.String ACTION_ASSIST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_ASSIST => - _id_ACTION_ASSIST.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_ASSIST => + _id_ACTION_ASSIST.get(_class, const _$jni.JStringType()); static final _id_ACTION_ATTACH_DATA = _class.staticFieldId( - r"ACTION_ATTACH_DATA", - r"Ljava/lang/String;", + r'ACTION_ATTACH_DATA', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_ATTACH_DATA + /// from: `static public final java.lang.String ACTION_ATTACH_DATA` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_ATTACH_DATA => - _id_ACTION_ATTACH_DATA.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_ATTACH_DATA => + _id_ACTION_ATTACH_DATA.get(_class, const _$jni.JStringType()); static final _id_ACTION_AUTO_REVOKE_PERMISSIONS = _class.staticFieldId( - r"ACTION_AUTO_REVOKE_PERMISSIONS", - r"Ljava/lang/String;", + r'ACTION_AUTO_REVOKE_PERMISSIONS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_AUTO_REVOKE_PERMISSIONS + /// from: `static public final java.lang.String ACTION_AUTO_REVOKE_PERMISSIONS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_AUTO_REVOKE_PERMISSIONS => - _id_ACTION_AUTO_REVOKE_PERMISSIONS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_AUTO_REVOKE_PERMISSIONS => + _id_ACTION_AUTO_REVOKE_PERMISSIONS.get(_class, const _$jni.JStringType()); static final _id_ACTION_BATTERY_CHANGED = _class.staticFieldId( - r"ACTION_BATTERY_CHANGED", - r"Ljava/lang/String;", + r'ACTION_BATTERY_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_BATTERY_CHANGED + /// from: `static public final java.lang.String ACTION_BATTERY_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_BATTERY_CHANGED => - _id_ACTION_BATTERY_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_BATTERY_CHANGED => + _id_ACTION_BATTERY_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_BATTERY_LOW = _class.staticFieldId( - r"ACTION_BATTERY_LOW", - r"Ljava/lang/String;", + r'ACTION_BATTERY_LOW', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_BATTERY_LOW + /// from: `static public final java.lang.String ACTION_BATTERY_LOW` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_BATTERY_LOW => - _id_ACTION_BATTERY_LOW.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_BATTERY_LOW => + _id_ACTION_BATTERY_LOW.get(_class, const _$jni.JStringType()); static final _id_ACTION_BATTERY_OKAY = _class.staticFieldId( - r"ACTION_BATTERY_OKAY", - r"Ljava/lang/String;", + r'ACTION_BATTERY_OKAY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_BATTERY_OKAY + /// from: `static public final java.lang.String ACTION_BATTERY_OKAY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_BATTERY_OKAY => - _id_ACTION_BATTERY_OKAY.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_BATTERY_OKAY => + _id_ACTION_BATTERY_OKAY.get(_class, const _$jni.JStringType()); static final _id_ACTION_BOOT_COMPLETED = _class.staticFieldId( - r"ACTION_BOOT_COMPLETED", - r"Ljava/lang/String;", + r'ACTION_BOOT_COMPLETED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_BOOT_COMPLETED + /// from: `static public final java.lang.String ACTION_BOOT_COMPLETED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_BOOT_COMPLETED => - _id_ACTION_BOOT_COMPLETED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_BOOT_COMPLETED => + _id_ACTION_BOOT_COMPLETED.get(_class, const _$jni.JStringType()); static final _id_ACTION_BUG_REPORT = _class.staticFieldId( - r"ACTION_BUG_REPORT", - r"Ljava/lang/String;", + r'ACTION_BUG_REPORT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_BUG_REPORT + /// from: `static public final java.lang.String ACTION_BUG_REPORT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_BUG_REPORT => - _id_ACTION_BUG_REPORT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_BUG_REPORT => + _id_ACTION_BUG_REPORT.get(_class, const _$jni.JStringType()); static final _id_ACTION_CALL = _class.staticFieldId( - r"ACTION_CALL", - r"Ljava/lang/String;", + r'ACTION_CALL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CALL + /// from: `static public final java.lang.String ACTION_CALL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CALL => - _id_ACTION_CALL.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CALL => + _id_ACTION_CALL.get(_class, const _$jni.JStringType()); static final _id_ACTION_CALL_BUTTON = _class.staticFieldId( - r"ACTION_CALL_BUTTON", - r"Ljava/lang/String;", + r'ACTION_CALL_BUTTON', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CALL_BUTTON + /// from: `static public final java.lang.String ACTION_CALL_BUTTON` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CALL_BUTTON => - _id_ACTION_CALL_BUTTON.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CALL_BUTTON => + _id_ACTION_CALL_BUTTON.get(_class, const _$jni.JStringType()); static final _id_ACTION_CAMERA_BUTTON = _class.staticFieldId( - r"ACTION_CAMERA_BUTTON", - r"Ljava/lang/String;", + r'ACTION_CAMERA_BUTTON', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CAMERA_BUTTON + /// from: `static public final java.lang.String ACTION_CAMERA_BUTTON` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CAMERA_BUTTON => - _id_ACTION_CAMERA_BUTTON.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CAMERA_BUTTON => + _id_ACTION_CAMERA_BUTTON.get(_class, const _$jni.JStringType()); static final _id_ACTION_CARRIER_SETUP = _class.staticFieldId( - r"ACTION_CARRIER_SETUP", - r"Ljava/lang/String;", + r'ACTION_CARRIER_SETUP', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CARRIER_SETUP + /// from: `static public final java.lang.String ACTION_CARRIER_SETUP` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CARRIER_SETUP => - _id_ACTION_CARRIER_SETUP.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CARRIER_SETUP => + _id_ACTION_CARRIER_SETUP.get(_class, const _$jni.JStringType()); static final _id_ACTION_CHOOSER = _class.staticFieldId( - r"ACTION_CHOOSER", - r"Ljava/lang/String;", + r'ACTION_CHOOSER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CHOOSER + /// from: `static public final java.lang.String ACTION_CHOOSER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CHOOSER => - _id_ACTION_CHOOSER.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CHOOSER => + _id_ACTION_CHOOSER.get(_class, const _$jni.JStringType()); static final _id_ACTION_CLOSE_SYSTEM_DIALOGS = _class.staticFieldId( - r"ACTION_CLOSE_SYSTEM_DIALOGS", - r"Ljava/lang/String;", + r'ACTION_CLOSE_SYSTEM_DIALOGS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CLOSE_SYSTEM_DIALOGS + /// from: `static public final java.lang.String ACTION_CLOSE_SYSTEM_DIALOGS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CLOSE_SYSTEM_DIALOGS => - _id_ACTION_CLOSE_SYSTEM_DIALOGS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CLOSE_SYSTEM_DIALOGS => + _id_ACTION_CLOSE_SYSTEM_DIALOGS.get(_class, const _$jni.JStringType()); static final _id_ACTION_CONFIGURATION_CHANGED = _class.staticFieldId( - r"ACTION_CONFIGURATION_CHANGED", - r"Ljava/lang/String;", + r'ACTION_CONFIGURATION_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CONFIGURATION_CHANGED + /// from: `static public final java.lang.String ACTION_CONFIGURATION_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CONFIGURATION_CHANGED => - _id_ACTION_CONFIGURATION_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CONFIGURATION_CHANGED => + _id_ACTION_CONFIGURATION_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_CREATE_DOCUMENT = _class.staticFieldId( - r"ACTION_CREATE_DOCUMENT", - r"Ljava/lang/String;", + r'ACTION_CREATE_DOCUMENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CREATE_DOCUMENT + /// from: `static public final java.lang.String ACTION_CREATE_DOCUMENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CREATE_DOCUMENT => - _id_ACTION_CREATE_DOCUMENT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CREATE_DOCUMENT => + _id_ACTION_CREATE_DOCUMENT.get(_class, const _$jni.JStringType()); static final _id_ACTION_CREATE_REMINDER = _class.staticFieldId( - r"ACTION_CREATE_REMINDER", - r"Ljava/lang/String;", + r'ACTION_CREATE_REMINDER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CREATE_REMINDER + /// from: `static public final java.lang.String ACTION_CREATE_REMINDER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CREATE_REMINDER => - _id_ACTION_CREATE_REMINDER.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CREATE_REMINDER => + _id_ACTION_CREATE_REMINDER.get(_class, const _$jni.JStringType()); static final _id_ACTION_CREATE_SHORTCUT = _class.staticFieldId( - r"ACTION_CREATE_SHORTCUT", - r"Ljava/lang/String;", + r'ACTION_CREATE_SHORTCUT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_CREATE_SHORTCUT + /// from: `static public final java.lang.String ACTION_CREATE_SHORTCUT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_CREATE_SHORTCUT => - _id_ACTION_CREATE_SHORTCUT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_CREATE_SHORTCUT => + _id_ACTION_CREATE_SHORTCUT.get(_class, const _$jni.JStringType()); static final _id_ACTION_DATE_CHANGED = _class.staticFieldId( - r"ACTION_DATE_CHANGED", - r"Ljava/lang/String;", + r'ACTION_DATE_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DATE_CHANGED + /// from: `static public final java.lang.String ACTION_DATE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DATE_CHANGED => - _id_ACTION_DATE_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DATE_CHANGED => + _id_ACTION_DATE_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_DEFAULT = _class.staticFieldId( - r"ACTION_DEFAULT", - r"Ljava/lang/String;", + r'ACTION_DEFAULT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DEFAULT + /// from: `static public final java.lang.String ACTION_DEFAULT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DEFAULT => - _id_ACTION_DEFAULT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DEFAULT => + _id_ACTION_DEFAULT.get(_class, const _$jni.JStringType()); static final _id_ACTION_DEFINE = _class.staticFieldId( - r"ACTION_DEFINE", - r"Ljava/lang/String;", + r'ACTION_DEFINE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DEFINE + /// from: `static public final java.lang.String ACTION_DEFINE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DEFINE => - _id_ACTION_DEFINE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DEFINE => + _id_ACTION_DEFINE.get(_class, const _$jni.JStringType()); static final _id_ACTION_DELETE = _class.staticFieldId( - r"ACTION_DELETE", - r"Ljava/lang/String;", + r'ACTION_DELETE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DELETE + /// from: `static public final java.lang.String ACTION_DELETE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DELETE => - _id_ACTION_DELETE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DELETE => + _id_ACTION_DELETE.get(_class, const _$jni.JStringType()); static final _id_ACTION_DEVICE_STORAGE_LOW = _class.staticFieldId( - r"ACTION_DEVICE_STORAGE_LOW", - r"Ljava/lang/String;", + r'ACTION_DEVICE_STORAGE_LOW', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DEVICE_STORAGE_LOW + /// from: `static public final java.lang.String ACTION_DEVICE_STORAGE_LOW` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DEVICE_STORAGE_LOW => - _id_ACTION_DEVICE_STORAGE_LOW.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DEVICE_STORAGE_LOW => + _id_ACTION_DEVICE_STORAGE_LOW.get(_class, const _$jni.JStringType()); static final _id_ACTION_DEVICE_STORAGE_OK = _class.staticFieldId( - r"ACTION_DEVICE_STORAGE_OK", - r"Ljava/lang/String;", + r'ACTION_DEVICE_STORAGE_OK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DEVICE_STORAGE_OK + /// from: `static public final java.lang.String ACTION_DEVICE_STORAGE_OK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DEVICE_STORAGE_OK => - _id_ACTION_DEVICE_STORAGE_OK.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DEVICE_STORAGE_OK => + _id_ACTION_DEVICE_STORAGE_OK.get(_class, const _$jni.JStringType()); static final _id_ACTION_DIAL = _class.staticFieldId( - r"ACTION_DIAL", - r"Ljava/lang/String;", + r'ACTION_DIAL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DIAL + /// from: `static public final java.lang.String ACTION_DIAL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DIAL => - _id_ACTION_DIAL.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DIAL => + _id_ACTION_DIAL.get(_class, const _$jni.JStringType()); static final _id_ACTION_DOCK_EVENT = _class.staticFieldId( - r"ACTION_DOCK_EVENT", - r"Ljava/lang/String;", + r'ACTION_DOCK_EVENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DOCK_EVENT + /// from: `static public final java.lang.String ACTION_DOCK_EVENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DOCK_EVENT => - _id_ACTION_DOCK_EVENT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DOCK_EVENT => + _id_ACTION_DOCK_EVENT.get(_class, const _$jni.JStringType()); static final _id_ACTION_DREAMING_STARTED = _class.staticFieldId( - r"ACTION_DREAMING_STARTED", - r"Ljava/lang/String;", + r'ACTION_DREAMING_STARTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DREAMING_STARTED + /// from: `static public final java.lang.String ACTION_DREAMING_STARTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DREAMING_STARTED => - _id_ACTION_DREAMING_STARTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DREAMING_STARTED => + _id_ACTION_DREAMING_STARTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_DREAMING_STOPPED = _class.staticFieldId( - r"ACTION_DREAMING_STOPPED", - r"Ljava/lang/String;", + r'ACTION_DREAMING_STOPPED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_DREAMING_STOPPED + /// from: `static public final java.lang.String ACTION_DREAMING_STOPPED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_DREAMING_STOPPED => - _id_ACTION_DREAMING_STOPPED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_DREAMING_STOPPED => + _id_ACTION_DREAMING_STOPPED.get(_class, const _$jni.JStringType()); static final _id_ACTION_EDIT = _class.staticFieldId( - r"ACTION_EDIT", - r"Ljava/lang/String;", + r'ACTION_EDIT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_EDIT + /// from: `static public final java.lang.String ACTION_EDIT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_EDIT => - _id_ACTION_EDIT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_EDIT => + _id_ACTION_EDIT.get(_class, const _$jni.JStringType()); static final _id_ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = _class.staticFieldId( - r"ACTION_EXTERNAL_APPLICATIONS_AVAILABLE", - r"Ljava/lang/String;", + r'ACTION_EXTERNAL_APPLICATIONS_AVAILABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE + /// from: `static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_EXTERNAL_APPLICATIONS_AVAILABLE => + static _$jni.JString get ACTION_EXTERNAL_APPLICATIONS_AVAILABLE => _id_ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = _class.staticFieldId( - r"ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE", - r"Ljava/lang/String;", + r'ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE + /// from: `static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE => + static _$jni.JString get ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE => _id_ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_FACTORY_TEST = _class.staticFieldId( - r"ACTION_FACTORY_TEST", - r"Ljava/lang/String;", + r'ACTION_FACTORY_TEST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_FACTORY_TEST + /// from: `static public final java.lang.String ACTION_FACTORY_TEST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_FACTORY_TEST => - _id_ACTION_FACTORY_TEST.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_FACTORY_TEST => + _id_ACTION_FACTORY_TEST.get(_class, const _$jni.JStringType()); static final _id_ACTION_GET_CONTENT = _class.staticFieldId( - r"ACTION_GET_CONTENT", - r"Ljava/lang/String;", + r'ACTION_GET_CONTENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_GET_CONTENT + /// from: `static public final java.lang.String ACTION_GET_CONTENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_GET_CONTENT => - _id_ACTION_GET_CONTENT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_GET_CONTENT => + _id_ACTION_GET_CONTENT.get(_class, const _$jni.JStringType()); static final _id_ACTION_GET_RESTRICTION_ENTRIES = _class.staticFieldId( - r"ACTION_GET_RESTRICTION_ENTRIES", - r"Ljava/lang/String;", + r'ACTION_GET_RESTRICTION_ENTRIES', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_GET_RESTRICTION_ENTRIES + /// from: `static public final java.lang.String ACTION_GET_RESTRICTION_ENTRIES` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_GET_RESTRICTION_ENTRIES => - _id_ACTION_GET_RESTRICTION_ENTRIES.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_GET_RESTRICTION_ENTRIES => + _id_ACTION_GET_RESTRICTION_ENTRIES.get(_class, const _$jni.JStringType()); static final _id_ACTION_GTALK_SERVICE_CONNECTED = _class.staticFieldId( - r"ACTION_GTALK_SERVICE_CONNECTED", - r"Ljava/lang/String;", + r'ACTION_GTALK_SERVICE_CONNECTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_GTALK_SERVICE_CONNECTED + /// from: `static public final java.lang.String ACTION_GTALK_SERVICE_CONNECTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_GTALK_SERVICE_CONNECTED => - _id_ACTION_GTALK_SERVICE_CONNECTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_GTALK_SERVICE_CONNECTED => + _id_ACTION_GTALK_SERVICE_CONNECTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_GTALK_SERVICE_DISCONNECTED = _class.staticFieldId( - r"ACTION_GTALK_SERVICE_DISCONNECTED", - r"Ljava/lang/String;", + r'ACTION_GTALK_SERVICE_DISCONNECTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_GTALK_SERVICE_DISCONNECTED + /// from: `static public final java.lang.String ACTION_GTALK_SERVICE_DISCONNECTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_GTALK_SERVICE_DISCONNECTED => + static _$jni.JString get ACTION_GTALK_SERVICE_DISCONNECTED => _id_ACTION_GTALK_SERVICE_DISCONNECTED.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_HEADSET_PLUG = _class.staticFieldId( - r"ACTION_HEADSET_PLUG", - r"Ljava/lang/String;", + r'ACTION_HEADSET_PLUG', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_HEADSET_PLUG + /// from: `static public final java.lang.String ACTION_HEADSET_PLUG` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_HEADSET_PLUG => - _id_ACTION_HEADSET_PLUG.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_HEADSET_PLUG => + _id_ACTION_HEADSET_PLUG.get(_class, const _$jni.JStringType()); static final _id_ACTION_INPUT_METHOD_CHANGED = _class.staticFieldId( - r"ACTION_INPUT_METHOD_CHANGED", - r"Ljava/lang/String;", + r'ACTION_INPUT_METHOD_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_INPUT_METHOD_CHANGED + /// from: `static public final java.lang.String ACTION_INPUT_METHOD_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_INPUT_METHOD_CHANGED => - _id_ACTION_INPUT_METHOD_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_INPUT_METHOD_CHANGED => + _id_ACTION_INPUT_METHOD_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_INSERT = _class.staticFieldId( - r"ACTION_INSERT", - r"Ljava/lang/String;", + r'ACTION_INSERT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_INSERT + /// from: `static public final java.lang.String ACTION_INSERT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_INSERT => - _id_ACTION_INSERT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_INSERT => + _id_ACTION_INSERT.get(_class, const _$jni.JStringType()); static final _id_ACTION_INSERT_OR_EDIT = _class.staticFieldId( - r"ACTION_INSERT_OR_EDIT", - r"Ljava/lang/String;", + r'ACTION_INSERT_OR_EDIT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_INSERT_OR_EDIT + /// from: `static public final java.lang.String ACTION_INSERT_OR_EDIT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_INSERT_OR_EDIT => - _id_ACTION_INSERT_OR_EDIT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_INSERT_OR_EDIT => + _id_ACTION_INSERT_OR_EDIT.get(_class, const _$jni.JStringType()); static final _id_ACTION_INSTALL_FAILURE = _class.staticFieldId( - r"ACTION_INSTALL_FAILURE", - r"Ljava/lang/String;", + r'ACTION_INSTALL_FAILURE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_INSTALL_FAILURE + /// from: `static public final java.lang.String ACTION_INSTALL_FAILURE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_INSTALL_FAILURE => - _id_ACTION_INSTALL_FAILURE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_INSTALL_FAILURE => + _id_ACTION_INSTALL_FAILURE.get(_class, const _$jni.JStringType()); static final _id_ACTION_INSTALL_PACKAGE = _class.staticFieldId( - r"ACTION_INSTALL_PACKAGE", - r"Ljava/lang/String;", + r'ACTION_INSTALL_PACKAGE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_INSTALL_PACKAGE + /// from: `static public final java.lang.String ACTION_INSTALL_PACKAGE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_INSTALL_PACKAGE => - _id_ACTION_INSTALL_PACKAGE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_INSTALL_PACKAGE => + _id_ACTION_INSTALL_PACKAGE.get(_class, const _$jni.JStringType()); static final _id_ACTION_LOCALE_CHANGED = _class.staticFieldId( - r"ACTION_LOCALE_CHANGED", - r"Ljava/lang/String;", + r'ACTION_LOCALE_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_LOCALE_CHANGED + /// from: `static public final java.lang.String ACTION_LOCALE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_LOCALE_CHANGED => - _id_ACTION_LOCALE_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_LOCALE_CHANGED => + _id_ACTION_LOCALE_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_LOCKED_BOOT_COMPLETED = _class.staticFieldId( - r"ACTION_LOCKED_BOOT_COMPLETED", - r"Ljava/lang/String;", + r'ACTION_LOCKED_BOOT_COMPLETED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_LOCKED_BOOT_COMPLETED + /// from: `static public final java.lang.String ACTION_LOCKED_BOOT_COMPLETED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_LOCKED_BOOT_COMPLETED => - _id_ACTION_LOCKED_BOOT_COMPLETED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_LOCKED_BOOT_COMPLETED => + _id_ACTION_LOCKED_BOOT_COMPLETED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MAIN = _class.staticFieldId( - r"ACTION_MAIN", - r"Ljava/lang/String;", + r'ACTION_MAIN', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MAIN + /// from: `static public final java.lang.String ACTION_MAIN` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MAIN => - _id_ACTION_MAIN.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MAIN => + _id_ACTION_MAIN.get(_class, const _$jni.JStringType()); static final _id_ACTION_MANAGED_PROFILE_ADDED = _class.staticFieldId( - r"ACTION_MANAGED_PROFILE_ADDED", - r"Ljava/lang/String;", + r'ACTION_MANAGED_PROFILE_ADDED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGED_PROFILE_ADDED + /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_ADDED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGED_PROFILE_ADDED => - _id_ACTION_MANAGED_PROFILE_ADDED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MANAGED_PROFILE_ADDED => + _id_ACTION_MANAGED_PROFILE_ADDED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MANAGED_PROFILE_AVAILABLE = _class.staticFieldId( - r"ACTION_MANAGED_PROFILE_AVAILABLE", - r"Ljava/lang/String;", + r'ACTION_MANAGED_PROFILE_AVAILABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGED_PROFILE_AVAILABLE + /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_AVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGED_PROFILE_AVAILABLE => - _id_ACTION_MANAGED_PROFILE_AVAILABLE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MANAGED_PROFILE_AVAILABLE => + _id_ACTION_MANAGED_PROFILE_AVAILABLE.get( + _class, const _$jni.JStringType()); static final _id_ACTION_MANAGED_PROFILE_REMOVED = _class.staticFieldId( - r"ACTION_MANAGED_PROFILE_REMOVED", - r"Ljava/lang/String;", + r'ACTION_MANAGED_PROFILE_REMOVED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGED_PROFILE_REMOVED + /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGED_PROFILE_REMOVED => - _id_ACTION_MANAGED_PROFILE_REMOVED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MANAGED_PROFILE_REMOVED => + _id_ACTION_MANAGED_PROFILE_REMOVED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MANAGED_PROFILE_UNAVAILABLE = _class.staticFieldId( - r"ACTION_MANAGED_PROFILE_UNAVAILABLE", - r"Ljava/lang/String;", + r'ACTION_MANAGED_PROFILE_UNAVAILABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGED_PROFILE_UNAVAILABLE + /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_UNAVAILABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGED_PROFILE_UNAVAILABLE => + static _$jni.JString get ACTION_MANAGED_PROFILE_UNAVAILABLE => _id_ACTION_MANAGED_PROFILE_UNAVAILABLE.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_MANAGED_PROFILE_UNLOCKED = _class.staticFieldId( - r"ACTION_MANAGED_PROFILE_UNLOCKED", - r"Ljava/lang/String;", + r'ACTION_MANAGED_PROFILE_UNLOCKED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGED_PROFILE_UNLOCKED + /// from: `static public final java.lang.String ACTION_MANAGED_PROFILE_UNLOCKED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGED_PROFILE_UNLOCKED => - _id_ACTION_MANAGED_PROFILE_UNLOCKED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MANAGED_PROFILE_UNLOCKED => + _id_ACTION_MANAGED_PROFILE_UNLOCKED.get( + _class, const _$jni.JStringType()); static final _id_ACTION_MANAGE_NETWORK_USAGE = _class.staticFieldId( - r"ACTION_MANAGE_NETWORK_USAGE", - r"Ljava/lang/String;", + r'ACTION_MANAGE_NETWORK_USAGE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGE_NETWORK_USAGE + /// from: `static public final java.lang.String ACTION_MANAGE_NETWORK_USAGE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGE_NETWORK_USAGE => - _id_ACTION_MANAGE_NETWORK_USAGE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MANAGE_NETWORK_USAGE => + _id_ACTION_MANAGE_NETWORK_USAGE.get(_class, const _$jni.JStringType()); static final _id_ACTION_MANAGE_PACKAGE_STORAGE = _class.staticFieldId( - r"ACTION_MANAGE_PACKAGE_STORAGE", - r"Ljava/lang/String;", + r'ACTION_MANAGE_PACKAGE_STORAGE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGE_PACKAGE_STORAGE + /// from: `static public final java.lang.String ACTION_MANAGE_PACKAGE_STORAGE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGE_PACKAGE_STORAGE => - _id_ACTION_MANAGE_PACKAGE_STORAGE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MANAGE_PACKAGE_STORAGE => + _id_ACTION_MANAGE_PACKAGE_STORAGE.get(_class, const _$jni.JStringType()); static final _id_ACTION_MANAGE_UNUSED_APPS = _class.staticFieldId( - r"ACTION_MANAGE_UNUSED_APPS", - r"Ljava/lang/String;", + r'ACTION_MANAGE_UNUSED_APPS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MANAGE_UNUSED_APPS + /// from: `static public final java.lang.String ACTION_MANAGE_UNUSED_APPS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MANAGE_UNUSED_APPS => - _id_ACTION_MANAGE_UNUSED_APPS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MANAGE_UNUSED_APPS => + _id_ACTION_MANAGE_UNUSED_APPS.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_BAD_REMOVAL = _class.staticFieldId( - r"ACTION_MEDIA_BAD_REMOVAL", - r"Ljava/lang/String;", + r'ACTION_MEDIA_BAD_REMOVAL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_BAD_REMOVAL + /// from: `static public final java.lang.String ACTION_MEDIA_BAD_REMOVAL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_BAD_REMOVAL => - _id_ACTION_MEDIA_BAD_REMOVAL.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_BAD_REMOVAL => + _id_ACTION_MEDIA_BAD_REMOVAL.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_BUTTON = _class.staticFieldId( - r"ACTION_MEDIA_BUTTON", - r"Ljava/lang/String;", + r'ACTION_MEDIA_BUTTON', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_BUTTON + /// from: `static public final java.lang.String ACTION_MEDIA_BUTTON` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_BUTTON => - _id_ACTION_MEDIA_BUTTON.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_BUTTON => + _id_ACTION_MEDIA_BUTTON.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_CHECKING = _class.staticFieldId( - r"ACTION_MEDIA_CHECKING", - r"Ljava/lang/String;", + r'ACTION_MEDIA_CHECKING', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_CHECKING + /// from: `static public final java.lang.String ACTION_MEDIA_CHECKING` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_CHECKING => - _id_ACTION_MEDIA_CHECKING.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_CHECKING => + _id_ACTION_MEDIA_CHECKING.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_EJECT = _class.staticFieldId( - r"ACTION_MEDIA_EJECT", - r"Ljava/lang/String;", + r'ACTION_MEDIA_EJECT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_EJECT + /// from: `static public final java.lang.String ACTION_MEDIA_EJECT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_EJECT => - _id_ACTION_MEDIA_EJECT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_EJECT => + _id_ACTION_MEDIA_EJECT.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_MOUNTED = _class.staticFieldId( - r"ACTION_MEDIA_MOUNTED", - r"Ljava/lang/String;", + r'ACTION_MEDIA_MOUNTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_MOUNTED + /// from: `static public final java.lang.String ACTION_MEDIA_MOUNTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_MOUNTED => - _id_ACTION_MEDIA_MOUNTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_MOUNTED => + _id_ACTION_MEDIA_MOUNTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_NOFS = _class.staticFieldId( - r"ACTION_MEDIA_NOFS", - r"Ljava/lang/String;", + r'ACTION_MEDIA_NOFS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_NOFS + /// from: `static public final java.lang.String ACTION_MEDIA_NOFS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_NOFS => - _id_ACTION_MEDIA_NOFS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_NOFS => + _id_ACTION_MEDIA_NOFS.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_REMOVED = _class.staticFieldId( - r"ACTION_MEDIA_REMOVED", - r"Ljava/lang/String;", + r'ACTION_MEDIA_REMOVED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_REMOVED + /// from: `static public final java.lang.String ACTION_MEDIA_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_REMOVED => - _id_ACTION_MEDIA_REMOVED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_REMOVED => + _id_ACTION_MEDIA_REMOVED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_SCANNER_FINISHED = _class.staticFieldId( - r"ACTION_MEDIA_SCANNER_FINISHED", - r"Ljava/lang/String;", + r'ACTION_MEDIA_SCANNER_FINISHED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_SCANNER_FINISHED + /// from: `static public final java.lang.String ACTION_MEDIA_SCANNER_FINISHED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_SCANNER_FINISHED => - _id_ACTION_MEDIA_SCANNER_FINISHED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_SCANNER_FINISHED => + _id_ACTION_MEDIA_SCANNER_FINISHED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_SCANNER_SCAN_FILE = _class.staticFieldId( - r"ACTION_MEDIA_SCANNER_SCAN_FILE", - r"Ljava/lang/String;", + r'ACTION_MEDIA_SCANNER_SCAN_FILE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_SCANNER_SCAN_FILE + /// from: `static public final java.lang.String ACTION_MEDIA_SCANNER_SCAN_FILE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_SCANNER_SCAN_FILE => - _id_ACTION_MEDIA_SCANNER_SCAN_FILE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_SCANNER_SCAN_FILE => + _id_ACTION_MEDIA_SCANNER_SCAN_FILE.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_SCANNER_STARTED = _class.staticFieldId( - r"ACTION_MEDIA_SCANNER_STARTED", - r"Ljava/lang/String;", + r'ACTION_MEDIA_SCANNER_STARTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_SCANNER_STARTED + /// from: `static public final java.lang.String ACTION_MEDIA_SCANNER_STARTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_SCANNER_STARTED => - _id_ACTION_MEDIA_SCANNER_STARTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_SCANNER_STARTED => + _id_ACTION_MEDIA_SCANNER_STARTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_SHARED = _class.staticFieldId( - r"ACTION_MEDIA_SHARED", - r"Ljava/lang/String;", + r'ACTION_MEDIA_SHARED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_SHARED + /// from: `static public final java.lang.String ACTION_MEDIA_SHARED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_SHARED => - _id_ACTION_MEDIA_SHARED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_SHARED => + _id_ACTION_MEDIA_SHARED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_UNMOUNTABLE = _class.staticFieldId( - r"ACTION_MEDIA_UNMOUNTABLE", - r"Ljava/lang/String;", + r'ACTION_MEDIA_UNMOUNTABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_UNMOUNTABLE + /// from: `static public final java.lang.String ACTION_MEDIA_UNMOUNTABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_UNMOUNTABLE => - _id_ACTION_MEDIA_UNMOUNTABLE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_UNMOUNTABLE => + _id_ACTION_MEDIA_UNMOUNTABLE.get(_class, const _$jni.JStringType()); static final _id_ACTION_MEDIA_UNMOUNTED = _class.staticFieldId( - r"ACTION_MEDIA_UNMOUNTED", - r"Ljava/lang/String;", + r'ACTION_MEDIA_UNMOUNTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MEDIA_UNMOUNTED + /// from: `static public final java.lang.String ACTION_MEDIA_UNMOUNTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MEDIA_UNMOUNTED => - _id_ACTION_MEDIA_UNMOUNTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MEDIA_UNMOUNTED => + _id_ACTION_MEDIA_UNMOUNTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MY_PACKAGE_REPLACED = _class.staticFieldId( - r"ACTION_MY_PACKAGE_REPLACED", - r"Ljava/lang/String;", + r'ACTION_MY_PACKAGE_REPLACED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MY_PACKAGE_REPLACED + /// from: `static public final java.lang.String ACTION_MY_PACKAGE_REPLACED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MY_PACKAGE_REPLACED => - _id_ACTION_MY_PACKAGE_REPLACED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MY_PACKAGE_REPLACED => + _id_ACTION_MY_PACKAGE_REPLACED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MY_PACKAGE_SUSPENDED = _class.staticFieldId( - r"ACTION_MY_PACKAGE_SUSPENDED", - r"Ljava/lang/String;", + r'ACTION_MY_PACKAGE_SUSPENDED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MY_PACKAGE_SUSPENDED + /// from: `static public final java.lang.String ACTION_MY_PACKAGE_SUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MY_PACKAGE_SUSPENDED => - _id_ACTION_MY_PACKAGE_SUSPENDED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MY_PACKAGE_SUSPENDED => + _id_ACTION_MY_PACKAGE_SUSPENDED.get(_class, const _$jni.JStringType()); static final _id_ACTION_MY_PACKAGE_UNSUSPENDED = _class.staticFieldId( - r"ACTION_MY_PACKAGE_UNSUSPENDED", - r"Ljava/lang/String;", + r'ACTION_MY_PACKAGE_UNSUSPENDED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_MY_PACKAGE_UNSUSPENDED + /// from: `static public final java.lang.String ACTION_MY_PACKAGE_UNSUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_MY_PACKAGE_UNSUSPENDED => - _id_ACTION_MY_PACKAGE_UNSUSPENDED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_MY_PACKAGE_UNSUSPENDED => + _id_ACTION_MY_PACKAGE_UNSUSPENDED.get(_class, const _$jni.JStringType()); static final _id_ACTION_NEW_OUTGOING_CALL = _class.staticFieldId( - r"ACTION_NEW_OUTGOING_CALL", - r"Ljava/lang/String;", + r'ACTION_NEW_OUTGOING_CALL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_NEW_OUTGOING_CALL + /// from: `static public final java.lang.String ACTION_NEW_OUTGOING_CALL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_NEW_OUTGOING_CALL => - _id_ACTION_NEW_OUTGOING_CALL.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_NEW_OUTGOING_CALL => + _id_ACTION_NEW_OUTGOING_CALL.get(_class, const _$jni.JStringType()); static final _id_ACTION_OPEN_DOCUMENT = _class.staticFieldId( - r"ACTION_OPEN_DOCUMENT", - r"Ljava/lang/String;", + r'ACTION_OPEN_DOCUMENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_OPEN_DOCUMENT + /// from: `static public final java.lang.String ACTION_OPEN_DOCUMENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_OPEN_DOCUMENT => - _id_ACTION_OPEN_DOCUMENT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_OPEN_DOCUMENT => + _id_ACTION_OPEN_DOCUMENT.get(_class, const _$jni.JStringType()); static final _id_ACTION_OPEN_DOCUMENT_TREE = _class.staticFieldId( - r"ACTION_OPEN_DOCUMENT_TREE", - r"Ljava/lang/String;", + r'ACTION_OPEN_DOCUMENT_TREE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_OPEN_DOCUMENT_TREE + /// from: `static public final java.lang.String ACTION_OPEN_DOCUMENT_TREE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_OPEN_DOCUMENT_TREE => - _id_ACTION_OPEN_DOCUMENT_TREE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_OPEN_DOCUMENT_TREE => + _id_ACTION_OPEN_DOCUMENT_TREE.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGES_SUSPENDED = _class.staticFieldId( - r"ACTION_PACKAGES_SUSPENDED", - r"Ljava/lang/String;", + r'ACTION_PACKAGES_SUSPENDED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGES_SUSPENDED + /// from: `static public final java.lang.String ACTION_PACKAGES_SUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGES_SUSPENDED => - _id_ACTION_PACKAGES_SUSPENDED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGES_SUSPENDED => + _id_ACTION_PACKAGES_SUSPENDED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGES_UNSUSPENDED = _class.staticFieldId( - r"ACTION_PACKAGES_UNSUSPENDED", - r"Ljava/lang/String;", + r'ACTION_PACKAGES_UNSUSPENDED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGES_UNSUSPENDED + /// from: `static public final java.lang.String ACTION_PACKAGES_UNSUSPENDED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGES_UNSUSPENDED => - _id_ACTION_PACKAGES_UNSUSPENDED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGES_UNSUSPENDED => + _id_ACTION_PACKAGES_UNSUSPENDED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_ADDED = _class.staticFieldId( - r"ACTION_PACKAGE_ADDED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_ADDED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_ADDED + /// from: `static public final java.lang.String ACTION_PACKAGE_ADDED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_ADDED => - _id_ACTION_PACKAGE_ADDED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_ADDED => + _id_ACTION_PACKAGE_ADDED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_CHANGED = _class.staticFieldId( - r"ACTION_PACKAGE_CHANGED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_CHANGED + /// from: `static public final java.lang.String ACTION_PACKAGE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_CHANGED => - _id_ACTION_PACKAGE_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_CHANGED => + _id_ACTION_PACKAGE_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_DATA_CLEARED = _class.staticFieldId( - r"ACTION_PACKAGE_DATA_CLEARED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_DATA_CLEARED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_DATA_CLEARED + /// from: `static public final java.lang.String ACTION_PACKAGE_DATA_CLEARED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_DATA_CLEARED => - _id_ACTION_PACKAGE_DATA_CLEARED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_DATA_CLEARED => + _id_ACTION_PACKAGE_DATA_CLEARED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_FIRST_LAUNCH = _class.staticFieldId( - r"ACTION_PACKAGE_FIRST_LAUNCH", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_FIRST_LAUNCH', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_FIRST_LAUNCH + /// from: `static public final java.lang.String ACTION_PACKAGE_FIRST_LAUNCH` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_FIRST_LAUNCH => - _id_ACTION_PACKAGE_FIRST_LAUNCH.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_FIRST_LAUNCH => + _id_ACTION_PACKAGE_FIRST_LAUNCH.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_FULLY_REMOVED = _class.staticFieldId( - r"ACTION_PACKAGE_FULLY_REMOVED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_FULLY_REMOVED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_FULLY_REMOVED + /// from: `static public final java.lang.String ACTION_PACKAGE_FULLY_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_FULLY_REMOVED => - _id_ACTION_PACKAGE_FULLY_REMOVED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_FULLY_REMOVED => + _id_ACTION_PACKAGE_FULLY_REMOVED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_INSTALL = _class.staticFieldId( - r"ACTION_PACKAGE_INSTALL", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_INSTALL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_INSTALL + /// from: `static public final java.lang.String ACTION_PACKAGE_INSTALL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_INSTALL => - _id_ACTION_PACKAGE_INSTALL.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_INSTALL => + _id_ACTION_PACKAGE_INSTALL.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_NEEDS_VERIFICATION = _class.staticFieldId( - r"ACTION_PACKAGE_NEEDS_VERIFICATION", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_NEEDS_VERIFICATION', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_NEEDS_VERIFICATION + /// from: `static public final java.lang.String ACTION_PACKAGE_NEEDS_VERIFICATION` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_NEEDS_VERIFICATION => + static _$jni.JString get ACTION_PACKAGE_NEEDS_VERIFICATION => _id_ACTION_PACKAGE_NEEDS_VERIFICATION.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_REMOVED = _class.staticFieldId( - r"ACTION_PACKAGE_REMOVED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_REMOVED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_REMOVED + /// from: `static public final java.lang.String ACTION_PACKAGE_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_REMOVED => - _id_ACTION_PACKAGE_REMOVED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_REMOVED => + _id_ACTION_PACKAGE_REMOVED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_REPLACED = _class.staticFieldId( - r"ACTION_PACKAGE_REPLACED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_REPLACED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_REPLACED + /// from: `static public final java.lang.String ACTION_PACKAGE_REPLACED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_REPLACED => - _id_ACTION_PACKAGE_REPLACED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_REPLACED => + _id_ACTION_PACKAGE_REPLACED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_RESTARTED = _class.staticFieldId( - r"ACTION_PACKAGE_RESTARTED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_RESTARTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_RESTARTED + /// from: `static public final java.lang.String ACTION_PACKAGE_RESTARTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_RESTARTED => - _id_ACTION_PACKAGE_RESTARTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_RESTARTED => + _id_ACTION_PACKAGE_RESTARTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PACKAGE_VERIFIED = _class.staticFieldId( - r"ACTION_PACKAGE_VERIFIED", - r"Ljava/lang/String;", + r'ACTION_PACKAGE_VERIFIED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PACKAGE_VERIFIED + /// from: `static public final java.lang.String ACTION_PACKAGE_VERIFIED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PACKAGE_VERIFIED => - _id_ACTION_PACKAGE_VERIFIED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PACKAGE_VERIFIED => + _id_ACTION_PACKAGE_VERIFIED.get(_class, const _$jni.JStringType()); static final _id_ACTION_PASTE = _class.staticFieldId( - r"ACTION_PASTE", - r"Ljava/lang/String;", + r'ACTION_PASTE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PASTE + /// from: `static public final java.lang.String ACTION_PASTE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PASTE => - _id_ACTION_PASTE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PASTE => + _id_ACTION_PASTE.get(_class, const _$jni.JStringType()); static final _id_ACTION_PICK = _class.staticFieldId( - r"ACTION_PICK", - r"Ljava/lang/String;", + r'ACTION_PICK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PICK + /// from: `static public final java.lang.String ACTION_PICK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PICK => - _id_ACTION_PICK.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PICK => + _id_ACTION_PICK.get(_class, const _$jni.JStringType()); static final _id_ACTION_PICK_ACTIVITY = _class.staticFieldId( - r"ACTION_PICK_ACTIVITY", - r"Ljava/lang/String;", + r'ACTION_PICK_ACTIVITY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PICK_ACTIVITY + /// from: `static public final java.lang.String ACTION_PICK_ACTIVITY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PICK_ACTIVITY => - _id_ACTION_PICK_ACTIVITY.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PICK_ACTIVITY => + _id_ACTION_PICK_ACTIVITY.get(_class, const _$jni.JStringType()); static final _id_ACTION_POWER_CONNECTED = _class.staticFieldId( - r"ACTION_POWER_CONNECTED", - r"Ljava/lang/String;", + r'ACTION_POWER_CONNECTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_POWER_CONNECTED + /// from: `static public final java.lang.String ACTION_POWER_CONNECTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_POWER_CONNECTED => - _id_ACTION_POWER_CONNECTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_POWER_CONNECTED => + _id_ACTION_POWER_CONNECTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_POWER_DISCONNECTED = _class.staticFieldId( - r"ACTION_POWER_DISCONNECTED", - r"Ljava/lang/String;", + r'ACTION_POWER_DISCONNECTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_POWER_DISCONNECTED + /// from: `static public final java.lang.String ACTION_POWER_DISCONNECTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_POWER_DISCONNECTED => - _id_ACTION_POWER_DISCONNECTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_POWER_DISCONNECTED => + _id_ACTION_POWER_DISCONNECTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_POWER_USAGE_SUMMARY = _class.staticFieldId( - r"ACTION_POWER_USAGE_SUMMARY", - r"Ljava/lang/String;", + r'ACTION_POWER_USAGE_SUMMARY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_POWER_USAGE_SUMMARY + /// from: `static public final java.lang.String ACTION_POWER_USAGE_SUMMARY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_POWER_USAGE_SUMMARY => - _id_ACTION_POWER_USAGE_SUMMARY.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_POWER_USAGE_SUMMARY => + _id_ACTION_POWER_USAGE_SUMMARY.get(_class, const _$jni.JStringType()); static final _id_ACTION_PROCESS_TEXT = _class.staticFieldId( - r"ACTION_PROCESS_TEXT", - r"Ljava/lang/String;", + r'ACTION_PROCESS_TEXT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PROCESS_TEXT + /// from: `static public final java.lang.String ACTION_PROCESS_TEXT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PROCESS_TEXT => - _id_ACTION_PROCESS_TEXT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PROCESS_TEXT => + _id_ACTION_PROCESS_TEXT.get(_class, const _$jni.JStringType()); static final _id_ACTION_PROFILE_ACCESSIBLE = _class.staticFieldId( - r"ACTION_PROFILE_ACCESSIBLE", - r"Ljava/lang/String;", + r'ACTION_PROFILE_ACCESSIBLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PROFILE_ACCESSIBLE + /// from: `static public final java.lang.String ACTION_PROFILE_ACCESSIBLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PROFILE_ACCESSIBLE => - _id_ACTION_PROFILE_ACCESSIBLE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PROFILE_ACCESSIBLE => + _id_ACTION_PROFILE_ACCESSIBLE.get(_class, const _$jni.JStringType()); static final _id_ACTION_PROFILE_INACCESSIBLE = _class.staticFieldId( - r"ACTION_PROFILE_INACCESSIBLE", - r"Ljava/lang/String;", + r'ACTION_PROFILE_INACCESSIBLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PROFILE_INACCESSIBLE + /// from: `static public final java.lang.String ACTION_PROFILE_INACCESSIBLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PROFILE_INACCESSIBLE => - _id_ACTION_PROFILE_INACCESSIBLE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PROFILE_INACCESSIBLE => + _id_ACTION_PROFILE_INACCESSIBLE.get(_class, const _$jni.JStringType()); static final _id_ACTION_PROVIDER_CHANGED = _class.staticFieldId( - r"ACTION_PROVIDER_CHANGED", - r"Ljava/lang/String;", + r'ACTION_PROVIDER_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_PROVIDER_CHANGED + /// from: `static public final java.lang.String ACTION_PROVIDER_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_PROVIDER_CHANGED => - _id_ACTION_PROVIDER_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_PROVIDER_CHANGED => + _id_ACTION_PROVIDER_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_QUICK_CLOCK = _class.staticFieldId( - r"ACTION_QUICK_CLOCK", - r"Ljava/lang/String;", + r'ACTION_QUICK_CLOCK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_QUICK_CLOCK + /// from: `static public final java.lang.String ACTION_QUICK_CLOCK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_QUICK_CLOCK => - _id_ACTION_QUICK_CLOCK.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_QUICK_CLOCK => + _id_ACTION_QUICK_CLOCK.get(_class, const _$jni.JStringType()); static final _id_ACTION_QUICK_VIEW = _class.staticFieldId( - r"ACTION_QUICK_VIEW", - r"Ljava/lang/String;", + r'ACTION_QUICK_VIEW', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_QUICK_VIEW + /// from: `static public final java.lang.String ACTION_QUICK_VIEW` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_QUICK_VIEW => - _id_ACTION_QUICK_VIEW.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_QUICK_VIEW => + _id_ACTION_QUICK_VIEW.get(_class, const _$jni.JStringType()); static final _id_ACTION_REBOOT = _class.staticFieldId( - r"ACTION_REBOOT", - r"Ljava/lang/String;", + r'ACTION_REBOOT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_REBOOT + /// from: `static public final java.lang.String ACTION_REBOOT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_REBOOT => - _id_ACTION_REBOOT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_REBOOT => + _id_ACTION_REBOOT.get(_class, const _$jni.JStringType()); static final _id_ACTION_RUN = _class.staticFieldId( - r"ACTION_RUN", - r"Ljava/lang/String;", + r'ACTION_RUN', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_RUN + /// from: `static public final java.lang.String ACTION_RUN` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_RUN => - _id_ACTION_RUN.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_RUN => + _id_ACTION_RUN.get(_class, const _$jni.JStringType()); static final _id_ACTION_SAFETY_CENTER = _class.staticFieldId( - r"ACTION_SAFETY_CENTER", - r"Ljava/lang/String;", + r'ACTION_SAFETY_CENTER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SAFETY_CENTER + /// from: `static public final java.lang.String ACTION_SAFETY_CENTER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SAFETY_CENTER => - _id_ACTION_SAFETY_CENTER.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SAFETY_CENTER => + _id_ACTION_SAFETY_CENTER.get(_class, const _$jni.JStringType()); static final _id_ACTION_SCREEN_OFF = _class.staticFieldId( - r"ACTION_SCREEN_OFF", - r"Ljava/lang/String;", + r'ACTION_SCREEN_OFF', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SCREEN_OFF + /// from: `static public final java.lang.String ACTION_SCREEN_OFF` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SCREEN_OFF => - _id_ACTION_SCREEN_OFF.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SCREEN_OFF => + _id_ACTION_SCREEN_OFF.get(_class, const _$jni.JStringType()); static final _id_ACTION_SCREEN_ON = _class.staticFieldId( - r"ACTION_SCREEN_ON", - r"Ljava/lang/String;", + r'ACTION_SCREEN_ON', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SCREEN_ON + /// from: `static public final java.lang.String ACTION_SCREEN_ON` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SCREEN_ON => - _id_ACTION_SCREEN_ON.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SCREEN_ON => + _id_ACTION_SCREEN_ON.get(_class, const _$jni.JStringType()); static final _id_ACTION_SEARCH = _class.staticFieldId( - r"ACTION_SEARCH", - r"Ljava/lang/String;", + r'ACTION_SEARCH', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SEARCH + /// from: `static public final java.lang.String ACTION_SEARCH` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SEARCH => - _id_ACTION_SEARCH.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SEARCH => + _id_ACTION_SEARCH.get(_class, const _$jni.JStringType()); static final _id_ACTION_SEARCH_LONG_PRESS = _class.staticFieldId( - r"ACTION_SEARCH_LONG_PRESS", - r"Ljava/lang/String;", + r'ACTION_SEARCH_LONG_PRESS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SEARCH_LONG_PRESS + /// from: `static public final java.lang.String ACTION_SEARCH_LONG_PRESS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SEARCH_LONG_PRESS => - _id_ACTION_SEARCH_LONG_PRESS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SEARCH_LONG_PRESS => + _id_ACTION_SEARCH_LONG_PRESS.get(_class, const _$jni.JStringType()); static final _id_ACTION_SEND = _class.staticFieldId( - r"ACTION_SEND", - r"Ljava/lang/String;", + r'ACTION_SEND', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SEND + /// from: `static public final java.lang.String ACTION_SEND` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SEND => - _id_ACTION_SEND.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SEND => + _id_ACTION_SEND.get(_class, const _$jni.JStringType()); static final _id_ACTION_SENDTO = _class.staticFieldId( - r"ACTION_SENDTO", - r"Ljava/lang/String;", + r'ACTION_SENDTO', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SENDTO + /// from: `static public final java.lang.String ACTION_SENDTO` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SENDTO => - _id_ACTION_SENDTO.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SENDTO => + _id_ACTION_SENDTO.get(_class, const _$jni.JStringType()); static final _id_ACTION_SEND_MULTIPLE = _class.staticFieldId( - r"ACTION_SEND_MULTIPLE", - r"Ljava/lang/String;", + r'ACTION_SEND_MULTIPLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SEND_MULTIPLE + /// from: `static public final java.lang.String ACTION_SEND_MULTIPLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SEND_MULTIPLE => - _id_ACTION_SEND_MULTIPLE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SEND_MULTIPLE => + _id_ACTION_SEND_MULTIPLE.get(_class, const _$jni.JStringType()); static final _id_ACTION_SET_WALLPAPER = _class.staticFieldId( - r"ACTION_SET_WALLPAPER", - r"Ljava/lang/String;", + r'ACTION_SET_WALLPAPER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SET_WALLPAPER + /// from: `static public final java.lang.String ACTION_SET_WALLPAPER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SET_WALLPAPER => - _id_ACTION_SET_WALLPAPER.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SET_WALLPAPER => + _id_ACTION_SET_WALLPAPER.get(_class, const _$jni.JStringType()); static final _id_ACTION_SHOW_APP_INFO = _class.staticFieldId( - r"ACTION_SHOW_APP_INFO", - r"Ljava/lang/String;", + r'ACTION_SHOW_APP_INFO', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SHOW_APP_INFO + /// from: `static public final java.lang.String ACTION_SHOW_APP_INFO` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SHOW_APP_INFO => - _id_ACTION_SHOW_APP_INFO.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SHOW_APP_INFO => + _id_ACTION_SHOW_APP_INFO.get(_class, const _$jni.JStringType()); static final _id_ACTION_SHOW_WORK_APPS = _class.staticFieldId( - r"ACTION_SHOW_WORK_APPS", - r"Ljava/lang/String;", + r'ACTION_SHOW_WORK_APPS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SHOW_WORK_APPS + /// from: `static public final java.lang.String ACTION_SHOW_WORK_APPS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SHOW_WORK_APPS => - _id_ACTION_SHOW_WORK_APPS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SHOW_WORK_APPS => + _id_ACTION_SHOW_WORK_APPS.get(_class, const _$jni.JStringType()); static final _id_ACTION_SHUTDOWN = _class.staticFieldId( - r"ACTION_SHUTDOWN", - r"Ljava/lang/String;", + r'ACTION_SHUTDOWN', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SHUTDOWN + /// from: `static public final java.lang.String ACTION_SHUTDOWN` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SHUTDOWN => - _id_ACTION_SHUTDOWN.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SHUTDOWN => + _id_ACTION_SHUTDOWN.get(_class, const _$jni.JStringType()); static final _id_ACTION_SYNC = _class.staticFieldId( - r"ACTION_SYNC", - r"Ljava/lang/String;", + r'ACTION_SYNC', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SYNC + /// from: `static public final java.lang.String ACTION_SYNC` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SYNC => - _id_ACTION_SYNC.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SYNC => + _id_ACTION_SYNC.get(_class, const _$jni.JStringType()); static final _id_ACTION_SYSTEM_TUTORIAL = _class.staticFieldId( - r"ACTION_SYSTEM_TUTORIAL", - r"Ljava/lang/String;", + r'ACTION_SYSTEM_TUTORIAL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_SYSTEM_TUTORIAL + /// from: `static public final java.lang.String ACTION_SYSTEM_TUTORIAL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_SYSTEM_TUTORIAL => - _id_ACTION_SYSTEM_TUTORIAL.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_SYSTEM_TUTORIAL => + _id_ACTION_SYSTEM_TUTORIAL.get(_class, const _$jni.JStringType()); static final _id_ACTION_TIMEZONE_CHANGED = _class.staticFieldId( - r"ACTION_TIMEZONE_CHANGED", - r"Ljava/lang/String;", + r'ACTION_TIMEZONE_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_TIMEZONE_CHANGED + /// from: `static public final java.lang.String ACTION_TIMEZONE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_TIMEZONE_CHANGED => - _id_ACTION_TIMEZONE_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_TIMEZONE_CHANGED => + _id_ACTION_TIMEZONE_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_TIME_CHANGED = _class.staticFieldId( - r"ACTION_TIME_CHANGED", - r"Ljava/lang/String;", + r'ACTION_TIME_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_TIME_CHANGED + /// from: `static public final java.lang.String ACTION_TIME_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_TIME_CHANGED => - _id_ACTION_TIME_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_TIME_CHANGED => + _id_ACTION_TIME_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_TIME_TICK = _class.staticFieldId( - r"ACTION_TIME_TICK", - r"Ljava/lang/String;", + r'ACTION_TIME_TICK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_TIME_TICK + /// from: `static public final java.lang.String ACTION_TIME_TICK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_TIME_TICK => - _id_ACTION_TIME_TICK.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_TIME_TICK => + _id_ACTION_TIME_TICK.get(_class, const _$jni.JStringType()); static final _id_ACTION_TRANSLATE = _class.staticFieldId( - r"ACTION_TRANSLATE", - r"Ljava/lang/String;", + r'ACTION_TRANSLATE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_TRANSLATE + /// from: `static public final java.lang.String ACTION_TRANSLATE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_TRANSLATE => - _id_ACTION_TRANSLATE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_TRANSLATE => + _id_ACTION_TRANSLATE.get(_class, const _$jni.JStringType()); static final _id_ACTION_UID_REMOVED = _class.staticFieldId( - r"ACTION_UID_REMOVED", - r"Ljava/lang/String;", + r'ACTION_UID_REMOVED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_UID_REMOVED + /// from: `static public final java.lang.String ACTION_UID_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_UID_REMOVED => - _id_ACTION_UID_REMOVED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_UID_REMOVED => + _id_ACTION_UID_REMOVED.get(_class, const _$jni.JStringType()); static final _id_ACTION_UMS_CONNECTED = _class.staticFieldId( - r"ACTION_UMS_CONNECTED", - r"Ljava/lang/String;", + r'ACTION_UMS_CONNECTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_UMS_CONNECTED + /// from: `static public final java.lang.String ACTION_UMS_CONNECTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_UMS_CONNECTED => - _id_ACTION_UMS_CONNECTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_UMS_CONNECTED => + _id_ACTION_UMS_CONNECTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_UMS_DISCONNECTED = _class.staticFieldId( - r"ACTION_UMS_DISCONNECTED", - r"Ljava/lang/String;", + r'ACTION_UMS_DISCONNECTED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_UMS_DISCONNECTED + /// from: `static public final java.lang.String ACTION_UMS_DISCONNECTED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_UMS_DISCONNECTED => - _id_ACTION_UMS_DISCONNECTED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_UMS_DISCONNECTED => + _id_ACTION_UMS_DISCONNECTED.get(_class, const _$jni.JStringType()); static final _id_ACTION_UNINSTALL_PACKAGE = _class.staticFieldId( - r"ACTION_UNINSTALL_PACKAGE", - r"Ljava/lang/String;", + r'ACTION_UNINSTALL_PACKAGE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_UNINSTALL_PACKAGE + /// from: `static public final java.lang.String ACTION_UNINSTALL_PACKAGE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_UNINSTALL_PACKAGE => - _id_ACTION_UNINSTALL_PACKAGE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_UNINSTALL_PACKAGE => + _id_ACTION_UNINSTALL_PACKAGE.get(_class, const _$jni.JStringType()); static final _id_ACTION_USER_BACKGROUND = _class.staticFieldId( - r"ACTION_USER_BACKGROUND", - r"Ljava/lang/String;", + r'ACTION_USER_BACKGROUND', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_USER_BACKGROUND + /// from: `static public final java.lang.String ACTION_USER_BACKGROUND` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_USER_BACKGROUND => - _id_ACTION_USER_BACKGROUND.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_USER_BACKGROUND => + _id_ACTION_USER_BACKGROUND.get(_class, const _$jni.JStringType()); static final _id_ACTION_USER_FOREGROUND = _class.staticFieldId( - r"ACTION_USER_FOREGROUND", - r"Ljava/lang/String;", + r'ACTION_USER_FOREGROUND', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_USER_FOREGROUND + /// from: `static public final java.lang.String ACTION_USER_FOREGROUND` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_USER_FOREGROUND => - _id_ACTION_USER_FOREGROUND.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_USER_FOREGROUND => + _id_ACTION_USER_FOREGROUND.get(_class, const _$jni.JStringType()); static final _id_ACTION_USER_INITIALIZE = _class.staticFieldId( - r"ACTION_USER_INITIALIZE", - r"Ljava/lang/String;", + r'ACTION_USER_INITIALIZE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_USER_INITIALIZE + /// from: `static public final java.lang.String ACTION_USER_INITIALIZE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_USER_INITIALIZE => - _id_ACTION_USER_INITIALIZE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_USER_INITIALIZE => + _id_ACTION_USER_INITIALIZE.get(_class, const _$jni.JStringType()); static final _id_ACTION_USER_PRESENT = _class.staticFieldId( - r"ACTION_USER_PRESENT", - r"Ljava/lang/String;", + r'ACTION_USER_PRESENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_USER_PRESENT + /// from: `static public final java.lang.String ACTION_USER_PRESENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_USER_PRESENT => - _id_ACTION_USER_PRESENT.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_USER_PRESENT => + _id_ACTION_USER_PRESENT.get(_class, const _$jni.JStringType()); static final _id_ACTION_USER_UNLOCKED = _class.staticFieldId( - r"ACTION_USER_UNLOCKED", - r"Ljava/lang/String;", + r'ACTION_USER_UNLOCKED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_USER_UNLOCKED + /// from: `static public final java.lang.String ACTION_USER_UNLOCKED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_USER_UNLOCKED => - _id_ACTION_USER_UNLOCKED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_USER_UNLOCKED => + _id_ACTION_USER_UNLOCKED.get(_class, const _$jni.JStringType()); static final _id_ACTION_VIEW = _class.staticFieldId( - r"ACTION_VIEW", - r"Ljava/lang/String;", + r'ACTION_VIEW', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_VIEW + /// from: `static public final java.lang.String ACTION_VIEW` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_VIEW => - _id_ACTION_VIEW.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_VIEW => + _id_ACTION_VIEW.get(_class, const _$jni.JStringType()); static final _id_ACTION_VIEW_LOCUS = _class.staticFieldId( - r"ACTION_VIEW_LOCUS", - r"Ljava/lang/String;", + r'ACTION_VIEW_LOCUS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_VIEW_LOCUS + /// from: `static public final java.lang.String ACTION_VIEW_LOCUS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_VIEW_LOCUS => - _id_ACTION_VIEW_LOCUS.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_VIEW_LOCUS => + _id_ACTION_VIEW_LOCUS.get(_class, const _$jni.JStringType()); static final _id_ACTION_VIEW_PERMISSION_USAGE = _class.staticFieldId( - r"ACTION_VIEW_PERMISSION_USAGE", - r"Ljava/lang/String;", + r'ACTION_VIEW_PERMISSION_USAGE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_VIEW_PERMISSION_USAGE + /// from: `static public final java.lang.String ACTION_VIEW_PERMISSION_USAGE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_VIEW_PERMISSION_USAGE => - _id_ACTION_VIEW_PERMISSION_USAGE.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_VIEW_PERMISSION_USAGE => + _id_ACTION_VIEW_PERMISSION_USAGE.get(_class, const _$jni.JStringType()); static final _id_ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD = _class.staticFieldId( - r"ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD", - r"Ljava/lang/String;", + r'ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD + /// from: `static public final java.lang.String ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD => + static _$jni.JString get ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD => _id_ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_ACTION_VOICE_COMMAND = _class.staticFieldId( - r"ACTION_VOICE_COMMAND", - r"Ljava/lang/String;", + r'ACTION_VOICE_COMMAND', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_VOICE_COMMAND + /// from: `static public final java.lang.String ACTION_VOICE_COMMAND` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_VOICE_COMMAND => - _id_ACTION_VOICE_COMMAND.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_VOICE_COMMAND => + _id_ACTION_VOICE_COMMAND.get(_class, const _$jni.JStringType()); static final _id_ACTION_WALLPAPER_CHANGED = _class.staticFieldId( - r"ACTION_WALLPAPER_CHANGED", - r"Ljava/lang/String;", + r'ACTION_WALLPAPER_CHANGED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_WALLPAPER_CHANGED + /// from: `static public final java.lang.String ACTION_WALLPAPER_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_WALLPAPER_CHANGED => - _id_ACTION_WALLPAPER_CHANGED.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_WALLPAPER_CHANGED => + _id_ACTION_WALLPAPER_CHANGED.get(_class, const _$jni.JStringType()); static final _id_ACTION_WEB_SEARCH = _class.staticFieldId( - r"ACTION_WEB_SEARCH", - r"Ljava/lang/String;", + r'ACTION_WEB_SEARCH', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ACTION_WEB_SEARCH + /// from: `static public final java.lang.String ACTION_WEB_SEARCH` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get ACTION_WEB_SEARCH => - _id_ACTION_WEB_SEARCH.get(_class, const jni.JStringType()); + static _$jni.JString get ACTION_WEB_SEARCH => + _id_ACTION_WEB_SEARCH.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET = _class.staticFieldId( - r"CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET", - r"Ljava/lang/String;", + r'CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET + /// from: `static public final java.lang.String CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET => + static _$jni.JString get CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET => _id_CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_CATEGORY_ALTERNATIVE = _class.staticFieldId( - r"CATEGORY_ALTERNATIVE", - r"Ljava/lang/String;", + r'CATEGORY_ALTERNATIVE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_ALTERNATIVE + /// from: `static public final java.lang.String CATEGORY_ALTERNATIVE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_ALTERNATIVE => - _id_CATEGORY_ALTERNATIVE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_ALTERNATIVE => + _id_CATEGORY_ALTERNATIVE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_BROWSER = _class.staticFieldId( - r"CATEGORY_APP_BROWSER", - r"Ljava/lang/String;", + r'CATEGORY_APP_BROWSER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_BROWSER + /// from: `static public final java.lang.String CATEGORY_APP_BROWSER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_BROWSER => - _id_CATEGORY_APP_BROWSER.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_BROWSER => + _id_CATEGORY_APP_BROWSER.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_CALCULATOR = _class.staticFieldId( - r"CATEGORY_APP_CALCULATOR", - r"Ljava/lang/String;", + r'CATEGORY_APP_CALCULATOR', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_CALCULATOR + /// from: `static public final java.lang.String CATEGORY_APP_CALCULATOR` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_CALCULATOR => - _id_CATEGORY_APP_CALCULATOR.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_CALCULATOR => + _id_CATEGORY_APP_CALCULATOR.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_CALENDAR = _class.staticFieldId( - r"CATEGORY_APP_CALENDAR", - r"Ljava/lang/String;", + r'CATEGORY_APP_CALENDAR', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_CALENDAR + /// from: `static public final java.lang.String CATEGORY_APP_CALENDAR` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_CALENDAR => - _id_CATEGORY_APP_CALENDAR.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_CALENDAR => + _id_CATEGORY_APP_CALENDAR.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_CONTACTS = _class.staticFieldId( - r"CATEGORY_APP_CONTACTS", - r"Ljava/lang/String;", + r'CATEGORY_APP_CONTACTS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_CONTACTS + /// from: `static public final java.lang.String CATEGORY_APP_CONTACTS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_CONTACTS => - _id_CATEGORY_APP_CONTACTS.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_CONTACTS => + _id_CATEGORY_APP_CONTACTS.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_EMAIL = _class.staticFieldId( - r"CATEGORY_APP_EMAIL", - r"Ljava/lang/String;", + r'CATEGORY_APP_EMAIL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_EMAIL + /// from: `static public final java.lang.String CATEGORY_APP_EMAIL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_EMAIL => - _id_CATEGORY_APP_EMAIL.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_EMAIL => + _id_CATEGORY_APP_EMAIL.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_FILES = _class.staticFieldId( - r"CATEGORY_APP_FILES", - r"Ljava/lang/String;", + r'CATEGORY_APP_FILES', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_FILES + /// from: `static public final java.lang.String CATEGORY_APP_FILES` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_FILES => - _id_CATEGORY_APP_FILES.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_FILES => + _id_CATEGORY_APP_FILES.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_FITNESS = _class.staticFieldId( - r"CATEGORY_APP_FITNESS", - r"Ljava/lang/String;", + r'CATEGORY_APP_FITNESS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_FITNESS + /// from: `static public final java.lang.String CATEGORY_APP_FITNESS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_FITNESS => - _id_CATEGORY_APP_FITNESS.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_FITNESS => + _id_CATEGORY_APP_FITNESS.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_GALLERY = _class.staticFieldId( - r"CATEGORY_APP_GALLERY", - r"Ljava/lang/String;", + r'CATEGORY_APP_GALLERY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_GALLERY + /// from: `static public final java.lang.String CATEGORY_APP_GALLERY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_GALLERY => - _id_CATEGORY_APP_GALLERY.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_GALLERY => + _id_CATEGORY_APP_GALLERY.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_MAPS = _class.staticFieldId( - r"CATEGORY_APP_MAPS", - r"Ljava/lang/String;", + r'CATEGORY_APP_MAPS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_MAPS + /// from: `static public final java.lang.String CATEGORY_APP_MAPS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_MAPS => - _id_CATEGORY_APP_MAPS.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_MAPS => + _id_CATEGORY_APP_MAPS.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_MARKET = _class.staticFieldId( - r"CATEGORY_APP_MARKET", - r"Ljava/lang/String;", + r'CATEGORY_APP_MARKET', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_MARKET + /// from: `static public final java.lang.String CATEGORY_APP_MARKET` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_MARKET => - _id_CATEGORY_APP_MARKET.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_MARKET => + _id_CATEGORY_APP_MARKET.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_MESSAGING = _class.staticFieldId( - r"CATEGORY_APP_MESSAGING", - r"Ljava/lang/String;", + r'CATEGORY_APP_MESSAGING', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_MESSAGING + /// from: `static public final java.lang.String CATEGORY_APP_MESSAGING` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_MESSAGING => - _id_CATEGORY_APP_MESSAGING.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_MESSAGING => + _id_CATEGORY_APP_MESSAGING.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_MUSIC = _class.staticFieldId( - r"CATEGORY_APP_MUSIC", - r"Ljava/lang/String;", + r'CATEGORY_APP_MUSIC', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_MUSIC + /// from: `static public final java.lang.String CATEGORY_APP_MUSIC` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_MUSIC => - _id_CATEGORY_APP_MUSIC.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_MUSIC => + _id_CATEGORY_APP_MUSIC.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_APP_WEATHER = _class.staticFieldId( - r"CATEGORY_APP_WEATHER", - r"Ljava/lang/String;", + r'CATEGORY_APP_WEATHER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_APP_WEATHER + /// from: `static public final java.lang.String CATEGORY_APP_WEATHER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_APP_WEATHER => - _id_CATEGORY_APP_WEATHER.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_APP_WEATHER => + _id_CATEGORY_APP_WEATHER.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_BROWSABLE = _class.staticFieldId( - r"CATEGORY_BROWSABLE", - r"Ljava/lang/String;", + r'CATEGORY_BROWSABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_BROWSABLE + /// from: `static public final java.lang.String CATEGORY_BROWSABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_BROWSABLE => - _id_CATEGORY_BROWSABLE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_BROWSABLE => + _id_CATEGORY_BROWSABLE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_CAR_DOCK = _class.staticFieldId( - r"CATEGORY_CAR_DOCK", - r"Ljava/lang/String;", + r'CATEGORY_CAR_DOCK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_CAR_DOCK + /// from: `static public final java.lang.String CATEGORY_CAR_DOCK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_CAR_DOCK => - _id_CATEGORY_CAR_DOCK.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_CAR_DOCK => + _id_CATEGORY_CAR_DOCK.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_CAR_MODE = _class.staticFieldId( - r"CATEGORY_CAR_MODE", - r"Ljava/lang/String;", + r'CATEGORY_CAR_MODE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_CAR_MODE + /// from: `static public final java.lang.String CATEGORY_CAR_MODE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_CAR_MODE => - _id_CATEGORY_CAR_MODE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_CAR_MODE => + _id_CATEGORY_CAR_MODE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_DEFAULT = _class.staticFieldId( - r"CATEGORY_DEFAULT", - r"Ljava/lang/String;", + r'CATEGORY_DEFAULT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_DEFAULT + /// from: `static public final java.lang.String CATEGORY_DEFAULT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_DEFAULT => - _id_CATEGORY_DEFAULT.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_DEFAULT => + _id_CATEGORY_DEFAULT.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_DESK_DOCK = _class.staticFieldId( - r"CATEGORY_DESK_DOCK", - r"Ljava/lang/String;", + r'CATEGORY_DESK_DOCK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_DESK_DOCK + /// from: `static public final java.lang.String CATEGORY_DESK_DOCK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_DESK_DOCK => - _id_CATEGORY_DESK_DOCK.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_DESK_DOCK => + _id_CATEGORY_DESK_DOCK.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_DEVELOPMENT_PREFERENCE = _class.staticFieldId( - r"CATEGORY_DEVELOPMENT_PREFERENCE", - r"Ljava/lang/String;", + r'CATEGORY_DEVELOPMENT_PREFERENCE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_DEVELOPMENT_PREFERENCE + /// from: `static public final java.lang.String CATEGORY_DEVELOPMENT_PREFERENCE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_DEVELOPMENT_PREFERENCE => - _id_CATEGORY_DEVELOPMENT_PREFERENCE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_DEVELOPMENT_PREFERENCE => + _id_CATEGORY_DEVELOPMENT_PREFERENCE.get( + _class, const _$jni.JStringType()); static final _id_CATEGORY_EMBED = _class.staticFieldId( - r"CATEGORY_EMBED", - r"Ljava/lang/String;", + r'CATEGORY_EMBED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_EMBED + /// from: `static public final java.lang.String CATEGORY_EMBED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_EMBED => - _id_CATEGORY_EMBED.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_EMBED => + _id_CATEGORY_EMBED.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST = _class.staticFieldId( - r"CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST", - r"Ljava/lang/String;", + r'CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST + /// from: `static public final java.lang.String CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST => + static _$jni.JString get CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST => _id_CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_CATEGORY_HE_DESK_DOCK = _class.staticFieldId( - r"CATEGORY_HE_DESK_DOCK", - r"Ljava/lang/String;", + r'CATEGORY_HE_DESK_DOCK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_HE_DESK_DOCK + /// from: `static public final java.lang.String CATEGORY_HE_DESK_DOCK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_HE_DESK_DOCK => - _id_CATEGORY_HE_DESK_DOCK.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_HE_DESK_DOCK => + _id_CATEGORY_HE_DESK_DOCK.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_HOME = _class.staticFieldId( - r"CATEGORY_HOME", - r"Ljava/lang/String;", + r'CATEGORY_HOME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_HOME + /// from: `static public final java.lang.String CATEGORY_HOME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_HOME => - _id_CATEGORY_HOME.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_HOME => + _id_CATEGORY_HOME.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_INFO = _class.staticFieldId( - r"CATEGORY_INFO", - r"Ljava/lang/String;", + r'CATEGORY_INFO', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_INFO + /// from: `static public final java.lang.String CATEGORY_INFO` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_INFO => - _id_CATEGORY_INFO.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_INFO => + _id_CATEGORY_INFO.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_LAUNCHER = _class.staticFieldId( - r"CATEGORY_LAUNCHER", - r"Ljava/lang/String;", + r'CATEGORY_LAUNCHER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_LAUNCHER + /// from: `static public final java.lang.String CATEGORY_LAUNCHER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_LAUNCHER => - _id_CATEGORY_LAUNCHER.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_LAUNCHER => + _id_CATEGORY_LAUNCHER.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_LEANBACK_LAUNCHER = _class.staticFieldId( - r"CATEGORY_LEANBACK_LAUNCHER", - r"Ljava/lang/String;", + r'CATEGORY_LEANBACK_LAUNCHER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_LEANBACK_LAUNCHER + /// from: `static public final java.lang.String CATEGORY_LEANBACK_LAUNCHER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_LEANBACK_LAUNCHER => - _id_CATEGORY_LEANBACK_LAUNCHER.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_LEANBACK_LAUNCHER => + _id_CATEGORY_LEANBACK_LAUNCHER.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_LE_DESK_DOCK = _class.staticFieldId( - r"CATEGORY_LE_DESK_DOCK", - r"Ljava/lang/String;", + r'CATEGORY_LE_DESK_DOCK', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_LE_DESK_DOCK + /// from: `static public final java.lang.String CATEGORY_LE_DESK_DOCK` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_LE_DESK_DOCK => - _id_CATEGORY_LE_DESK_DOCK.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_LE_DESK_DOCK => + _id_CATEGORY_LE_DESK_DOCK.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_MONKEY = _class.staticFieldId( - r"CATEGORY_MONKEY", - r"Ljava/lang/String;", + r'CATEGORY_MONKEY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_MONKEY + /// from: `static public final java.lang.String CATEGORY_MONKEY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_MONKEY => - _id_CATEGORY_MONKEY.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_MONKEY => + _id_CATEGORY_MONKEY.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_OPENABLE = _class.staticFieldId( - r"CATEGORY_OPENABLE", - r"Ljava/lang/String;", + r'CATEGORY_OPENABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_OPENABLE + /// from: `static public final java.lang.String CATEGORY_OPENABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_OPENABLE => - _id_CATEGORY_OPENABLE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_OPENABLE => + _id_CATEGORY_OPENABLE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_PREFERENCE = _class.staticFieldId( - r"CATEGORY_PREFERENCE", - r"Ljava/lang/String;", + r'CATEGORY_PREFERENCE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_PREFERENCE + /// from: `static public final java.lang.String CATEGORY_PREFERENCE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_PREFERENCE => - _id_CATEGORY_PREFERENCE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_PREFERENCE => + _id_CATEGORY_PREFERENCE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_SAMPLE_CODE = _class.staticFieldId( - r"CATEGORY_SAMPLE_CODE", - r"Ljava/lang/String;", + r'CATEGORY_SAMPLE_CODE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_SAMPLE_CODE + /// from: `static public final java.lang.String CATEGORY_SAMPLE_CODE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_SAMPLE_CODE => - _id_CATEGORY_SAMPLE_CODE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_SAMPLE_CODE => + _id_CATEGORY_SAMPLE_CODE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_SECONDARY_HOME = _class.staticFieldId( - r"CATEGORY_SECONDARY_HOME", - r"Ljava/lang/String;", + r'CATEGORY_SECONDARY_HOME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_SECONDARY_HOME + /// from: `static public final java.lang.String CATEGORY_SECONDARY_HOME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_SECONDARY_HOME => - _id_CATEGORY_SECONDARY_HOME.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_SECONDARY_HOME => + _id_CATEGORY_SECONDARY_HOME.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_SELECTED_ALTERNATIVE = _class.staticFieldId( - r"CATEGORY_SELECTED_ALTERNATIVE", - r"Ljava/lang/String;", + r'CATEGORY_SELECTED_ALTERNATIVE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_SELECTED_ALTERNATIVE + /// from: `static public final java.lang.String CATEGORY_SELECTED_ALTERNATIVE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_SELECTED_ALTERNATIVE => - _id_CATEGORY_SELECTED_ALTERNATIVE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_SELECTED_ALTERNATIVE => + _id_CATEGORY_SELECTED_ALTERNATIVE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_TAB = _class.staticFieldId( - r"CATEGORY_TAB", - r"Ljava/lang/String;", + r'CATEGORY_TAB', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_TAB + /// from: `static public final java.lang.String CATEGORY_TAB` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_TAB => - _id_CATEGORY_TAB.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_TAB => + _id_CATEGORY_TAB.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_TEST = _class.staticFieldId( - r"CATEGORY_TEST", - r"Ljava/lang/String;", + r'CATEGORY_TEST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_TEST + /// from: `static public final java.lang.String CATEGORY_TEST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_TEST => - _id_CATEGORY_TEST.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_TEST => + _id_CATEGORY_TEST.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_TYPED_OPENABLE = _class.staticFieldId( - r"CATEGORY_TYPED_OPENABLE", - r"Ljava/lang/String;", + r'CATEGORY_TYPED_OPENABLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_TYPED_OPENABLE + /// from: `static public final java.lang.String CATEGORY_TYPED_OPENABLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_TYPED_OPENABLE => - _id_CATEGORY_TYPED_OPENABLE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_TYPED_OPENABLE => + _id_CATEGORY_TYPED_OPENABLE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_UNIT_TEST = _class.staticFieldId( - r"CATEGORY_UNIT_TEST", - r"Ljava/lang/String;", + r'CATEGORY_UNIT_TEST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_UNIT_TEST + /// from: `static public final java.lang.String CATEGORY_UNIT_TEST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_UNIT_TEST => - _id_CATEGORY_UNIT_TEST.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_UNIT_TEST => + _id_CATEGORY_UNIT_TEST.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_VOICE = _class.staticFieldId( - r"CATEGORY_VOICE", - r"Ljava/lang/String;", + r'CATEGORY_VOICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_VOICE + /// from: `static public final java.lang.String CATEGORY_VOICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_VOICE => - _id_CATEGORY_VOICE.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_VOICE => + _id_CATEGORY_VOICE.get(_class, const _$jni.JStringType()); static final _id_CATEGORY_VR_HOME = _class.staticFieldId( - r"CATEGORY_VR_HOME", - r"Ljava/lang/String;", + r'CATEGORY_VR_HOME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CATEGORY_VR_HOME + /// from: `static public final java.lang.String CATEGORY_VR_HOME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get CATEGORY_VR_HOME => - _id_CATEGORY_VR_HOME.get(_class, const jni.JStringType()); + static _$jni.JString get CATEGORY_VR_HOME => + _id_CATEGORY_VR_HOME.get(_class, const _$jni.JStringType()); static final _id_CREATOR = _class.staticFieldId( - r"CREATOR", - r"Landroid/os/Parcelable$Creator;", + r'CREATOR', + r'Landroid/os/Parcelable$Creator;', ); - /// from: static public final android.os.Parcelable$Creator CREATOR + /// from: `static public final android.os.Parcelable$Creator CREATOR` /// The returned object must be released after use, by calling the [release] method. - static jni.JObject get CREATOR => - _id_CREATOR.get(_class, const jni.JObjectType()); + static _$jni.JObject get CREATOR => + _id_CREATOR.get(_class, const _$jni.JObjectType()); static final _id_EXTRA_ALARM_COUNT = _class.staticFieldId( - r"EXTRA_ALARM_COUNT", - r"Ljava/lang/String;", + r'EXTRA_ALARM_COUNT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ALARM_COUNT + /// from: `static public final java.lang.String EXTRA_ALARM_COUNT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ALARM_COUNT => - _id_EXTRA_ALARM_COUNT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ALARM_COUNT => + _id_EXTRA_ALARM_COUNT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ALLOW_MULTIPLE = _class.staticFieldId( - r"EXTRA_ALLOW_MULTIPLE", - r"Ljava/lang/String;", + r'EXTRA_ALLOW_MULTIPLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ALLOW_MULTIPLE + /// from: `static public final java.lang.String EXTRA_ALLOW_MULTIPLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ALLOW_MULTIPLE => - _id_EXTRA_ALLOW_MULTIPLE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ALLOW_MULTIPLE => + _id_EXTRA_ALLOW_MULTIPLE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ALLOW_REPLACE = _class.staticFieldId( - r"EXTRA_ALLOW_REPLACE", - r"Ljava/lang/String;", + r'EXTRA_ALLOW_REPLACE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ALLOW_REPLACE + /// from: `static public final java.lang.String EXTRA_ALLOW_REPLACE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ALLOW_REPLACE => - _id_EXTRA_ALLOW_REPLACE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ALLOW_REPLACE => + _id_EXTRA_ALLOW_REPLACE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ALTERNATE_INTENTS = _class.staticFieldId( - r"EXTRA_ALTERNATE_INTENTS", - r"Ljava/lang/String;", + r'EXTRA_ALTERNATE_INTENTS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ALTERNATE_INTENTS + /// from: `static public final java.lang.String EXTRA_ALTERNATE_INTENTS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ALTERNATE_INTENTS => - _id_EXTRA_ALTERNATE_INTENTS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ALTERNATE_INTENTS => + _id_EXTRA_ALTERNATE_INTENTS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ASSIST_CONTEXT = _class.staticFieldId( - r"EXTRA_ASSIST_CONTEXT", - r"Ljava/lang/String;", + r'EXTRA_ASSIST_CONTEXT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ASSIST_CONTEXT + /// from: `static public final java.lang.String EXTRA_ASSIST_CONTEXT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ASSIST_CONTEXT => - _id_EXTRA_ASSIST_CONTEXT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ASSIST_CONTEXT => + _id_EXTRA_ASSIST_CONTEXT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ASSIST_INPUT_DEVICE_ID = _class.staticFieldId( - r"EXTRA_ASSIST_INPUT_DEVICE_ID", - r"Ljava/lang/String;", + r'EXTRA_ASSIST_INPUT_DEVICE_ID', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ASSIST_INPUT_DEVICE_ID + /// from: `static public final java.lang.String EXTRA_ASSIST_INPUT_DEVICE_ID` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ASSIST_INPUT_DEVICE_ID => - _id_EXTRA_ASSIST_INPUT_DEVICE_ID.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ASSIST_INPUT_DEVICE_ID => + _id_EXTRA_ASSIST_INPUT_DEVICE_ID.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ASSIST_INPUT_HINT_KEYBOARD = _class.staticFieldId( - r"EXTRA_ASSIST_INPUT_HINT_KEYBOARD", - r"Ljava/lang/String;", + r'EXTRA_ASSIST_INPUT_HINT_KEYBOARD', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ASSIST_INPUT_HINT_KEYBOARD + /// from: `static public final java.lang.String EXTRA_ASSIST_INPUT_HINT_KEYBOARD` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ASSIST_INPUT_HINT_KEYBOARD => - _id_EXTRA_ASSIST_INPUT_HINT_KEYBOARD.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ASSIST_INPUT_HINT_KEYBOARD => + _id_EXTRA_ASSIST_INPUT_HINT_KEYBOARD.get( + _class, const _$jni.JStringType()); static final _id_EXTRA_ASSIST_PACKAGE = _class.staticFieldId( - r"EXTRA_ASSIST_PACKAGE", - r"Ljava/lang/String;", + r'EXTRA_ASSIST_PACKAGE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ASSIST_PACKAGE + /// from: `static public final java.lang.String EXTRA_ASSIST_PACKAGE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ASSIST_PACKAGE => - _id_EXTRA_ASSIST_PACKAGE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ASSIST_PACKAGE => + _id_EXTRA_ASSIST_PACKAGE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ASSIST_UID = _class.staticFieldId( - r"EXTRA_ASSIST_UID", - r"Ljava/lang/String;", + r'EXTRA_ASSIST_UID', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ASSIST_UID + /// from: `static public final java.lang.String EXTRA_ASSIST_UID` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ASSIST_UID => - _id_EXTRA_ASSIST_UID.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ASSIST_UID => + _id_EXTRA_ASSIST_UID.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ATTRIBUTION_TAGS = _class.staticFieldId( - r"EXTRA_ATTRIBUTION_TAGS", - r"Ljava/lang/String;", + r'EXTRA_ATTRIBUTION_TAGS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ATTRIBUTION_TAGS + /// from: `static public final java.lang.String EXTRA_ATTRIBUTION_TAGS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ATTRIBUTION_TAGS => - _id_EXTRA_ATTRIBUTION_TAGS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ATTRIBUTION_TAGS => + _id_EXTRA_ATTRIBUTION_TAGS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_AUTO_LAUNCH_SINGLE_CHOICE = _class.staticFieldId( - r"EXTRA_AUTO_LAUNCH_SINGLE_CHOICE", - r"Ljava/lang/String;", + r'EXTRA_AUTO_LAUNCH_SINGLE_CHOICE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_AUTO_LAUNCH_SINGLE_CHOICE + /// from: `static public final java.lang.String EXTRA_AUTO_LAUNCH_SINGLE_CHOICE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_AUTO_LAUNCH_SINGLE_CHOICE => - _id_EXTRA_AUTO_LAUNCH_SINGLE_CHOICE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_AUTO_LAUNCH_SINGLE_CHOICE => + _id_EXTRA_AUTO_LAUNCH_SINGLE_CHOICE.get( + _class, const _$jni.JStringType()); static final _id_EXTRA_BCC = _class.staticFieldId( - r"EXTRA_BCC", - r"Ljava/lang/String;", + r'EXTRA_BCC', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_BCC + /// from: `static public final java.lang.String EXTRA_BCC` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_BCC => - _id_EXTRA_BCC.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_BCC => + _id_EXTRA_BCC.get(_class, const _$jni.JStringType()); static final _id_EXTRA_BUG_REPORT = _class.staticFieldId( - r"EXTRA_BUG_REPORT", - r"Ljava/lang/String;", + r'EXTRA_BUG_REPORT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_BUG_REPORT + /// from: `static public final java.lang.String EXTRA_BUG_REPORT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_BUG_REPORT => - _id_EXTRA_BUG_REPORT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_BUG_REPORT => + _id_EXTRA_BUG_REPORT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CC = _class.staticFieldId( - r"EXTRA_CC", - r"Ljava/lang/String;", + r'EXTRA_CC', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CC + /// from: `static public final java.lang.String EXTRA_CC` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CC => - _id_EXTRA_CC.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CC => + _id_EXTRA_CC.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CHANGED_COMPONENT_NAME = _class.staticFieldId( - r"EXTRA_CHANGED_COMPONENT_NAME", - r"Ljava/lang/String;", + r'EXTRA_CHANGED_COMPONENT_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHANGED_COMPONENT_NAME + /// from: `static public final java.lang.String EXTRA_CHANGED_COMPONENT_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHANGED_COMPONENT_NAME => - _id_EXTRA_CHANGED_COMPONENT_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CHANGED_COMPONENT_NAME => + _id_EXTRA_CHANGED_COMPONENT_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CHANGED_COMPONENT_NAME_LIST = _class.staticFieldId( - r"EXTRA_CHANGED_COMPONENT_NAME_LIST", - r"Ljava/lang/String;", + r'EXTRA_CHANGED_COMPONENT_NAME_LIST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHANGED_COMPONENT_NAME_LIST + /// from: `static public final java.lang.String EXTRA_CHANGED_COMPONENT_NAME_LIST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHANGED_COMPONENT_NAME_LIST => + static _$jni.JString get EXTRA_CHANGED_COMPONENT_NAME_LIST => _id_EXTRA_CHANGED_COMPONENT_NAME_LIST.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_EXTRA_CHANGED_PACKAGE_LIST = _class.staticFieldId( - r"EXTRA_CHANGED_PACKAGE_LIST", - r"Ljava/lang/String;", + r'EXTRA_CHANGED_PACKAGE_LIST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHANGED_PACKAGE_LIST + /// from: `static public final java.lang.String EXTRA_CHANGED_PACKAGE_LIST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHANGED_PACKAGE_LIST => - _id_EXTRA_CHANGED_PACKAGE_LIST.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CHANGED_PACKAGE_LIST => + _id_EXTRA_CHANGED_PACKAGE_LIST.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CHANGED_UID_LIST = _class.staticFieldId( - r"EXTRA_CHANGED_UID_LIST", - r"Ljava/lang/String;", + r'EXTRA_CHANGED_UID_LIST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHANGED_UID_LIST + /// from: `static public final java.lang.String EXTRA_CHANGED_UID_LIST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHANGED_UID_LIST => - _id_EXTRA_CHANGED_UID_LIST.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CHANGED_UID_LIST => + _id_EXTRA_CHANGED_UID_LIST.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER = _class.staticFieldId( - r"EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER", - r"Ljava/lang/String;", + r'EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER + /// from: `static public final java.lang.String EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER => + static _$jni.JString get EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER => _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_EXTRA_CHOOSER_TARGETS = _class.staticFieldId( - r"EXTRA_CHOOSER_TARGETS", - r"Ljava/lang/String;", + r'EXTRA_CHOOSER_TARGETS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHOOSER_TARGETS + /// from: `static public final java.lang.String EXTRA_CHOOSER_TARGETS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHOOSER_TARGETS => - _id_EXTRA_CHOOSER_TARGETS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CHOOSER_TARGETS => + _id_EXTRA_CHOOSER_TARGETS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CHOSEN_COMPONENT = _class.staticFieldId( - r"EXTRA_CHOSEN_COMPONENT", - r"Ljava/lang/String;", + r'EXTRA_CHOSEN_COMPONENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHOSEN_COMPONENT + /// from: `static public final java.lang.String EXTRA_CHOSEN_COMPONENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHOSEN_COMPONENT => - _id_EXTRA_CHOSEN_COMPONENT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CHOSEN_COMPONENT => + _id_EXTRA_CHOSEN_COMPONENT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CHOSEN_COMPONENT_INTENT_SENDER = _class.staticFieldId( - r"EXTRA_CHOSEN_COMPONENT_INTENT_SENDER", - r"Ljava/lang/String;", + r'EXTRA_CHOSEN_COMPONENT_INTENT_SENDER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CHOSEN_COMPONENT_INTENT_SENDER + /// from: `static public final java.lang.String EXTRA_CHOSEN_COMPONENT_INTENT_SENDER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CHOSEN_COMPONENT_INTENT_SENDER => + static _$jni.JString get EXTRA_CHOSEN_COMPONENT_INTENT_SENDER => _id_EXTRA_CHOSEN_COMPONENT_INTENT_SENDER.get( - _class, const jni.JStringType()); + _class, const _$jni.JStringType()); static final _id_EXTRA_COMPONENT_NAME = _class.staticFieldId( - r"EXTRA_COMPONENT_NAME", - r"Ljava/lang/String;", + r'EXTRA_COMPONENT_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_COMPONENT_NAME + /// from: `static public final java.lang.String EXTRA_COMPONENT_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_COMPONENT_NAME => - _id_EXTRA_COMPONENT_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_COMPONENT_NAME => + _id_EXTRA_COMPONENT_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CONTENT_ANNOTATIONS = _class.staticFieldId( - r"EXTRA_CONTENT_ANNOTATIONS", - r"Ljava/lang/String;", + r'EXTRA_CONTENT_ANNOTATIONS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CONTENT_ANNOTATIONS + /// from: `static public final java.lang.String EXTRA_CONTENT_ANNOTATIONS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CONTENT_ANNOTATIONS => - _id_EXTRA_CONTENT_ANNOTATIONS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CONTENT_ANNOTATIONS => + _id_EXTRA_CONTENT_ANNOTATIONS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_CONTENT_QUERY = _class.staticFieldId( - r"EXTRA_CONTENT_QUERY", - r"Ljava/lang/String;", + r'EXTRA_CONTENT_QUERY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_CONTENT_QUERY + /// from: `static public final java.lang.String EXTRA_CONTENT_QUERY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_CONTENT_QUERY => - _id_EXTRA_CONTENT_QUERY.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_CONTENT_QUERY => + _id_EXTRA_CONTENT_QUERY.get(_class, const _$jni.JStringType()); static final _id_EXTRA_DATA_REMOVED = _class.staticFieldId( - r"EXTRA_DATA_REMOVED", - r"Ljava/lang/String;", + r'EXTRA_DATA_REMOVED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_DATA_REMOVED + /// from: `static public final java.lang.String EXTRA_DATA_REMOVED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_DATA_REMOVED => - _id_EXTRA_DATA_REMOVED.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_DATA_REMOVED => + _id_EXTRA_DATA_REMOVED.get(_class, const _$jni.JStringType()); static final _id_EXTRA_DOCK_STATE = _class.staticFieldId( - r"EXTRA_DOCK_STATE", - r"Ljava/lang/String;", + r'EXTRA_DOCK_STATE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_DOCK_STATE + /// from: `static public final java.lang.String EXTRA_DOCK_STATE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_DOCK_STATE => - _id_EXTRA_DOCK_STATE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_DOCK_STATE => + _id_EXTRA_DOCK_STATE.get(_class, const _$jni.JStringType()); - /// from: static public final int EXTRA_DOCK_STATE_CAR + /// from: `static public final int EXTRA_DOCK_STATE_CAR` static const EXTRA_DOCK_STATE_CAR = 2; - /// from: static public final int EXTRA_DOCK_STATE_DESK + /// from: `static public final int EXTRA_DOCK_STATE_DESK` static const EXTRA_DOCK_STATE_DESK = 1; - /// from: static public final int EXTRA_DOCK_STATE_HE_DESK + /// from: `static public final int EXTRA_DOCK_STATE_HE_DESK` static const EXTRA_DOCK_STATE_HE_DESK = 4; - /// from: static public final int EXTRA_DOCK_STATE_LE_DESK + /// from: `static public final int EXTRA_DOCK_STATE_LE_DESK` static const EXTRA_DOCK_STATE_LE_DESK = 3; - /// from: static public final int EXTRA_DOCK_STATE_UNDOCKED + /// from: `static public final int EXTRA_DOCK_STATE_UNDOCKED` static const EXTRA_DOCK_STATE_UNDOCKED = 0; static final _id_EXTRA_DONT_KILL_APP = _class.staticFieldId( - r"EXTRA_DONT_KILL_APP", - r"Ljava/lang/String;", + r'EXTRA_DONT_KILL_APP', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_DONT_KILL_APP + /// from: `static public final java.lang.String EXTRA_DONT_KILL_APP` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_DONT_KILL_APP => - _id_EXTRA_DONT_KILL_APP.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_DONT_KILL_APP => + _id_EXTRA_DONT_KILL_APP.get(_class, const _$jni.JStringType()); static final _id_EXTRA_DURATION_MILLIS = _class.staticFieldId( - r"EXTRA_DURATION_MILLIS", - r"Ljava/lang/String;", + r'EXTRA_DURATION_MILLIS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_DURATION_MILLIS + /// from: `static public final java.lang.String EXTRA_DURATION_MILLIS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_DURATION_MILLIS => - _id_EXTRA_DURATION_MILLIS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_DURATION_MILLIS => + _id_EXTRA_DURATION_MILLIS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_EMAIL = _class.staticFieldId( - r"EXTRA_EMAIL", - r"Ljava/lang/String;", + r'EXTRA_EMAIL', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_EMAIL + /// from: `static public final java.lang.String EXTRA_EMAIL` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_EMAIL => - _id_EXTRA_EMAIL.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_EMAIL => + _id_EXTRA_EMAIL.get(_class, const _$jni.JStringType()); static final _id_EXTRA_END_TIME = _class.staticFieldId( - r"EXTRA_END_TIME", - r"Ljava/lang/String;", + r'EXTRA_END_TIME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_END_TIME + /// from: `static public final java.lang.String EXTRA_END_TIME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_END_TIME => - _id_EXTRA_END_TIME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_END_TIME => + _id_EXTRA_END_TIME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_EXCLUDE_COMPONENTS = _class.staticFieldId( - r"EXTRA_EXCLUDE_COMPONENTS", - r"Ljava/lang/String;", + r'EXTRA_EXCLUDE_COMPONENTS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_EXCLUDE_COMPONENTS + /// from: `static public final java.lang.String EXTRA_EXCLUDE_COMPONENTS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_EXCLUDE_COMPONENTS => - _id_EXTRA_EXCLUDE_COMPONENTS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_EXCLUDE_COMPONENTS => + _id_EXTRA_EXCLUDE_COMPONENTS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_FROM_STORAGE = _class.staticFieldId( - r"EXTRA_FROM_STORAGE", - r"Ljava/lang/String;", + r'EXTRA_FROM_STORAGE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_FROM_STORAGE + /// from: `static public final java.lang.String EXTRA_FROM_STORAGE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_FROM_STORAGE => - _id_EXTRA_FROM_STORAGE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_FROM_STORAGE => + _id_EXTRA_FROM_STORAGE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_HTML_TEXT = _class.staticFieldId( - r"EXTRA_HTML_TEXT", - r"Ljava/lang/String;", + r'EXTRA_HTML_TEXT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_HTML_TEXT + /// from: `static public final java.lang.String EXTRA_HTML_TEXT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_HTML_TEXT => - _id_EXTRA_HTML_TEXT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_HTML_TEXT => + _id_EXTRA_HTML_TEXT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_INDEX = _class.staticFieldId( - r"EXTRA_INDEX", - r"Ljava/lang/String;", + r'EXTRA_INDEX', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_INDEX + /// from: `static public final java.lang.String EXTRA_INDEX` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_INDEX => - _id_EXTRA_INDEX.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_INDEX => + _id_EXTRA_INDEX.get(_class, const _$jni.JStringType()); static final _id_EXTRA_INITIAL_INTENTS = _class.staticFieldId( - r"EXTRA_INITIAL_INTENTS", - r"Ljava/lang/String;", + r'EXTRA_INITIAL_INTENTS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_INITIAL_INTENTS + /// from: `static public final java.lang.String EXTRA_INITIAL_INTENTS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_INITIAL_INTENTS => - _id_EXTRA_INITIAL_INTENTS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_INITIAL_INTENTS => + _id_EXTRA_INITIAL_INTENTS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_INSTALLER_PACKAGE_NAME = _class.staticFieldId( - r"EXTRA_INSTALLER_PACKAGE_NAME", - r"Ljava/lang/String;", + r'EXTRA_INSTALLER_PACKAGE_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_INSTALLER_PACKAGE_NAME + /// from: `static public final java.lang.String EXTRA_INSTALLER_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_INSTALLER_PACKAGE_NAME => - _id_EXTRA_INSTALLER_PACKAGE_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_INSTALLER_PACKAGE_NAME => + _id_EXTRA_INSTALLER_PACKAGE_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_INTENT = _class.staticFieldId( - r"EXTRA_INTENT", - r"Ljava/lang/String;", + r'EXTRA_INTENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_INTENT + /// from: `static public final java.lang.String EXTRA_INTENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_INTENT => - _id_EXTRA_INTENT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_INTENT => + _id_EXTRA_INTENT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_KEY_EVENT = _class.staticFieldId( - r"EXTRA_KEY_EVENT", - r"Ljava/lang/String;", + r'EXTRA_KEY_EVENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_KEY_EVENT + /// from: `static public final java.lang.String EXTRA_KEY_EVENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_KEY_EVENT => - _id_EXTRA_KEY_EVENT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_KEY_EVENT => + _id_EXTRA_KEY_EVENT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_LOCALE_LIST = _class.staticFieldId( - r"EXTRA_LOCALE_LIST", - r"Ljava/lang/String;", + r'EXTRA_LOCALE_LIST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_LOCALE_LIST + /// from: `static public final java.lang.String EXTRA_LOCALE_LIST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_LOCALE_LIST => - _id_EXTRA_LOCALE_LIST.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_LOCALE_LIST => + _id_EXTRA_LOCALE_LIST.get(_class, const _$jni.JStringType()); static final _id_EXTRA_LOCAL_ONLY = _class.staticFieldId( - r"EXTRA_LOCAL_ONLY", - r"Ljava/lang/String;", + r'EXTRA_LOCAL_ONLY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_LOCAL_ONLY + /// from: `static public final java.lang.String EXTRA_LOCAL_ONLY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_LOCAL_ONLY => - _id_EXTRA_LOCAL_ONLY.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_LOCAL_ONLY => + _id_EXTRA_LOCAL_ONLY.get(_class, const _$jni.JStringType()); static final _id_EXTRA_LOCUS_ID = _class.staticFieldId( - r"EXTRA_LOCUS_ID", - r"Ljava/lang/String;", + r'EXTRA_LOCUS_ID', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_LOCUS_ID + /// from: `static public final java.lang.String EXTRA_LOCUS_ID` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_LOCUS_ID => - _id_EXTRA_LOCUS_ID.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_LOCUS_ID => + _id_EXTRA_LOCUS_ID.get(_class, const _$jni.JStringType()); static final _id_EXTRA_MIME_TYPES = _class.staticFieldId( - r"EXTRA_MIME_TYPES", - r"Ljava/lang/String;", + r'EXTRA_MIME_TYPES', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_MIME_TYPES + /// from: `static public final java.lang.String EXTRA_MIME_TYPES` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_MIME_TYPES => - _id_EXTRA_MIME_TYPES.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_MIME_TYPES => + _id_EXTRA_MIME_TYPES.get(_class, const _$jni.JStringType()); static final _id_EXTRA_NOT_UNKNOWN_SOURCE = _class.staticFieldId( - r"EXTRA_NOT_UNKNOWN_SOURCE", - r"Ljava/lang/String;", + r'EXTRA_NOT_UNKNOWN_SOURCE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_NOT_UNKNOWN_SOURCE + /// from: `static public final java.lang.String EXTRA_NOT_UNKNOWN_SOURCE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_NOT_UNKNOWN_SOURCE => - _id_EXTRA_NOT_UNKNOWN_SOURCE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_NOT_UNKNOWN_SOURCE => + _id_EXTRA_NOT_UNKNOWN_SOURCE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_ORIGINATING_URI = _class.staticFieldId( - r"EXTRA_ORIGINATING_URI", - r"Ljava/lang/String;", + r'EXTRA_ORIGINATING_URI', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_ORIGINATING_URI + /// from: `static public final java.lang.String EXTRA_ORIGINATING_URI` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_ORIGINATING_URI => - _id_EXTRA_ORIGINATING_URI.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_ORIGINATING_URI => + _id_EXTRA_ORIGINATING_URI.get(_class, const _$jni.JStringType()); static final _id_EXTRA_PACKAGE_NAME = _class.staticFieldId( - r"EXTRA_PACKAGE_NAME", - r"Ljava/lang/String;", + r'EXTRA_PACKAGE_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_PACKAGE_NAME + /// from: `static public final java.lang.String EXTRA_PACKAGE_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_PACKAGE_NAME => - _id_EXTRA_PACKAGE_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_PACKAGE_NAME => + _id_EXTRA_PACKAGE_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_PERMISSION_GROUP_NAME = _class.staticFieldId( - r"EXTRA_PERMISSION_GROUP_NAME", - r"Ljava/lang/String;", + r'EXTRA_PERMISSION_GROUP_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_PERMISSION_GROUP_NAME + /// from: `static public final java.lang.String EXTRA_PERMISSION_GROUP_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_PERMISSION_GROUP_NAME => - _id_EXTRA_PERMISSION_GROUP_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_PERMISSION_GROUP_NAME => + _id_EXTRA_PERMISSION_GROUP_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_PHONE_NUMBER = _class.staticFieldId( - r"EXTRA_PHONE_NUMBER", - r"Ljava/lang/String;", + r'EXTRA_PHONE_NUMBER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_PHONE_NUMBER + /// from: `static public final java.lang.String EXTRA_PHONE_NUMBER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_PHONE_NUMBER => - _id_EXTRA_PHONE_NUMBER.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_PHONE_NUMBER => + _id_EXTRA_PHONE_NUMBER.get(_class, const _$jni.JStringType()); static final _id_EXTRA_PROCESS_TEXT = _class.staticFieldId( - r"EXTRA_PROCESS_TEXT", - r"Ljava/lang/String;", + r'EXTRA_PROCESS_TEXT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_PROCESS_TEXT + /// from: `static public final java.lang.String EXTRA_PROCESS_TEXT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_PROCESS_TEXT => - _id_EXTRA_PROCESS_TEXT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_PROCESS_TEXT => + _id_EXTRA_PROCESS_TEXT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_PROCESS_TEXT_READONLY = _class.staticFieldId( - r"EXTRA_PROCESS_TEXT_READONLY", - r"Ljava/lang/String;", + r'EXTRA_PROCESS_TEXT_READONLY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_PROCESS_TEXT_READONLY + /// from: `static public final java.lang.String EXTRA_PROCESS_TEXT_READONLY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_PROCESS_TEXT_READONLY => - _id_EXTRA_PROCESS_TEXT_READONLY.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_PROCESS_TEXT_READONLY => + _id_EXTRA_PROCESS_TEXT_READONLY.get(_class, const _$jni.JStringType()); static final _id_EXTRA_QUICK_VIEW_FEATURES = _class.staticFieldId( - r"EXTRA_QUICK_VIEW_FEATURES", - r"Ljava/lang/String;", + r'EXTRA_QUICK_VIEW_FEATURES', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_QUICK_VIEW_FEATURES + /// from: `static public final java.lang.String EXTRA_QUICK_VIEW_FEATURES` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_QUICK_VIEW_FEATURES => - _id_EXTRA_QUICK_VIEW_FEATURES.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_QUICK_VIEW_FEATURES => + _id_EXTRA_QUICK_VIEW_FEATURES.get(_class, const _$jni.JStringType()); static final _id_EXTRA_QUIET_MODE = _class.staticFieldId( - r"EXTRA_QUIET_MODE", - r"Ljava/lang/String;", + r'EXTRA_QUIET_MODE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_QUIET_MODE + /// from: `static public final java.lang.String EXTRA_QUIET_MODE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_QUIET_MODE => - _id_EXTRA_QUIET_MODE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_QUIET_MODE => + _id_EXTRA_QUIET_MODE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_REFERRER = _class.staticFieldId( - r"EXTRA_REFERRER", - r"Ljava/lang/String;", + r'EXTRA_REFERRER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_REFERRER + /// from: `static public final java.lang.String EXTRA_REFERRER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_REFERRER => - _id_EXTRA_REFERRER.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_REFERRER => + _id_EXTRA_REFERRER.get(_class, const _$jni.JStringType()); static final _id_EXTRA_REFERRER_NAME = _class.staticFieldId( - r"EXTRA_REFERRER_NAME", - r"Ljava/lang/String;", + r'EXTRA_REFERRER_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_REFERRER_NAME + /// from: `static public final java.lang.String EXTRA_REFERRER_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_REFERRER_NAME => - _id_EXTRA_REFERRER_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_REFERRER_NAME => + _id_EXTRA_REFERRER_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_REMOTE_INTENT_TOKEN = _class.staticFieldId( - r"EXTRA_REMOTE_INTENT_TOKEN", - r"Ljava/lang/String;", + r'EXTRA_REMOTE_INTENT_TOKEN', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_REMOTE_INTENT_TOKEN + /// from: `static public final java.lang.String EXTRA_REMOTE_INTENT_TOKEN` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_REMOTE_INTENT_TOKEN => - _id_EXTRA_REMOTE_INTENT_TOKEN.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_REMOTE_INTENT_TOKEN => + _id_EXTRA_REMOTE_INTENT_TOKEN.get(_class, const _$jni.JStringType()); static final _id_EXTRA_REPLACEMENT_EXTRAS = _class.staticFieldId( - r"EXTRA_REPLACEMENT_EXTRAS", - r"Ljava/lang/String;", + r'EXTRA_REPLACEMENT_EXTRAS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_REPLACEMENT_EXTRAS + /// from: `static public final java.lang.String EXTRA_REPLACEMENT_EXTRAS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_REPLACEMENT_EXTRAS => - _id_EXTRA_REPLACEMENT_EXTRAS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_REPLACEMENT_EXTRAS => + _id_EXTRA_REPLACEMENT_EXTRAS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_REPLACING = _class.staticFieldId( - r"EXTRA_REPLACING", - r"Ljava/lang/String;", + r'EXTRA_REPLACING', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_REPLACING + /// from: `static public final java.lang.String EXTRA_REPLACING` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_REPLACING => - _id_EXTRA_REPLACING.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_REPLACING => + _id_EXTRA_REPLACING.get(_class, const _$jni.JStringType()); static final _id_EXTRA_RESTRICTIONS_BUNDLE = _class.staticFieldId( - r"EXTRA_RESTRICTIONS_BUNDLE", - r"Ljava/lang/String;", + r'EXTRA_RESTRICTIONS_BUNDLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_RESTRICTIONS_BUNDLE + /// from: `static public final java.lang.String EXTRA_RESTRICTIONS_BUNDLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_RESTRICTIONS_BUNDLE => - _id_EXTRA_RESTRICTIONS_BUNDLE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_RESTRICTIONS_BUNDLE => + _id_EXTRA_RESTRICTIONS_BUNDLE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_RESTRICTIONS_INTENT = _class.staticFieldId( - r"EXTRA_RESTRICTIONS_INTENT", - r"Ljava/lang/String;", + r'EXTRA_RESTRICTIONS_INTENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_RESTRICTIONS_INTENT + /// from: `static public final java.lang.String EXTRA_RESTRICTIONS_INTENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_RESTRICTIONS_INTENT => - _id_EXTRA_RESTRICTIONS_INTENT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_RESTRICTIONS_INTENT => + _id_EXTRA_RESTRICTIONS_INTENT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_RESTRICTIONS_LIST = _class.staticFieldId( - r"EXTRA_RESTRICTIONS_LIST", - r"Ljava/lang/String;", + r'EXTRA_RESTRICTIONS_LIST', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_RESTRICTIONS_LIST + /// from: `static public final java.lang.String EXTRA_RESTRICTIONS_LIST` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_RESTRICTIONS_LIST => - _id_EXTRA_RESTRICTIONS_LIST.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_RESTRICTIONS_LIST => + _id_EXTRA_RESTRICTIONS_LIST.get(_class, const _$jni.JStringType()); static final _id_EXTRA_RESULT_RECEIVER = _class.staticFieldId( - r"EXTRA_RESULT_RECEIVER", - r"Ljava/lang/String;", + r'EXTRA_RESULT_RECEIVER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_RESULT_RECEIVER + /// from: `static public final java.lang.String EXTRA_RESULT_RECEIVER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_RESULT_RECEIVER => - _id_EXTRA_RESULT_RECEIVER.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_RESULT_RECEIVER => + _id_EXTRA_RESULT_RECEIVER.get(_class, const _$jni.JStringType()); static final _id_EXTRA_RETURN_RESULT = _class.staticFieldId( - r"EXTRA_RETURN_RESULT", - r"Ljava/lang/String;", + r'EXTRA_RETURN_RESULT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_RETURN_RESULT + /// from: `static public final java.lang.String EXTRA_RETURN_RESULT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_RETURN_RESULT => - _id_EXTRA_RETURN_RESULT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_RETURN_RESULT => + _id_EXTRA_RETURN_RESULT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SHORTCUT_ICON = _class.staticFieldId( - r"EXTRA_SHORTCUT_ICON", - r"Ljava/lang/String;", + r'EXTRA_SHORTCUT_ICON', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SHORTCUT_ICON + /// from: `static public final java.lang.String EXTRA_SHORTCUT_ICON` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SHORTCUT_ICON => - _id_EXTRA_SHORTCUT_ICON.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SHORTCUT_ICON => + _id_EXTRA_SHORTCUT_ICON.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SHORTCUT_ICON_RESOURCE = _class.staticFieldId( - r"EXTRA_SHORTCUT_ICON_RESOURCE", - r"Ljava/lang/String;", + r'EXTRA_SHORTCUT_ICON_RESOURCE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SHORTCUT_ICON_RESOURCE + /// from: `static public final java.lang.String EXTRA_SHORTCUT_ICON_RESOURCE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SHORTCUT_ICON_RESOURCE => - _id_EXTRA_SHORTCUT_ICON_RESOURCE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SHORTCUT_ICON_RESOURCE => + _id_EXTRA_SHORTCUT_ICON_RESOURCE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SHORTCUT_ID = _class.staticFieldId( - r"EXTRA_SHORTCUT_ID", - r"Ljava/lang/String;", + r'EXTRA_SHORTCUT_ID', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SHORTCUT_ID + /// from: `static public final java.lang.String EXTRA_SHORTCUT_ID` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SHORTCUT_ID => - _id_EXTRA_SHORTCUT_ID.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SHORTCUT_ID => + _id_EXTRA_SHORTCUT_ID.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SHORTCUT_INTENT = _class.staticFieldId( - r"EXTRA_SHORTCUT_INTENT", - r"Ljava/lang/String;", + r'EXTRA_SHORTCUT_INTENT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SHORTCUT_INTENT + /// from: `static public final java.lang.String EXTRA_SHORTCUT_INTENT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SHORTCUT_INTENT => - _id_EXTRA_SHORTCUT_INTENT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SHORTCUT_INTENT => + _id_EXTRA_SHORTCUT_INTENT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SHORTCUT_NAME = _class.staticFieldId( - r"EXTRA_SHORTCUT_NAME", - r"Ljava/lang/String;", + r'EXTRA_SHORTCUT_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SHORTCUT_NAME + /// from: `static public final java.lang.String EXTRA_SHORTCUT_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SHORTCUT_NAME => - _id_EXTRA_SHORTCUT_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SHORTCUT_NAME => + _id_EXTRA_SHORTCUT_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SHUTDOWN_USERSPACE_ONLY = _class.staticFieldId( - r"EXTRA_SHUTDOWN_USERSPACE_ONLY", - r"Ljava/lang/String;", + r'EXTRA_SHUTDOWN_USERSPACE_ONLY', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SHUTDOWN_USERSPACE_ONLY + /// from: `static public final java.lang.String EXTRA_SHUTDOWN_USERSPACE_ONLY` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SHUTDOWN_USERSPACE_ONLY => - _id_EXTRA_SHUTDOWN_USERSPACE_ONLY.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SHUTDOWN_USERSPACE_ONLY => + _id_EXTRA_SHUTDOWN_USERSPACE_ONLY.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SPLIT_NAME = _class.staticFieldId( - r"EXTRA_SPLIT_NAME", - r"Ljava/lang/String;", + r'EXTRA_SPLIT_NAME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SPLIT_NAME + /// from: `static public final java.lang.String EXTRA_SPLIT_NAME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SPLIT_NAME => - _id_EXTRA_SPLIT_NAME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SPLIT_NAME => + _id_EXTRA_SPLIT_NAME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_START_TIME = _class.staticFieldId( - r"EXTRA_START_TIME", - r"Ljava/lang/String;", + r'EXTRA_START_TIME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_START_TIME + /// from: `static public final java.lang.String EXTRA_START_TIME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_START_TIME => - _id_EXTRA_START_TIME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_START_TIME => + _id_EXTRA_START_TIME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_STREAM = _class.staticFieldId( - r"EXTRA_STREAM", - r"Ljava/lang/String;", + r'EXTRA_STREAM', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_STREAM + /// from: `static public final java.lang.String EXTRA_STREAM` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_STREAM => - _id_EXTRA_STREAM.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_STREAM => + _id_EXTRA_STREAM.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SUBJECT = _class.staticFieldId( - r"EXTRA_SUBJECT", - r"Ljava/lang/String;", + r'EXTRA_SUBJECT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SUBJECT + /// from: `static public final java.lang.String EXTRA_SUBJECT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SUBJECT => - _id_EXTRA_SUBJECT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SUBJECT => + _id_EXTRA_SUBJECT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_SUSPENDED_PACKAGE_EXTRAS = _class.staticFieldId( - r"EXTRA_SUSPENDED_PACKAGE_EXTRAS", - r"Ljava/lang/String;", + r'EXTRA_SUSPENDED_PACKAGE_EXTRAS', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_SUSPENDED_PACKAGE_EXTRAS + /// from: `static public final java.lang.String EXTRA_SUSPENDED_PACKAGE_EXTRAS` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_SUSPENDED_PACKAGE_EXTRAS => - _id_EXTRA_SUSPENDED_PACKAGE_EXTRAS.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_SUSPENDED_PACKAGE_EXTRAS => + _id_EXTRA_SUSPENDED_PACKAGE_EXTRAS.get(_class, const _$jni.JStringType()); static final _id_EXTRA_TEMPLATE = _class.staticFieldId( - r"EXTRA_TEMPLATE", - r"Ljava/lang/String;", + r'EXTRA_TEMPLATE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_TEMPLATE + /// from: `static public final java.lang.String EXTRA_TEMPLATE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_TEMPLATE => - _id_EXTRA_TEMPLATE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_TEMPLATE => + _id_EXTRA_TEMPLATE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_TEXT = _class.staticFieldId( - r"EXTRA_TEXT", - r"Ljava/lang/String;", + r'EXTRA_TEXT', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_TEXT + /// from: `static public final java.lang.String EXTRA_TEXT` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_TEXT => - _id_EXTRA_TEXT.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_TEXT => + _id_EXTRA_TEXT.get(_class, const _$jni.JStringType()); static final _id_EXTRA_TIME = _class.staticFieldId( - r"EXTRA_TIME", - r"Ljava/lang/String;", + r'EXTRA_TIME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_TIME + /// from: `static public final java.lang.String EXTRA_TIME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_TIME => - _id_EXTRA_TIME.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_TIME => + _id_EXTRA_TIME.get(_class, const _$jni.JStringType()); static final _id_EXTRA_TIMEZONE = _class.staticFieldId( - r"EXTRA_TIMEZONE", - r"Ljava/lang/String;", + r'EXTRA_TIMEZONE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_TIMEZONE + /// from: `static public final java.lang.String EXTRA_TIMEZONE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_TIMEZONE => - _id_EXTRA_TIMEZONE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_TIMEZONE => + _id_EXTRA_TIMEZONE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_TITLE = _class.staticFieldId( - r"EXTRA_TITLE", - r"Ljava/lang/String;", + r'EXTRA_TITLE', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_TITLE + /// from: `static public final java.lang.String EXTRA_TITLE` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_TITLE => - _id_EXTRA_TITLE.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_TITLE => + _id_EXTRA_TITLE.get(_class, const _$jni.JStringType()); static final _id_EXTRA_UID = _class.staticFieldId( - r"EXTRA_UID", - r"Ljava/lang/String;", + r'EXTRA_UID', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_UID + /// from: `static public final java.lang.String EXTRA_UID` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_UID => - _id_EXTRA_UID.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_UID => + _id_EXTRA_UID.get(_class, const _$jni.JStringType()); static final _id_EXTRA_USER = _class.staticFieldId( - r"EXTRA_USER", - r"Ljava/lang/String;", + r'EXTRA_USER', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_USER + /// from: `static public final java.lang.String EXTRA_USER` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_USER => - _id_EXTRA_USER.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_USER => + _id_EXTRA_USER.get(_class, const _$jni.JStringType()); static final _id_EXTRA_USER_INITIATED = _class.staticFieldId( - r"EXTRA_USER_INITIATED", - r"Ljava/lang/String;", + r'EXTRA_USER_INITIATED', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EXTRA_USER_INITIATED + /// from: `static public final java.lang.String EXTRA_USER_INITIATED` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get EXTRA_USER_INITIATED => - _id_EXTRA_USER_INITIATED.get(_class, const jni.JStringType()); + static _$jni.JString get EXTRA_USER_INITIATED => + _id_EXTRA_USER_INITIATED.get(_class, const _$jni.JStringType()); - /// from: static public final int FILL_IN_ACTION + /// from: `static public final int FILL_IN_ACTION` static const FILL_IN_ACTION = 1; - /// from: static public final int FILL_IN_CATEGORIES + /// from: `static public final int FILL_IN_CATEGORIES` static const FILL_IN_CATEGORIES = 4; - /// from: static public final int FILL_IN_CLIP_DATA + /// from: `static public final int FILL_IN_CLIP_DATA` static const FILL_IN_CLIP_DATA = 128; - /// from: static public final int FILL_IN_COMPONENT + /// from: `static public final int FILL_IN_COMPONENT` static const FILL_IN_COMPONENT = 8; - /// from: static public final int FILL_IN_DATA + /// from: `static public final int FILL_IN_DATA` static const FILL_IN_DATA = 2; - /// from: static public final int FILL_IN_IDENTIFIER + /// from: `static public final int FILL_IN_IDENTIFIER` static const FILL_IN_IDENTIFIER = 256; - /// from: static public final int FILL_IN_PACKAGE + /// from: `static public final int FILL_IN_PACKAGE` static const FILL_IN_PACKAGE = 16; - /// from: static public final int FILL_IN_SELECTOR + /// from: `static public final int FILL_IN_SELECTOR` static const FILL_IN_SELECTOR = 64; - /// from: static public final int FILL_IN_SOURCE_BOUNDS + /// from: `static public final int FILL_IN_SOURCE_BOUNDS` static const FILL_IN_SOURCE_BOUNDS = 32; - /// from: static public final int FLAG_ACTIVITY_BROUGHT_TO_FRONT + /// from: `static public final int FLAG_ACTIVITY_BROUGHT_TO_FRONT` static const FLAG_ACTIVITY_BROUGHT_TO_FRONT = 4194304; - /// from: static public final int FLAG_ACTIVITY_CLEAR_TASK + /// from: `static public final int FLAG_ACTIVITY_CLEAR_TASK` static const FLAG_ACTIVITY_CLEAR_TASK = 32768; - /// from: static public final int FLAG_ACTIVITY_CLEAR_TOP + /// from: `static public final int FLAG_ACTIVITY_CLEAR_TOP` static const FLAG_ACTIVITY_CLEAR_TOP = 67108864; - /// from: static public final int FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET + /// from: `static public final int FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET` static const FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET = 524288; - /// from: static public final int FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS + /// from: `static public final int FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS` static const FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS = 8388608; - /// from: static public final int FLAG_ACTIVITY_FORWARD_RESULT + /// from: `static public final int FLAG_ACTIVITY_FORWARD_RESULT` static const FLAG_ACTIVITY_FORWARD_RESULT = 33554432; - /// from: static public final int FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY + /// from: `static public final int FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY` static const FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY = 1048576; - /// from: static public final int FLAG_ACTIVITY_LAUNCH_ADJACENT + /// from: `static public final int FLAG_ACTIVITY_LAUNCH_ADJACENT` static const FLAG_ACTIVITY_LAUNCH_ADJACENT = 4096; - /// from: static public final int FLAG_ACTIVITY_MATCH_EXTERNAL + /// from: `static public final int FLAG_ACTIVITY_MATCH_EXTERNAL` static const FLAG_ACTIVITY_MATCH_EXTERNAL = 2048; - /// from: static public final int FLAG_ACTIVITY_MULTIPLE_TASK + /// from: `static public final int FLAG_ACTIVITY_MULTIPLE_TASK` static const FLAG_ACTIVITY_MULTIPLE_TASK = 134217728; - /// from: static public final int FLAG_ACTIVITY_NEW_DOCUMENT + /// from: `static public final int FLAG_ACTIVITY_NEW_DOCUMENT` static const FLAG_ACTIVITY_NEW_DOCUMENT = 524288; - /// from: static public final int FLAG_ACTIVITY_NEW_TASK + /// from: `static public final int FLAG_ACTIVITY_NEW_TASK` static const FLAG_ACTIVITY_NEW_TASK = 268435456; - /// from: static public final int FLAG_ACTIVITY_NO_ANIMATION + /// from: `static public final int FLAG_ACTIVITY_NO_ANIMATION` static const FLAG_ACTIVITY_NO_ANIMATION = 65536; - /// from: static public final int FLAG_ACTIVITY_NO_HISTORY + /// from: `static public final int FLAG_ACTIVITY_NO_HISTORY` static const FLAG_ACTIVITY_NO_HISTORY = 1073741824; - /// from: static public final int FLAG_ACTIVITY_NO_USER_ACTION + /// from: `static public final int FLAG_ACTIVITY_NO_USER_ACTION` static const FLAG_ACTIVITY_NO_USER_ACTION = 262144; - /// from: static public final int FLAG_ACTIVITY_PREVIOUS_IS_TOP + /// from: `static public final int FLAG_ACTIVITY_PREVIOUS_IS_TOP` static const FLAG_ACTIVITY_PREVIOUS_IS_TOP = 16777216; - /// from: static public final int FLAG_ACTIVITY_REORDER_TO_FRONT + /// from: `static public final int FLAG_ACTIVITY_REORDER_TO_FRONT` static const FLAG_ACTIVITY_REORDER_TO_FRONT = 131072; - /// from: static public final int FLAG_ACTIVITY_REQUIRE_DEFAULT + /// from: `static public final int FLAG_ACTIVITY_REQUIRE_DEFAULT` static const FLAG_ACTIVITY_REQUIRE_DEFAULT = 512; - /// from: static public final int FLAG_ACTIVITY_REQUIRE_NON_BROWSER + /// from: `static public final int FLAG_ACTIVITY_REQUIRE_NON_BROWSER` static const FLAG_ACTIVITY_REQUIRE_NON_BROWSER = 1024; - /// from: static public final int FLAG_ACTIVITY_RESET_TASK_IF_NEEDED + /// from: `static public final int FLAG_ACTIVITY_RESET_TASK_IF_NEEDED` static const FLAG_ACTIVITY_RESET_TASK_IF_NEEDED = 2097152; - /// from: static public final int FLAG_ACTIVITY_RETAIN_IN_RECENTS + /// from: `static public final int FLAG_ACTIVITY_RETAIN_IN_RECENTS` static const FLAG_ACTIVITY_RETAIN_IN_RECENTS = 8192; - /// from: static public final int FLAG_ACTIVITY_SINGLE_TOP + /// from: `static public final int FLAG_ACTIVITY_SINGLE_TOP` static const FLAG_ACTIVITY_SINGLE_TOP = 536870912; - /// from: static public final int FLAG_ACTIVITY_TASK_ON_HOME + /// from: `static public final int FLAG_ACTIVITY_TASK_ON_HOME` static const FLAG_ACTIVITY_TASK_ON_HOME = 16384; - /// from: static public final int FLAG_DEBUG_LOG_RESOLUTION + /// from: `static public final int FLAG_DEBUG_LOG_RESOLUTION` static const FLAG_DEBUG_LOG_RESOLUTION = 8; - /// from: static public final int FLAG_DIRECT_BOOT_AUTO + /// from: `static public final int FLAG_DIRECT_BOOT_AUTO` static const FLAG_DIRECT_BOOT_AUTO = 256; - /// from: static public final int FLAG_EXCLUDE_STOPPED_PACKAGES + /// from: `static public final int FLAG_EXCLUDE_STOPPED_PACKAGES` static const FLAG_EXCLUDE_STOPPED_PACKAGES = 16; - /// from: static public final int FLAG_FROM_BACKGROUND + /// from: `static public final int FLAG_FROM_BACKGROUND` static const FLAG_FROM_BACKGROUND = 4; - /// from: static public final int FLAG_GRANT_PERSISTABLE_URI_PERMISSION + /// from: `static public final int FLAG_GRANT_PERSISTABLE_URI_PERMISSION` static const FLAG_GRANT_PERSISTABLE_URI_PERMISSION = 64; - /// from: static public final int FLAG_GRANT_PREFIX_URI_PERMISSION + /// from: `static public final int FLAG_GRANT_PREFIX_URI_PERMISSION` static const FLAG_GRANT_PREFIX_URI_PERMISSION = 128; - /// from: static public final int FLAG_GRANT_READ_URI_PERMISSION + /// from: `static public final int FLAG_GRANT_READ_URI_PERMISSION` static const FLAG_GRANT_READ_URI_PERMISSION = 1; - /// from: static public final int FLAG_GRANT_WRITE_URI_PERMISSION + /// from: `static public final int FLAG_GRANT_WRITE_URI_PERMISSION` static const FLAG_GRANT_WRITE_URI_PERMISSION = 2; - /// from: static public final int FLAG_INCLUDE_STOPPED_PACKAGES + /// from: `static public final int FLAG_INCLUDE_STOPPED_PACKAGES` static const FLAG_INCLUDE_STOPPED_PACKAGES = 32; - /// from: static public final int FLAG_RECEIVER_FOREGROUND + /// from: `static public final int FLAG_RECEIVER_FOREGROUND` static const FLAG_RECEIVER_FOREGROUND = 268435456; - /// from: static public final int FLAG_RECEIVER_NO_ABORT + /// from: `static public final int FLAG_RECEIVER_NO_ABORT` static const FLAG_RECEIVER_NO_ABORT = 134217728; - /// from: static public final int FLAG_RECEIVER_REGISTERED_ONLY + /// from: `static public final int FLAG_RECEIVER_REGISTERED_ONLY` static const FLAG_RECEIVER_REGISTERED_ONLY = 1073741824; - /// from: static public final int FLAG_RECEIVER_REPLACE_PENDING + /// from: `static public final int FLAG_RECEIVER_REPLACE_PENDING` static const FLAG_RECEIVER_REPLACE_PENDING = 536870912; - /// from: static public final int FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS + /// from: `static public final int FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS` static const FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS = 2097152; static final _id_METADATA_DOCK_HOME = _class.staticFieldId( - r"METADATA_DOCK_HOME", - r"Ljava/lang/String;", + r'METADATA_DOCK_HOME', + r'Ljava/lang/String;', ); - /// from: static public final java.lang.String METADATA_DOCK_HOME + /// from: `static public final java.lang.String METADATA_DOCK_HOME` /// The returned object must be released after use, by calling the [release] method. - static jni.JString get METADATA_DOCK_HOME => - _id_METADATA_DOCK_HOME.get(_class, const jni.JStringType()); + static _$jni.JString get METADATA_DOCK_HOME => + _id_METADATA_DOCK_HOME.get(_class, const _$jni.JStringType()); - /// from: static public final int URI_ALLOW_UNSAFE + /// from: `static public final int URI_ALLOW_UNSAFE` static const URI_ALLOW_UNSAFE = 4; - /// from: static public final int URI_ANDROID_APP_SCHEME + /// from: `static public final int URI_ANDROID_APP_SCHEME` static const URI_ANDROID_APP_SCHEME = 2; - /// from: static public final int URI_INTENT_SCHEME + /// from: `static public final int URI_INTENT_SCHEME` static const URI_INTENT_SCHEME = 1; - static final _id_new0 = _class.constructorId( - r"()V", + static final _id_new$ = _class.constructorId( + r'()V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Intent() { return Intent.fromReference( - _new0(_class.reference.pointer, _id_new0 as jni.JMethodIDPtr) + _new$(_class.reference.pointer, _id_new$ as _$jni.JMethodIDPtr) .reference); } - static final _id_new1 = _class.constructorId( - r"(Landroid/content/Intent;)V", + static final _id_new$1 = _class.constructorId( + r'(Landroid/content/Intent;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (android.content.Intent intent) + /// from: `public void (android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new1( + factory Intent.new$1( Intent intent, ) { - return Intent.fromReference(_new1(_class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, intent.reference.pointer) + return Intent.fromReference(_new$1(_class.reference.pointer, + _id_new$1 as _$jni.JMethodIDPtr, intent.reference.pointer) .reference); } - static final _id_new2 = _class.constructorId( - r"(Ljava/lang/String;)V", + static final _id_new$2 = _class.constructorId( + r'(Ljava/lang/String;)V', ); - static final _new2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + static final _new$2 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.lang.String string) + /// from: `public void (java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new2( - jni.JString string, + factory Intent.new$2( + _$jni.JString string, ) { - return Intent.fromReference(_new2(_class.reference.pointer, - _id_new2 as jni.JMethodIDPtr, string.reference.pointer) + return Intent.fromReference(_new$2(_class.reference.pointer, + _id_new$2 as _$jni.JMethodIDPtr, string.reference.pointer) .reference); } - static final _id_new3 = _class.constructorId( - r"(Ljava/lang/String;Landroid/net/Uri;)V", + static final _id_new$3 = _class.constructorId( + r'(Ljava/lang/String;Landroid/net/Uri;)V', ); - static final _new3 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$3 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.lang.String string, android.net.Uri uri) + /// from: `public void (java.lang.String string, android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new3( - jni.JString string, - jni.JObject uri, + factory Intent.new$3( + _$jni.JString string, + _$jni.JObject uri, ) { - return Intent.fromReference(_new3( + return Intent.fromReference(_new$3( _class.reference.pointer, - _id_new3 as jni.JMethodIDPtr, + _id_new$3 as _$jni.JMethodIDPtr, string.reference.pointer, uri.reference.pointer) .reference); } - static final _id_new4 = _class.constructorId( - r"(Landroid/content/Context;Ljava/lang/Class;)V", + static final _id_new$4 = _class.constructorId( + r'(Landroid/content/Context;Ljava/lang/Class;)V', ); - static final _new4 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$4 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (android.content.Context context, java.lang.Class class) + /// from: `public void (android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new4( + factory Intent.new$4( Context context, - jni.JObject class0, + _$jni.JObject class$, ) { - return Intent.fromReference(_new4( + return Intent.fromReference(_new$4( _class.reference.pointer, - _id_new4 as jni.JMethodIDPtr, + _id_new$4 as _$jni.JMethodIDPtr, context.reference.pointer, - class0.reference.pointer) + class$.reference.pointer) .reference); } - static final _id_new5 = _class.constructorId( - r"(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V", + static final _id_new$5 = _class.constructorId( + r'(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V', ); - static final _new5 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$5 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void (java.lang.String string, android.net.Uri uri, android.content.Context context, java.lang.Class class) - /// The returned object must be released after use, by calling the [release] method. - factory Intent.new5( - jni.JString string, - jni.JObject uri, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void (java.lang.String string, android.net.Uri uri, android.content.Context context, java.lang.Class class)` + /// The returned object must be released after use, by calling the [release] method. + factory Intent.new$5( + _$jni.JString string, + _$jni.JObject uri, Context context, - jni.JObject class0, + _$jni.JObject class$, ) { - return Intent.fromReference(_new5( + return Intent.fromReference(_new$5( _class.reference.pointer, - _id_new5 as jni.JMethodIDPtr, + _id_new$5 as _$jni.JMethodIDPtr, string.reference.pointer, uri.reference.pointer, context.reference.pointer, - class0.reference.pointer) + class$.reference.pointer) .reference); } static final _id_createChooser = _class.staticMethodId( - r"createChooser", - r"(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;", + r'createChooser', + r'(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _createChooser = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _createChooser = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence) + /// from: `static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. static Intent createChooser( Intent intent, - jni.JObject charSequence, + _$jni.JObject charSequence, ) { return _createChooser( _class.reference.pointer, - _id_createChooser as jni.JMethodIDPtr, + _id_createChooser as _$jni.JMethodIDPtr, intent.reference.pointer, charSequence.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_createChooser1 = _class.staticMethodId( - r"createChooser", - r"(Landroid/content/Intent;Ljava/lang/CharSequence;Landroid/content/IntentSender;)Landroid/content/Intent;", + static final _id_createChooser$1 = _class.staticMethodId( + r'createChooser', + r'(Landroid/content/Intent;Ljava/lang/CharSequence;Landroid/content/IntentSender;)Landroid/content/Intent;', ); - static final _createChooser1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _createChooser$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence, android.content.IntentSender intentSender) + /// from: `static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence, android.content.IntentSender intentSender)` /// The returned object must be released after use, by calling the [release] method. - static Intent createChooser1( + static Intent createChooser$1( Intent intent, - jni.JObject charSequence, - jni.JObject intentSender, + _$jni.JObject charSequence, + _$jni.JObject intentSender, ) { - return _createChooser1( + return _createChooser$1( _class.reference.pointer, - _id_createChooser1 as jni.JMethodIDPtr, + _id_createChooser$1 as _$jni.JMethodIDPtr, intent.reference.pointer, charSequence.reference.pointer, intentSender.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_clone = _class.instanceMethodId( - r"clone", - r"()Ljava/lang/Object;", + r'clone', + r'()Ljava/lang/Object;', ); - static final _clone = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _clone = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object clone() + /// from: `public java.lang.Object clone()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject clone() { - return _clone(reference.pointer, _id_clone as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject clone() { + return _clone(reference.pointer, _id_clone as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_cloneFilter = _class.instanceMethodId( - r"cloneFilter", - r"()Landroid/content/Intent;", + r'cloneFilter', + r'()Landroid/content/Intent;', ); - static final _cloneFilter = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _cloneFilter = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.Intent cloneFilter() + /// from: `public android.content.Intent cloneFilter()` /// The returned object must be released after use, by calling the [release] method. Intent cloneFilter() { - return _cloneFilter(reference.pointer, _id_cloneFilter as jni.JMethodIDPtr) - .object(const $IntentType()); + return _cloneFilter( + reference.pointer, _id_cloneFilter as _$jni.JMethodIDPtr) + .object(const $Intent$Type()); } static final _id_makeMainActivity = _class.staticMethodId( - r"makeMainActivity", - r"(Landroid/content/ComponentName;)Landroid/content/Intent;", + r'makeMainActivity', + r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _makeMainActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _makeMainActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent makeMainActivity(android.content.ComponentName componentName) + /// from: `static public android.content.Intent makeMainActivity(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. static Intent makeMainActivity( - jni.JObject componentName, + _$jni.JObject componentName, ) { return _makeMainActivity( _class.reference.pointer, - _id_makeMainActivity as jni.JMethodIDPtr, + _id_makeMainActivity as _$jni.JMethodIDPtr, componentName.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_makeMainSelectorActivity = _class.staticMethodId( - r"makeMainSelectorActivity", - r"(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;", + r'makeMainSelectorActivity', + r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _makeMainSelectorActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _makeMainSelectorActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent makeMainSelectorActivity(java.lang.String string, java.lang.String string1) + /// from: `static public android.content.Intent makeMainSelectorActivity(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. static Intent makeMainSelectorActivity( - jni.JString string, - jni.JString string1, + _$jni.JString string, + _$jni.JString string1, ) { return _makeMainSelectorActivity( _class.reference.pointer, - _id_makeMainSelectorActivity as jni.JMethodIDPtr, + _id_makeMainSelectorActivity as _$jni.JMethodIDPtr, string.reference.pointer, string1.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_makeRestartActivityTask = _class.staticMethodId( - r"makeRestartActivityTask", - r"(Landroid/content/ComponentName;)Landroid/content/Intent;", + r'makeRestartActivityTask', + r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _makeRestartActivityTask = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _makeRestartActivityTask = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent makeRestartActivityTask(android.content.ComponentName componentName) + /// from: `static public android.content.Intent makeRestartActivityTask(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. static Intent makeRestartActivityTask( - jni.JObject componentName, + _$jni.JObject componentName, ) { return _makeRestartActivityTask( _class.reference.pointer, - _id_makeRestartActivityTask as jni.JMethodIDPtr, + _id_makeRestartActivityTask as _$jni.JMethodIDPtr, componentName.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_getIntent = _class.staticMethodId( - r"getIntent", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'getIntent', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _getIntent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _getIntent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent getIntent(java.lang.String string) + /// from: `static public android.content.Intent getIntent(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. static Intent getIntent( - jni.JString string, + _$jni.JString string, ) { return _getIntent(_class.reference.pointer, - _id_getIntent as jni.JMethodIDPtr, string.reference.pointer) - .object(const $IntentType()); + _id_getIntent as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const $Intent$Type()); } static final _id_parseUri = _class.staticMethodId( - r"parseUri", - r"(Ljava/lang/String;I)Landroid/content/Intent;", + r'parseUri', + r'(Ljava/lang/String;I)Landroid/content/Intent;', ); - static final _parseUri = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _parseUri = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: static public android.content.Intent parseUri(java.lang.String string, int i) + /// from: `static public android.content.Intent parseUri(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. static Intent parseUri( - jni.JString string, + _$jni.JString string, int i, ) { - return _parseUri(_class.reference.pointer, _id_parseUri as jni.JMethodIDPtr, - string.reference.pointer, i) - .object(const $IntentType()); + return _parseUri(_class.reference.pointer, + _id_parseUri as _$jni.JMethodIDPtr, string.reference.pointer, i) + .object(const $Intent$Type()); } static final _id_getIntentOld = _class.staticMethodId( - r"getIntentOld", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'getIntentOld', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _getIntentOld = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _getIntentOld = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent getIntentOld(java.lang.String string) + /// from: `static public android.content.Intent getIntentOld(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. static Intent getIntentOld( - jni.JString string, + _$jni.JString string, ) { return _getIntentOld(_class.reference.pointer, - _id_getIntentOld as jni.JMethodIDPtr, string.reference.pointer) - .object(const $IntentType()); + _id_getIntentOld as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const $Intent$Type()); } static final _id_getAction = _class.instanceMethodId( - r"getAction", - r"()Ljava/lang/String;", + r'getAction', + r'()Ljava/lang/String;', ); - static final _getAction = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getAction = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getAction() + /// from: `public java.lang.String getAction()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getAction() { - return _getAction(reference.pointer, _id_getAction as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString getAction() { + return _getAction(reference.pointer, _id_getAction as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getData = _class.instanceMethodId( - r"getData", - r"()Landroid/net/Uri;", + r'getData', + r'()Landroid/net/Uri;', ); - static final _getData = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getData = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.net.Uri getData() + /// from: `public android.net.Uri getData()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getData() { - return _getData(reference.pointer, _id_getData as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getData() { + return _getData(reference.pointer, _id_getData as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getDataString = _class.instanceMethodId( - r"getDataString", - r"()Ljava/lang/String;", + r'getDataString', + r'()Ljava/lang/String;', ); - static final _getDataString = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getDataString = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getDataString() + /// from: `public java.lang.String getDataString()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getDataString() { + _$jni.JString getDataString() { return _getDataString( - reference.pointer, _id_getDataString as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getDataString as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getScheme = _class.instanceMethodId( - r"getScheme", - r"()Ljava/lang/String;", + r'getScheme', + r'()Ljava/lang/String;', ); - static final _getScheme = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getScheme = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getScheme() + /// from: `public java.lang.String getScheme()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getScheme() { - return _getScheme(reference.pointer, _id_getScheme as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString getScheme() { + return _getScheme(reference.pointer, _id_getScheme as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getType = _class.instanceMethodId( - r"getType", - r"()Ljava/lang/String;", + r'getType', + r'()Ljava/lang/String;', ); - static final _getType = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getType = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getType() + /// from: `public java.lang.String getType()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getType() { - return _getType(reference.pointer, _id_getType as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString getType() { + return _getType(reference.pointer, _id_getType as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_resolveType = _class.instanceMethodId( - r"resolveType", - r"(Landroid/content/Context;)Ljava/lang/String;", + r'resolveType', + r'(Landroid/content/Context;)Ljava/lang/String;', ); - static final _resolveType = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _resolveType = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.String resolveType(android.content.Context context) + /// from: `public java.lang.String resolveType(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. - jni.JString resolveType( + _$jni.JString resolveType( Context context, ) { - return _resolveType(reference.pointer, _id_resolveType as jni.JMethodIDPtr, - context.reference.pointer) - .object(const jni.JStringType()); + return _resolveType(reference.pointer, + _id_resolveType as _$jni.JMethodIDPtr, context.reference.pointer) + .object(const _$jni.JStringType()); } - static final _id_resolveType1 = _class.instanceMethodId( - r"resolveType", - r"(Landroid/content/ContentResolver;)Ljava/lang/String;", + static final _id_resolveType$1 = _class.instanceMethodId( + r'resolveType', + r'(Landroid/content/ContentResolver;)Ljava/lang/String;', ); - static final _resolveType1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _resolveType$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.String resolveType(android.content.ContentResolver contentResolver) + /// from: `public java.lang.String resolveType(android.content.ContentResolver contentResolver)` /// The returned object must be released after use, by calling the [release] method. - jni.JString resolveType1( - jni.JObject contentResolver, + _$jni.JString resolveType$1( + _$jni.JObject contentResolver, ) { - return _resolveType1( + return _resolveType$1( reference.pointer, - _id_resolveType1 as jni.JMethodIDPtr, + _id_resolveType$1 as _$jni.JMethodIDPtr, contentResolver.reference.pointer) - .object(const jni.JStringType()); + .object(const _$jni.JStringType()); } static final _id_resolveTypeIfNeeded = _class.instanceMethodId( - r"resolveTypeIfNeeded", - r"(Landroid/content/ContentResolver;)Ljava/lang/String;", + r'resolveTypeIfNeeded', + r'(Landroid/content/ContentResolver;)Ljava/lang/String;', ); - static final _resolveTypeIfNeeded = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _resolveTypeIfNeeded = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.String resolveTypeIfNeeded(android.content.ContentResolver contentResolver) + /// from: `public java.lang.String resolveTypeIfNeeded(android.content.ContentResolver contentResolver)` /// The returned object must be released after use, by calling the [release] method. - jni.JString resolveTypeIfNeeded( - jni.JObject contentResolver, + _$jni.JString resolveTypeIfNeeded( + _$jni.JObject contentResolver, ) { return _resolveTypeIfNeeded( reference.pointer, - _id_resolveTypeIfNeeded as jni.JMethodIDPtr, + _id_resolveTypeIfNeeded as _$jni.JMethodIDPtr, contentResolver.reference.pointer) - .object(const jni.JStringType()); + .object(const _$jni.JStringType()); } static final _id_getIdentifier = _class.instanceMethodId( - r"getIdentifier", - r"()Ljava/lang/String;", + r'getIdentifier', + r'()Ljava/lang/String;', ); - static final _getIdentifier = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getIdentifier = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getIdentifier() + /// from: `public java.lang.String getIdentifier()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getIdentifier() { + _$jni.JString getIdentifier() { return _getIdentifier( - reference.pointer, _id_getIdentifier as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getIdentifier as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_hasCategory = _class.instanceMethodId( - r"hasCategory", - r"(Ljava/lang/String;)Z", + r'hasCategory', + r'(Ljava/lang/String;)Z', ); - static final _hasCategory = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _hasCategory = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean hasCategory(java.lang.String string) + /// from: `public boolean hasCategory(java.lang.String string)` bool hasCategory( - jni.JString string, + _$jni.JString string, ) { - return _hasCategory(reference.pointer, _id_hasCategory as jni.JMethodIDPtr, - string.reference.pointer) + return _hasCategory(reference.pointer, + _id_hasCategory as _$jni.JMethodIDPtr, string.reference.pointer) .boolean; } static final _id_getCategories = _class.instanceMethodId( - r"getCategories", - r"()Ljava/util/Set;", + r'getCategories', + r'()Ljava/util/Set;', ); - static final _getCategories = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getCategories = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.util.Set getCategories() + /// from: `public java.util.Set getCategories()` /// The returned object must be released after use, by calling the [release] method. - jni.JSet getCategories() { + _$jni.JSet<_$jni.JString> getCategories() { return _getCategories( - reference.pointer, _id_getCategories as jni.JMethodIDPtr) - .object(const jni.JSetType(jni.JStringType())); + reference.pointer, _id_getCategories as _$jni.JMethodIDPtr) + .object(const _$jni.JSetType(_$jni.JStringType())); } static final _id_getSelector = _class.instanceMethodId( - r"getSelector", - r"()Landroid/content/Intent;", + r'getSelector', + r'()Landroid/content/Intent;', ); - static final _getSelector = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getSelector = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.Intent getSelector() + /// from: `public android.content.Intent getSelector()` /// The returned object must be released after use, by calling the [release] method. Intent getSelector() { - return _getSelector(reference.pointer, _id_getSelector as jni.JMethodIDPtr) - .object(const $IntentType()); + return _getSelector( + reference.pointer, _id_getSelector as _$jni.JMethodIDPtr) + .object(const $Intent$Type()); } static final _id_getClipData = _class.instanceMethodId( - r"getClipData", - r"()Landroid/content/ClipData;", + r'getClipData', + r'()Landroid/content/ClipData;', ); - static final _getClipData = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getClipData = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.ClipData getClipData() + /// from: `public android.content.ClipData getClipData()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getClipData() { - return _getClipData(reference.pointer, _id_getClipData as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getClipData() { + return _getClipData( + reference.pointer, _id_getClipData as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_setExtrasClassLoader = _class.instanceMethodId( - r"setExtrasClassLoader", - r"(Ljava/lang/ClassLoader;)V", + r'setExtrasClassLoader', + r'(Ljava/lang/ClassLoader;)V', ); - static final _setExtrasClassLoader = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setExtrasClassLoader = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setExtrasClassLoader(java.lang.ClassLoader classLoader) + /// from: `public void setExtrasClassLoader(java.lang.ClassLoader classLoader)` void setExtrasClassLoader( - jni.JObject classLoader, + _$jni.JObject classLoader, ) { _setExtrasClassLoader( reference.pointer, - _id_setExtrasClassLoader as jni.JMethodIDPtr, + _id_setExtrasClassLoader as _$jni.JMethodIDPtr, classLoader.reference.pointer) .check(); } static final _id_hasExtra = _class.instanceMethodId( - r"hasExtra", - r"(Ljava/lang/String;)Z", + r'hasExtra', + r'(Ljava/lang/String;)Z', ); - static final _hasExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _hasExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean hasExtra(java.lang.String string) + /// from: `public boolean hasExtra(java.lang.String string)` bool hasExtra( - jni.JString string, + _$jni.JString string, ) { - return _hasExtra(reference.pointer, _id_hasExtra as jni.JMethodIDPtr, + return _hasExtra(reference.pointer, _id_hasExtra as _$jni.JMethodIDPtr, string.reference.pointer) .boolean; } static final _id_hasFileDescriptors = _class.instanceMethodId( - r"hasFileDescriptors", - r"()Z", + r'hasFileDescriptors', + r'()Z', ); - static final _hasFileDescriptors = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _hasFileDescriptors = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean hasFileDescriptors() + /// from: `public boolean hasFileDescriptors()` bool hasFileDescriptors() { return _hasFileDescriptors( - reference.pointer, _id_hasFileDescriptors as jni.JMethodIDPtr) + reference.pointer, _id_hasFileDescriptors as _$jni.JMethodIDPtr) .boolean; } static final _id_getBooleanExtra = _class.instanceMethodId( - r"getBooleanExtra", - r"(Ljava/lang/String;Z)Z", + r'getBooleanExtra', + r'(Ljava/lang/String;Z)Z', ); - static final _getBooleanExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallBooleanMethod") + static final _getBooleanExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public boolean getBooleanExtra(java.lang.String string, boolean z) + /// from: `public boolean getBooleanExtra(java.lang.String string, boolean z)` bool getBooleanExtra( - jni.JString string, + _$jni.JString string, bool z, ) { return _getBooleanExtra( reference.pointer, - _id_getBooleanExtra as jni.JMethodIDPtr, + _id_getBooleanExtra as _$jni.JMethodIDPtr, string.reference.pointer, z ? 1 : 0) .boolean; } static final _id_getByteExtra = _class.instanceMethodId( - r"getByteExtra", - r"(Ljava/lang/String;B)B", + r'getByteExtra', + r'(Ljava/lang/String;B)B', ); - static final _getByteExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallByteMethod") + static final _getByteExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallByteMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public byte getByteExtra(java.lang.String string, byte b) + /// from: `public byte getByteExtra(java.lang.String string, byte b)` int getByteExtra( - jni.JString string, + _$jni.JString string, int b, ) { return _getByteExtra(reference.pointer, - _id_getByteExtra as jni.JMethodIDPtr, string.reference.pointer, b) + _id_getByteExtra as _$jni.JMethodIDPtr, string.reference.pointer, b) .byte; } static final _id_getShortExtra = _class.instanceMethodId( - r"getShortExtra", - r"(Ljava/lang/String;S)S", + r'getShortExtra', + r'(Ljava/lang/String;S)S', ); - static final _getShortExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallShortMethod") + static final _getShortExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallShortMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public short getShortExtra(java.lang.String string, short s) + /// from: `public short getShortExtra(java.lang.String string, short s)` int getShortExtra( - jni.JString string, + _$jni.JString string, int s, ) { - return _getShortExtra(reference.pointer, - _id_getShortExtra as jni.JMethodIDPtr, string.reference.pointer, s) + return _getShortExtra( + reference.pointer, + _id_getShortExtra as _$jni.JMethodIDPtr, + string.reference.pointer, + s) .short; } static final _id_getCharExtra = _class.instanceMethodId( - r"getCharExtra", - r"(Ljava/lang/String;C)C", + r'getCharExtra', + r'(Ljava/lang/String;C)C', ); - static final _getCharExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallCharMethod") + static final _getCharExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallCharMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public char getCharExtra(java.lang.String string, char c) + /// from: `public char getCharExtra(java.lang.String string, char c)` int getCharExtra( - jni.JString string, + _$jni.JString string, int c, ) { return _getCharExtra(reference.pointer, - _id_getCharExtra as jni.JMethodIDPtr, string.reference.pointer, c) + _id_getCharExtra as _$jni.JMethodIDPtr, string.reference.pointer, c) .char; } static final _id_getIntExtra = _class.instanceMethodId( - r"getIntExtra", - r"(Ljava/lang/String;I)I", + r'getIntExtra', + r'(Ljava/lang/String;I)I', ); - static final _getIntExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallIntMethod") + static final _getIntExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public int getIntExtra(java.lang.String string, int i) + /// from: `public int getIntExtra(java.lang.String string, int i)` int getIntExtra( - jni.JString string, + _$jni.JString string, int i, ) { - return _getIntExtra(reference.pointer, _id_getIntExtra as jni.JMethodIDPtr, - string.reference.pointer, i) + return _getIntExtra(reference.pointer, + _id_getIntExtra as _$jni.JMethodIDPtr, string.reference.pointer, i) .integer; } static final _id_getLongExtra = _class.instanceMethodId( - r"getLongExtra", - r"(Ljava/lang/String;J)J", + r'getLongExtra', + r'(Ljava/lang/String;J)J', ); - static final _getLongExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallLongMethod") + static final _getLongExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int64)>)>>( + 'globalEnv_CallLongMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public long getLongExtra(java.lang.String string, long j) + /// from: `public long getLongExtra(java.lang.String string, long j)` int getLongExtra( - jni.JString string, + _$jni.JString string, int j, ) { return _getLongExtra(reference.pointer, - _id_getLongExtra as jni.JMethodIDPtr, string.reference.pointer, j) + _id_getLongExtra as _$jni.JMethodIDPtr, string.reference.pointer, j) .long; } static final _id_getFloatExtra = _class.instanceMethodId( - r"getFloatExtra", - r"(Ljava/lang/String;F)F", + r'getFloatExtra', + r'(Ljava/lang/String;F)F', ); - static final _getFloatExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Double)>)>>( - "globalEnv_CallFloatMethod") + static final _getFloatExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Double + )>)>>('globalEnv_CallFloatMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, double)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); - /// from: public float getFloatExtra(java.lang.String string, float f) + /// from: `public float getFloatExtra(java.lang.String string, float f)` double getFloatExtra( - jni.JString string, + _$jni.JString string, double f, ) { - return _getFloatExtra(reference.pointer, - _id_getFloatExtra as jni.JMethodIDPtr, string.reference.pointer, f) + return _getFloatExtra( + reference.pointer, + _id_getFloatExtra as _$jni.JMethodIDPtr, + string.reference.pointer, + f) .float; } static final _id_getDoubleExtra = _class.instanceMethodId( - r"getDoubleExtra", - r"(Ljava/lang/String;D)D", + r'getDoubleExtra', + r'(Ljava/lang/String;D)D', ); - static final _getDoubleExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Double)>)>>( - "globalEnv_CallDoubleMethod") + static final _getDoubleExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Double + )>)>>('globalEnv_CallDoubleMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, double)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); - /// from: public double getDoubleExtra(java.lang.String string, double d) + /// from: `public double getDoubleExtra(java.lang.String string, double d)` double getDoubleExtra( - jni.JString string, + _$jni.JString string, double d, ) { - return _getDoubleExtra(reference.pointer, - _id_getDoubleExtra as jni.JMethodIDPtr, string.reference.pointer, d) + return _getDoubleExtra( + reference.pointer, + _id_getDoubleExtra as _$jni.JMethodIDPtr, + string.reference.pointer, + d) .doubleFloat; } static final _id_getStringExtra = _class.instanceMethodId( - r"getStringExtra", - r"(Ljava/lang/String;)Ljava/lang/String;", + r'getStringExtra', + r'(Ljava/lang/String;)Ljava/lang/String;', ); - static final _getStringExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getStringExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.String getStringExtra(java.lang.String string) + /// from: `public java.lang.String getStringExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JString getStringExtra( - jni.JString string, + _$jni.JString getStringExtra( + _$jni.JString string, ) { return _getStringExtra(reference.pointer, - _id_getStringExtra as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JStringType()); + _id_getStringExtra as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const _$jni.JStringType()); } static final _id_getCharSequenceExtra = _class.instanceMethodId( - r"getCharSequenceExtra", - r"(Ljava/lang/String;)Ljava/lang/CharSequence;", + r'getCharSequenceExtra', + r'(Ljava/lang/String;)Ljava/lang/CharSequence;', ); - static final _getCharSequenceExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getCharSequenceExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.CharSequence getCharSequenceExtra(java.lang.String string) + /// from: `public java.lang.CharSequence getCharSequenceExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getCharSequenceExtra( - jni.JString string, + _$jni.JObject getCharSequenceExtra( + _$jni.JString string, ) { return _getCharSequenceExtra( reference.pointer, - _id_getCharSequenceExtra as jni.JMethodIDPtr, + _id_getCharSequenceExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_getParcelableExtra = _class.instanceMethodId( - r"getParcelableExtra", - r"(Ljava/lang/String;)Landroid/os/Parcelable;", + r'getParcelableExtra', + r'(Ljava/lang/String;)Landroid/os/Parcelable;', ); - static final _getParcelableExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getParcelableExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public T getParcelableExtra(java.lang.String string) + /// from: `public T getParcelableExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - $T getParcelableExtra<$T extends jni.JObject>( - jni.JString string, { - required jni.JObjType<$T> T, + $T getParcelableExtra<$T extends _$jni.JObject>( + _$jni.JString string, { + required _$jni.JObjType<$T> T, }) { return _getParcelableExtra( reference.pointer, - _id_getParcelableExtra as jni.JMethodIDPtr, + _id_getParcelableExtra as _$jni.JMethodIDPtr, string.reference.pointer) .object(T); } - static final _id_getParcelableExtra1 = _class.instanceMethodId( - r"getParcelableExtra", - r"(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;", + static final _id_getParcelableExtra$1 = _class.instanceMethodId( + r'getParcelableExtra', + r'(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;', ); - static final _getParcelableExtra1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getParcelableExtra$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public T getParcelableExtra(java.lang.String string, java.lang.Class class) - /// The returned object must be released after use, by calling the [release] method. - $T getParcelableExtra1<$T extends jni.JObject>( - jni.JString string, - jni.JObject class0, { - required jni.JObjType<$T> T, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public T getParcelableExtra(java.lang.String string, java.lang.Class class)` + /// The returned object must be released after use, by calling the [release] method. + $T getParcelableExtra$1<$T extends _$jni.JObject>( + _$jni.JString string, + _$jni.JObject class$, { + required _$jni.JObjType<$T> T, }) { - return _getParcelableExtra1( + return _getParcelableExtra$1( reference.pointer, - _id_getParcelableExtra1 as jni.JMethodIDPtr, + _id_getParcelableExtra$1 as _$jni.JMethodIDPtr, string.reference.pointer, - class0.reference.pointer) + class$.reference.pointer) .object(T); } static final _id_getParcelableArrayExtra = _class.instanceMethodId( - r"getParcelableArrayExtra", - r"(Ljava/lang/String;)[Landroid/os/Parcelable;", + r'getParcelableArrayExtra', + r'(Ljava/lang/String;)[Landroid/os/Parcelable;', ); - static final _getParcelableArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getParcelableArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.os.Parcelable[] getParcelableArrayExtra(java.lang.String string) + /// from: `public android.os.Parcelable[] getParcelableArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getParcelableArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.JObject> getParcelableArrayExtra( + _$jni.JString string, ) { return _getParcelableArrayExtra( reference.pointer, - _id_getParcelableArrayExtra as jni.JMethodIDPtr, + _id_getParcelableArrayExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.JObjectType())); + .object(const _$jni.JArrayType(_$jni.JObjectType())); } - static final _id_getParcelableArrayExtra1 = _class.instanceMethodId( - r"getParcelableArrayExtra", - r"(Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;", + static final _id_getParcelableArrayExtra$1 = _class.instanceMethodId( + r'getParcelableArrayExtra', + r'(Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;', ); - static final _getParcelableArrayExtra1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getParcelableArrayExtra$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public java.lang.Object[] getParcelableArrayExtra(java.lang.String string, java.lang.Class class) - /// The returned object must be released after use, by calling the [release] method. - jni.JArray<$T> getParcelableArrayExtra1<$T extends jni.JObject>( - jni.JString string, - jni.JObject class0, { - required jni.JObjType<$T> T, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public java.lang.Object[] getParcelableArrayExtra(java.lang.String string, java.lang.Class class)` + /// The returned object must be released after use, by calling the [release] method. + _$jni.JArray<$T> getParcelableArrayExtra$1<$T extends _$jni.JObject>( + _$jni.JString string, + _$jni.JObject class$, { + required _$jni.JObjType<$T> T, }) { - return _getParcelableArrayExtra1( + return _getParcelableArrayExtra$1( reference.pointer, - _id_getParcelableArrayExtra1 as jni.JMethodIDPtr, + _id_getParcelableArrayExtra$1 as _$jni.JMethodIDPtr, string.reference.pointer, - class0.reference.pointer) - .object(jni.JArrayType(T)); + class$.reference.pointer) + .object(_$jni.JArrayType(T)); } static final _id_getParcelableArrayListExtra = _class.instanceMethodId( - r"getParcelableArrayListExtra", - r"(Ljava/lang/String;)Ljava/util/ArrayList;", - ); - - static final _getParcelableArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'getParcelableArrayListExtra', + r'(Ljava/lang/String;)Ljava/util/ArrayList;', + ); + + static final _getParcelableArrayListExtra = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string) + /// from: `public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getParcelableArrayListExtra<$T extends jni.JObject>( - jni.JString string, { - required jni.JObjType<$T> T, + _$jni.JObject getParcelableArrayListExtra<$T extends _$jni.JObject>( + _$jni.JString string, { + required _$jni.JObjType<$T> T, }) { return _getParcelableArrayListExtra( reference.pointer, - _id_getParcelableArrayListExtra as jni.JMethodIDPtr, + _id_getParcelableArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_getParcelableArrayListExtra1 = _class.instanceMethodId( - r"getParcelableArrayListExtra", - r"(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/ArrayList;", + static final _id_getParcelableArrayListExtra$1 = _class.instanceMethodId( + r'getParcelableArrayListExtra', + r'(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/ArrayList;', ); - static final _getParcelableArrayListExtra1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string, java.lang.Class class) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject getParcelableArrayListExtra1<$T extends jni.JObject>( - jni.JString string, - jni.JObject class0, { - required jni.JObjType<$T> T, + static final _getParcelableArrayListExtra$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string, java.lang.Class class)` + /// The returned object must be released after use, by calling the [release] method. + _$jni.JObject getParcelableArrayListExtra$1<$T extends _$jni.JObject>( + _$jni.JString string, + _$jni.JObject class$, { + required _$jni.JObjType<$T> T, }) { - return _getParcelableArrayListExtra1( + return _getParcelableArrayListExtra$1( reference.pointer, - _id_getParcelableArrayListExtra1 as jni.JMethodIDPtr, + _id_getParcelableArrayListExtra$1 as _$jni.JMethodIDPtr, string.reference.pointer, - class0.reference.pointer) - .object(const jni.JObjectType()); + class$.reference.pointer) + .object(const _$jni.JObjectType()); } static final _id_getSerializableExtra = _class.instanceMethodId( - r"getSerializableExtra", - r"(Ljava/lang/String;)Ljava/io/Serializable;", + r'getSerializableExtra', + r'(Ljava/lang/String;)Ljava/io/Serializable;', ); - static final _getSerializableExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getSerializableExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.io.Serializable getSerializableExtra(java.lang.String string) + /// from: `public java.io.Serializable getSerializableExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getSerializableExtra( - jni.JString string, + _$jni.JObject getSerializableExtra( + _$jni.JString string, ) { return _getSerializableExtra( reference.pointer, - _id_getSerializableExtra as jni.JMethodIDPtr, + _id_getSerializableExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_getSerializableExtra1 = _class.instanceMethodId( - r"getSerializableExtra", - r"(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;", + static final _id_getSerializableExtra$1 = _class.instanceMethodId( + r'getSerializableExtra', + r'(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;', ); - static final _getSerializableExtra1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _getSerializableExtra$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public T getSerializableExtra(java.lang.String string, java.lang.Class class) - /// The returned object must be released after use, by calling the [release] method. - $T getSerializableExtra1<$T extends jni.JObject>( - jni.JString string, - jni.JObject class0, { - required jni.JObjType<$T> T, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public T getSerializableExtra(java.lang.String string, java.lang.Class class)` + /// The returned object must be released after use, by calling the [release] method. + $T getSerializableExtra$1<$T extends _$jni.JObject>( + _$jni.JString string, + _$jni.JObject class$, { + required _$jni.JObjType<$T> T, }) { - return _getSerializableExtra1( + return _getSerializableExtra$1( reference.pointer, - _id_getSerializableExtra1 as jni.JMethodIDPtr, + _id_getSerializableExtra$1 as _$jni.JMethodIDPtr, string.reference.pointer, - class0.reference.pointer) + class$.reference.pointer) .object(T); } static final _id_getIntegerArrayListExtra = _class.instanceMethodId( - r"getIntegerArrayListExtra", - r"(Ljava/lang/String;)Ljava/util/ArrayList;", + r'getIntegerArrayListExtra', + r'(Ljava/lang/String;)Ljava/util/ArrayList;', ); - static final _getIntegerArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getIntegerArrayListExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.util.ArrayList getIntegerArrayListExtra(java.lang.String string) + /// from: `public java.util.ArrayList getIntegerArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getIntegerArrayListExtra( - jni.JString string, + _$jni.JObject getIntegerArrayListExtra( + _$jni.JString string, ) { return _getIntegerArrayListExtra( reference.pointer, - _id_getIntegerArrayListExtra as jni.JMethodIDPtr, + _id_getIntegerArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_getStringArrayListExtra = _class.instanceMethodId( - r"getStringArrayListExtra", - r"(Ljava/lang/String;)Ljava/util/ArrayList;", + r'getStringArrayListExtra', + r'(Ljava/lang/String;)Ljava/util/ArrayList;', ); - static final _getStringArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getStringArrayListExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.util.ArrayList getStringArrayListExtra(java.lang.String string) + /// from: `public java.util.ArrayList getStringArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getStringArrayListExtra( - jni.JString string, + _$jni.JObject getStringArrayListExtra( + _$jni.JString string, ) { return _getStringArrayListExtra( reference.pointer, - _id_getStringArrayListExtra as jni.JMethodIDPtr, + _id_getStringArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_getCharSequenceArrayListExtra = _class.instanceMethodId( - r"getCharSequenceArrayListExtra", - r"(Ljava/lang/String;)Ljava/util/ArrayList;", - ); - - static final _getCharSequenceArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'getCharSequenceArrayListExtra', + r'(Ljava/lang/String;)Ljava/util/ArrayList;', + ); + + static final _getCharSequenceArrayListExtra = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.util.ArrayList getCharSequenceArrayListExtra(java.lang.String string) + /// from: `public java.util.ArrayList getCharSequenceArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getCharSequenceArrayListExtra( - jni.JString string, + _$jni.JObject getCharSequenceArrayListExtra( + _$jni.JString string, ) { return _getCharSequenceArrayListExtra( reference.pointer, - _id_getCharSequenceArrayListExtra as jni.JMethodIDPtr, + _id_getCharSequenceArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_getBooleanArrayExtra = _class.instanceMethodId( - r"getBooleanArrayExtra", - r"(Ljava/lang/String;)[Z", + r'getBooleanArrayExtra', + r'(Ljava/lang/String;)[Z', ); - static final _getBooleanArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getBooleanArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean[] getBooleanArrayExtra(java.lang.String string) + /// from: `public boolean[] getBooleanArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getBooleanArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jboolean> getBooleanArrayExtra( + _$jni.JString string, ) { return _getBooleanArrayExtra( reference.pointer, - _id_getBooleanArrayExtra as jni.JMethodIDPtr, + _id_getBooleanArrayExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jbooleanType())); + .object(const _$jni.JArrayType(_$jni.jbooleanType())); } static final _id_getByteArrayExtra = _class.instanceMethodId( - r"getByteArrayExtra", - r"(Ljava/lang/String;)[B", + r'getByteArrayExtra', + r'(Ljava/lang/String;)[B', ); - static final _getByteArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getByteArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public byte[] getByteArrayExtra(java.lang.String string) + /// from: `public byte[] getByteArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getByteArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jbyte> getByteArrayExtra( + _$jni.JString string, ) { - return _getByteArrayExtra(reference.pointer, - _id_getByteArrayExtra as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jbyteType())); + return _getByteArrayExtra( + reference.pointer, + _id_getByteArrayExtra as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JArrayType(_$jni.jbyteType())); } static final _id_getShortArrayExtra = _class.instanceMethodId( - r"getShortArrayExtra", - r"(Ljava/lang/String;)[S", + r'getShortArrayExtra', + r'(Ljava/lang/String;)[S', ); - static final _getShortArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getShortArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public short[] getShortArrayExtra(java.lang.String string) + /// from: `public short[] getShortArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getShortArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jshort> getShortArrayExtra( + _$jni.JString string, ) { return _getShortArrayExtra( reference.pointer, - _id_getShortArrayExtra as jni.JMethodIDPtr, + _id_getShortArrayExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jshortType())); + .object(const _$jni.JArrayType(_$jni.jshortType())); } static final _id_getCharArrayExtra = _class.instanceMethodId( - r"getCharArrayExtra", - r"(Ljava/lang/String;)[C", + r'getCharArrayExtra', + r'(Ljava/lang/String;)[C', ); - static final _getCharArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getCharArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public char[] getCharArrayExtra(java.lang.String string) + /// from: `public char[] getCharArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getCharArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jchar> getCharArrayExtra( + _$jni.JString string, ) { - return _getCharArrayExtra(reference.pointer, - _id_getCharArrayExtra as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jcharType())); + return _getCharArrayExtra( + reference.pointer, + _id_getCharArrayExtra as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JArrayType(_$jni.jcharType())); } static final _id_getIntArrayExtra = _class.instanceMethodId( - r"getIntArrayExtra", - r"(Ljava/lang/String;)[I", + r'getIntArrayExtra', + r'(Ljava/lang/String;)[I', ); - static final _getIntArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getIntArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public int[] getIntArrayExtra(java.lang.String string) + /// from: `public int[] getIntArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getIntArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jint> getIntArrayExtra( + _$jni.JString string, ) { - return _getIntArrayExtra(reference.pointer, - _id_getIntArrayExtra as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jintType())); + return _getIntArrayExtra( + reference.pointer, + _id_getIntArrayExtra as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JArrayType(_$jni.jintType())); } static final _id_getLongArrayExtra = _class.instanceMethodId( - r"getLongArrayExtra", - r"(Ljava/lang/String;)[J", + r'getLongArrayExtra', + r'(Ljava/lang/String;)[J', ); - static final _getLongArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getLongArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public long[] getLongArrayExtra(java.lang.String string) + /// from: `public long[] getLongArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getLongArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jlong> getLongArrayExtra( + _$jni.JString string, ) { - return _getLongArrayExtra(reference.pointer, - _id_getLongArrayExtra as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jlongType())); + return _getLongArrayExtra( + reference.pointer, + _id_getLongArrayExtra as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JArrayType(_$jni.jlongType())); } static final _id_getFloatArrayExtra = _class.instanceMethodId( - r"getFloatArrayExtra", - r"(Ljava/lang/String;)[F", + r'getFloatArrayExtra', + r'(Ljava/lang/String;)[F', ); - static final _getFloatArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getFloatArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public float[] getFloatArrayExtra(java.lang.String string) + /// from: `public float[] getFloatArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getFloatArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jfloat> getFloatArrayExtra( + _$jni.JString string, ) { return _getFloatArrayExtra( reference.pointer, - _id_getFloatArrayExtra as jni.JMethodIDPtr, + _id_getFloatArrayExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jfloatType())); + .object(const _$jni.JArrayType(_$jni.jfloatType())); } static final _id_getDoubleArrayExtra = _class.instanceMethodId( - r"getDoubleArrayExtra", - r"(Ljava/lang/String;)[D", + r'getDoubleArrayExtra', + r'(Ljava/lang/String;)[D', ); - static final _getDoubleArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getDoubleArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public double[] getDoubleArrayExtra(java.lang.String string) + /// from: `public double[] getDoubleArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getDoubleArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.jdouble> getDoubleArrayExtra( + _$jni.JString string, ) { return _getDoubleArrayExtra( reference.pointer, - _id_getDoubleArrayExtra as jni.JMethodIDPtr, + _id_getDoubleArrayExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.jdoubleType())); + .object(const _$jni.JArrayType(_$jni.jdoubleType())); } static final _id_getStringArrayExtra = _class.instanceMethodId( - r"getStringArrayExtra", - r"(Ljava/lang/String;)[Ljava/lang/String;", + r'getStringArrayExtra', + r'(Ljava/lang/String;)[Ljava/lang/String;', ); - static final _getStringArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getStringArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.String[] getStringArrayExtra(java.lang.String string) + /// from: `public java.lang.String[] getStringArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getStringArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.JString> getStringArrayExtra( + _$jni.JString string, ) { return _getStringArrayExtra( reference.pointer, - _id_getStringArrayExtra as jni.JMethodIDPtr, + _id_getStringArrayExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.JStringType())); + .object(const _$jni.JArrayType(_$jni.JStringType())); } static final _id_getCharSequenceArrayExtra = _class.instanceMethodId( - r"getCharSequenceArrayExtra", - r"(Ljava/lang/String;)[Ljava/lang/CharSequence;", + r'getCharSequenceArrayExtra', + r'(Ljava/lang/String;)[Ljava/lang/CharSequence;', ); - static final _getCharSequenceArrayExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getCharSequenceArrayExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.CharSequence[] getCharSequenceArrayExtra(java.lang.String string) + /// from: `public java.lang.CharSequence[] getCharSequenceArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JArray getCharSequenceArrayExtra( - jni.JString string, + _$jni.JArray<_$jni.JObject> getCharSequenceArrayExtra( + _$jni.JString string, ) { return _getCharSequenceArrayExtra( reference.pointer, - _id_getCharSequenceArrayExtra as jni.JMethodIDPtr, + _id_getCharSequenceArrayExtra as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JArrayType(jni.JObjectType())); + .object(const _$jni.JArrayType(_$jni.JObjectType())); } static final _id_getBundleExtra = _class.instanceMethodId( - r"getBundleExtra", - r"(Ljava/lang/String;)Landroid/os/Bundle;", + r'getBundleExtra', + r'(Ljava/lang/String;)Landroid/os/Bundle;', ); - static final _getBundleExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getBundleExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.os.Bundle getBundleExtra(java.lang.String string) + /// from: `public android.os.Bundle getBundleExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getBundleExtra( - jni.JString string, + _$jni.JObject getBundleExtra( + _$jni.JString string, ) { return _getBundleExtra(reference.pointer, - _id_getBundleExtra as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + _id_getBundleExtra as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const _$jni.JObjectType()); } static final _id_getExtras = _class.instanceMethodId( - r"getExtras", - r"()Landroid/os/Bundle;", + r'getExtras', + r'()Landroid/os/Bundle;', ); - static final _getExtras = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getExtras = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.os.Bundle getExtras() + /// from: `public android.os.Bundle getExtras()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getExtras() { - return _getExtras(reference.pointer, _id_getExtras as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getExtras() { + return _getExtras(reference.pointer, _id_getExtras as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getFlags = _class.instanceMethodId( - r"getFlags", - r"()I", + r'getFlags', + r'()I', ); - static final _getFlags = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _getFlags = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int getFlags() + /// from: `public int getFlags()` int getFlags() { - return _getFlags(reference.pointer, _id_getFlags as jni.JMethodIDPtr) + return _getFlags(reference.pointer, _id_getFlags as _$jni.JMethodIDPtr) .integer; } static final _id_getPackage = _class.instanceMethodId( - r"getPackage", - r"()Ljava/lang/String;", + r'getPackage', + r'()Ljava/lang/String;', ); - static final _getPackage = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getPackage = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getPackage() + /// from: `public java.lang.String getPackage()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getPackage() { - return _getPackage(reference.pointer, _id_getPackage as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString getPackage() { + return _getPackage(reference.pointer, _id_getPackage as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getComponent = _class.instanceMethodId( - r"getComponent", - r"()Landroid/content/ComponentName;", + r'getComponent', + r'()Landroid/content/ComponentName;', ); - static final _getComponent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getComponent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.ComponentName getComponent() + /// from: `public android.content.ComponentName getComponent()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getComponent() { + _$jni.JObject getComponent() { return _getComponent( - reference.pointer, _id_getComponent as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getComponent as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getSourceBounds = _class.instanceMethodId( - r"getSourceBounds", - r"()Landroid/graphics/Rect;", + r'getSourceBounds', + r'()Landroid/graphics/Rect;', ); - static final _getSourceBounds = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getSourceBounds = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.graphics.Rect getSourceBounds() + /// from: `public android.graphics.Rect getSourceBounds()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getSourceBounds() { + _$jni.JObject getSourceBounds() { return _getSourceBounds( - reference.pointer, _id_getSourceBounds as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getSourceBounds as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_resolveActivity = _class.instanceMethodId( - r"resolveActivity", - r"(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;", + r'resolveActivity', + r'(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;', ); - static final _resolveActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _resolveActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.ComponentName resolveActivity(android.content.pm.PackageManager packageManager) + /// from: `public android.content.ComponentName resolveActivity(android.content.pm.PackageManager packageManager)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject resolveActivity( - jni.JObject packageManager, + _$jni.JObject resolveActivity( + _$jni.JObject packageManager, ) { return _resolveActivity( reference.pointer, - _id_resolveActivity as jni.JMethodIDPtr, + _id_resolveActivity as _$jni.JMethodIDPtr, packageManager.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_resolveActivityInfo = _class.instanceMethodId( - r"resolveActivityInfo", - r"(Landroid/content/pm/PackageManager;I)Landroid/content/pm/ActivityInfo;", + r'resolveActivityInfo', + r'(Landroid/content/pm/PackageManager;I)Landroid/content/pm/ActivityInfo;', ); - static final _resolveActivityInfo = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _resolveActivityInfo = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.content.pm.ActivityInfo resolveActivityInfo(android.content.pm.PackageManager packageManager, int i) + /// from: `public android.content.pm.ActivityInfo resolveActivityInfo(android.content.pm.PackageManager packageManager, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject resolveActivityInfo( - jni.JObject packageManager, + _$jni.JObject resolveActivityInfo( + _$jni.JObject packageManager, int i, ) { return _resolveActivityInfo( reference.pointer, - _id_resolveActivityInfo as jni.JMethodIDPtr, + _id_resolveActivityInfo as _$jni.JMethodIDPtr, packageManager.reference.pointer, i) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_setAction = _class.instanceMethodId( - r"setAction", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'setAction', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setAction = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setAction = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setAction(java.lang.String string) + /// from: `public android.content.Intent setAction(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setAction( - jni.JString string, + _$jni.JString string, ) { - return _setAction(reference.pointer, _id_setAction as jni.JMethodIDPtr, + return _setAction(reference.pointer, _id_setAction as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setData = _class.instanceMethodId( - r"setData", - r"(Landroid/net/Uri;)Landroid/content/Intent;", + r'setData', + r'(Landroid/net/Uri;)Landroid/content/Intent;', ); - static final _setData = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setData = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setData(android.net.Uri uri) + /// from: `public android.content.Intent setData(android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. Intent setData( - jni.JObject uri, + _$jni.JObject uri, ) { - return _setData(reference.pointer, _id_setData as jni.JMethodIDPtr, + return _setData(reference.pointer, _id_setData as _$jni.JMethodIDPtr, uri.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setDataAndNormalize = _class.instanceMethodId( - r"setDataAndNormalize", - r"(Landroid/net/Uri;)Landroid/content/Intent;", + r'setDataAndNormalize', + r'(Landroid/net/Uri;)Landroid/content/Intent;', ); - static final _setDataAndNormalize = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setDataAndNormalize = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setDataAndNormalize(android.net.Uri uri) + /// from: `public android.content.Intent setDataAndNormalize(android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. Intent setDataAndNormalize( - jni.JObject uri, + _$jni.JObject uri, ) { - return _setDataAndNormalize(reference.pointer, - _id_setDataAndNormalize as jni.JMethodIDPtr, uri.reference.pointer) - .object(const $IntentType()); + return _setDataAndNormalize( + reference.pointer, + _id_setDataAndNormalize as _$jni.JMethodIDPtr, + uri.reference.pointer) + .object(const $Intent$Type()); } static final _id_setType = _class.instanceMethodId( - r"setType", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'setType', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setType = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setType = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setType(java.lang.String string) + /// from: `public android.content.Intent setType(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setType( - jni.JString string, + _$jni.JString string, ) { - return _setType(reference.pointer, _id_setType as jni.JMethodIDPtr, + return _setType(reference.pointer, _id_setType as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setTypeAndNormalize = _class.instanceMethodId( - r"setTypeAndNormalize", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'setTypeAndNormalize', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setTypeAndNormalize = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setTypeAndNormalize = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setTypeAndNormalize(java.lang.String string) + /// from: `public android.content.Intent setTypeAndNormalize(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setTypeAndNormalize( - jni.JString string, + _$jni.JString string, ) { return _setTypeAndNormalize( reference.pointer, - _id_setTypeAndNormalize as jni.JMethodIDPtr, + _id_setTypeAndNormalize as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setDataAndType = _class.instanceMethodId( - r"setDataAndType", - r"(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;", + r'setDataAndType', + r'(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setDataAndType = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _setDataAndType = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setDataAndType(android.net.Uri uri, java.lang.String string) + /// from: `public android.content.Intent setDataAndType(android.net.Uri uri, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setDataAndType( - jni.JObject uri, - jni.JString string, + _$jni.JObject uri, + _$jni.JString string, ) { return _setDataAndType( reference.pointer, - _id_setDataAndType as jni.JMethodIDPtr, + _id_setDataAndType as _$jni.JMethodIDPtr, uri.reference.pointer, string.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setDataAndTypeAndNormalize = _class.instanceMethodId( - r"setDataAndTypeAndNormalize", - r"(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;", + r'setDataAndTypeAndNormalize', + r'(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setDataAndTypeAndNormalize = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + static final _setDataAndTypeAndNormalize = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setDataAndTypeAndNormalize(android.net.Uri uri, java.lang.String string) + /// from: `public android.content.Intent setDataAndTypeAndNormalize(android.net.Uri uri, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setDataAndTypeAndNormalize( - jni.JObject uri, - jni.JString string, + _$jni.JObject uri, + _$jni.JString string, ) { return _setDataAndTypeAndNormalize( reference.pointer, - _id_setDataAndTypeAndNormalize as jni.JMethodIDPtr, + _id_setDataAndTypeAndNormalize as _$jni.JMethodIDPtr, uri.reference.pointer, string.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setIdentifier = _class.instanceMethodId( - r"setIdentifier", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'setIdentifier', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setIdentifier = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setIdentifier = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setIdentifier(java.lang.String string) + /// from: `public android.content.Intent setIdentifier(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setIdentifier( - jni.JString string, + _$jni.JString string, ) { return _setIdentifier(reference.pointer, - _id_setIdentifier as jni.JMethodIDPtr, string.reference.pointer) - .object(const $IntentType()); + _id_setIdentifier as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const $Intent$Type()); } static final _id_addCategory = _class.instanceMethodId( - r"addCategory", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'addCategory', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _addCategory = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _addCategory = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent addCategory(java.lang.String string) + /// from: `public android.content.Intent addCategory(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent addCategory( - jni.JString string, + _$jni.JString string, ) { - return _addCategory(reference.pointer, _id_addCategory as jni.JMethodIDPtr, - string.reference.pointer) - .object(const $IntentType()); + return _addCategory(reference.pointer, + _id_addCategory as _$jni.JMethodIDPtr, string.reference.pointer) + .object(const $Intent$Type()); } static final _id_removeCategory = _class.instanceMethodId( - r"removeCategory", - r"(Ljava/lang/String;)V", + r'removeCategory', + r'(Ljava/lang/String;)V', ); - static final _removeCategory = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _removeCategory = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void removeCategory(java.lang.String string) + /// from: `public void removeCategory(java.lang.String string)` void removeCategory( - jni.JString string, + _$jni.JString string, ) { - _removeCategory(reference.pointer, _id_removeCategory as jni.JMethodIDPtr, + _removeCategory(reference.pointer, _id_removeCategory as _$jni.JMethodIDPtr, string.reference.pointer) .check(); } static final _id_setSelector = _class.instanceMethodId( - r"setSelector", - r"(Landroid/content/Intent;)V", + r'setSelector', + r'(Landroid/content/Intent;)V', ); - static final _setSelector = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setSelector = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setSelector(android.content.Intent intent) + /// from: `public void setSelector(android.content.Intent intent)` void setSelector( Intent intent, ) { - _setSelector(reference.pointer, _id_setSelector as jni.JMethodIDPtr, + _setSelector(reference.pointer, _id_setSelector as _$jni.JMethodIDPtr, intent.reference.pointer) .check(); } static final _id_setClipData = _class.instanceMethodId( - r"setClipData", - r"(Landroid/content/ClipData;)V", + r'setClipData', + r'(Landroid/content/ClipData;)V', ); - static final _setClipData = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setClipData = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setClipData(android.content.ClipData clipData) + /// from: `public void setClipData(android.content.ClipData clipData)` void setClipData( - jni.JObject clipData, + _$jni.JObject clipData, ) { - _setClipData(reference.pointer, _id_setClipData as jni.JMethodIDPtr, + _setClipData(reference.pointer, _id_setClipData as _$jni.JMethodIDPtr, clipData.reference.pointer) .check(); } static final _id_putExtra = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;Z)Landroid/content/Intent;", + r'putExtra', + r'(Ljava/lang/String;Z)Landroid/content/Intent;', ); - static final _putExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, boolean z) + /// from: `public android.content.Intent putExtra(java.lang.String string, boolean z)` /// The returned object must be released after use, by calling the [release] method. Intent putExtra( - jni.JString string, + _$jni.JString string, bool z, ) { - return _putExtra(reference.pointer, _id_putExtra as jni.JMethodIDPtr, + return _putExtra(reference.pointer, _id_putExtra as _$jni.JMethodIDPtr, string.reference.pointer, z ? 1 : 0) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra1 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;B)Landroid/content/Intent;", + static final _id_putExtra$1 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;B)Landroid/content/Intent;', ); - static final _putExtra1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, byte b) + /// from: `public android.content.Intent putExtra(java.lang.String string, byte b)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra1( - jni.JString string, + Intent putExtra$1( + _$jni.JString string, int b, ) { - return _putExtra1(reference.pointer, _id_putExtra1 as jni.JMethodIDPtr, + return _putExtra$1(reference.pointer, _id_putExtra$1 as _$jni.JMethodIDPtr, string.reference.pointer, b) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra2 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;C)Landroid/content/Intent;", + static final _id_putExtra$2 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;C)Landroid/content/Intent;', ); - static final _putExtra2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra$2 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, char c) + /// from: `public android.content.Intent putExtra(java.lang.String string, char c)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra2( - jni.JString string, + Intent putExtra$2( + _$jni.JString string, int c, ) { - return _putExtra2(reference.pointer, _id_putExtra2 as jni.JMethodIDPtr, + return _putExtra$2(reference.pointer, _id_putExtra$2 as _$jni.JMethodIDPtr, string.reference.pointer, c) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra3 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;S)Landroid/content/Intent;", + static final _id_putExtra$3 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;S)Landroid/content/Intent;', ); - static final _putExtra3 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra$3 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, short s) + /// from: `public android.content.Intent putExtra(java.lang.String string, short s)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra3( - jni.JString string, + Intent putExtra$3( + _$jni.JString string, int s, ) { - return _putExtra3(reference.pointer, _id_putExtra3 as jni.JMethodIDPtr, + return _putExtra$3(reference.pointer, _id_putExtra$3 as _$jni.JMethodIDPtr, string.reference.pointer, s) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra4 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;I)Landroid/content/Intent;", + static final _id_putExtra$4 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;I)Landroid/content/Intent;', ); - static final _putExtra4 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra$4 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, int i) + /// from: `public android.content.Intent putExtra(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra4( - jni.JString string, + Intent putExtra$4( + _$jni.JString string, int i, ) { - return _putExtra4(reference.pointer, _id_putExtra4 as jni.JMethodIDPtr, + return _putExtra$4(reference.pointer, _id_putExtra$4 as _$jni.JMethodIDPtr, string.reference.pointer, i) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra5 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;J)Landroid/content/Intent;", + static final _id_putExtra$5 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;J)Landroid/content/Intent;', ); - static final _putExtra5 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra$5 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int64)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, long j) + /// from: `public android.content.Intent putExtra(java.lang.String string, long j)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra5( - jni.JString string, + Intent putExtra$5( + _$jni.JString string, int j, ) { - return _putExtra5(reference.pointer, _id_putExtra5 as jni.JMethodIDPtr, + return _putExtra$5(reference.pointer, _id_putExtra$5 as _$jni.JMethodIDPtr, string.reference.pointer, j) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra6 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;F)Landroid/content/Intent;", + static final _id_putExtra$6 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;F)Landroid/content/Intent;', ); - static final _putExtra6 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Double)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra$6 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Double + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, double)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, float f) + /// from: `public android.content.Intent putExtra(java.lang.String string, float f)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra6( - jni.JString string, + Intent putExtra$6( + _$jni.JString string, double f, ) { - return _putExtra6(reference.pointer, _id_putExtra6 as jni.JMethodIDPtr, + return _putExtra$6(reference.pointer, _id_putExtra$6 as _$jni.JMethodIDPtr, string.reference.pointer, f) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra7 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;D)Landroid/content/Intent;", + static final _id_putExtra$7 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;D)Landroid/content/Intent;', ); - static final _putExtra7 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Double)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtra$7 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Double + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, double)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, double)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, double d) + /// from: `public android.content.Intent putExtra(java.lang.String string, double d)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra7( - jni.JString string, + Intent putExtra$7( + _$jni.JString string, double d, ) { - return _putExtra7(reference.pointer, _id_putExtra7 as jni.JMethodIDPtr, + return _putExtra$7(reference.pointer, _id_putExtra$7 as _$jni.JMethodIDPtr, string.reference.pointer, d) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra8 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;", + static final _id_putExtra$8 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _putExtra8 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$8 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, java.lang.String string1) + /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra8( - jni.JString string, - jni.JString string1, + Intent putExtra$8( + _$jni.JString string, + _$jni.JString string1, ) { - return _putExtra8(reference.pointer, _id_putExtra8 as jni.JMethodIDPtr, + return _putExtra$8(reference.pointer, _id_putExtra$8 as _$jni.JMethodIDPtr, string.reference.pointer, string1.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra9 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;", + static final _id_putExtra$9 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _putExtra9 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$9 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence charSequence) + /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra9( - jni.JString string, - jni.JObject charSequence, + Intent putExtra$9( + _$jni.JString string, + _$jni.JObject charSequence, ) { - return _putExtra9(reference.pointer, _id_putExtra9 as jni.JMethodIDPtr, + return _putExtra$9(reference.pointer, _id_putExtra$9 as _$jni.JMethodIDPtr, string.reference.pointer, charSequence.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra10 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;", + static final _id_putExtra$10 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;', ); - static final _putExtra10 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$10 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable parcelable) + /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable parcelable)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra10( - jni.JString string, - jni.JObject parcelable, + Intent putExtra$10( + _$jni.JString string, + _$jni.JObject parcelable, ) { - return _putExtra10(reference.pointer, _id_putExtra10 as jni.JMethodIDPtr, - string.reference.pointer, parcelable.reference.pointer) - .object(const $IntentType()); + return _putExtra$10( + reference.pointer, + _id_putExtra$10 as _$jni.JMethodIDPtr, + string.reference.pointer, + parcelable.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra11 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;", + static final _id_putExtra$11 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;', ); - static final _putExtra11 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$11 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable[] parcelables) + /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable[] parcelables)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra11( - jni.JString string, - jni.JArray parcelables, + Intent putExtra$11( + _$jni.JString string, + _$jni.JArray<_$jni.JObject> parcelables, ) { - return _putExtra11(reference.pointer, _id_putExtra11 as jni.JMethodIDPtr, - string.reference.pointer, parcelables.reference.pointer) - .object(const $IntentType()); + return _putExtra$11( + reference.pointer, + _id_putExtra$11 as _$jni.JMethodIDPtr, + string.reference.pointer, + parcelables.reference.pointer) + .object(const $Intent$Type()); } static final _id_putParcelableArrayListExtra = _class.instanceMethodId( - r"putParcelableArrayListExtra", - r"(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", + r'putParcelableArrayListExtra', + r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putParcelableArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + static final _putParcelableArrayListExtra = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putParcelableArrayListExtra(java.lang.String string, java.util.ArrayList arrayList) + /// from: `public android.content.Intent putParcelableArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. Intent putParcelableArrayListExtra( - jni.JString string, - jni.JObject arrayList, + _$jni.JString string, + _$jni.JObject arrayList, ) { return _putParcelableArrayListExtra( reference.pointer, - _id_putParcelableArrayListExtra as jni.JMethodIDPtr, + _id_putParcelableArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer, arrayList.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_putIntegerArrayListExtra = _class.instanceMethodId( - r"putIntegerArrayListExtra", - r"(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", + r'putIntegerArrayListExtra', + r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putIntegerArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putIntegerArrayListExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putIntegerArrayListExtra(java.lang.String string, java.util.ArrayList arrayList) + /// from: `public android.content.Intent putIntegerArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. Intent putIntegerArrayListExtra( - jni.JString string, - jni.JObject arrayList, + _$jni.JString string, + _$jni.JObject arrayList, ) { return _putIntegerArrayListExtra( reference.pointer, - _id_putIntegerArrayListExtra as jni.JMethodIDPtr, + _id_putIntegerArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer, arrayList.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_putStringArrayListExtra = _class.instanceMethodId( - r"putStringArrayListExtra", - r"(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", + r'putStringArrayListExtra', + r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putStringArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putStringArrayListExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putStringArrayListExtra(java.lang.String string, java.util.ArrayList arrayList) + /// from: `public android.content.Intent putStringArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. Intent putStringArrayListExtra( - jni.JString string, - jni.JObject arrayList, + _$jni.JString string, + _$jni.JObject arrayList, ) { return _putStringArrayListExtra( reference.pointer, - _id_putStringArrayListExtra as jni.JMethodIDPtr, + _id_putStringArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer, arrayList.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_putCharSequenceArrayListExtra = _class.instanceMethodId( - r"putCharSequenceArrayListExtra", - r"(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", + r'putCharSequenceArrayListExtra', + r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putCharSequenceArrayListExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + static final _putCharSequenceArrayListExtra = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putCharSequenceArrayListExtra(java.lang.String string, java.util.ArrayList arrayList) + /// from: `public android.content.Intent putCharSequenceArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. Intent putCharSequenceArrayListExtra( - jni.JString string, - jni.JObject arrayList, + _$jni.JString string, + _$jni.JObject arrayList, ) { return _putCharSequenceArrayListExtra( reference.pointer, - _id_putCharSequenceArrayListExtra as jni.JMethodIDPtr, + _id_putCharSequenceArrayListExtra as _$jni.JMethodIDPtr, string.reference.pointer, arrayList.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtra12 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;", + static final _id_putExtra$12 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;', ); - static final _putExtra12 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$12 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, java.io.Serializable serializable) + /// from: `public android.content.Intent putExtra(java.lang.String string, java.io.Serializable serializable)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra12( - jni.JString string, - jni.JObject serializable, + Intent putExtra$12( + _$jni.JString string, + _$jni.JObject serializable, ) { - return _putExtra12(reference.pointer, _id_putExtra12 as jni.JMethodIDPtr, - string.reference.pointer, serializable.reference.pointer) - .object(const $IntentType()); + return _putExtra$12( + reference.pointer, + _id_putExtra$12 as _$jni.JMethodIDPtr, + string.reference.pointer, + serializable.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra13 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[Z)Landroid/content/Intent;", + static final _id_putExtra$13 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[Z)Landroid/content/Intent;', ); - static final _putExtra13 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$13 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, boolean[] zs) + /// from: `public android.content.Intent putExtra(java.lang.String string, boolean[] zs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra13( - jni.JString string, - jni.JArray zs, + Intent putExtra$13( + _$jni.JString string, + _$jni.JArray<_$jni.jboolean> zs, ) { - return _putExtra13(reference.pointer, _id_putExtra13 as jni.JMethodIDPtr, - string.reference.pointer, zs.reference.pointer) - .object(const $IntentType()); + return _putExtra$13( + reference.pointer, + _id_putExtra$13 as _$jni.JMethodIDPtr, + string.reference.pointer, + zs.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra14 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[B)Landroid/content/Intent;", + static final _id_putExtra$14 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[B)Landroid/content/Intent;', ); - static final _putExtra14 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$14 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, byte[] bs) + /// from: `public android.content.Intent putExtra(java.lang.String string, byte[] bs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra14( - jni.JString string, - jni.JArray bs, + Intent putExtra$14( + _$jni.JString string, + _$jni.JArray<_$jni.jbyte> bs, ) { - return _putExtra14(reference.pointer, _id_putExtra14 as jni.JMethodIDPtr, - string.reference.pointer, bs.reference.pointer) - .object(const $IntentType()); + return _putExtra$14( + reference.pointer, + _id_putExtra$14 as _$jni.JMethodIDPtr, + string.reference.pointer, + bs.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra15 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[S)Landroid/content/Intent;", + static final _id_putExtra$15 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[S)Landroid/content/Intent;', ); - static final _putExtra15 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$15 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, short[] ss) + /// from: `public android.content.Intent putExtra(java.lang.String string, short[] ss)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra15( - jni.JString string, - jni.JArray ss, + Intent putExtra$15( + _$jni.JString string, + _$jni.JArray<_$jni.jshort> ss, ) { - return _putExtra15(reference.pointer, _id_putExtra15 as jni.JMethodIDPtr, - string.reference.pointer, ss.reference.pointer) - .object(const $IntentType()); + return _putExtra$15( + reference.pointer, + _id_putExtra$15 as _$jni.JMethodIDPtr, + string.reference.pointer, + ss.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra16 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[C)Landroid/content/Intent;", + static final _id_putExtra$16 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[C)Landroid/content/Intent;', ); - static final _putExtra16 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$16 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, char[] cs) + /// from: `public android.content.Intent putExtra(java.lang.String string, char[] cs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra16( - jni.JString string, - jni.JArray cs, + Intent putExtra$16( + _$jni.JString string, + _$jni.JArray<_$jni.jchar> cs, ) { - return _putExtra16(reference.pointer, _id_putExtra16 as jni.JMethodIDPtr, - string.reference.pointer, cs.reference.pointer) - .object(const $IntentType()); + return _putExtra$16( + reference.pointer, + _id_putExtra$16 as _$jni.JMethodIDPtr, + string.reference.pointer, + cs.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra17 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[I)Landroid/content/Intent;", + static final _id_putExtra$17 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[I)Landroid/content/Intent;', ); - static final _putExtra17 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$17 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, int[] is) + /// from: `public android.content.Intent putExtra(java.lang.String string, int[] is)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra17( - jni.JString string, - jni.JArray is0, + Intent putExtra$17( + _$jni.JString string, + _$jni.JArray<_$jni.jint> is$, ) { - return _putExtra17(reference.pointer, _id_putExtra17 as jni.JMethodIDPtr, - string.reference.pointer, is0.reference.pointer) - .object(const $IntentType()); + return _putExtra$17( + reference.pointer, + _id_putExtra$17 as _$jni.JMethodIDPtr, + string.reference.pointer, + is$.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra18 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[J)Landroid/content/Intent;", + static final _id_putExtra$18 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[J)Landroid/content/Intent;', ); - static final _putExtra18 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$18 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, long[] js) + /// from: `public android.content.Intent putExtra(java.lang.String string, long[] js)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra18( - jni.JString string, - jni.JArray js, + Intent putExtra$18( + _$jni.JString string, + _$jni.JArray<_$jni.jlong> js, ) { - return _putExtra18(reference.pointer, _id_putExtra18 as jni.JMethodIDPtr, - string.reference.pointer, js.reference.pointer) - .object(const $IntentType()); + return _putExtra$18( + reference.pointer, + _id_putExtra$18 as _$jni.JMethodIDPtr, + string.reference.pointer, + js.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra19 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[F)Landroid/content/Intent;", + static final _id_putExtra$19 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[F)Landroid/content/Intent;', ); - static final _putExtra19 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$19 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, float[] fs) + /// from: `public android.content.Intent putExtra(java.lang.String string, float[] fs)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra19( - jni.JString string, - jni.JArray fs, + Intent putExtra$19( + _$jni.JString string, + _$jni.JArray<_$jni.jfloat> fs, ) { - return _putExtra19(reference.pointer, _id_putExtra19 as jni.JMethodIDPtr, - string.reference.pointer, fs.reference.pointer) - .object(const $IntentType()); + return _putExtra$19( + reference.pointer, + _id_putExtra$19 as _$jni.JMethodIDPtr, + string.reference.pointer, + fs.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra20 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[D)Landroid/content/Intent;", + static final _id_putExtra$20 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[D)Landroid/content/Intent;', ); - static final _putExtra20 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$20 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, double[] ds) + /// from: `public android.content.Intent putExtra(java.lang.String string, double[] ds)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra20( - jni.JString string, - jni.JArray ds, + Intent putExtra$20( + _$jni.JString string, + _$jni.JArray<_$jni.jdouble> ds, ) { - return _putExtra20(reference.pointer, _id_putExtra20 as jni.JMethodIDPtr, - string.reference.pointer, ds.reference.pointer) - .object(const $IntentType()); + return _putExtra$20( + reference.pointer, + _id_putExtra$20 as _$jni.JMethodIDPtr, + string.reference.pointer, + ds.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra21 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;", + static final _id_putExtra$21 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;', ); - static final _putExtra21 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$21 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, java.lang.String[] strings) + /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.String[] strings)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra21( - jni.JString string, - jni.JArray strings, + Intent putExtra$21( + _$jni.JString string, + _$jni.JArray<_$jni.JString> strings, ) { - return _putExtra21(reference.pointer, _id_putExtra21 as jni.JMethodIDPtr, - string.reference.pointer, strings.reference.pointer) - .object(const $IntentType()); + return _putExtra$21( + reference.pointer, + _id_putExtra$21 as _$jni.JMethodIDPtr, + string.reference.pointer, + strings.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra22 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;[Ljava/lang/CharSequence;)Landroid/content/Intent;", + static final _id_putExtra$22 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;[Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _putExtra22 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$22 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence[] charSequences) + /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence[] charSequences)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra22( - jni.JString string, - jni.JArray charSequences, + Intent putExtra$22( + _$jni.JString string, + _$jni.JArray<_$jni.JObject> charSequences, ) { - return _putExtra22(reference.pointer, _id_putExtra22 as jni.JMethodIDPtr, - string.reference.pointer, charSequences.reference.pointer) - .object(const $IntentType()); + return _putExtra$22( + reference.pointer, + _id_putExtra$22 as _$jni.JMethodIDPtr, + string.reference.pointer, + charSequences.reference.pointer) + .object(const $Intent$Type()); } - static final _id_putExtra23 = _class.instanceMethodId( - r"putExtra", - r"(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;", + static final _id_putExtra$23 = _class.instanceMethodId( + r'putExtra', + r'(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _putExtra23 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _putExtra$23 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtra(java.lang.String string, android.os.Bundle bundle) + /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtra23( - jni.JString string, - jni.JObject bundle, + Intent putExtra$23( + _$jni.JString string, + _$jni.JObject bundle, ) { - return _putExtra23(reference.pointer, _id_putExtra23 as jni.JMethodIDPtr, - string.reference.pointer, bundle.reference.pointer) - .object(const $IntentType()); + return _putExtra$23( + reference.pointer, + _id_putExtra$23 as _$jni.JMethodIDPtr, + string.reference.pointer, + bundle.reference.pointer) + .object(const $Intent$Type()); } static final _id_putExtras = _class.instanceMethodId( - r"putExtras", - r"(Landroid/content/Intent;)Landroid/content/Intent;", + r'putExtras', + r'(Landroid/content/Intent;)Landroid/content/Intent;', ); - static final _putExtras = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtras = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtras(android.content.Intent intent) + /// from: `public android.content.Intent putExtras(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. Intent putExtras( Intent intent, ) { - return _putExtras(reference.pointer, _id_putExtras as jni.JMethodIDPtr, + return _putExtras(reference.pointer, _id_putExtras as _$jni.JMethodIDPtr, intent.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_putExtras1 = _class.instanceMethodId( - r"putExtras", - r"(Landroid/os/Bundle;)Landroid/content/Intent;", + static final _id_putExtras$1 = _class.instanceMethodId( + r'putExtras', + r'(Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _putExtras1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _putExtras$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent putExtras(android.os.Bundle bundle) + /// from: `public android.content.Intent putExtras(android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent putExtras1( - jni.JObject bundle, + Intent putExtras$1( + _$jni.JObject bundle, ) { - return _putExtras1(reference.pointer, _id_putExtras1 as jni.JMethodIDPtr, - bundle.reference.pointer) - .object(const $IntentType()); + return _putExtras$1(reference.pointer, + _id_putExtras$1 as _$jni.JMethodIDPtr, bundle.reference.pointer) + .object(const $Intent$Type()); } static final _id_replaceExtras = _class.instanceMethodId( - r"replaceExtras", - r"(Landroid/content/Intent;)Landroid/content/Intent;", + r'replaceExtras', + r'(Landroid/content/Intent;)Landroid/content/Intent;', ); - static final _replaceExtras = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _replaceExtras = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent replaceExtras(android.content.Intent intent) + /// from: `public android.content.Intent replaceExtras(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. Intent replaceExtras( Intent intent, ) { return _replaceExtras(reference.pointer, - _id_replaceExtras as jni.JMethodIDPtr, intent.reference.pointer) - .object(const $IntentType()); + _id_replaceExtras as _$jni.JMethodIDPtr, intent.reference.pointer) + .object(const $Intent$Type()); } - static final _id_replaceExtras1 = _class.instanceMethodId( - r"replaceExtras", - r"(Landroid/os/Bundle;)Landroid/content/Intent;", + static final _id_replaceExtras$1 = _class.instanceMethodId( + r'replaceExtras', + r'(Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _replaceExtras1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _replaceExtras$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent replaceExtras(android.os.Bundle bundle) + /// from: `public android.content.Intent replaceExtras(android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent replaceExtras1( - jni.JObject bundle, + Intent replaceExtras$1( + _$jni.JObject bundle, ) { - return _replaceExtras1(reference.pointer, - _id_replaceExtras1 as jni.JMethodIDPtr, bundle.reference.pointer) - .object(const $IntentType()); + return _replaceExtras$1(reference.pointer, + _id_replaceExtras$1 as _$jni.JMethodIDPtr, bundle.reference.pointer) + .object(const $Intent$Type()); } static final _id_removeExtra = _class.instanceMethodId( - r"removeExtra", - r"(Ljava/lang/String;)V", + r'removeExtra', + r'(Ljava/lang/String;)V', ); - static final _removeExtra = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _removeExtra = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void removeExtra(java.lang.String string) + /// from: `public void removeExtra(java.lang.String string)` void removeExtra( - jni.JString string, + _$jni.JString string, ) { - _removeExtra(reference.pointer, _id_removeExtra as jni.JMethodIDPtr, + _removeExtra(reference.pointer, _id_removeExtra as _$jni.JMethodIDPtr, string.reference.pointer) .check(); } static final _id_setFlags = _class.instanceMethodId( - r"setFlags", - r"(I)Landroid/content/Intent;", + r'setFlags', + r'(I)Landroid/content/Intent;', ); - static final _setFlags = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _setFlags = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public android.content.Intent setFlags(int i) + /// from: `public android.content.Intent setFlags(int i)` /// The returned object must be released after use, by calling the [release] method. Intent setFlags( int i, ) { - return _setFlags(reference.pointer, _id_setFlags as jni.JMethodIDPtr, i) - .object(const $IntentType()); + return _setFlags(reference.pointer, _id_setFlags as _$jni.JMethodIDPtr, i) + .object(const $Intent$Type()); } static final _id_addFlags = _class.instanceMethodId( - r"addFlags", - r"(I)Landroid/content/Intent;", + r'addFlags', + r'(I)Landroid/content/Intent;', ); - static final _addFlags = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _addFlags = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public android.content.Intent addFlags(int i) + /// from: `public android.content.Intent addFlags(int i)` /// The returned object must be released after use, by calling the [release] method. Intent addFlags( int i, ) { - return _addFlags(reference.pointer, _id_addFlags as jni.JMethodIDPtr, i) - .object(const $IntentType()); + return _addFlags(reference.pointer, _id_addFlags as _$jni.JMethodIDPtr, i) + .object(const $Intent$Type()); } static final _id_removeFlags = _class.instanceMethodId( - r"removeFlags", - r"(I)V", + r'removeFlags', + r'(I)V', ); - static final _removeFlags = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _removeFlags = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void removeFlags(int i) + /// from: `public void removeFlags(int i)` void removeFlags( int i, ) { - _removeFlags(reference.pointer, _id_removeFlags as jni.JMethodIDPtr, i) + _removeFlags(reference.pointer, _id_removeFlags as _$jni.JMethodIDPtr, i) .check(); } static final _id_setPackage = _class.instanceMethodId( - r"setPackage", - r"(Ljava/lang/String;)Landroid/content/Intent;", + r'setPackage', + r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setPackage = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setPackage = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setPackage(java.lang.String string) + /// from: `public android.content.Intent setPackage(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setPackage( - jni.JString string, + _$jni.JString string, ) { - return _setPackage(reference.pointer, _id_setPackage as jni.JMethodIDPtr, + return _setPackage(reference.pointer, _id_setPackage as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setComponent = _class.instanceMethodId( - r"setComponent", - r"(Landroid/content/ComponentName;)Landroid/content/Intent;", + r'setComponent', + r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _setComponent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _setComponent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setComponent(android.content.ComponentName componentName) + /// from: `public android.content.Intent setComponent(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. Intent setComponent( - jni.JObject componentName, + _$jni.JObject componentName, ) { return _setComponent( reference.pointer, - _id_setComponent as jni.JMethodIDPtr, + _id_setComponent as _$jni.JMethodIDPtr, componentName.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setClassName = _class.instanceMethodId( - r"setClassName", - r"(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;", + r'setClassName', + r'(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setClassName = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _setClassName = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setClassName(android.content.Context context, java.lang.String string) + /// from: `public android.content.Intent setClassName(android.content.Context context, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. Intent setClassName( Context context, - jni.JString string, + _$jni.JString string, ) { return _setClassName( reference.pointer, - _id_setClassName as jni.JMethodIDPtr, + _id_setClassName as _$jni.JMethodIDPtr, context.reference.pointer, string.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } - static final _id_setClassName1 = _class.instanceMethodId( - r"setClassName", - r"(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;", + static final _id_setClassName$1 = _class.instanceMethodId( + r'setClassName', + r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setClassName1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _setClassName$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setClassName(java.lang.String string, java.lang.String string1) + /// from: `public android.content.Intent setClassName(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - Intent setClassName1( - jni.JString string, - jni.JString string1, + Intent setClassName$1( + _$jni.JString string, + _$jni.JString string1, ) { - return _setClassName1( + return _setClassName$1( reference.pointer, - _id_setClassName1 as jni.JMethodIDPtr, + _id_setClassName$1 as _$jni.JMethodIDPtr, string.reference.pointer, string1.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_setClass = _class.instanceMethodId( - r"setClass", - r"(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;", + r'setClass', + r'(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;', ); - static final _setClass = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _setClass = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.content.Intent setClass(android.content.Context context, java.lang.Class class) + /// from: `public android.content.Intent setClass(android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. Intent setClass( Context context, - jni.JObject class0, + _$jni.JObject class$, ) { - return _setClass(reference.pointer, _id_setClass as jni.JMethodIDPtr, - context.reference.pointer, class0.reference.pointer) - .object(const $IntentType()); + return _setClass(reference.pointer, _id_setClass as _$jni.JMethodIDPtr, + context.reference.pointer, class$.reference.pointer) + .object(const $Intent$Type()); } static final _id_setSourceBounds = _class.instanceMethodId( - r"setSourceBounds", - r"(Landroid/graphics/Rect;)V", + r'setSourceBounds', + r'(Landroid/graphics/Rect;)V', ); - static final _setSourceBounds = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setSourceBounds = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setSourceBounds(android.graphics.Rect rect) + /// from: `public void setSourceBounds(android.graphics.Rect rect)` void setSourceBounds( - jni.JObject rect, + _$jni.JObject rect, ) { - _setSourceBounds(reference.pointer, _id_setSourceBounds as jni.JMethodIDPtr, - rect.reference.pointer) + _setSourceBounds(reference.pointer, + _id_setSourceBounds as _$jni.JMethodIDPtr, rect.reference.pointer) .check(); } static final _id_fillIn = _class.instanceMethodId( - r"fillIn", - r"(Landroid/content/Intent;I)I", + r'fillIn', + r'(Landroid/content/Intent;I)I', ); - static final _fillIn = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallIntMethod") + static final _fillIn = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public int fillIn(android.content.Intent intent, int i) + /// from: `public int fillIn(android.content.Intent intent, int i)` int fillIn( Intent intent, int i, ) { - return _fillIn(reference.pointer, _id_fillIn as jni.JMethodIDPtr, + return _fillIn(reference.pointer, _id_fillIn as _$jni.JMethodIDPtr, intent.reference.pointer, i) .integer; } static final _id_filterEquals = _class.instanceMethodId( - r"filterEquals", - r"(Landroid/content/Intent;)Z", + r'filterEquals', + r'(Landroid/content/Intent;)Z', ); - static final _filterEquals = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _filterEquals = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean filterEquals(android.content.Intent intent) + /// from: `public boolean filterEquals(android.content.Intent intent)` bool filterEquals( Intent intent, ) { return _filterEquals(reference.pointer, - _id_filterEquals as jni.JMethodIDPtr, intent.reference.pointer) + _id_filterEquals as _$jni.JMethodIDPtr, intent.reference.pointer) .boolean; } static final _id_filterHashCode = _class.instanceMethodId( - r"filterHashCode", - r"()I", + r'filterHashCode', + r'()I', ); - static final _filterHashCode = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _filterHashCode = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int filterHashCode() + /// from: `public int filterHashCode()` int filterHashCode() { return _filterHashCode( - reference.pointer, _id_filterHashCode as jni.JMethodIDPtr) + reference.pointer, _id_filterHashCode as _$jni.JMethodIDPtr) .integer; } - static final _id_toString1 = _class.instanceMethodId( - r"toString", - r"()Ljava/lang/String;", + static final _id_toString$1 = _class.instanceMethodId( + r'toString', + r'()Ljava/lang/String;', ); - static final _toString1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _toString$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String toString() + /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. - jni.JString toString1() { - return _toString1(reference.pointer, _id_toString1 as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_toURI = _class.instanceMethodId( - r"toURI", - r"()Ljava/lang/String;", + r'toURI', + r'()Ljava/lang/String;', ); - static final _toURI = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _toURI = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String toURI() + /// from: `public java.lang.String toURI()` /// The returned object must be released after use, by calling the [release] method. - jni.JString toURI() { - return _toURI(reference.pointer, _id_toURI as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString toURI() { + return _toURI(reference.pointer, _id_toURI as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_toUri = _class.instanceMethodId( - r"toUri", - r"(I)Ljava/lang/String;", + r'toUri', + r'(I)Ljava/lang/String;', ); - static final _toUri = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _toUri = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public java.lang.String toUri(int i) + /// from: `public java.lang.String toUri(int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JString toUri( + _$jni.JString toUri( int i, ) { - return _toUri(reference.pointer, _id_toUri as jni.JMethodIDPtr, i) - .object(const jni.JStringType()); + return _toUri(reference.pointer, _id_toUri as _$jni.JMethodIDPtr, i) + .object(const _$jni.JStringType()); } static final _id_describeContents = _class.instanceMethodId( - r"describeContents", - r"()I", + r'describeContents', + r'()I', ); - static final _describeContents = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _describeContents = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int describeContents() + /// from: `public int describeContents()` int describeContents() { return _describeContents( - reference.pointer, _id_describeContents as jni.JMethodIDPtr) + reference.pointer, _id_describeContents as _$jni.JMethodIDPtr) .integer; } static final _id_writeToParcel = _class.instanceMethodId( - r"writeToParcel", - r"(Landroid/os/Parcel;I)V", + r'writeToParcel', + r'(Landroid/os/Parcel;I)V', ); - static final _writeToParcel = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _writeToParcel = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public void writeToParcel(android.os.Parcel parcel, int i) + /// from: `public void writeToParcel(android.os.Parcel parcel, int i)` void writeToParcel( - jni.JObject parcel, + _$jni.JObject parcel, int i, ) { - _writeToParcel(reference.pointer, _id_writeToParcel as jni.JMethodIDPtr, + _writeToParcel(reference.pointer, _id_writeToParcel as _$jni.JMethodIDPtr, parcel.reference.pointer, i) .check(); } static final _id_readFromParcel = _class.instanceMethodId( - r"readFromParcel", - r"(Landroid/os/Parcel;)V", + r'readFromParcel', + r'(Landroid/os/Parcel;)V', ); - static final _readFromParcel = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _readFromParcel = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void readFromParcel(android.os.Parcel parcel) + /// from: `public void readFromParcel(android.os.Parcel parcel)` void readFromParcel( - jni.JObject parcel, + _$jni.JObject parcel, ) { - _readFromParcel(reference.pointer, _id_readFromParcel as jni.JMethodIDPtr, + _readFromParcel(reference.pointer, _id_readFromParcel as _$jni.JMethodIDPtr, parcel.reference.pointer) .check(); } static final _id_parseIntent = _class.staticMethodId( - r"parseIntent", - r"(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/content/Intent;", + r'parseIntent', + r'(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/content/Intent;', ); - static final _parseIntent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _parseIntent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: static public android.content.Intent parseIntent(android.content.res.Resources resources, org.xmlpull.v1.XmlPullParser xmlPullParser, android.util.AttributeSet attributeSet) + /// from: `static public android.content.Intent parseIntent(android.content.res.Resources resources, org.xmlpull.v1.XmlPullParser xmlPullParser, android.util.AttributeSet attributeSet)` /// The returned object must be released after use, by calling the [release] method. static Intent parseIntent( - jni.JObject resources, - jni.JObject xmlPullParser, - jni.JObject attributeSet, + _$jni.JObject resources, + _$jni.JObject xmlPullParser, + _$jni.JObject attributeSet, ) { return _parseIntent( _class.reference.pointer, - _id_parseIntent as jni.JMethodIDPtr, + _id_parseIntent as _$jni.JMethodIDPtr, resources.reference.pointer, xmlPullParser.reference.pointer, attributeSet.reference.pointer) - .object(const $IntentType()); + .object(const $Intent$Type()); } static final _id_normalizeMimeType = _class.staticMethodId( - r"normalizeMimeType", - r"(Ljava/lang/String;)Ljava/lang/String;", + r'normalizeMimeType', + r'(Ljava/lang/String;)Ljava/lang/String;', ); - static final _normalizeMimeType = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _normalizeMimeType = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public java.lang.String normalizeMimeType(java.lang.String string) + /// from: `static public java.lang.String normalizeMimeType(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static jni.JString normalizeMimeType( - jni.JString string, + static _$jni.JString normalizeMimeType( + _$jni.JString string, ) { - return _normalizeMimeType(_class.reference.pointer, - _id_normalizeMimeType as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JStringType()); + return _normalizeMimeType( + _class.reference.pointer, + _id_normalizeMimeType as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JStringType()); } } -final class $IntentType extends jni.JObjType { - const $IntentType(); +final class $Intent$Type extends _$jni.JObjType { + @_$jni.internal + const $Intent$Type(); - @override - String get signature => r"Landroid/content/Intent;"; + @_$jni.internal + @_$core.override + String get signature => r'Landroid/content/Intent;'; - @override - Intent fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + Intent fromReference(_$jni.JReference reference) => Intent.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($IntentType).hashCode; + @_$core.override + int get hashCode => ($Intent$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($IntentType) && other is $IntentType; + return other.runtimeType == ($Intent$Type) && other is $Intent$Type; } } -/// from: android.app.Activity -class Activity extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `android.app.Activity` +class Activity extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal Activity.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName(r"android/app/Activity"); + static final _class = _$jni.JClass.forName(r'android/app/Activity'); /// The type which includes information such as the signature of this class. - static const type = $ActivityType(); + static const type = $Activity$Type(); - /// from: static public final int DEFAULT_KEYS_DIALER + /// from: `static public final int DEFAULT_KEYS_DIALER` static const DEFAULT_KEYS_DIALER = 1; - /// from: static public final int DEFAULT_KEYS_DISABLE + /// from: `static public final int DEFAULT_KEYS_DISABLE` static const DEFAULT_KEYS_DISABLE = 0; - /// from: static public final int DEFAULT_KEYS_SEARCH_GLOBAL + /// from: `static public final int DEFAULT_KEYS_SEARCH_GLOBAL` static const DEFAULT_KEYS_SEARCH_GLOBAL = 4; - /// from: static public final int DEFAULT_KEYS_SEARCH_LOCAL + /// from: `static public final int DEFAULT_KEYS_SEARCH_LOCAL` static const DEFAULT_KEYS_SEARCH_LOCAL = 3; - /// from: static public final int DEFAULT_KEYS_SHORTCUT + /// from: `static public final int DEFAULT_KEYS_SHORTCUT` static const DEFAULT_KEYS_SHORTCUT = 2; - static final _id_FOCUSED_STATE_SET = _class.staticFieldId( - r"FOCUSED_STATE_SET", - r"[I", - ); - - /// from: static protected final int[] FOCUSED_STATE_SET - /// The returned object must be released after use, by calling the [release] method. - static jni.JArray get FOCUSED_STATE_SET => - _id_FOCUSED_STATE_SET.get(_class, const jni.JArrayType(jni.jintType())); - /// from: static public final int RESULT_CANCELED + /// from: `static public final int RESULT_CANCELED` static const RESULT_CANCELED = 0; - /// from: static public final int RESULT_FIRST_USER + /// from: `static public final int RESULT_FIRST_USER` static const RESULT_FIRST_USER = 1; - /// from: static public final int RESULT_OK + /// from: `static public final int RESULT_OK` static const RESULT_OK = -1; - static final _id_new0 = _class.constructorId( - r"()V", + static final _id_new$ = _class.constructorId( + r'()V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Activity() { return Activity.fromReference( - _new0(_class.reference.pointer, _id_new0 as jni.JMethodIDPtr) + _new$(_class.reference.pointer, _id_new$ as _$jni.JMethodIDPtr) .reference); } static final _id_getIntent = _class.instanceMethodId( - r"getIntent", - r"()Landroid/content/Intent;", + r'getIntent', + r'()Landroid/content/Intent;', ); - static final _getIntent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getIntent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.Intent getIntent() + /// from: `public android.content.Intent getIntent()` /// The returned object must be released after use, by calling the [release] method. Intent getIntent() { - return _getIntent(reference.pointer, _id_getIntent as jni.JMethodIDPtr) - .object(const $IntentType()); + return _getIntent(reference.pointer, _id_getIntent as _$jni.JMethodIDPtr) + .object(const $Intent$Type()); } static final _id_setIntent = _class.instanceMethodId( - r"setIntent", - r"(Landroid/content/Intent;)V", + r'setIntent', + r'(Landroid/content/Intent;)V', ); - static final _setIntent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setIntent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setIntent(android.content.Intent intent) + /// from: `public void setIntent(android.content.Intent intent)` void setIntent( Intent intent, ) { - _setIntent(reference.pointer, _id_setIntent as jni.JMethodIDPtr, + _setIntent(reference.pointer, _id_setIntent as _$jni.JMethodIDPtr, intent.reference.pointer) .check(); } static final _id_setLocusContext = _class.instanceMethodId( - r"setLocusContext", - r"(Landroid/content/LocusId;Landroid/os/Bundle;)V", + r'setLocusContext', + r'(Landroid/content/LocusId;Landroid/os/Bundle;)V', ); - static final _setLocusContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _setLocusContext = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setLocusContext(android.content.LocusId locusId, android.os.Bundle bundle) + /// from: `public void setLocusContext(android.content.LocusId locusId, android.os.Bundle bundle)` void setLocusContext( - jni.JObject locusId, - jni.JObject bundle, + _$jni.JObject locusId, + _$jni.JObject bundle, ) { - _setLocusContext(reference.pointer, _id_setLocusContext as jni.JMethodIDPtr, - locusId.reference.pointer, bundle.reference.pointer) + _setLocusContext( + reference.pointer, + _id_setLocusContext as _$jni.JMethodIDPtr, + locusId.reference.pointer, + bundle.reference.pointer) .check(); } static final _id_getApplication = _class.instanceMethodId( - r"getApplication", - r"()Landroid/app/Application;", + r'getApplication', + r'()Landroid/app/Application;', ); - static final _getApplication = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getApplication = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final android.app.Application getApplication() + /// from: `public final android.app.Application getApplication()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getApplication() { + _$jni.JObject getApplication() { return _getApplication( - reference.pointer, _id_getApplication as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getApplication as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_isChild = _class.instanceMethodId( - r"isChild", - r"()Z", + r'isChild', + r'()Z', ); - static final _isChild = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isChild = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final boolean isChild() + /// from: `public final boolean isChild()` bool isChild() { - return _isChild(reference.pointer, _id_isChild as jni.JMethodIDPtr).boolean; + return _isChild(reference.pointer, _id_isChild as _$jni.JMethodIDPtr) + .boolean; } static final _id_getParent = _class.instanceMethodId( - r"getParent", - r"()Landroid/app/Activity;", + r'getParent', + r'()Landroid/app/Activity;', ); - static final _getParent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getParent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final android.app.Activity getParent() + /// from: `public final android.app.Activity getParent()` /// The returned object must be released after use, by calling the [release] method. Activity getParent() { - return _getParent(reference.pointer, _id_getParent as jni.JMethodIDPtr) - .object(const $ActivityType()); + return _getParent(reference.pointer, _id_getParent as _$jni.JMethodIDPtr) + .object(const $Activity$Type()); } static final _id_getWindowManager = _class.instanceMethodId( - r"getWindowManager", - r"()Landroid/view/WindowManager;", + r'getWindowManager', + r'()Landroid/view/WindowManager;', ); - static final _getWindowManager = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getWindowManager = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.view.WindowManager getWindowManager() + /// from: `public android.view.WindowManager getWindowManager()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getWindowManager() { + _$jni.JObject getWindowManager() { return _getWindowManager( - reference.pointer, _id_getWindowManager as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getWindowManager as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getWindow = _class.instanceMethodId( - r"getWindow", - r"()Landroid/view/Window;", + r'getWindow', + r'()Landroid/view/Window;', ); - static final _getWindow = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getWindow = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.view.Window getWindow() + /// from: `public android.view.Window getWindow()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getWindow() { - return _getWindow(reference.pointer, _id_getWindow as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getWindow() { + return _getWindow(reference.pointer, _id_getWindow as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getLoaderManager = _class.instanceMethodId( - r"getLoaderManager", - r"()Landroid/app/LoaderManager;", + r'getLoaderManager', + r'()Landroid/app/LoaderManager;', ); - static final _getLoaderManager = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getLoaderManager = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.app.LoaderManager getLoaderManager() + /// from: `public android.app.LoaderManager getLoaderManager()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getLoaderManager() { + _$jni.JObject getLoaderManager() { return _getLoaderManager( - reference.pointer, _id_getLoaderManager as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getLoaderManager as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getCurrentFocus = _class.instanceMethodId( - r"getCurrentFocus", - r"()Landroid/view/View;", + r'getCurrentFocus', + r'()Landroid/view/View;', ); - static final _getCurrentFocus = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getCurrentFocus = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.view.View getCurrentFocus() + /// from: `public android.view.View getCurrentFocus()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getCurrentFocus() { + _$jni.JObject getCurrentFocus() { return _getCurrentFocus( - reference.pointer, _id_getCurrentFocus as jni.JMethodIDPtr) - .object(const jni.JObjectType()); - } - - static final _id_attachBaseContext = _class.instanceMethodId( - r"attachBaseContext", - r"(Landroid/content/Context;)V", - ); - - static final _attachBaseContext = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: protected void attachBaseContext(android.content.Context context) - void attachBaseContext( - Context context, - ) { - _attachBaseContext( - reference.pointer, - _id_attachBaseContext as jni.JMethodIDPtr, - context.reference.pointer) - .check(); + reference.pointer, _id_getCurrentFocus as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_registerActivityLifecycleCallbacks = _class.instanceMethodId( - r"registerActivityLifecycleCallbacks", - r"(Landroid/app/Application$ActivityLifecycleCallbacks;)V", + r'registerActivityLifecycleCallbacks', + r'(Landroid/app/Application$ActivityLifecycleCallbacks;)V', ); static final _registerActivityLifecycleCallbacks = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void registerActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks) + /// from: `public void registerActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks)` void registerActivityLifecycleCallbacks( - jni.JObject activityLifecycleCallbacks, + _$jni.JObject activityLifecycleCallbacks, ) { _registerActivityLifecycleCallbacks( reference.pointer, - _id_registerActivityLifecycleCallbacks as jni.JMethodIDPtr, + _id_registerActivityLifecycleCallbacks as _$jni.JMethodIDPtr, activityLifecycleCallbacks.reference.pointer) .check(); } static final _id_unregisterActivityLifecycleCallbacks = _class.instanceMethodId( - r"unregisterActivityLifecycleCallbacks", - r"(Landroid/app/Application$ActivityLifecycleCallbacks;)V", + r'unregisterActivityLifecycleCallbacks', + r'(Landroid/app/Application$ActivityLifecycleCallbacks;)V', ); static final _unregisterActivityLifecycleCallbacks = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void unregisterActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks) + /// from: `public void unregisterActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks)` void unregisterActivityLifecycleCallbacks( - jni.JObject activityLifecycleCallbacks, + _$jni.JObject activityLifecycleCallbacks, ) { _unregisterActivityLifecycleCallbacks( reference.pointer, - _id_unregisterActivityLifecycleCallbacks as jni.JMethodIDPtr, + _id_unregisterActivityLifecycleCallbacks as _$jni.JMethodIDPtr, activityLifecycleCallbacks.reference.pointer) .check(); } static final _id_registerComponentCallbacks = _class.instanceMethodId( - r"registerComponentCallbacks", - r"(Landroid/content/ComponentCallbacks;)V", - ); - - static final _registerComponentCallbacks = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'registerComponentCallbacks', + r'(Landroid/content/ComponentCallbacks;)V', + ); + + static final _registerComponentCallbacks = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks) + /// from: `public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void registerComponentCallbacks( - jni.JObject componentCallbacks, + _$jni.JObject componentCallbacks, ) { _registerComponentCallbacks( reference.pointer, - _id_registerComponentCallbacks as jni.JMethodIDPtr, + _id_registerComponentCallbacks as _$jni.JMethodIDPtr, componentCallbacks.reference.pointer) .check(); } static final _id_unregisterComponentCallbacks = _class.instanceMethodId( - r"unregisterComponentCallbacks", - r"(Landroid/content/ComponentCallbacks;)V", - ); - - static final _unregisterComponentCallbacks = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'unregisterComponentCallbacks', + r'(Landroid/content/ComponentCallbacks;)V', + ); + + static final _unregisterComponentCallbacks = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks) + /// from: `public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` void unregisterComponentCallbacks( - jni.JObject componentCallbacks, + _$jni.JObject componentCallbacks, ) { _unregisterComponentCallbacks( reference.pointer, - _id_unregisterComponentCallbacks as jni.JMethodIDPtr, + _id_unregisterComponentCallbacks as _$jni.JMethodIDPtr, componentCallbacks.reference.pointer) .check(); } - static final _id_onCreate = _class.instanceMethodId( - r"onCreate", - r"(Landroid/os/Bundle;)V", - ); - - static final _onCreate = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: protected void onCreate(android.os.Bundle bundle) - void onCreate( - jni.JObject bundle, - ) { - _onCreate(reference.pointer, _id_onCreate as jni.JMethodIDPtr, - bundle.reference.pointer) - .check(); - } - static final _id_getSplashScreen = _class.instanceMethodId( - r"getSplashScreen", - r"()Landroid/window/SplashScreen;", + r'getSplashScreen', + r'()Landroid/window/SplashScreen;', ); - static final _getSplashScreen = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getSplashScreen = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final android.window.SplashScreen getSplashScreen() + /// from: `public final android.window.SplashScreen getSplashScreen()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getSplashScreen() { + _$jni.JObject getSplashScreen() { return _getSplashScreen( - reference.pointer, _id_getSplashScreen as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getSplashScreen as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } - static final _id_onCreate1 = _class.instanceMethodId( - r"onCreate", - r"(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", + static final _id_onCreate = _class.instanceMethodId( + r'onCreate', + r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onCreate1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onCreate = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle) - void onCreate1( - jni.JObject bundle, - jni.JObject persistableBundle, + /// from: `public void onCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` + void onCreate( + _$jni.JObject bundle, + _$jni.JObject persistableBundle, ) { - _onCreate1(reference.pointer, _id_onCreate1 as jni.JMethodIDPtr, + _onCreate(reference.pointer, _id_onCreate as _$jni.JMethodIDPtr, bundle.reference.pointer, persistableBundle.reference.pointer) .check(); } static final _id_onRestoreInstanceState = _class.instanceMethodId( - r"onRestoreInstanceState", - r"(Landroid/os/Bundle;)V", + r'onRestoreInstanceState', + r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onRestoreInstanceState = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onRestoreInstanceState = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: protected void onRestoreInstanceState(android.os.Bundle bundle) + /// from: `public void onRestoreInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onRestoreInstanceState( - jni.JObject bundle, + _$jni.JObject bundle, + _$jni.JObject persistableBundle, ) { _onRestoreInstanceState( reference.pointer, - _id_onRestoreInstanceState as jni.JMethodIDPtr, - bundle.reference.pointer) - .check(); - } - - static final _id_onRestoreInstanceState1 = _class.instanceMethodId( - r"onRestoreInstanceState", - r"(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", - ); - - static final _onRestoreInstanceState1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public void onRestoreInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle) - void onRestoreInstanceState1( - jni.JObject bundle, - jni.JObject persistableBundle, - ) { - _onRestoreInstanceState1( - reference.pointer, - _id_onRestoreInstanceState1 as jni.JMethodIDPtr, + _id_onRestoreInstanceState as _$jni.JMethodIDPtr, bundle.reference.pointer, persistableBundle.reference.pointer) .check(); } static final _id_onPostCreate = _class.instanceMethodId( - r"onPostCreate", - r"(Landroid/os/Bundle;)V", - ); - - static final _onPostCreate = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: protected void onPostCreate(android.os.Bundle bundle) - void onPostCreate( - jni.JObject bundle, - ) { - _onPostCreate(reference.pointer, _id_onPostCreate as jni.JMethodIDPtr, - bundle.reference.pointer) - .check(); - } - - static final _id_onPostCreate1 = _class.instanceMethodId( - r"onPostCreate", - r"(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", + r'onPostCreate', + r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onPostCreate1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onPostCreate = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onPostCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle) - void onPostCreate1( - jni.JObject bundle, - jni.JObject persistableBundle, + /// from: `public void onPostCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` + void onPostCreate( + _$jni.JObject bundle, + _$jni.JObject persistableBundle, ) { - _onPostCreate1(reference.pointer, _id_onPostCreate1 as jni.JMethodIDPtr, + _onPostCreate(reference.pointer, _id_onPostCreate as _$jni.JMethodIDPtr, bundle.reference.pointer, persistableBundle.reference.pointer) .check(); } - static final _id_onStart = _class.instanceMethodId( - r"onStart", - r"()V", - ); - - static final _onStart = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onStart() - void onStart() { - _onStart(reference.pointer, _id_onStart as jni.JMethodIDPtr).check(); - } - - static final _id_onRestart = _class.instanceMethodId( - r"onRestart", - r"()V", - ); - - static final _onRestart = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onRestart() - void onRestart() { - _onRestart(reference.pointer, _id_onRestart as jni.JMethodIDPtr).check(); - } - static final _id_onStateNotSaved = _class.instanceMethodId( - r"onStateNotSaved", - r"()V", + r'onStateNotSaved', + r'()V', ); - static final _onStateNotSaved = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onStateNotSaved = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onStateNotSaved() + /// from: `public void onStateNotSaved()` void onStateNotSaved() { - _onStateNotSaved(reference.pointer, _id_onStateNotSaved as jni.JMethodIDPtr) - .check(); - } - - static final _id_onResume = _class.instanceMethodId( - r"onResume", - r"()V", - ); - - static final _onResume = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onResume() - void onResume() { - _onResume(reference.pointer, _id_onResume as jni.JMethodIDPtr).check(); - } - - static final _id_onPostResume = _class.instanceMethodId( - r"onPostResume", - r"()V", - ); - - static final _onPostResume = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onPostResume() - void onPostResume() { - _onPostResume(reference.pointer, _id_onPostResume as jni.JMethodIDPtr) + _onStateNotSaved( + reference.pointer, _id_onStateNotSaved as _$jni.JMethodIDPtr) .check(); } static final _id_onTopResumedActivityChanged = _class.instanceMethodId( - r"onTopResumedActivityChanged", - r"(Z)V", + r'onTopResumedActivityChanged', + r'(Z)V', ); - static final _onTopResumedActivityChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + static final _onTopResumedActivityChanged = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void onTopResumedActivityChanged(boolean z) + /// from: `public void onTopResumedActivityChanged(boolean z)` void onTopResumedActivityChanged( bool z, ) { _onTopResumedActivityChanged(reference.pointer, - _id_onTopResumedActivityChanged as jni.JMethodIDPtr, z ? 1 : 0) + _id_onTopResumedActivityChanged as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_isVoiceInteraction = _class.instanceMethodId( - r"isVoiceInteraction", - r"()Z", + r'isVoiceInteraction', + r'()Z', ); - static final _isVoiceInteraction = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isVoiceInteraction = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isVoiceInteraction() + /// from: `public boolean isVoiceInteraction()` bool isVoiceInteraction() { return _isVoiceInteraction( - reference.pointer, _id_isVoiceInteraction as jni.JMethodIDPtr) + reference.pointer, _id_isVoiceInteraction as _$jni.JMethodIDPtr) .boolean; } static final _id_isVoiceInteractionRoot = _class.instanceMethodId( - r"isVoiceInteractionRoot", - r"()Z", + r'isVoiceInteractionRoot', + r'()Z', ); - static final _isVoiceInteractionRoot = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isVoiceInteractionRoot = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isVoiceInteractionRoot() + /// from: `public boolean isVoiceInteractionRoot()` bool isVoiceInteractionRoot() { return _isVoiceInteractionRoot( - reference.pointer, _id_isVoiceInteractionRoot as jni.JMethodIDPtr) + reference.pointer, _id_isVoiceInteractionRoot as _$jni.JMethodIDPtr) .boolean; } static final _id_getVoiceInteractor = _class.instanceMethodId( - r"getVoiceInteractor", - r"()Landroid/app/VoiceInteractor;", + r'getVoiceInteractor', + r'()Landroid/app/VoiceInteractor;', ); - static final _getVoiceInteractor = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getVoiceInteractor = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.app.VoiceInteractor getVoiceInteractor() + /// from: `public android.app.VoiceInteractor getVoiceInteractor()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getVoiceInteractor() { + _$jni.JObject getVoiceInteractor() { return _getVoiceInteractor( - reference.pointer, _id_getVoiceInteractor as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getVoiceInteractor as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_isLocalVoiceInteractionSupported = _class.instanceMethodId( - r"isLocalVoiceInteractionSupported", - r"()Z", + r'isLocalVoiceInteractionSupported', + r'()Z', ); static final _isLocalVoiceInteractionSupported = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isLocalVoiceInteractionSupported() + /// from: `public boolean isLocalVoiceInteractionSupported()` bool isLocalVoiceInteractionSupported() { return _isLocalVoiceInteractionSupported(reference.pointer, - _id_isLocalVoiceInteractionSupported as jni.JMethodIDPtr) + _id_isLocalVoiceInteractionSupported as _$jni.JMethodIDPtr) .boolean; } static final _id_startLocalVoiceInteraction = _class.instanceMethodId( - r"startLocalVoiceInteraction", - r"(Landroid/os/Bundle;)V", - ); - - static final _startLocalVoiceInteraction = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'startLocalVoiceInteraction', + r'(Landroid/os/Bundle;)V', + ); + + static final _startLocalVoiceInteraction = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startLocalVoiceInteraction(android.os.Bundle bundle) + /// from: `public void startLocalVoiceInteraction(android.os.Bundle bundle)` void startLocalVoiceInteraction( - jni.JObject bundle, + _$jni.JObject bundle, ) { _startLocalVoiceInteraction( reference.pointer, - _id_startLocalVoiceInteraction as jni.JMethodIDPtr, + _id_startLocalVoiceInteraction as _$jni.JMethodIDPtr, bundle.reference.pointer) .check(); } static final _id_onLocalVoiceInteractionStarted = _class.instanceMethodId( - r"onLocalVoiceInteractionStarted", - r"()V", + r'onLocalVoiceInteractionStarted', + r'()V', ); - static final _onLocalVoiceInteractionStarted = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _onLocalVoiceInteractionStarted = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public void onLocalVoiceInteractionStarted() + /// from: `public void onLocalVoiceInteractionStarted()` void onLocalVoiceInteractionStarted() { _onLocalVoiceInteractionStarted(reference.pointer, - _id_onLocalVoiceInteractionStarted as jni.JMethodIDPtr) + _id_onLocalVoiceInteractionStarted as _$jni.JMethodIDPtr) .check(); } static final _id_onLocalVoiceInteractionStopped = _class.instanceMethodId( - r"onLocalVoiceInteractionStopped", - r"()V", + r'onLocalVoiceInteractionStopped', + r'()V', ); - static final _onLocalVoiceInteractionStopped = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _onLocalVoiceInteractionStopped = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public void onLocalVoiceInteractionStopped() + /// from: `public void onLocalVoiceInteractionStopped()` void onLocalVoiceInteractionStopped() { _onLocalVoiceInteractionStopped(reference.pointer, - _id_onLocalVoiceInteractionStopped as jni.JMethodIDPtr) + _id_onLocalVoiceInteractionStopped as _$jni.JMethodIDPtr) .check(); } static final _id_stopLocalVoiceInteraction = _class.instanceMethodId( - r"stopLocalVoiceInteraction", - r"()V", + r'stopLocalVoiceInteraction', + r'()V', ); - static final _stopLocalVoiceInteraction = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _stopLocalVoiceInteraction = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void stopLocalVoiceInteraction() + /// from: `public void stopLocalVoiceInteraction()` void stopLocalVoiceInteraction() { _stopLocalVoiceInteraction(reference.pointer, - _id_stopLocalVoiceInteraction as jni.JMethodIDPtr) - .check(); - } - - static final _id_onNewIntent = _class.instanceMethodId( - r"onNewIntent", - r"(Landroid/content/Intent;)V", - ); - - static final _onNewIntent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: protected void onNewIntent(android.content.Intent intent) - void onNewIntent( - Intent intent, - ) { - _onNewIntent(reference.pointer, _id_onNewIntent as jni.JMethodIDPtr, - intent.reference.pointer) + _id_stopLocalVoiceInteraction as _$jni.JMethodIDPtr) .check(); } static final _id_onSaveInstanceState = _class.instanceMethodId( - r"onSaveInstanceState", - r"(Landroid/os/Bundle;)V", + r'onSaveInstanceState', + r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onSaveInstanceState = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onSaveInstanceState = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: protected void onSaveInstanceState(android.os.Bundle bundle) + /// from: `public void onSaveInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onSaveInstanceState( - jni.JObject bundle, + _$jni.JObject bundle, + _$jni.JObject persistableBundle, ) { _onSaveInstanceState( reference.pointer, - _id_onSaveInstanceState as jni.JMethodIDPtr, - bundle.reference.pointer) - .check(); - } - - static final _id_onSaveInstanceState1 = _class.instanceMethodId( - r"onSaveInstanceState", - r"(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", - ); - - static final _onSaveInstanceState1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public void onSaveInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle) - void onSaveInstanceState1( - jni.JObject bundle, - jni.JObject persistableBundle, - ) { - _onSaveInstanceState1( - reference.pointer, - _id_onSaveInstanceState1 as jni.JMethodIDPtr, + _id_onSaveInstanceState as _$jni.JMethodIDPtr, bundle.reference.pointer, persistableBundle.reference.pointer) .check(); } - static final _id_onPause = _class.instanceMethodId( - r"onPause", - r"()V", - ); - - static final _onPause = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onPause() - void onPause() { - _onPause(reference.pointer, _id_onPause as jni.JMethodIDPtr).check(); - } - - static final _id_onUserLeaveHint = _class.instanceMethodId( - r"onUserLeaveHint", - r"()V", - ); - - static final _onUserLeaveHint = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onUserLeaveHint() - void onUserLeaveHint() { - _onUserLeaveHint(reference.pointer, _id_onUserLeaveHint as jni.JMethodIDPtr) - .check(); - } - static final _id_onCreateThumbnail = _class.instanceMethodId( - r"onCreateThumbnail", - r"(Landroid/graphics/Bitmap;Landroid/graphics/Canvas;)Z", + r'onCreateThumbnail', + r'(Landroid/graphics/Bitmap;Landroid/graphics/Canvas;)Z', ); - static final _onCreateThumbnail = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onCreateThumbnail = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onCreateThumbnail(android.graphics.Bitmap bitmap, android.graphics.Canvas canvas) + /// from: `public boolean onCreateThumbnail(android.graphics.Bitmap bitmap, android.graphics.Canvas canvas)` bool onCreateThumbnail( - jni.JObject bitmap, - jni.JObject canvas, + _$jni.JObject bitmap, + _$jni.JObject canvas, ) { return _onCreateThumbnail( reference.pointer, - _id_onCreateThumbnail as jni.JMethodIDPtr, + _id_onCreateThumbnail as _$jni.JMethodIDPtr, bitmap.reference.pointer, canvas.reference.pointer) .boolean; } static final _id_onCreateDescription = _class.instanceMethodId( - r"onCreateDescription", - r"()Ljava/lang/CharSequence;", + r'onCreateDescription', + r'()Ljava/lang/CharSequence;', ); - static final _onCreateDescription = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _onCreateDescription = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.CharSequence onCreateDescription() + /// from: `public java.lang.CharSequence onCreateDescription()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject onCreateDescription() { + _$jni.JObject onCreateDescription() { return _onCreateDescription( - reference.pointer, _id_onCreateDescription as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_onCreateDescription as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_onProvideAssistData = _class.instanceMethodId( - r"onProvideAssistData", - r"(Landroid/os/Bundle;)V", + r'onProvideAssistData', + r'(Landroid/os/Bundle;)V', ); - static final _onProvideAssistData = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onProvideAssistData = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onProvideAssistData(android.os.Bundle bundle) + /// from: `public void onProvideAssistData(android.os.Bundle bundle)` void onProvideAssistData( - jni.JObject bundle, + _$jni.JObject bundle, ) { _onProvideAssistData( reference.pointer, - _id_onProvideAssistData as jni.JMethodIDPtr, + _id_onProvideAssistData as _$jni.JMethodIDPtr, bundle.reference.pointer) .check(); } static final _id_onProvideAssistContent = _class.instanceMethodId( - r"onProvideAssistContent", - r"(Landroid/app/assist/AssistContent;)V", + r'onProvideAssistContent', + r'(Landroid/app/assist/AssistContent;)V', ); - static final _onProvideAssistContent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onProvideAssistContent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onProvideAssistContent(android.app.assist.AssistContent assistContent) + /// from: `public void onProvideAssistContent(android.app.assist.AssistContent assistContent)` void onProvideAssistContent( - jni.JObject assistContent, + _$jni.JObject assistContent, ) { _onProvideAssistContent( reference.pointer, - _id_onProvideAssistContent as jni.JMethodIDPtr, + _id_onProvideAssistContent as _$jni.JMethodIDPtr, assistContent.reference.pointer) .check(); } static final _id_onGetDirectActions = _class.instanceMethodId( - r"onGetDirectActions", - r"(Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V", + r'onGetDirectActions', + r'(Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V', ); - static final _onGetDirectActions = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onGetDirectActions = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onGetDirectActions(android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer) + /// from: `public void onGetDirectActions(android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer)` void onGetDirectActions( - jni.JObject cancellationSignal, - jni.JObject consumer, + _$jni.JObject cancellationSignal, + _$jni.JObject consumer, ) { _onGetDirectActions( reference.pointer, - _id_onGetDirectActions as jni.JMethodIDPtr, + _id_onGetDirectActions as _$jni.JMethodIDPtr, cancellationSignal.reference.pointer, consumer.reference.pointer) .check(); } static final _id_onPerformDirectAction = _class.instanceMethodId( - r"onPerformDirectAction", - r"(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V", + r'onPerformDirectAction', + r'(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V', ); - static final _onPerformDirectAction = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onPerformDirectAction = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void onPerformDirectAction(java.lang.String string, android.os.Bundle bundle, android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void onPerformDirectAction(java.lang.String string, android.os.Bundle bundle, android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer)` void onPerformDirectAction( - jni.JString string, - jni.JObject bundle, - jni.JObject cancellationSignal, - jni.JObject consumer, + _$jni.JString string, + _$jni.JObject bundle, + _$jni.JObject cancellationSignal, + _$jni.JObject consumer, ) { _onPerformDirectAction( reference.pointer, - _id_onPerformDirectAction as jni.JMethodIDPtr, + _id_onPerformDirectAction as _$jni.JMethodIDPtr, string.reference.pointer, bundle.reference.pointer, cancellationSignal.reference.pointer, @@ -15801,82 +16818,89 @@ class Activity extends jni.JObject { } static final _id_requestShowKeyboardShortcuts = _class.instanceMethodId( - r"requestShowKeyboardShortcuts", - r"()V", + r'requestShowKeyboardShortcuts', + r'()V', ); - static final _requestShowKeyboardShortcuts = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _requestShowKeyboardShortcuts = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public final void requestShowKeyboardShortcuts() + /// from: `public final void requestShowKeyboardShortcuts()` void requestShowKeyboardShortcuts() { _requestShowKeyboardShortcuts(reference.pointer, - _id_requestShowKeyboardShortcuts as jni.JMethodIDPtr) + _id_requestShowKeyboardShortcuts as _$jni.JMethodIDPtr) .check(); } static final _id_dismissKeyboardShortcutsHelper = _class.instanceMethodId( - r"dismissKeyboardShortcutsHelper", - r"()V", + r'dismissKeyboardShortcutsHelper', + r'()V', ); - static final _dismissKeyboardShortcutsHelper = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _dismissKeyboardShortcutsHelper = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public final void dismissKeyboardShortcutsHelper() + /// from: `public final void dismissKeyboardShortcutsHelper()` void dismissKeyboardShortcutsHelper() { _dismissKeyboardShortcutsHelper(reference.pointer, - _id_dismissKeyboardShortcutsHelper as jni.JMethodIDPtr) + _id_dismissKeyboardShortcutsHelper as _$jni.JMethodIDPtr) .check(); } static final _id_onProvideKeyboardShortcuts = _class.instanceMethodId( - r"onProvideKeyboardShortcuts", - r"(Ljava/util/List;Landroid/view/Menu;I)V", + r'onProvideKeyboardShortcuts', + r'(Ljava/util/List;Landroid/view/Menu;I)V', ); - static final _onProvideKeyboardShortcuts = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int)>(); - - /// from: public void onProvideKeyboardShortcuts(java.util.List list, android.view.Menu menu, int i) + static final _onProvideKeyboardShortcuts = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int)>(); + + /// from: `public void onProvideKeyboardShortcuts(java.util.List list, android.view.Menu menu, int i)` void onProvideKeyboardShortcuts( - jni.JList list, - jni.JObject menu, + _$jni.JList<_$jni.JObject> list, + _$jni.JObject menu, int i, ) { _onProvideKeyboardShortcuts( reference.pointer, - _id_onProvideKeyboardShortcuts as jni.JMethodIDPtr, + _id_onProvideKeyboardShortcuts as _$jni.JMethodIDPtr, list.reference.pointer, menu.reference.pointer, i) @@ -15884,1197 +16908,1179 @@ class Activity extends jni.JObject { } static final _id_showAssist = _class.instanceMethodId( - r"showAssist", - r"(Landroid/os/Bundle;)Z", + r'showAssist', + r'(Landroid/os/Bundle;)Z', ); - static final _showAssist = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _showAssist = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean showAssist(android.os.Bundle bundle) + /// from: `public boolean showAssist(android.os.Bundle bundle)` bool showAssist( - jni.JObject bundle, + _$jni.JObject bundle, ) { - return _showAssist(reference.pointer, _id_showAssist as jni.JMethodIDPtr, + return _showAssist(reference.pointer, _id_showAssist as _$jni.JMethodIDPtr, bundle.reference.pointer) .boolean; } - static final _id_onStop = _class.instanceMethodId( - r"onStop", - r"()V", - ); - - static final _onStop = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onStop() - void onStop() { - _onStop(reference.pointer, _id_onStop as jni.JMethodIDPtr).check(); - } - - static final _id_onDestroy = _class.instanceMethodId( - r"onDestroy", - r"()V", - ); - - static final _onDestroy = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); - - /// from: protected void onDestroy() - void onDestroy() { - _onDestroy(reference.pointer, _id_onDestroy as jni.JMethodIDPtr).check(); - } - static final _id_reportFullyDrawn = _class.instanceMethodId( - r"reportFullyDrawn", - r"()V", + r'reportFullyDrawn', + r'()V', ); - static final _reportFullyDrawn = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _reportFullyDrawn = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void reportFullyDrawn() + /// from: `public void reportFullyDrawn()` void reportFullyDrawn() { _reportFullyDrawn( - reference.pointer, _id_reportFullyDrawn as jni.JMethodIDPtr) + reference.pointer, _id_reportFullyDrawn as _$jni.JMethodIDPtr) .check(); } static final _id_onMultiWindowModeChanged = _class.instanceMethodId( - r"onMultiWindowModeChanged", - r"(ZLandroid/content/res/Configuration;)V", + r'onMultiWindowModeChanged', + r'(ZLandroid/content/res/Configuration;)V', ); - static final _onMultiWindowModeChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") + static final _onMultiWindowModeChanged = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onMultiWindowModeChanged(boolean z, android.content.res.Configuration configuration) + /// from: `public void onMultiWindowModeChanged(boolean z, android.content.res.Configuration configuration)` void onMultiWindowModeChanged( bool z, - jni.JObject configuration, + _$jni.JObject configuration, ) { _onMultiWindowModeChanged( reference.pointer, - _id_onMultiWindowModeChanged as jni.JMethodIDPtr, + _id_onMultiWindowModeChanged as _$jni.JMethodIDPtr, z ? 1 : 0, configuration.reference.pointer) .check(); } - static final _id_onMultiWindowModeChanged1 = _class.instanceMethodId( - r"onMultiWindowModeChanged", - r"(Z)V", + static final _id_onMultiWindowModeChanged$1 = _class.instanceMethodId( + r'onMultiWindowModeChanged', + r'(Z)V', ); - static final _onMultiWindowModeChanged1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + static final _onMultiWindowModeChanged$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void onMultiWindowModeChanged(boolean z) - void onMultiWindowModeChanged1( + /// from: `public void onMultiWindowModeChanged(boolean z)` + void onMultiWindowModeChanged$1( bool z, ) { - _onMultiWindowModeChanged1(reference.pointer, - _id_onMultiWindowModeChanged1 as jni.JMethodIDPtr, z ? 1 : 0) + _onMultiWindowModeChanged$1(reference.pointer, + _id_onMultiWindowModeChanged$1 as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_isInMultiWindowMode = _class.instanceMethodId( - r"isInMultiWindowMode", - r"()Z", + r'isInMultiWindowMode', + r'()Z', ); - static final _isInMultiWindowMode = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isInMultiWindowMode = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isInMultiWindowMode() + /// from: `public boolean isInMultiWindowMode()` bool isInMultiWindowMode() { return _isInMultiWindowMode( - reference.pointer, _id_isInMultiWindowMode as jni.JMethodIDPtr) + reference.pointer, _id_isInMultiWindowMode as _$jni.JMethodIDPtr) .boolean; } static final _id_onPictureInPictureModeChanged = _class.instanceMethodId( - r"onPictureInPictureModeChanged", - r"(ZLandroid/content/res/Configuration;)V", - ); - - static final _onPictureInPictureModeChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + r'onPictureInPictureModeChanged', + r'(ZLandroid/content/res/Configuration;)V', + ); + + static final _onPictureInPictureModeChanged = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + (_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onPictureInPictureModeChanged(boolean z, android.content.res.Configuration configuration) + /// from: `public void onPictureInPictureModeChanged(boolean z, android.content.res.Configuration configuration)` void onPictureInPictureModeChanged( bool z, - jni.JObject configuration, + _$jni.JObject configuration, ) { _onPictureInPictureModeChanged( reference.pointer, - _id_onPictureInPictureModeChanged as jni.JMethodIDPtr, + _id_onPictureInPictureModeChanged as _$jni.JMethodIDPtr, z ? 1 : 0, configuration.reference.pointer) .check(); } static final _id_onPictureInPictureUiStateChanged = _class.instanceMethodId( - r"onPictureInPictureUiStateChanged", - r"(Landroid/app/PictureInPictureUiState;)V", + r'onPictureInPictureUiStateChanged', + r'(Landroid/app/PictureInPictureUiState;)V', ); static final _onPictureInPictureUiStateChanged = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState pictureInPictureUiState) + /// from: `public void onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState pictureInPictureUiState)` void onPictureInPictureUiStateChanged( - jni.JObject pictureInPictureUiState, + _$jni.JObject pictureInPictureUiState, ) { _onPictureInPictureUiStateChanged( reference.pointer, - _id_onPictureInPictureUiStateChanged as jni.JMethodIDPtr, + _id_onPictureInPictureUiStateChanged as _$jni.JMethodIDPtr, pictureInPictureUiState.reference.pointer) .check(); } - static final _id_onPictureInPictureModeChanged1 = _class.instanceMethodId( - r"onPictureInPictureModeChanged", - r"(Z)V", + static final _id_onPictureInPictureModeChanged$1 = _class.instanceMethodId( + r'onPictureInPictureModeChanged', + r'(Z)V', ); - static final _onPictureInPictureModeChanged1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + static final _onPictureInPictureModeChanged$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void onPictureInPictureModeChanged(boolean z) - void onPictureInPictureModeChanged1( + /// from: `public void onPictureInPictureModeChanged(boolean z)` + void onPictureInPictureModeChanged$1( bool z, ) { - _onPictureInPictureModeChanged1(reference.pointer, - _id_onPictureInPictureModeChanged1 as jni.JMethodIDPtr, z ? 1 : 0) + _onPictureInPictureModeChanged$1( + reference.pointer, + _id_onPictureInPictureModeChanged$1 as _$jni.JMethodIDPtr, + z ? 1 : 0) .check(); } static final _id_isInPictureInPictureMode = _class.instanceMethodId( - r"isInPictureInPictureMode", - r"()Z", + r'isInPictureInPictureMode', + r'()Z', ); - static final _isInPictureInPictureMode = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isInPictureInPictureMode = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isInPictureInPictureMode() + /// from: `public boolean isInPictureInPictureMode()` bool isInPictureInPictureMode() { - return _isInPictureInPictureMode( - reference.pointer, _id_isInPictureInPictureMode as jni.JMethodIDPtr) + return _isInPictureInPictureMode(reference.pointer, + _id_isInPictureInPictureMode as _$jni.JMethodIDPtr) .boolean; } static final _id_enterPictureInPictureMode = _class.instanceMethodId( - r"enterPictureInPictureMode", - r"()V", + r'enterPictureInPictureMode', + r'()V', ); - static final _enterPictureInPictureMode = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _enterPictureInPictureMode = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void enterPictureInPictureMode() + /// from: `public void enterPictureInPictureMode()` void enterPictureInPictureMode() { _enterPictureInPictureMode(reference.pointer, - _id_enterPictureInPictureMode as jni.JMethodIDPtr) + _id_enterPictureInPictureMode as _$jni.JMethodIDPtr) .check(); } - static final _id_enterPictureInPictureMode1 = _class.instanceMethodId( - r"enterPictureInPictureMode", - r"(Landroid/app/PictureInPictureParams;)Z", + static final _id_enterPictureInPictureMode$1 = _class.instanceMethodId( + r'enterPictureInPictureMode', + r'(Landroid/app/PictureInPictureParams;)Z', ); - static final _enterPictureInPictureMode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + static final _enterPictureInPictureMode$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean enterPictureInPictureMode(android.app.PictureInPictureParams pictureInPictureParams) - bool enterPictureInPictureMode1( - jni.JObject pictureInPictureParams, + /// from: `public boolean enterPictureInPictureMode(android.app.PictureInPictureParams pictureInPictureParams)` + bool enterPictureInPictureMode$1( + _$jni.JObject pictureInPictureParams, ) { - return _enterPictureInPictureMode1( + return _enterPictureInPictureMode$1( reference.pointer, - _id_enterPictureInPictureMode1 as jni.JMethodIDPtr, + _id_enterPictureInPictureMode$1 as _$jni.JMethodIDPtr, pictureInPictureParams.reference.pointer) .boolean; } static final _id_setPictureInPictureParams = _class.instanceMethodId( - r"setPictureInPictureParams", - r"(Landroid/app/PictureInPictureParams;)V", + r'setPictureInPictureParams', + r'(Landroid/app/PictureInPictureParams;)V', ); - static final _setPictureInPictureParams = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setPictureInPictureParams = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setPictureInPictureParams(android.app.PictureInPictureParams pictureInPictureParams) + /// from: `public void setPictureInPictureParams(android.app.PictureInPictureParams pictureInPictureParams)` void setPictureInPictureParams( - jni.JObject pictureInPictureParams, + _$jni.JObject pictureInPictureParams, ) { _setPictureInPictureParams( reference.pointer, - _id_setPictureInPictureParams as jni.JMethodIDPtr, + _id_setPictureInPictureParams as _$jni.JMethodIDPtr, pictureInPictureParams.reference.pointer) .check(); } static final _id_getMaxNumPictureInPictureActions = _class.instanceMethodId( - r"getMaxNumPictureInPictureActions", - r"()I", + r'getMaxNumPictureInPictureActions', + r'()I', ); static final _getMaxNumPictureInPictureActions = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int getMaxNumPictureInPictureActions() + /// from: `public int getMaxNumPictureInPictureActions()` int getMaxNumPictureInPictureActions() { return _getMaxNumPictureInPictureActions(reference.pointer, - _id_getMaxNumPictureInPictureActions as jni.JMethodIDPtr) + _id_getMaxNumPictureInPictureActions as _$jni.JMethodIDPtr) .integer; } static final _id_onPictureInPictureRequested = _class.instanceMethodId( - r"onPictureInPictureRequested", - r"()Z", + r'onPictureInPictureRequested', + r'()Z', ); - static final _onPictureInPictureRequested = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _onPictureInPictureRequested = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public boolean onPictureInPictureRequested() + /// from: `public boolean onPictureInPictureRequested()` bool onPictureInPictureRequested() { return _onPictureInPictureRequested(reference.pointer, - _id_onPictureInPictureRequested as jni.JMethodIDPtr) + _id_onPictureInPictureRequested as _$jni.JMethodIDPtr) .boolean; } static final _id_setShouldDockBigOverlays = _class.instanceMethodId( - r"setShouldDockBigOverlays", - r"(Z)V", + r'setShouldDockBigOverlays', + r'(Z)V', ); - static final _setShouldDockBigOverlays = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setShouldDockBigOverlays = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setShouldDockBigOverlays(boolean z) + /// from: `public void setShouldDockBigOverlays(boolean z)` void setShouldDockBigOverlays( bool z, ) { _setShouldDockBigOverlays(reference.pointer, - _id_setShouldDockBigOverlays as jni.JMethodIDPtr, z ? 1 : 0) + _id_setShouldDockBigOverlays as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_shouldDockBigOverlays = _class.instanceMethodId( - r"shouldDockBigOverlays", - r"()Z", + r'shouldDockBigOverlays', + r'()Z', ); - static final _shouldDockBigOverlays = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _shouldDockBigOverlays = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean shouldDockBigOverlays() + /// from: `public boolean shouldDockBigOverlays()` bool shouldDockBigOverlays() { return _shouldDockBigOverlays( - reference.pointer, _id_shouldDockBigOverlays as jni.JMethodIDPtr) + reference.pointer, _id_shouldDockBigOverlays as _$jni.JMethodIDPtr) .boolean; } static final _id_onConfigurationChanged = _class.instanceMethodId( - r"onConfigurationChanged", - r"(Landroid/content/res/Configuration;)V", + r'onConfigurationChanged', + r'(Landroid/content/res/Configuration;)V', ); - static final _onConfigurationChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onConfigurationChanged = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onConfigurationChanged(android.content.res.Configuration configuration) + /// from: `public void onConfigurationChanged(android.content.res.Configuration configuration)` void onConfigurationChanged( - jni.JObject configuration, + _$jni.JObject configuration, ) { _onConfigurationChanged( reference.pointer, - _id_onConfigurationChanged as jni.JMethodIDPtr, + _id_onConfigurationChanged as _$jni.JMethodIDPtr, configuration.reference.pointer) .check(); } static final _id_getChangingConfigurations = _class.instanceMethodId( - r"getChangingConfigurations", - r"()I", + r'getChangingConfigurations', + r'()I', ); - static final _getChangingConfigurations = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _getChangingConfigurations = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int getChangingConfigurations() + /// from: `public int getChangingConfigurations()` int getChangingConfigurations() { return _getChangingConfigurations(reference.pointer, - _id_getChangingConfigurations as jni.JMethodIDPtr) + _id_getChangingConfigurations as _$jni.JMethodIDPtr) .integer; } static final _id_getLastNonConfigurationInstance = _class.instanceMethodId( - r"getLastNonConfigurationInstance", - r"()Ljava/lang/Object;", + r'getLastNonConfigurationInstance', + r'()Ljava/lang/Object;', ); - static final _getLastNonConfigurationInstance = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _getLastNonConfigurationInstance = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public java.lang.Object getLastNonConfigurationInstance() + /// from: `public java.lang.Object getLastNonConfigurationInstance()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getLastNonConfigurationInstance() { + _$jni.JObject getLastNonConfigurationInstance() { return _getLastNonConfigurationInstance(reference.pointer, - _id_getLastNonConfigurationInstance as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _id_getLastNonConfigurationInstance as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_onRetainNonConfigurationInstance = _class.instanceMethodId( - r"onRetainNonConfigurationInstance", - r"()Ljava/lang/Object;", + r'onRetainNonConfigurationInstance', + r'()Ljava/lang/Object;', ); static final _onRetainNonConfigurationInstance = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object onRetainNonConfigurationInstance() + /// from: `public java.lang.Object onRetainNonConfigurationInstance()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject onRetainNonConfigurationInstance() { + _$jni.JObject onRetainNonConfigurationInstance() { return _onRetainNonConfigurationInstance(reference.pointer, - _id_onRetainNonConfigurationInstance as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _id_onRetainNonConfigurationInstance as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_onLowMemory = _class.instanceMethodId( - r"onLowMemory", - r"()V", + r'onLowMemory', + r'()V', ); - static final _onLowMemory = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onLowMemory = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onLowMemory() + /// from: `public void onLowMemory()` void onLowMemory() { - _onLowMemory(reference.pointer, _id_onLowMemory as jni.JMethodIDPtr) + _onLowMemory(reference.pointer, _id_onLowMemory as _$jni.JMethodIDPtr) .check(); } static final _id_onTrimMemory = _class.instanceMethodId( - r"onTrimMemory", - r"(I)V", + r'onTrimMemory', + r'(I)V', ); - static final _onTrimMemory = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _onTrimMemory = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void onTrimMemory(int i) + /// from: `public void onTrimMemory(int i)` void onTrimMemory( int i, ) { - _onTrimMemory(reference.pointer, _id_onTrimMemory as jni.JMethodIDPtr, i) + _onTrimMemory(reference.pointer, _id_onTrimMemory as _$jni.JMethodIDPtr, i) .check(); } static final _id_getFragmentManager = _class.instanceMethodId( - r"getFragmentManager", - r"()Landroid/app/FragmentManager;", + r'getFragmentManager', + r'()Landroid/app/FragmentManager;', ); - static final _getFragmentManager = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getFragmentManager = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.app.FragmentManager getFragmentManager() + /// from: `public android.app.FragmentManager getFragmentManager()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getFragmentManager() { + _$jni.JObject getFragmentManager() { return _getFragmentManager( - reference.pointer, _id_getFragmentManager as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getFragmentManager as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_onAttachFragment = _class.instanceMethodId( - r"onAttachFragment", - r"(Landroid/app/Fragment;)V", + r'onAttachFragment', + r'(Landroid/app/Fragment;)V', ); - static final _onAttachFragment = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onAttachFragment = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onAttachFragment(android.app.Fragment fragment) + /// from: `public void onAttachFragment(android.app.Fragment fragment)` void onAttachFragment( - jni.JObject fragment, + _$jni.JObject fragment, ) { _onAttachFragment( reference.pointer, - _id_onAttachFragment as jni.JMethodIDPtr, + _id_onAttachFragment as _$jni.JMethodIDPtr, fragment.reference.pointer) .check(); } static final _id_managedQuery = _class.instanceMethodId( - r"managedQuery", - r"(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;", + r'managedQuery', + r'(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;', ); - static final _managedQuery = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _managedQuery = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public final android.database.Cursor managedQuery(android.net.Uri uri, java.lang.String[] strings, java.lang.String string, java.lang.String[] strings1, java.lang.String string1) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject managedQuery( - jni.JObject uri, - jni.JArray strings, - jni.JString string, - jni.JArray strings1, - jni.JString string1, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public final android.database.Cursor managedQuery(android.net.Uri uri, java.lang.String[] strings, java.lang.String string, java.lang.String[] strings1, java.lang.String string1)` + /// The returned object must be released after use, by calling the [release] method. + _$jni.JObject managedQuery( + _$jni.JObject uri, + _$jni.JArray<_$jni.JString> strings, + _$jni.JString string, + _$jni.JArray<_$jni.JString> strings1, + _$jni.JString string1, ) { return _managedQuery( reference.pointer, - _id_managedQuery as jni.JMethodIDPtr, + _id_managedQuery as _$jni.JMethodIDPtr, uri.reference.pointer, strings.reference.pointer, string.reference.pointer, strings1.reference.pointer, string1.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_startManagingCursor = _class.instanceMethodId( - r"startManagingCursor", - r"(Landroid/database/Cursor;)V", + r'startManagingCursor', + r'(Landroid/database/Cursor;)V', ); - static final _startManagingCursor = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _startManagingCursor = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startManagingCursor(android.database.Cursor cursor) + /// from: `public void startManagingCursor(android.database.Cursor cursor)` void startManagingCursor( - jni.JObject cursor, + _$jni.JObject cursor, ) { _startManagingCursor( reference.pointer, - _id_startManagingCursor as jni.JMethodIDPtr, + _id_startManagingCursor as _$jni.JMethodIDPtr, cursor.reference.pointer) .check(); } static final _id_stopManagingCursor = _class.instanceMethodId( - r"stopManagingCursor", - r"(Landroid/database/Cursor;)V", + r'stopManagingCursor', + r'(Landroid/database/Cursor;)V', ); - static final _stopManagingCursor = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _stopManagingCursor = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void stopManagingCursor(android.database.Cursor cursor) + /// from: `public void stopManagingCursor(android.database.Cursor cursor)` void stopManagingCursor( - jni.JObject cursor, + _$jni.JObject cursor, ) { _stopManagingCursor( reference.pointer, - _id_stopManagingCursor as jni.JMethodIDPtr, + _id_stopManagingCursor as _$jni.JMethodIDPtr, cursor.reference.pointer) .check(); } static final _id_findViewById = _class.instanceMethodId( - r"findViewById", - r"(I)Landroid/view/View;", + r'findViewById', + r'(I)Landroid/view/View;', ); - static final _findViewById = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _findViewById = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public T findViewById(int i) + /// from: `public T findViewById(int i)` /// The returned object must be released after use, by calling the [release] method. - $T findViewById<$T extends jni.JObject>( + $T findViewById<$T extends _$jni.JObject>( int i, { - required jni.JObjType<$T> T, + required _$jni.JObjType<$T> T, }) { return _findViewById( - reference.pointer, _id_findViewById as jni.JMethodIDPtr, i) + reference.pointer, _id_findViewById as _$jni.JMethodIDPtr, i) .object(T); } static final _id_requireViewById = _class.instanceMethodId( - r"requireViewById", - r"(I)Landroid/view/View;", + r'requireViewById', + r'(I)Landroid/view/View;', ); - static final _requireViewById = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _requireViewById = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final T requireViewById(int i) + /// from: `public final T requireViewById(int i)` /// The returned object must be released after use, by calling the [release] method. - $T requireViewById<$T extends jni.JObject>( + $T requireViewById<$T extends _$jni.JObject>( int i, { - required jni.JObjType<$T> T, + required _$jni.JObjType<$T> T, }) { return _requireViewById( - reference.pointer, _id_requireViewById as jni.JMethodIDPtr, i) + reference.pointer, _id_requireViewById as _$jni.JMethodIDPtr, i) .object(T); } static final _id_getActionBar = _class.instanceMethodId( - r"getActionBar", - r"()Landroid/app/ActionBar;", + r'getActionBar', + r'()Landroid/app/ActionBar;', ); - static final _getActionBar = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getActionBar = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.app.ActionBar getActionBar() + /// from: `public android.app.ActionBar getActionBar()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getActionBar() { + _$jni.JObject getActionBar() { return _getActionBar( - reference.pointer, _id_getActionBar as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getActionBar as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_setActionBar = _class.instanceMethodId( - r"setActionBar", - r"(Landroid/widget/Toolbar;)V", + r'setActionBar', + r'(Landroid/widget/Toolbar;)V', ); - static final _setActionBar = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setActionBar = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setActionBar(android.widget.Toolbar toolbar) + /// from: `public void setActionBar(android.widget.Toolbar toolbar)` void setActionBar( - jni.JObject toolbar, + _$jni.JObject toolbar, ) { - _setActionBar(reference.pointer, _id_setActionBar as jni.JMethodIDPtr, + _setActionBar(reference.pointer, _id_setActionBar as _$jni.JMethodIDPtr, toolbar.reference.pointer) .check(); } static final _id_setContentView = _class.instanceMethodId( - r"setContentView", - r"(I)V", + r'setContentView', + r'(I)V', ); - static final _setContentView = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setContentView = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setContentView(int i) + /// from: `public void setContentView(int i)` void setContentView( int i, ) { _setContentView( - reference.pointer, _id_setContentView as jni.JMethodIDPtr, i) + reference.pointer, _id_setContentView as _$jni.JMethodIDPtr, i) .check(); } - static final _id_setContentView1 = _class.instanceMethodId( - r"setContentView", - r"(Landroid/view/View;)V", + static final _id_setContentView$1 = _class.instanceMethodId( + r'setContentView', + r'(Landroid/view/View;)V', ); - static final _setContentView1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setContentView$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setContentView(android.view.View view) - void setContentView1( - jni.JObject view, + /// from: `public void setContentView(android.view.View view)` + void setContentView$1( + _$jni.JObject view, ) { - _setContentView1(reference.pointer, _id_setContentView1 as jni.JMethodIDPtr, - view.reference.pointer) + _setContentView$1(reference.pointer, + _id_setContentView$1 as _$jni.JMethodIDPtr, view.reference.pointer) .check(); } - static final _id_setContentView2 = _class.instanceMethodId( - r"setContentView", - r"(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", + static final _id_setContentView$2 = _class.instanceMethodId( + r'setContentView', + r'(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V', ); - static final _setContentView2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _setContentView$2 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public void setContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams) - void setContentView2( - jni.JObject view, - jni.JObject layoutParams, - ) { - _setContentView2(reference.pointer, _id_setContentView2 as jni.JMethodIDPtr, - view.reference.pointer, layoutParams.reference.pointer) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void setContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams)` + void setContentView$2( + _$jni.JObject view, + _$jni.JObject layoutParams, + ) { + _setContentView$2( + reference.pointer, + _id_setContentView$2 as _$jni.JMethodIDPtr, + view.reference.pointer, + layoutParams.reference.pointer) .check(); } static final _id_addContentView = _class.instanceMethodId( - r"addContentView", - r"(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", + r'addContentView', + r'(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V', ); - static final _addContentView = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _addContentView = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void addContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams) + /// from: `public void addContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams)` void addContentView( - jni.JObject view, - jni.JObject layoutParams, + _$jni.JObject view, + _$jni.JObject layoutParams, ) { - _addContentView(reference.pointer, _id_addContentView as jni.JMethodIDPtr, + _addContentView(reference.pointer, _id_addContentView as _$jni.JMethodIDPtr, view.reference.pointer, layoutParams.reference.pointer) .check(); } static final _id_getContentTransitionManager = _class.instanceMethodId( - r"getContentTransitionManager", - r"()Landroid/transition/TransitionManager;", + r'getContentTransitionManager', + r'()Landroid/transition/TransitionManager;', ); - static final _getContentTransitionManager = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _getContentTransitionManager = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public android.transition.TransitionManager getContentTransitionManager() + /// from: `public android.transition.TransitionManager getContentTransitionManager()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getContentTransitionManager() { + _$jni.JObject getContentTransitionManager() { return _getContentTransitionManager(reference.pointer, - _id_getContentTransitionManager as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _id_getContentTransitionManager as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_setContentTransitionManager = _class.instanceMethodId( - r"setContentTransitionManager", - r"(Landroid/transition/TransitionManager;)V", - ); - - static final _setContentTransitionManager = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'setContentTransitionManager', + r'(Landroid/transition/TransitionManager;)V', + ); + + static final _setContentTransitionManager = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setContentTransitionManager(android.transition.TransitionManager transitionManager) + /// from: `public void setContentTransitionManager(android.transition.TransitionManager transitionManager)` void setContentTransitionManager( - jni.JObject transitionManager, + _$jni.JObject transitionManager, ) { _setContentTransitionManager( reference.pointer, - _id_setContentTransitionManager as jni.JMethodIDPtr, + _id_setContentTransitionManager as _$jni.JMethodIDPtr, transitionManager.reference.pointer) .check(); } static final _id_getContentScene = _class.instanceMethodId( - r"getContentScene", - r"()Landroid/transition/Scene;", + r'getContentScene', + r'()Landroid/transition/Scene;', ); - static final _getContentScene = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getContentScene = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.transition.Scene getContentScene() + /// from: `public android.transition.Scene getContentScene()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getContentScene() { + _$jni.JObject getContentScene() { return _getContentScene( - reference.pointer, _id_getContentScene as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getContentScene as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_setFinishOnTouchOutside = _class.instanceMethodId( - r"setFinishOnTouchOutside", - r"(Z)V", + r'setFinishOnTouchOutside', + r'(Z)V', ); - static final _setFinishOnTouchOutside = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setFinishOnTouchOutside = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setFinishOnTouchOutside(boolean z) + /// from: `public void setFinishOnTouchOutside(boolean z)` void setFinishOnTouchOutside( bool z, ) { _setFinishOnTouchOutside(reference.pointer, - _id_setFinishOnTouchOutside as jni.JMethodIDPtr, z ? 1 : 0) + _id_setFinishOnTouchOutside as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_setDefaultKeyMode = _class.instanceMethodId( - r"setDefaultKeyMode", - r"(I)V", + r'setDefaultKeyMode', + r'(I)V', ); - static final _setDefaultKeyMode = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setDefaultKeyMode = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setDefaultKeyMode(int i) + /// from: `public final void setDefaultKeyMode(int i)` void setDefaultKeyMode( int i, ) { _setDefaultKeyMode( - reference.pointer, _id_setDefaultKeyMode as jni.JMethodIDPtr, i) + reference.pointer, _id_setDefaultKeyMode as _$jni.JMethodIDPtr, i) .check(); } static final _id_onKeyDown = _class.instanceMethodId( - r"onKeyDown", - r"(ILandroid/view/KeyEvent;)Z", + r'onKeyDown', + r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyDown = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _onKeyDown = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onKeyDown(int i, android.view.KeyEvent keyEvent) + /// from: `public boolean onKeyDown(int i, android.view.KeyEvent keyEvent)` bool onKeyDown( int i, - jni.JObject keyEvent, + _$jni.JObject keyEvent, ) { - return _onKeyDown(reference.pointer, _id_onKeyDown as jni.JMethodIDPtr, i, + return _onKeyDown(reference.pointer, _id_onKeyDown as _$jni.JMethodIDPtr, i, keyEvent.reference.pointer) .boolean; } static final _id_onKeyLongPress = _class.instanceMethodId( - r"onKeyLongPress", - r"(ILandroid/view/KeyEvent;)Z", + r'onKeyLongPress', + r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyLongPress = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _onKeyLongPress = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onKeyLongPress(int i, android.view.KeyEvent keyEvent) + /// from: `public boolean onKeyLongPress(int i, android.view.KeyEvent keyEvent)` bool onKeyLongPress( int i, - jni.JObject keyEvent, + _$jni.JObject keyEvent, ) { return _onKeyLongPress( reference.pointer, - _id_onKeyLongPress as jni.JMethodIDPtr, + _id_onKeyLongPress as _$jni.JMethodIDPtr, i, keyEvent.reference.pointer) .boolean; } static final _id_onKeyUp = _class.instanceMethodId( - r"onKeyUp", - r"(ILandroid/view/KeyEvent;)Z", + r'onKeyUp', + r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyUp = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _onKeyUp = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onKeyUp(int i, android.view.KeyEvent keyEvent) + /// from: `public boolean onKeyUp(int i, android.view.KeyEvent keyEvent)` bool onKeyUp( int i, - jni.JObject keyEvent, + _$jni.JObject keyEvent, ) { - return _onKeyUp(reference.pointer, _id_onKeyUp as jni.JMethodIDPtr, i, + return _onKeyUp(reference.pointer, _id_onKeyUp as _$jni.JMethodIDPtr, i, keyEvent.reference.pointer) .boolean; } static final _id_onKeyMultiple = _class.instanceMethodId( - r"onKeyMultiple", - r"(IILandroid/view/KeyEvent;)Z", + r'onKeyMultiple', + r'(IILandroid/view/KeyEvent;)Z', ); - static final _onKeyMultiple = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onKeyMultiple = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - int, ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onKeyMultiple(int i, int i1, android.view.KeyEvent keyEvent) + /// from: `public boolean onKeyMultiple(int i, int i1, android.view.KeyEvent keyEvent)` bool onKeyMultiple( int i, int i1, - jni.JObject keyEvent, + _$jni.JObject keyEvent, ) { return _onKeyMultiple( reference.pointer, - _id_onKeyMultiple as jni.JMethodIDPtr, + _id_onKeyMultiple as _$jni.JMethodIDPtr, i, i1, keyEvent.reference.pointer) @@ -17082,551 +18088,562 @@ class Activity extends jni.JObject { } static final _id_onBackPressed = _class.instanceMethodId( - r"onBackPressed", - r"()V", + r'onBackPressed', + r'()V', ); - static final _onBackPressed = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onBackPressed = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onBackPressed() + /// from: `public void onBackPressed()` void onBackPressed() { - _onBackPressed(reference.pointer, _id_onBackPressed as jni.JMethodIDPtr) + _onBackPressed(reference.pointer, _id_onBackPressed as _$jni.JMethodIDPtr) .check(); } static final _id_onKeyShortcut = _class.instanceMethodId( - r"onKeyShortcut", - r"(ILandroid/view/KeyEvent;)Z", + r'onKeyShortcut', + r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyShortcut = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _onKeyShortcut = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onKeyShortcut(int i, android.view.KeyEvent keyEvent) + /// from: `public boolean onKeyShortcut(int i, android.view.KeyEvent keyEvent)` bool onKeyShortcut( int i, - jni.JObject keyEvent, + _$jni.JObject keyEvent, ) { return _onKeyShortcut( reference.pointer, - _id_onKeyShortcut as jni.JMethodIDPtr, + _id_onKeyShortcut as _$jni.JMethodIDPtr, i, keyEvent.reference.pointer) .boolean; } static final _id_onTouchEvent = _class.instanceMethodId( - r"onTouchEvent", - r"(Landroid/view/MotionEvent;)Z", + r'onTouchEvent', + r'(Landroid/view/MotionEvent;)Z', ); - static final _onTouchEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onTouchEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onTouchEvent(android.view.MotionEvent motionEvent) + /// from: `public boolean onTouchEvent(android.view.MotionEvent motionEvent)` bool onTouchEvent( - jni.JObject motionEvent, + _$jni.JObject motionEvent, ) { - return _onTouchEvent(reference.pointer, - _id_onTouchEvent as jni.JMethodIDPtr, motionEvent.reference.pointer) + return _onTouchEvent( + reference.pointer, + _id_onTouchEvent as _$jni.JMethodIDPtr, + motionEvent.reference.pointer) .boolean; } static final _id_onTrackballEvent = _class.instanceMethodId( - r"onTrackballEvent", - r"(Landroid/view/MotionEvent;)Z", + r'onTrackballEvent', + r'(Landroid/view/MotionEvent;)Z', ); - static final _onTrackballEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onTrackballEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onTrackballEvent(android.view.MotionEvent motionEvent) + /// from: `public boolean onTrackballEvent(android.view.MotionEvent motionEvent)` bool onTrackballEvent( - jni.JObject motionEvent, + _$jni.JObject motionEvent, ) { return _onTrackballEvent( reference.pointer, - _id_onTrackballEvent as jni.JMethodIDPtr, + _id_onTrackballEvent as _$jni.JMethodIDPtr, motionEvent.reference.pointer) .boolean; } static final _id_onGenericMotionEvent = _class.instanceMethodId( - r"onGenericMotionEvent", - r"(Landroid/view/MotionEvent;)Z", + r'onGenericMotionEvent', + r'(Landroid/view/MotionEvent;)Z', ); - static final _onGenericMotionEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onGenericMotionEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onGenericMotionEvent(android.view.MotionEvent motionEvent) + /// from: `public boolean onGenericMotionEvent(android.view.MotionEvent motionEvent)` bool onGenericMotionEvent( - jni.JObject motionEvent, + _$jni.JObject motionEvent, ) { return _onGenericMotionEvent( reference.pointer, - _id_onGenericMotionEvent as jni.JMethodIDPtr, + _id_onGenericMotionEvent as _$jni.JMethodIDPtr, motionEvent.reference.pointer) .boolean; } static final _id_onUserInteraction = _class.instanceMethodId( - r"onUserInteraction", - r"()V", + r'onUserInteraction', + r'()V', ); - static final _onUserInteraction = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onUserInteraction = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onUserInteraction() + /// from: `public void onUserInteraction()` void onUserInteraction() { _onUserInteraction( - reference.pointer, _id_onUserInteraction as jni.JMethodIDPtr) + reference.pointer, _id_onUserInteraction as _$jni.JMethodIDPtr) .check(); } static final _id_onWindowAttributesChanged = _class.instanceMethodId( - r"onWindowAttributesChanged", - r"(Landroid/view/WindowManager$LayoutParams;)V", + r'onWindowAttributesChanged', + r'(Landroid/view/WindowManager$LayoutParams;)V', ); - static final _onWindowAttributesChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onWindowAttributesChanged = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onWindowAttributesChanged(android.view.WindowManager$LayoutParams layoutParams) + /// from: `public void onWindowAttributesChanged(android.view.WindowManager$LayoutParams layoutParams)` void onWindowAttributesChanged( - jni.JObject layoutParams, + _$jni.JObject layoutParams, ) { _onWindowAttributesChanged( reference.pointer, - _id_onWindowAttributesChanged as jni.JMethodIDPtr, + _id_onWindowAttributesChanged as _$jni.JMethodIDPtr, layoutParams.reference.pointer) .check(); } static final _id_onContentChanged = _class.instanceMethodId( - r"onContentChanged", - r"()V", + r'onContentChanged', + r'()V', ); - static final _onContentChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onContentChanged = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onContentChanged() + /// from: `public void onContentChanged()` void onContentChanged() { _onContentChanged( - reference.pointer, _id_onContentChanged as jni.JMethodIDPtr) + reference.pointer, _id_onContentChanged as _$jni.JMethodIDPtr) .check(); } static final _id_onWindowFocusChanged = _class.instanceMethodId( - r"onWindowFocusChanged", - r"(Z)V", + r'onWindowFocusChanged', + r'(Z)V', ); - static final _onWindowFocusChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _onWindowFocusChanged = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void onWindowFocusChanged(boolean z) + /// from: `public void onWindowFocusChanged(boolean z)` void onWindowFocusChanged( bool z, ) { _onWindowFocusChanged(reference.pointer, - _id_onWindowFocusChanged as jni.JMethodIDPtr, z ? 1 : 0) + _id_onWindowFocusChanged as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_onAttachedToWindow = _class.instanceMethodId( - r"onAttachedToWindow", - r"()V", + r'onAttachedToWindow', + r'()V', ); - static final _onAttachedToWindow = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onAttachedToWindow = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onAttachedToWindow() + /// from: `public void onAttachedToWindow()` void onAttachedToWindow() { _onAttachedToWindow( - reference.pointer, _id_onAttachedToWindow as jni.JMethodIDPtr) + reference.pointer, _id_onAttachedToWindow as _$jni.JMethodIDPtr) .check(); } static final _id_onDetachedFromWindow = _class.instanceMethodId( - r"onDetachedFromWindow", - r"()V", + r'onDetachedFromWindow', + r'()V', ); - static final _onDetachedFromWindow = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onDetachedFromWindow = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onDetachedFromWindow() + /// from: `public void onDetachedFromWindow()` void onDetachedFromWindow() { _onDetachedFromWindow( - reference.pointer, _id_onDetachedFromWindow as jni.JMethodIDPtr) + reference.pointer, _id_onDetachedFromWindow as _$jni.JMethodIDPtr) .check(); } static final _id_hasWindowFocus = _class.instanceMethodId( - r"hasWindowFocus", - r"()Z", + r'hasWindowFocus', + r'()Z', ); - static final _hasWindowFocus = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _hasWindowFocus = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean hasWindowFocus() + /// from: `public boolean hasWindowFocus()` bool hasWindowFocus() { return _hasWindowFocus( - reference.pointer, _id_hasWindowFocus as jni.JMethodIDPtr) + reference.pointer, _id_hasWindowFocus as _$jni.JMethodIDPtr) .boolean; } static final _id_dispatchKeyEvent = _class.instanceMethodId( - r"dispatchKeyEvent", - r"(Landroid/view/KeyEvent;)Z", + r'dispatchKeyEvent', + r'(Landroid/view/KeyEvent;)Z', ); - static final _dispatchKeyEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _dispatchKeyEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean dispatchKeyEvent(android.view.KeyEvent keyEvent) + /// from: `public boolean dispatchKeyEvent(android.view.KeyEvent keyEvent)` bool dispatchKeyEvent( - jni.JObject keyEvent, + _$jni.JObject keyEvent, ) { return _dispatchKeyEvent( reference.pointer, - _id_dispatchKeyEvent as jni.JMethodIDPtr, + _id_dispatchKeyEvent as _$jni.JMethodIDPtr, keyEvent.reference.pointer) .boolean; } static final _id_dispatchKeyShortcutEvent = _class.instanceMethodId( - r"dispatchKeyShortcutEvent", - r"(Landroid/view/KeyEvent;)Z", + r'dispatchKeyShortcutEvent', + r'(Landroid/view/KeyEvent;)Z', ); - static final _dispatchKeyShortcutEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _dispatchKeyShortcutEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean dispatchKeyShortcutEvent(android.view.KeyEvent keyEvent) + /// from: `public boolean dispatchKeyShortcutEvent(android.view.KeyEvent keyEvent)` bool dispatchKeyShortcutEvent( - jni.JObject keyEvent, + _$jni.JObject keyEvent, ) { return _dispatchKeyShortcutEvent( reference.pointer, - _id_dispatchKeyShortcutEvent as jni.JMethodIDPtr, + _id_dispatchKeyShortcutEvent as _$jni.JMethodIDPtr, keyEvent.reference.pointer) .boolean; } static final _id_dispatchTouchEvent = _class.instanceMethodId( - r"dispatchTouchEvent", - r"(Landroid/view/MotionEvent;)Z", + r'dispatchTouchEvent', + r'(Landroid/view/MotionEvent;)Z', ); - static final _dispatchTouchEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _dispatchTouchEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean dispatchTouchEvent(android.view.MotionEvent motionEvent) + /// from: `public boolean dispatchTouchEvent(android.view.MotionEvent motionEvent)` bool dispatchTouchEvent( - jni.JObject motionEvent, + _$jni.JObject motionEvent, ) { return _dispatchTouchEvent( reference.pointer, - _id_dispatchTouchEvent as jni.JMethodIDPtr, + _id_dispatchTouchEvent as _$jni.JMethodIDPtr, motionEvent.reference.pointer) .boolean; } static final _id_dispatchTrackballEvent = _class.instanceMethodId( - r"dispatchTrackballEvent", - r"(Landroid/view/MotionEvent;)Z", + r'dispatchTrackballEvent', + r'(Landroid/view/MotionEvent;)Z', ); - static final _dispatchTrackballEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _dispatchTrackballEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean dispatchTrackballEvent(android.view.MotionEvent motionEvent) + /// from: `public boolean dispatchTrackballEvent(android.view.MotionEvent motionEvent)` bool dispatchTrackballEvent( - jni.JObject motionEvent, + _$jni.JObject motionEvent, ) { return _dispatchTrackballEvent( reference.pointer, - _id_dispatchTrackballEvent as jni.JMethodIDPtr, + _id_dispatchTrackballEvent as _$jni.JMethodIDPtr, motionEvent.reference.pointer) .boolean; } static final _id_dispatchGenericMotionEvent = _class.instanceMethodId( - r"dispatchGenericMotionEvent", - r"(Landroid/view/MotionEvent;)Z", - ); - - static final _dispatchGenericMotionEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'dispatchGenericMotionEvent', + r'(Landroid/view/MotionEvent;)Z', + ); + + static final _dispatchGenericMotionEvent = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean dispatchGenericMotionEvent(android.view.MotionEvent motionEvent) + /// from: `public boolean dispatchGenericMotionEvent(android.view.MotionEvent motionEvent)` bool dispatchGenericMotionEvent( - jni.JObject motionEvent, + _$jni.JObject motionEvent, ) { return _dispatchGenericMotionEvent( reference.pointer, - _id_dispatchGenericMotionEvent as jni.JMethodIDPtr, + _id_dispatchGenericMotionEvent as _$jni.JMethodIDPtr, motionEvent.reference.pointer) .boolean; } static final _id_dispatchPopulateAccessibilityEvent = _class.instanceMethodId( - r"dispatchPopulateAccessibilityEvent", - r"(Landroid/view/accessibility/AccessibilityEvent;)Z", + r'dispatchPopulateAccessibilityEvent', + r'(Landroid/view/accessibility/AccessibilityEvent;)Z', ); static final _dispatchPopulateAccessibilityEvent = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent accessibilityEvent) + /// from: `public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent accessibilityEvent)` bool dispatchPopulateAccessibilityEvent( - jni.JObject accessibilityEvent, + _$jni.JObject accessibilityEvent, ) { return _dispatchPopulateAccessibilityEvent( reference.pointer, - _id_dispatchPopulateAccessibilityEvent as jni.JMethodIDPtr, + _id_dispatchPopulateAccessibilityEvent as _$jni.JMethodIDPtr, accessibilityEvent.reference.pointer) .boolean; } static final _id_onCreatePanelView = _class.instanceMethodId( - r"onCreatePanelView", - r"(I)Landroid/view/View;", + r'onCreatePanelView', + r'(I)Landroid/view/View;', ); - static final _onCreatePanelView = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _onCreatePanelView = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public android.view.View onCreatePanelView(int i) + /// from: `public android.view.View onCreatePanelView(int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject onCreatePanelView( + _$jni.JObject onCreatePanelView( int i, ) { return _onCreatePanelView( - reference.pointer, _id_onCreatePanelView as jni.JMethodIDPtr, i) - .object(const jni.JObjectType()); + reference.pointer, _id_onCreatePanelView as _$jni.JMethodIDPtr, i) + .object(const _$jni.JObjectType()); } static final _id_onCreatePanelMenu = _class.instanceMethodId( - r"onCreatePanelMenu", - r"(ILandroid/view/Menu;)Z", + r'onCreatePanelMenu', + r'(ILandroid/view/Menu;)Z', ); - static final _onCreatePanelMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _onCreatePanelMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onCreatePanelMenu(int i, android.view.Menu menu) + /// from: `public boolean onCreatePanelMenu(int i, android.view.Menu menu)` bool onCreatePanelMenu( int i, - jni.JObject menu, + _$jni.JObject menu, ) { return _onCreatePanelMenu( reference.pointer, - _id_onCreatePanelMenu as jni.JMethodIDPtr, + _id_onCreatePanelMenu as _$jni.JMethodIDPtr, i, menu.reference.pointer) .boolean; } static final _id_onPreparePanel = _class.instanceMethodId( - r"onPreparePanel", - r"(ILandroid/view/View;Landroid/view/Menu;)Z", + r'onPreparePanel', + r'(ILandroid/view/View;Landroid/view/Menu;)Z', ); - static final _onPreparePanel = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onPreparePanel = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer, ffi.Pointer)>(); + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + int, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onPreparePanel(int i, android.view.View view, android.view.Menu menu) + /// from: `public boolean onPreparePanel(int i, android.view.View view, android.view.Menu menu)` bool onPreparePanel( int i, - jni.JObject view, - jni.JObject menu, + _$jni.JObject view, + _$jni.JObject menu, ) { return _onPreparePanel( reference.pointer, - _id_onPreparePanel as jni.JMethodIDPtr, + _id_onPreparePanel as _$jni.JMethodIDPtr, i, view.reference.pointer, menu.reference.pointer) @@ -17634,399 +18651,409 @@ class Activity extends jni.JObject { } static final _id_onMenuOpened = _class.instanceMethodId( - r"onMenuOpened", - r"(ILandroid/view/Menu;)Z", + r'onMenuOpened', + r'(ILandroid/view/Menu;)Z', ); - static final _onMenuOpened = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _onMenuOpened = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onMenuOpened(int i, android.view.Menu menu) + /// from: `public boolean onMenuOpened(int i, android.view.Menu menu)` bool onMenuOpened( int i, - jni.JObject menu, + _$jni.JObject menu, ) { return _onMenuOpened(reference.pointer, - _id_onMenuOpened as jni.JMethodIDPtr, i, menu.reference.pointer) + _id_onMenuOpened as _$jni.JMethodIDPtr, i, menu.reference.pointer) .boolean; } static final _id_onMenuItemSelected = _class.instanceMethodId( - r"onMenuItemSelected", - r"(ILandroid/view/MenuItem;)Z", + r'onMenuItemSelected', + r'(ILandroid/view/MenuItem;)Z', ); - static final _onMenuItemSelected = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _onMenuItemSelected = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onMenuItemSelected(int i, android.view.MenuItem menuItem) + /// from: `public boolean onMenuItemSelected(int i, android.view.MenuItem menuItem)` bool onMenuItemSelected( int i, - jni.JObject menuItem, + _$jni.JObject menuItem, ) { return _onMenuItemSelected( reference.pointer, - _id_onMenuItemSelected as jni.JMethodIDPtr, + _id_onMenuItemSelected as _$jni.JMethodIDPtr, i, menuItem.reference.pointer) .boolean; } static final _id_onPanelClosed = _class.instanceMethodId( - r"onPanelClosed", - r"(ILandroid/view/Menu;)V", + r'onPanelClosed', + r'(ILandroid/view/Menu;)V', ); - static final _onPanelClosed = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") + static final _onPanelClosed = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onPanelClosed(int i, android.view.Menu menu) + /// from: `public void onPanelClosed(int i, android.view.Menu menu)` void onPanelClosed( int i, - jni.JObject menu, + _$jni.JObject menu, ) { - _onPanelClosed(reference.pointer, _id_onPanelClosed as jni.JMethodIDPtr, i, - menu.reference.pointer) + _onPanelClosed(reference.pointer, _id_onPanelClosed as _$jni.JMethodIDPtr, + i, menu.reference.pointer) .check(); } static final _id_invalidateOptionsMenu = _class.instanceMethodId( - r"invalidateOptionsMenu", - r"()V", + r'invalidateOptionsMenu', + r'()V', ); - static final _invalidateOptionsMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _invalidateOptionsMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void invalidateOptionsMenu() + /// from: `public void invalidateOptionsMenu()` void invalidateOptionsMenu() { _invalidateOptionsMenu( - reference.pointer, _id_invalidateOptionsMenu as jni.JMethodIDPtr) + reference.pointer, _id_invalidateOptionsMenu as _$jni.JMethodIDPtr) .check(); } static final _id_onCreateOptionsMenu = _class.instanceMethodId( - r"onCreateOptionsMenu", - r"(Landroid/view/Menu;)Z", + r'onCreateOptionsMenu', + r'(Landroid/view/Menu;)Z', ); - static final _onCreateOptionsMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onCreateOptionsMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onCreateOptionsMenu(android.view.Menu menu) + /// from: `public boolean onCreateOptionsMenu(android.view.Menu menu)` bool onCreateOptionsMenu( - jni.JObject menu, + _$jni.JObject menu, ) { - return _onCreateOptionsMenu(reference.pointer, - _id_onCreateOptionsMenu as jni.JMethodIDPtr, menu.reference.pointer) + return _onCreateOptionsMenu( + reference.pointer, + _id_onCreateOptionsMenu as _$jni.JMethodIDPtr, + menu.reference.pointer) .boolean; } static final _id_onPrepareOptionsMenu = _class.instanceMethodId( - r"onPrepareOptionsMenu", - r"(Landroid/view/Menu;)Z", + r'onPrepareOptionsMenu', + r'(Landroid/view/Menu;)Z', ); - static final _onPrepareOptionsMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onPrepareOptionsMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onPrepareOptionsMenu(android.view.Menu menu) + /// from: `public boolean onPrepareOptionsMenu(android.view.Menu menu)` bool onPrepareOptionsMenu( - jni.JObject menu, + _$jni.JObject menu, ) { return _onPrepareOptionsMenu( reference.pointer, - _id_onPrepareOptionsMenu as jni.JMethodIDPtr, + _id_onPrepareOptionsMenu as _$jni.JMethodIDPtr, menu.reference.pointer) .boolean; } static final _id_onOptionsItemSelected = _class.instanceMethodId( - r"onOptionsItemSelected", - r"(Landroid/view/MenuItem;)Z", + r'onOptionsItemSelected', + r'(Landroid/view/MenuItem;)Z', ); - static final _onOptionsItemSelected = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onOptionsItemSelected = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onOptionsItemSelected(android.view.MenuItem menuItem) + /// from: `public boolean onOptionsItemSelected(android.view.MenuItem menuItem)` bool onOptionsItemSelected( - jni.JObject menuItem, + _$jni.JObject menuItem, ) { return _onOptionsItemSelected( reference.pointer, - _id_onOptionsItemSelected as jni.JMethodIDPtr, + _id_onOptionsItemSelected as _$jni.JMethodIDPtr, menuItem.reference.pointer) .boolean; } static final _id_onNavigateUp = _class.instanceMethodId( - r"onNavigateUp", - r"()Z", + r'onNavigateUp', + r'()Z', ); - static final _onNavigateUp = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _onNavigateUp = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean onNavigateUp() + /// from: `public boolean onNavigateUp()` bool onNavigateUp() { return _onNavigateUp( - reference.pointer, _id_onNavigateUp as jni.JMethodIDPtr) + reference.pointer, _id_onNavigateUp as _$jni.JMethodIDPtr) .boolean; } static final _id_onNavigateUpFromChild = _class.instanceMethodId( - r"onNavigateUpFromChild", - r"(Landroid/app/Activity;)Z", + r'onNavigateUpFromChild', + r'(Landroid/app/Activity;)Z', ); - static final _onNavigateUpFromChild = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onNavigateUpFromChild = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onNavigateUpFromChild(android.app.Activity activity) + /// from: `public boolean onNavigateUpFromChild(android.app.Activity activity)` bool onNavigateUpFromChild( Activity activity, ) { return _onNavigateUpFromChild( reference.pointer, - _id_onNavigateUpFromChild as jni.JMethodIDPtr, + _id_onNavigateUpFromChild as _$jni.JMethodIDPtr, activity.reference.pointer) .boolean; } static final _id_onCreateNavigateUpTaskStack = _class.instanceMethodId( - r"onCreateNavigateUpTaskStack", - r"(Landroid/app/TaskStackBuilder;)V", - ); - - static final _onCreateNavigateUpTaskStack = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'onCreateNavigateUpTaskStack', + r'(Landroid/app/TaskStackBuilder;)V', + ); + + static final _onCreateNavigateUpTaskStack = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onCreateNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder) + /// from: `public void onCreateNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder)` void onCreateNavigateUpTaskStack( - jni.JObject taskStackBuilder, + _$jni.JObject taskStackBuilder, ) { _onCreateNavigateUpTaskStack( reference.pointer, - _id_onCreateNavigateUpTaskStack as jni.JMethodIDPtr, + _id_onCreateNavigateUpTaskStack as _$jni.JMethodIDPtr, taskStackBuilder.reference.pointer) .check(); } static final _id_onPrepareNavigateUpTaskStack = _class.instanceMethodId( - r"onPrepareNavigateUpTaskStack", - r"(Landroid/app/TaskStackBuilder;)V", - ); - - static final _onPrepareNavigateUpTaskStack = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'onPrepareNavigateUpTaskStack', + r'(Landroid/app/TaskStackBuilder;)V', + ); + + static final _onPrepareNavigateUpTaskStack = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onPrepareNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder) + /// from: `public void onPrepareNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder)` void onPrepareNavigateUpTaskStack( - jni.JObject taskStackBuilder, + _$jni.JObject taskStackBuilder, ) { _onPrepareNavigateUpTaskStack( reference.pointer, - _id_onPrepareNavigateUpTaskStack as jni.JMethodIDPtr, + _id_onPrepareNavigateUpTaskStack as _$jni.JMethodIDPtr, taskStackBuilder.reference.pointer) .check(); } static final _id_onOptionsMenuClosed = _class.instanceMethodId( - r"onOptionsMenuClosed", - r"(Landroid/view/Menu;)V", + r'onOptionsMenuClosed', + r'(Landroid/view/Menu;)V', ); - static final _onOptionsMenuClosed = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onOptionsMenuClosed = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onOptionsMenuClosed(android.view.Menu menu) + /// from: `public void onOptionsMenuClosed(android.view.Menu menu)` void onOptionsMenuClosed( - jni.JObject menu, + _$jni.JObject menu, ) { - _onOptionsMenuClosed(reference.pointer, - _id_onOptionsMenuClosed as jni.JMethodIDPtr, menu.reference.pointer) + _onOptionsMenuClosed( + reference.pointer, + _id_onOptionsMenuClosed as _$jni.JMethodIDPtr, + menu.reference.pointer) .check(); } static final _id_openOptionsMenu = _class.instanceMethodId( - r"openOptionsMenu", - r"()V", + r'openOptionsMenu', + r'()V', ); - static final _openOptionsMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _openOptionsMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void openOptionsMenu() + /// from: `public void openOptionsMenu()` void openOptionsMenu() { - _openOptionsMenu(reference.pointer, _id_openOptionsMenu as jni.JMethodIDPtr) + _openOptionsMenu( + reference.pointer, _id_openOptionsMenu as _$jni.JMethodIDPtr) .check(); } static final _id_closeOptionsMenu = _class.instanceMethodId( - r"closeOptionsMenu", - r"()V", + r'closeOptionsMenu', + r'()V', ); - static final _closeOptionsMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _closeOptionsMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void closeOptionsMenu() + /// from: `public void closeOptionsMenu()` void closeOptionsMenu() { _closeOptionsMenu( - reference.pointer, _id_closeOptionsMenu as jni.JMethodIDPtr) + reference.pointer, _id_closeOptionsMenu as _$jni.JMethodIDPtr) .check(); } static final _id_onCreateContextMenu = _class.instanceMethodId( - r"onCreateContextMenu", - r"(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V", + r'onCreateContextMenu', + r'(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V', ); - static final _onCreateContextMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onCreateContextMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void onCreateContextMenu(android.view.ContextMenu contextMenu, android.view.View view, android.view.ContextMenu$ContextMenuInfo contextMenuInfo) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void onCreateContextMenu(android.view.ContextMenu contextMenu, android.view.View view, android.view.ContextMenu$ContextMenuInfo contextMenuInfo)` void onCreateContextMenu( - jni.JObject contextMenu, - jni.JObject view, - jni.JObject contextMenuInfo, + _$jni.JObject contextMenu, + _$jni.JObject view, + _$jni.JObject contextMenuInfo, ) { _onCreateContextMenu( reference.pointer, - _id_onCreateContextMenu as jni.JMethodIDPtr, + _id_onCreateContextMenu as _$jni.JMethodIDPtr, contextMenu.reference.pointer, view.reference.pointer, contextMenuInfo.reference.pointer) @@ -18034,476 +19061,371 @@ class Activity extends jni.JObject { } static final _id_registerForContextMenu = _class.instanceMethodId( - r"registerForContextMenu", - r"(Landroid/view/View;)V", + r'registerForContextMenu', + r'(Landroid/view/View;)V', ); - static final _registerForContextMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _registerForContextMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void registerForContextMenu(android.view.View view) + /// from: `public void registerForContextMenu(android.view.View view)` void registerForContextMenu( - jni.JObject view, + _$jni.JObject view, ) { _registerForContextMenu( reference.pointer, - _id_registerForContextMenu as jni.JMethodIDPtr, + _id_registerForContextMenu as _$jni.JMethodIDPtr, view.reference.pointer) .check(); } static final _id_unregisterForContextMenu = _class.instanceMethodId( - r"unregisterForContextMenu", - r"(Landroid/view/View;)V", + r'unregisterForContextMenu', + r'(Landroid/view/View;)V', ); - static final _unregisterForContextMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _unregisterForContextMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void unregisterForContextMenu(android.view.View view) + /// from: `public void unregisterForContextMenu(android.view.View view)` void unregisterForContextMenu( - jni.JObject view, + _$jni.JObject view, ) { _unregisterForContextMenu( reference.pointer, - _id_unregisterForContextMenu as jni.JMethodIDPtr, + _id_unregisterForContextMenu as _$jni.JMethodIDPtr, view.reference.pointer) .check(); } static final _id_openContextMenu = _class.instanceMethodId( - r"openContextMenu", - r"(Landroid/view/View;)V", + r'openContextMenu', + r'(Landroid/view/View;)V', ); - static final _openContextMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _openContextMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void openContextMenu(android.view.View view) + /// from: `public void openContextMenu(android.view.View view)` void openContextMenu( - jni.JObject view, + _$jni.JObject view, ) { - _openContextMenu(reference.pointer, _id_openContextMenu as jni.JMethodIDPtr, - view.reference.pointer) + _openContextMenu(reference.pointer, + _id_openContextMenu as _$jni.JMethodIDPtr, view.reference.pointer) .check(); } static final _id_closeContextMenu = _class.instanceMethodId( - r"closeContextMenu", - r"()V", + r'closeContextMenu', + r'()V', ); - static final _closeContextMenu = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _closeContextMenu = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void closeContextMenu() + /// from: `public void closeContextMenu()` void closeContextMenu() { _closeContextMenu( - reference.pointer, _id_closeContextMenu as jni.JMethodIDPtr) + reference.pointer, _id_closeContextMenu as _$jni.JMethodIDPtr) .check(); } static final _id_onContextItemSelected = _class.instanceMethodId( - r"onContextItemSelected", - r"(Landroid/view/MenuItem;)Z", + r'onContextItemSelected', + r'(Landroid/view/MenuItem;)Z', ); - static final _onContextItemSelected = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onContextItemSelected = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onContextItemSelected(android.view.MenuItem menuItem) + /// from: `public boolean onContextItemSelected(android.view.MenuItem menuItem)` bool onContextItemSelected( - jni.JObject menuItem, + _$jni.JObject menuItem, ) { return _onContextItemSelected( reference.pointer, - _id_onContextItemSelected as jni.JMethodIDPtr, + _id_onContextItemSelected as _$jni.JMethodIDPtr, menuItem.reference.pointer) .boolean; } static final _id_onContextMenuClosed = _class.instanceMethodId( - r"onContextMenuClosed", - r"(Landroid/view/Menu;)V", + r'onContextMenuClosed', + r'(Landroid/view/Menu;)V', ); - static final _onContextMenuClosed = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onContextMenuClosed = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onContextMenuClosed(android.view.Menu menu) + /// from: `public void onContextMenuClosed(android.view.Menu menu)` void onContextMenuClosed( - jni.JObject menu, - ) { - _onContextMenuClosed(reference.pointer, - _id_onContextMenuClosed as jni.JMethodIDPtr, menu.reference.pointer) - .check(); - } - - static final _id_onCreateDialog = _class.instanceMethodId( - r"onCreateDialog", - r"(I)Landroid/app/Dialog;", - ); - - static final _onCreateDialog = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); - - /// from: protected android.app.Dialog onCreateDialog(int i) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject onCreateDialog( - int i, - ) { - return _onCreateDialog( - reference.pointer, _id_onCreateDialog as jni.JMethodIDPtr, i) - .object(const jni.JObjectType()); - } - - static final _id_onCreateDialog1 = _class.instanceMethodId( - r"onCreateDialog", - r"(ILandroid/os/Bundle;)Landroid/app/Dialog;", - ); - - static final _onCreateDialog1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); - - /// from: protected android.app.Dialog onCreateDialog(int i, android.os.Bundle bundle) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject onCreateDialog1( - int i, - jni.JObject bundle, - ) { - return _onCreateDialog1( - reference.pointer, - _id_onCreateDialog1 as jni.JMethodIDPtr, - i, - bundle.reference.pointer) - .object(const jni.JObjectType()); - } - - static final _id_onPrepareDialog = _class.instanceMethodId( - r"onPrepareDialog", - r"(ILandroid/app/Dialog;)V", - ); - - static final _onPrepareDialog = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); - - /// from: protected void onPrepareDialog(int i, android.app.Dialog dialog) - void onPrepareDialog( - int i, - jni.JObject dialog, + _$jni.JObject menu, ) { - _onPrepareDialog(reference.pointer, _id_onPrepareDialog as jni.JMethodIDPtr, - i, dialog.reference.pointer) - .check(); - } - - static final _id_onPrepareDialog1 = _class.instanceMethodId( - r"onPrepareDialog", - r"(ILandroid/app/Dialog;Landroid/os/Bundle;)V", - ); - - static final _onPrepareDialog1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer, ffi.Pointer)>(); - - /// from: protected void onPrepareDialog(int i, android.app.Dialog dialog, android.os.Bundle bundle) - void onPrepareDialog1( - int i, - jni.JObject dialog, - jni.JObject bundle, - ) { - _onPrepareDialog1( + _onContextMenuClosed( reference.pointer, - _id_onPrepareDialog1 as jni.JMethodIDPtr, - i, - dialog.reference.pointer, - bundle.reference.pointer) + _id_onContextMenuClosed as _$jni.JMethodIDPtr, + menu.reference.pointer) .check(); } static final _id_showDialog = _class.instanceMethodId( - r"showDialog", - r"(I)V", + r'showDialog', + r'(I)V', ); - static final _showDialog = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _showDialog = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void showDialog(int i) + /// from: `public final void showDialog(int i)` void showDialog( int i, ) { - _showDialog(reference.pointer, _id_showDialog as jni.JMethodIDPtr, i) + _showDialog(reference.pointer, _id_showDialog as _$jni.JMethodIDPtr, i) .check(); } - static final _id_showDialog1 = _class.instanceMethodId( - r"showDialog", - r"(ILandroid/os/Bundle;)Z", + static final _id_showDialog$1 = _class.instanceMethodId( + r'showDialog', + r'(ILandroid/os/Bundle;)Z', ); - static final _showDialog1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallBooleanMethod") + static final _showDialog$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final boolean showDialog(int i, android.os.Bundle bundle) - bool showDialog1( + /// from: `public final boolean showDialog(int i, android.os.Bundle bundle)` + bool showDialog$1( int i, - jni.JObject bundle, + _$jni.JObject bundle, ) { - return _showDialog1(reference.pointer, _id_showDialog1 as jni.JMethodIDPtr, - i, bundle.reference.pointer) + return _showDialog$1(reference.pointer, + _id_showDialog$1 as _$jni.JMethodIDPtr, i, bundle.reference.pointer) .boolean; } static final _id_dismissDialog = _class.instanceMethodId( - r"dismissDialog", - r"(I)V", + r'dismissDialog', + r'(I)V', ); - static final _dismissDialog = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _dismissDialog = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void dismissDialog(int i) + /// from: `public final void dismissDialog(int i)` void dismissDialog( int i, ) { - _dismissDialog(reference.pointer, _id_dismissDialog as jni.JMethodIDPtr, i) + _dismissDialog( + reference.pointer, _id_dismissDialog as _$jni.JMethodIDPtr, i) .check(); } static final _id_removeDialog = _class.instanceMethodId( - r"removeDialog", - r"(I)V", + r'removeDialog', + r'(I)V', ); - static final _removeDialog = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _removeDialog = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void removeDialog(int i) + /// from: `public final void removeDialog(int i)` void removeDialog( int i, ) { - _removeDialog(reference.pointer, _id_removeDialog as jni.JMethodIDPtr, i) + _removeDialog(reference.pointer, _id_removeDialog as _$jni.JMethodIDPtr, i) .check(); } static final _id_onSearchRequested = _class.instanceMethodId( - r"onSearchRequested", - r"(Landroid/view/SearchEvent;)Z", + r'onSearchRequested', + r'(Landroid/view/SearchEvent;)Z', ); - static final _onSearchRequested = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _onSearchRequested = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean onSearchRequested(android.view.SearchEvent searchEvent) + /// from: `public boolean onSearchRequested(android.view.SearchEvent searchEvent)` bool onSearchRequested( - jni.JObject searchEvent, + _$jni.JObject searchEvent, ) { return _onSearchRequested( reference.pointer, - _id_onSearchRequested as jni.JMethodIDPtr, + _id_onSearchRequested as _$jni.JMethodIDPtr, searchEvent.reference.pointer) .boolean; } - static final _id_onSearchRequested1 = _class.instanceMethodId( - r"onSearchRequested", - r"()Z", + static final _id_onSearchRequested$1 = _class.instanceMethodId( + r'onSearchRequested', + r'()Z', ); - static final _onSearchRequested1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _onSearchRequested$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean onSearchRequested() - bool onSearchRequested1() { - return _onSearchRequested1( - reference.pointer, _id_onSearchRequested1 as jni.JMethodIDPtr) + /// from: `public boolean onSearchRequested()` + bool onSearchRequested$1() { + return _onSearchRequested$1( + reference.pointer, _id_onSearchRequested$1 as _$jni.JMethodIDPtr) .boolean; } static final _id_getSearchEvent = _class.instanceMethodId( - r"getSearchEvent", - r"()Landroid/view/SearchEvent;", + r'getSearchEvent', + r'()Landroid/view/SearchEvent;', ); - static final _getSearchEvent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getSearchEvent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final android.view.SearchEvent getSearchEvent() + /// from: `public final android.view.SearchEvent getSearchEvent()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getSearchEvent() { + _$jni.JObject getSearchEvent() { return _getSearchEvent( - reference.pointer, _id_getSearchEvent as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getSearchEvent as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_startSearch = _class.instanceMethodId( - r"startSearch", - r"(Ljava/lang/String;ZLandroid/os/Bundle;Z)V", + r'startSearch', + r'(Ljava/lang/String;ZLandroid/os/Bundle;Z)V', ); - static final _startSearch = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startSearch = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, ffi.Pointer, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>, + int)>(); - /// from: public void startSearch(java.lang.String string, boolean z, android.os.Bundle bundle, boolean z1) + /// from: `public void startSearch(java.lang.String string, boolean z, android.os.Bundle bundle, boolean z1)` void startSearch( - jni.JString string, + _$jni.JString string, bool z, - jni.JObject bundle, + _$jni.JObject bundle, bool z1, ) { _startSearch( reference.pointer, - _id_startSearch as jni.JMethodIDPtr, + _id_startSearch as _$jni.JMethodIDPtr, string.reference.pointer, z ? 1 : 0, bundle.reference.pointer, @@ -18512,444 +19434,433 @@ class Activity extends jni.JObject { } static final _id_triggerSearch = _class.instanceMethodId( - r"triggerSearch", - r"(Ljava/lang/String;Landroid/os/Bundle;)V", + r'triggerSearch', + r'(Ljava/lang/String;Landroid/os/Bundle;)V', ); - static final _triggerSearch = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _triggerSearch = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void triggerSearch(java.lang.String string, android.os.Bundle bundle) + /// from: `public void triggerSearch(java.lang.String string, android.os.Bundle bundle)` void triggerSearch( - jni.JString string, - jni.JObject bundle, + _$jni.JString string, + _$jni.JObject bundle, ) { - _triggerSearch(reference.pointer, _id_triggerSearch as jni.JMethodIDPtr, + _triggerSearch(reference.pointer, _id_triggerSearch as _$jni.JMethodIDPtr, string.reference.pointer, bundle.reference.pointer) .check(); } static final _id_takeKeyEvents = _class.instanceMethodId( - r"takeKeyEvents", - r"(Z)V", + r'takeKeyEvents', + r'(Z)V', ); - static final _takeKeyEvents = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _takeKeyEvents = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void takeKeyEvents(boolean z) + /// from: `public void takeKeyEvents(boolean z)` void takeKeyEvents( bool z, ) { - _takeKeyEvents( - reference.pointer, _id_takeKeyEvents as jni.JMethodIDPtr, z ? 1 : 0) + _takeKeyEvents(reference.pointer, _id_takeKeyEvents as _$jni.JMethodIDPtr, + z ? 1 : 0) .check(); } static final _id_requestWindowFeature = _class.instanceMethodId( - r"requestWindowFeature", - r"(I)Z", + r'requestWindowFeature', + r'(I)Z', ); - static final _requestWindowFeature = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallBooleanMethod") + static final _requestWindowFeature = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final boolean requestWindowFeature(int i) + /// from: `public final boolean requestWindowFeature(int i)` bool requestWindowFeature( int i, ) { - return _requestWindowFeature( - reference.pointer, _id_requestWindowFeature as jni.JMethodIDPtr, i) + return _requestWindowFeature(reference.pointer, + _id_requestWindowFeature as _$jni.JMethodIDPtr, i) .boolean; } static final _id_setFeatureDrawableResource = _class.instanceMethodId( - r"setFeatureDrawableResource", - r"(II)V", - ); - - static final _setFeatureDrawableResource = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.VarArgs<(ffi.Int64, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int, int)>(); + r'setFeatureDrawableResource', + r'(II)V', + ); + + static final _setFeatureDrawableResource = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); - /// from: public final void setFeatureDrawableResource(int i, int i1) + /// from: `public final void setFeatureDrawableResource(int i, int i1)` void setFeatureDrawableResource( int i, int i1, ) { _setFeatureDrawableResource(reference.pointer, - _id_setFeatureDrawableResource as jni.JMethodIDPtr, i, i1) + _id_setFeatureDrawableResource as _$jni.JMethodIDPtr, i, i1) .check(); } static final _id_setFeatureDrawableUri = _class.instanceMethodId( - r"setFeatureDrawableUri", - r"(ILandroid/net/Uri;)V", + r'setFeatureDrawableUri', + r'(ILandroid/net/Uri;)V', ); - static final _setFeatureDrawableUri = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") + static final _setFeatureDrawableUri = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final void setFeatureDrawableUri(int i, android.net.Uri uri) + /// from: `public final void setFeatureDrawableUri(int i, android.net.Uri uri)` void setFeatureDrawableUri( int i, - jni.JObject uri, + _$jni.JObject uri, ) { _setFeatureDrawableUri( reference.pointer, - _id_setFeatureDrawableUri as jni.JMethodIDPtr, + _id_setFeatureDrawableUri as _$jni.JMethodIDPtr, i, uri.reference.pointer) .check(); } static final _id_setFeatureDrawable = _class.instanceMethodId( - r"setFeatureDrawable", - r"(ILandroid/graphics/drawable/Drawable;)V", + r'setFeatureDrawable', + r'(ILandroid/graphics/drawable/Drawable;)V', ); - static final _setFeatureDrawable = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") + static final _setFeatureDrawable = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final void setFeatureDrawable(int i, android.graphics.drawable.Drawable drawable) + /// from: `public final void setFeatureDrawable(int i, android.graphics.drawable.Drawable drawable)` void setFeatureDrawable( int i, - jni.JObject drawable, + _$jni.JObject drawable, ) { _setFeatureDrawable( reference.pointer, - _id_setFeatureDrawable as jni.JMethodIDPtr, + _id_setFeatureDrawable as _$jni.JMethodIDPtr, i, drawable.reference.pointer) .check(); } static final _id_setFeatureDrawableAlpha = _class.instanceMethodId( - r"setFeatureDrawableAlpha", - r"(II)V", + r'setFeatureDrawableAlpha', + r'(II)V', ); - static final _setFeatureDrawableAlpha = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.VarArgs<(ffi.Int64, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _setFeatureDrawableAlpha = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); - /// from: public final void setFeatureDrawableAlpha(int i, int i1) + /// from: `public final void setFeatureDrawableAlpha(int i, int i1)` void setFeatureDrawableAlpha( int i, int i1, ) { _setFeatureDrawableAlpha(reference.pointer, - _id_setFeatureDrawableAlpha as jni.JMethodIDPtr, i, i1) + _id_setFeatureDrawableAlpha as _$jni.JMethodIDPtr, i, i1) .check(); } static final _id_getLayoutInflater = _class.instanceMethodId( - r"getLayoutInflater", - r"()Landroid/view/LayoutInflater;", + r'getLayoutInflater', + r'()Landroid/view/LayoutInflater;', ); - static final _getLayoutInflater = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getLayoutInflater = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.view.LayoutInflater getLayoutInflater() + /// from: `public android.view.LayoutInflater getLayoutInflater()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getLayoutInflater() { + _$jni.JObject getLayoutInflater() { return _getLayoutInflater( - reference.pointer, _id_getLayoutInflater as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getLayoutInflater as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getMenuInflater = _class.instanceMethodId( - r"getMenuInflater", - r"()Landroid/view/MenuInflater;", + r'getMenuInflater', + r'()Landroid/view/MenuInflater;', ); - static final _getMenuInflater = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getMenuInflater = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.view.MenuInflater getMenuInflater() + /// from: `public android.view.MenuInflater getMenuInflater()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getMenuInflater() { + _$jni.JObject getMenuInflater() { return _getMenuInflater( - reference.pointer, _id_getMenuInflater as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getMenuInflater as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_setTheme = _class.instanceMethodId( - r"setTheme", - r"(I)V", + r'setTheme', + r'(I)V', ); - static final _setTheme = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setTheme = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setTheme(int i) + /// from: `public void setTheme(int i)` void setTheme( int i, ) { - _setTheme(reference.pointer, _id_setTheme as jni.JMethodIDPtr, i).check(); - } - - static final _id_onApplyThemeResource = _class.instanceMethodId( - r"onApplyThemeResource", - r"(Landroid/content/res/Resources$Theme;IZ)V", - ); - - static final _onApplyThemeResource = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, int)>(); - - /// from: protected void onApplyThemeResource(android.content.res.Resources$Theme theme, int i, boolean z) - void onApplyThemeResource( - jni.JObject theme, - int i, - bool z, - ) { - _onApplyThemeResource( - reference.pointer, - _id_onApplyThemeResource as jni.JMethodIDPtr, - theme.reference.pointer, - i, - z ? 1 : 0) - .check(); + _setTheme(reference.pointer, _id_setTheme as _$jni.JMethodIDPtr, i).check(); } static final _id_requestPermissions = _class.instanceMethodId( - r"requestPermissions", - r"([Ljava/lang/String;I)V", + r'requestPermissions', + r'([Ljava/lang/String;I)V', ); - static final _requestPermissions = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _requestPermissions = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public final void requestPermissions(java.lang.String[] strings, int i) + /// from: `public final void requestPermissions(java.lang.String[] strings, int i)` void requestPermissions( - jni.JArray strings, + _$jni.JArray<_$jni.JString> strings, int i, ) { _requestPermissions( reference.pointer, - _id_requestPermissions as jni.JMethodIDPtr, + _id_requestPermissions as _$jni.JMethodIDPtr, strings.reference.pointer, i) .check(); } static final _id_onRequestPermissionsResult = _class.instanceMethodId( - r"onRequestPermissionsResult", - r"(I[Ljava/lang/String;[I)V", + r'onRequestPermissionsResult', + r'(I[Ljava/lang/String;[I)V', ); - static final _onRequestPermissionsResult = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Int64, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer, ffi.Pointer)>(); + static final _onRequestPermissionsResult = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + int, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onRequestPermissionsResult(int i, java.lang.String[] strings, int[] is) + /// from: `public void onRequestPermissionsResult(int i, java.lang.String[] strings, int[] is)` void onRequestPermissionsResult( int i, - jni.JArray strings, - jni.JArray is0, + _$jni.JArray<_$jni.JString> strings, + _$jni.JArray<_$jni.jint> is$, ) { _onRequestPermissionsResult( reference.pointer, - _id_onRequestPermissionsResult as jni.JMethodIDPtr, + _id_onRequestPermissionsResult as _$jni.JMethodIDPtr, i, strings.reference.pointer, - is0.reference.pointer) + is$.reference.pointer) .check(); } static final _id_shouldShowRequestPermissionRationale = _class.instanceMethodId( - r"shouldShowRequestPermissionRationale", - r"(Ljava/lang/String;)Z", + r'shouldShowRequestPermissionRationale', + r'(Ljava/lang/String;)Z', ); static final _shouldShowRequestPermissionRationale = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean shouldShowRequestPermissionRationale(java.lang.String string) + /// from: `public boolean shouldShowRequestPermissionRationale(java.lang.String string)` bool shouldShowRequestPermissionRationale( - jni.JString string, + _$jni.JString string, ) { return _shouldShowRequestPermissionRationale( reference.pointer, - _id_shouldShowRequestPermissionRationale as jni.JMethodIDPtr, + _id_shouldShowRequestPermissionRationale as _$jni.JMethodIDPtr, string.reference.pointer) .boolean; } static final _id_startActivityForResult = _class.instanceMethodId( - r"startActivityForResult", - r"(Landroid/content/Intent;I)V", + r'startActivityForResult', + r'(Landroid/content/Intent;I)V', ); - static final _startActivityForResult = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _startActivityForResult = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public void startActivityForResult(android.content.Intent intent, int i) + /// from: `public void startActivityForResult(android.content.Intent intent, int i)` void startActivityForResult( Intent intent, int i, ) { _startActivityForResult( reference.pointer, - _id_startActivityForResult as jni.JMethodIDPtr, + _id_startActivityForResult as _$jni.JMethodIDPtr, intent.reference.pointer, i) .check(); } - static final _id_startActivityForResult1 = _class.instanceMethodId( - r"startActivityForResult", - r"(Landroid/content/Intent;ILandroid/os/Bundle;)V", + static final _id_startActivityForResult$1 = _class.instanceMethodId( + r'startActivityForResult', + r'(Landroid/content/Intent;ILandroid/os/Bundle;)V', ); - static final _startActivityForResult1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivityForResult$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startActivityForResult(android.content.Intent intent, int i, android.os.Bundle bundle) - void startActivityForResult1( + /// from: `public void startActivityForResult(android.content.Intent intent, int i, android.os.Bundle bundle)` + void startActivityForResult$1( Intent intent, int i, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startActivityForResult1( + _startActivityForResult$1( reference.pointer, - _id_startActivityForResult1 as jni.JMethodIDPtr, + _id_startActivityForResult$1 as _$jni.JMethodIDPtr, intent.reference.pointer, i, bundle.reference.pointer) @@ -18957,62 +19868,64 @@ class Activity extends jni.JObject { } static final _id_isActivityTransitionRunning = _class.instanceMethodId( - r"isActivityTransitionRunning", - r"()Z", + r'isActivityTransitionRunning', + r'()Z', ); - static final _isActivityTransitionRunning = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _isActivityTransitionRunning = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public boolean isActivityTransitionRunning() + /// from: `public boolean isActivityTransitionRunning()` bool isActivityTransitionRunning() { return _isActivityTransitionRunning(reference.pointer, - _id_isActivityTransitionRunning as jni.JMethodIDPtr) + _id_isActivityTransitionRunning as _$jni.JMethodIDPtr) .boolean; } static final _id_startIntentSenderForResult = _class.instanceMethodId( - r"startIntentSenderForResult", - r"(Landroid/content/IntentSender;ILandroid/content/Intent;III)V", + r'startIntentSenderForResult', + r'(Landroid/content/IntentSender;ILandroid/content/Intent;III)V', ); - static final _startIntentSenderForResult = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - int)>(); + static final _startIntentSenderForResult = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>, + int, + int, + int)>(); - /// from: public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3) + /// from: `public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3)` void startIntentSenderForResult( - jni.JObject intentSender, + _$jni.JObject intentSender, int i, Intent intent, int i1, @@ -19021,7 +19934,7 @@ class Activity extends jni.JObject { ) { _startIntentSenderForResult( reference.pointer, - _id_startIntentSenderForResult as jni.JMethodIDPtr, + _id_startIntentSenderForResult as _$jni.JMethodIDPtr, intentSender.reference.pointer, i, intent.reference.pointer, @@ -19031,51 +19944,52 @@ class Activity extends jni.JObject { .check(); } - static final _id_startIntentSenderForResult1 = _class.instanceMethodId( - r"startIntentSenderForResult", - r"(Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V", + static final _id_startIntentSenderForResult$1 = _class.instanceMethodId( + r'startIntentSenderForResult', + r'(Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSenderForResult1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - int, - ffi.Pointer)>(); + static final _startIntentSenderForResult$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>, + int, + int, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle) - void startIntentSenderForResult1( - jni.JObject intentSender, + /// from: `public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle)` + void startIntentSenderForResult$1( + _$jni.JObject intentSender, int i, Intent intent, int i1, int i2, int i3, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startIntentSenderForResult1( + _startIntentSenderForResult$1( reference.pointer, - _id_startIntentSenderForResult1 as jni.JMethodIDPtr, + _id_startIntentSenderForResult$1 as _$jni.JMethodIDPtr, intentSender.reference.pointer, i, intent.reference.pointer, @@ -19087,141 +20001,158 @@ class Activity extends jni.JObject { } static final _id_startActivity = _class.instanceMethodId( - r"startActivity", - r"(Landroid/content/Intent;)V", + r'startActivity', + r'(Landroid/content/Intent;)V', ); - static final _startActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _startActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startActivity(android.content.Intent intent) + /// from: `public void startActivity(android.content.Intent intent)` void startActivity( Intent intent, ) { - _startActivity(reference.pointer, _id_startActivity as jni.JMethodIDPtr, + _startActivity(reference.pointer, _id_startActivity as _$jni.JMethodIDPtr, intent.reference.pointer) .check(); } - static final _id_startActivity1 = _class.instanceMethodId( - r"startActivity", - r"(Landroid/content/Intent;Landroid/os/Bundle;)V", + static final _id_startActivity$1 = _class.instanceMethodId( + r'startActivity', + r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivity1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivity$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public void startActivity(android.content.Intent intent, android.os.Bundle bundle) - void startActivity1( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void startActivity(android.content.Intent intent, android.os.Bundle bundle)` + void startActivity$1( Intent intent, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startActivity1(reference.pointer, _id_startActivity1 as jni.JMethodIDPtr, - intent.reference.pointer, bundle.reference.pointer) + _startActivity$1( + reference.pointer, + _id_startActivity$1 as _$jni.JMethodIDPtr, + intent.reference.pointer, + bundle.reference.pointer) .check(); } static final _id_startActivities = _class.instanceMethodId( - r"startActivities", - r"([Landroid/content/Intent;)V", + r'startActivities', + r'([Landroid/content/Intent;)V', ); - static final _startActivities = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _startActivities = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startActivities(android.content.Intent[] intents) + /// from: `public void startActivities(android.content.Intent[] intents)` void startActivities( - jni.JArray intents, + _$jni.JArray intents, ) { - _startActivities(reference.pointer, _id_startActivities as jni.JMethodIDPtr, + _startActivities( + reference.pointer, + _id_startActivities as _$jni.JMethodIDPtr, intents.reference.pointer) .check(); } - static final _id_startActivities1 = _class.instanceMethodId( - r"startActivities", - r"([Landroid/content/Intent;Landroid/os/Bundle;)V", + static final _id_startActivities$1 = _class.instanceMethodId( + r'startActivities', + r'([Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivities1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivities$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public void startActivities(android.content.Intent[] intents, android.os.Bundle bundle) - void startActivities1( - jni.JArray intents, - jni.JObject bundle, - ) { - _startActivities1( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void startActivities(android.content.Intent[] intents, android.os.Bundle bundle)` + void startActivities$1( + _$jni.JArray intents, + _$jni.JObject bundle, + ) { + _startActivities$1( reference.pointer, - _id_startActivities1 as jni.JMethodIDPtr, + _id_startActivities$1 as _$jni.JMethodIDPtr, intents.reference.pointer, bundle.reference.pointer) .check(); } static final _id_startIntentSender = _class.instanceMethodId( - r"startIntentSender", - r"(Landroid/content/IntentSender;Landroid/content/Intent;III)V", + r'startIntentSender', + r'(Landroid/content/IntentSender;Landroid/content/Intent;III)V', ); - static final _startIntentSender = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startIntentSender = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int, int, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + int, + int)>(); - /// from: public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2) + /// from: `public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2)` void startIntentSender( - jni.JObject intentSender, + _$jni.JObject intentSender, Intent intent, int i, int i1, @@ -19229,7 +20160,7 @@ class Activity extends jni.JObject { ) { _startIntentSender( reference.pointer, - _id_startIntentSender as jni.JMethodIDPtr, + _id_startIntentSender as _$jni.JMethodIDPtr, intentSender.reference.pointer, intent.reference.pointer, i, @@ -19238,48 +20169,48 @@ class Activity extends jni.JObject { .check(); } - static final _id_startIntentSender1 = _class.instanceMethodId( - r"startIntentSender", - r"(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V", + static final _id_startIntentSender$1 = _class.instanceMethodId( + r'startIntentSender', + r'(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSender1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startIntentSender$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, int, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle) - void startIntentSender1( - jni.JObject intentSender, + /// from: `public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle)` + void startIntentSender$1( + _$jni.JObject intentSender, Intent intent, int i, int i1, int i2, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startIntentSender1( + _startIntentSender$1( reference.pointer, - _id_startIntentSender1 as jni.JMethodIDPtr, + _id_startIntentSender$1 as _$jni.JMethodIDPtr, intentSender.reference.pointer, intent.reference.pointer, i, @@ -19290,63 +20221,68 @@ class Activity extends jni.JObject { } static final _id_startActivityIfNeeded = _class.instanceMethodId( - r"startActivityIfNeeded", - r"(Landroid/content/Intent;I)Z", + r'startActivityIfNeeded', + r'(Landroid/content/Intent;I)Z', ); - static final _startActivityIfNeeded = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallBooleanMethod") + static final _startActivityIfNeeded = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public boolean startActivityIfNeeded(android.content.Intent intent, int i) + /// from: `public boolean startActivityIfNeeded(android.content.Intent intent, int i)` bool startActivityIfNeeded( Intent intent, int i, ) { return _startActivityIfNeeded( reference.pointer, - _id_startActivityIfNeeded as jni.JMethodIDPtr, + _id_startActivityIfNeeded as _$jni.JMethodIDPtr, intent.reference.pointer, i) .boolean; } - static final _id_startActivityIfNeeded1 = _class.instanceMethodId( - r"startActivityIfNeeded", - r"(Landroid/content/Intent;ILandroid/os/Bundle;)Z", + static final _id_startActivityIfNeeded$1 = _class.instanceMethodId( + r'startActivityIfNeeded', + r'(Landroid/content/Intent;ILandroid/os/Bundle;)Z', ); - static final _startActivityIfNeeded1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivityIfNeeded$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int, ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean startActivityIfNeeded(android.content.Intent intent, int i, android.os.Bundle bundle) - bool startActivityIfNeeded1( + /// from: `public boolean startActivityIfNeeded(android.content.Intent intent, int i, android.os.Bundle bundle)` + bool startActivityIfNeeded$1( Intent intent, int i, - jni.JObject bundle, + _$jni.JObject bundle, ) { - return _startActivityIfNeeded1( + return _startActivityIfNeeded$1( reference.pointer, - _id_startActivityIfNeeded1 as jni.JMethodIDPtr, + _id_startActivityIfNeeded$1 as _$jni.JMethodIDPtr, intent.reference.pointer, i, bundle.reference.pointer) @@ -19354,85 +20290,93 @@ class Activity extends jni.JObject { } static final _id_startNextMatchingActivity = _class.instanceMethodId( - r"startNextMatchingActivity", - r"(Landroid/content/Intent;)Z", + r'startNextMatchingActivity', + r'(Landroid/content/Intent;)Z', ); - static final _startNextMatchingActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _startNextMatchingActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean startNextMatchingActivity(android.content.Intent intent) + /// from: `public boolean startNextMatchingActivity(android.content.Intent intent)` bool startNextMatchingActivity( Intent intent, ) { return _startNextMatchingActivity( reference.pointer, - _id_startNextMatchingActivity as jni.JMethodIDPtr, + _id_startNextMatchingActivity as _$jni.JMethodIDPtr, intent.reference.pointer) .boolean; } - static final _id_startNextMatchingActivity1 = _class.instanceMethodId( - r"startNextMatchingActivity", - r"(Landroid/content/Intent;Landroid/os/Bundle;)Z", + static final _id_startNextMatchingActivity$1 = _class.instanceMethodId( + r'startNextMatchingActivity', + r'(Landroid/content/Intent;Landroid/os/Bundle;)Z', ); - static final _startNextMatchingActivity1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: public boolean startNextMatchingActivity(android.content.Intent intent, android.os.Bundle bundle) - bool startNextMatchingActivity1( + static final _startNextMatchingActivity$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public boolean startNextMatchingActivity(android.content.Intent intent, android.os.Bundle bundle)` + bool startNextMatchingActivity$1( Intent intent, - jni.JObject bundle, + _$jni.JObject bundle, ) { - return _startNextMatchingActivity1( + return _startNextMatchingActivity$1( reference.pointer, - _id_startNextMatchingActivity1 as jni.JMethodIDPtr, + _id_startNextMatchingActivity$1 as _$jni.JMethodIDPtr, intent.reference.pointer, bundle.reference.pointer) .boolean; } static final _id_startActivityFromChild = _class.instanceMethodId( - r"startActivityFromChild", - r"(Landroid/app/Activity;Landroid/content/Intent;I)V", + r'startActivityFromChild', + r'(Landroid/app/Activity;Landroid/content/Intent;I)V', ); - static final _startActivityFromChild = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivityFromChild = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int)>(); - /// from: public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i) + /// from: `public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i)` void startActivityFromChild( Activity activity, Intent intent, @@ -19440,49 +20384,49 @@ class Activity extends jni.JObject { ) { _startActivityFromChild( reference.pointer, - _id_startActivityFromChild as jni.JMethodIDPtr, + _id_startActivityFromChild as _$jni.JMethodIDPtr, activity.reference.pointer, intent.reference.pointer, i) .check(); } - static final _id_startActivityFromChild1 = _class.instanceMethodId( - r"startActivityFromChild", - r"(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V", + static final _id_startActivityFromChild$1 = _class.instanceMethodId( + r'startActivityFromChild', + r'(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V', ); - static final _startActivityFromChild1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivityFromChild$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i, android.os.Bundle bundle) - void startActivityFromChild1( + /// from: `public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i, android.os.Bundle bundle)` + void startActivityFromChild$1( Activity activity, Intent intent, int i, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startActivityFromChild1( + _startActivityFromChild$1( reference.pointer, - _id_startActivityFromChild1 as jni.JMethodIDPtr, + _id_startActivityFromChild$1 as _$jni.JMethodIDPtr, activity.reference.pointer, intent.reference.pointer, i, @@ -19491,76 +20435,81 @@ class Activity extends jni.JObject { } static final _id_startActivityFromFragment = _class.instanceMethodId( - r"startActivityFromFragment", - r"(Landroid/app/Fragment;Landroid/content/Intent;I)V", + r'startActivityFromFragment', + r'(Landroid/app/Fragment;Landroid/content/Intent;I)V', ); - static final _startActivityFromFragment = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _startActivityFromFragment = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer, int)>(); + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int)>(); - /// from: public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i) + /// from: `public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i)` void startActivityFromFragment( - jni.JObject fragment, + _$jni.JObject fragment, Intent intent, int i, ) { _startActivityFromFragment( reference.pointer, - _id_startActivityFromFragment as jni.JMethodIDPtr, + _id_startActivityFromFragment as _$jni.JMethodIDPtr, fragment.reference.pointer, intent.reference.pointer, i) .check(); } - static final _id_startActivityFromFragment1 = _class.instanceMethodId( - r"startActivityFromFragment", - r"(Landroid/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V", + static final _id_startActivityFromFragment$1 = _class.instanceMethodId( + r'startActivityFromFragment', + r'(Landroid/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V', ); - static final _startActivityFromFragment1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + static final _startActivityFromFragment$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i, android.os.Bundle bundle) - void startActivityFromFragment1( - jni.JObject fragment, + /// from: `public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i, android.os.Bundle bundle)` + void startActivityFromFragment$1( + _$jni.JObject fragment, Intent intent, int i, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startActivityFromFragment1( + _startActivityFromFragment$1( reference.pointer, - _id_startActivityFromFragment1 as jni.JMethodIDPtr, + _id_startActivityFromFragment$1 as _$jni.JMethodIDPtr, fragment.reference.pointer, intent.reference.pointer, i, @@ -19569,41 +20518,42 @@ class Activity extends jni.JObject { } static final _id_startIntentSenderFromChild = _class.instanceMethodId( - r"startIntentSenderFromChild", - r"(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;III)V", + r'startIntentSenderFromChild', + r'(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;III)V', ); - static final _startIntentSenderFromChild = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64 - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - int)>(); + static final _startIntentSenderFromChild = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>, + int, + int, + int)>(); - /// from: public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3) + /// from: `public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3)` void startIntentSenderFromChild( Activity activity, - jni.JObject intentSender, + _$jni.JObject intentSender, int i, Intent intent, int i1, @@ -19612,7 +20562,7 @@ class Activity extends jni.JObject { ) { _startIntentSenderFromChild( reference.pointer, - _id_startIntentSenderFromChild as jni.JMethodIDPtr, + _id_startIntentSenderFromChild as _$jni.JMethodIDPtr, activity.reference.pointer, intentSender.reference.pointer, i, @@ -19623,54 +20573,55 @@ class Activity extends jni.JObject { .check(); } - static final _id_startIntentSenderFromChild1 = _class.instanceMethodId( - r"startIntentSenderFromChild", - r"(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V", + static final _id_startIntentSenderFromChild$1 = _class.instanceMethodId( + r'startIntentSenderFromChild', + r'(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSenderFromChild1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - int, - ffi.Pointer)>(); + static final _startIntentSenderFromChild$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + int, + _$jni.Pointer<_$jni.Void>, + int, + int, + int, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle) - void startIntentSenderFromChild1( + /// from: `public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle)` + void startIntentSenderFromChild$1( Activity activity, - jni.JObject intentSender, + _$jni.JObject intentSender, int i, Intent intent, int i1, int i2, int i3, - jni.JObject bundle, + _$jni.JObject bundle, ) { - _startIntentSenderFromChild1( + _startIntentSenderFromChild$1( reference.pointer, - _id_startIntentSenderFromChild1 as jni.JMethodIDPtr, + _id_startIntentSenderFromChild$1 as _$jni.JMethodIDPtr, activity.reference.pointer, intentSender.reference.pointer, i, @@ -19683,1424 +20634,1355 @@ class Activity extends jni.JObject { } static final _id_overridePendingTransition = _class.instanceMethodId( - r"overridePendingTransition", - r"(II)V", + r'overridePendingTransition', + r'(II)V', ); - static final _overridePendingTransition = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.VarArgs<(ffi.Int64, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _overridePendingTransition = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); - /// from: public void overridePendingTransition(int i, int i1) + /// from: `public void overridePendingTransition(int i, int i1)` void overridePendingTransition( int i, int i1, ) { _overridePendingTransition(reference.pointer, - _id_overridePendingTransition as jni.JMethodIDPtr, i, i1) + _id_overridePendingTransition as _$jni.JMethodIDPtr, i, i1) .check(); } - static final _id_overridePendingTransition1 = _class.instanceMethodId( - r"overridePendingTransition", - r"(III)V", + static final _id_overridePendingTransition$1 = _class.instanceMethodId( + r'overridePendingTransition', + r'(III)V', ); - static final _overridePendingTransition1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Int64, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int, int, int)>(); + static final _overridePendingTransition$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Int32, + _$jni.Int32, + _$jni.Int32 + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, int, int)>(); - /// from: public void overridePendingTransition(int i, int i1, int i2) - void overridePendingTransition1( + /// from: `public void overridePendingTransition(int i, int i1, int i2)` + void overridePendingTransition$1( int i, int i1, int i2, ) { - _overridePendingTransition1(reference.pointer, - _id_overridePendingTransition1 as jni.JMethodIDPtr, i, i1, i2) + _overridePendingTransition$1(reference.pointer, + _id_overridePendingTransition$1 as _$jni.JMethodIDPtr, i, i1, i2) .check(); } static final _id_setResult = _class.instanceMethodId( - r"setResult", - r"(I)V", + r'setResult', + r'(I)V', ); - static final _setResult = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setResult = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setResult(int i) + /// from: `public final void setResult(int i)` void setResult( int i, ) { - _setResult(reference.pointer, _id_setResult as jni.JMethodIDPtr, i).check(); + _setResult(reference.pointer, _id_setResult as _$jni.JMethodIDPtr, i) + .check(); } - static final _id_setResult1 = _class.instanceMethodId( - r"setResult", - r"(ILandroid/content/Intent;)V", + static final _id_setResult$1 = _class.instanceMethodId( + r'setResult', + r'(ILandroid/content/Intent;)V', ); - static final _setResult1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") + static final _setResult$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final void setResult(int i, android.content.Intent intent) - void setResult1( + /// from: `public final void setResult(int i, android.content.Intent intent)` + void setResult$1( int i, Intent intent, ) { - _setResult1(reference.pointer, _id_setResult1 as jni.JMethodIDPtr, i, + _setResult$1(reference.pointer, _id_setResult$1 as _$jni.JMethodIDPtr, i, intent.reference.pointer) .check(); } static final _id_getReferrer = _class.instanceMethodId( - r"getReferrer", - r"()Landroid/net/Uri;", + r'getReferrer', + r'()Landroid/net/Uri;', ); - static final _getReferrer = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getReferrer = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.net.Uri getReferrer() + /// from: `public android.net.Uri getReferrer()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getReferrer() { - return _getReferrer(reference.pointer, _id_getReferrer as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getReferrer() { + return _getReferrer( + reference.pointer, _id_getReferrer as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_onProvideReferrer = _class.instanceMethodId( - r"onProvideReferrer", - r"()Landroid/net/Uri;", + r'onProvideReferrer', + r'()Landroid/net/Uri;', ); - static final _onProvideReferrer = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _onProvideReferrer = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.net.Uri onProvideReferrer() + /// from: `public android.net.Uri onProvideReferrer()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject onProvideReferrer() { + _$jni.JObject onProvideReferrer() { return _onProvideReferrer( - reference.pointer, _id_onProvideReferrer as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_onProvideReferrer as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getCallingPackage = _class.instanceMethodId( - r"getCallingPackage", - r"()Ljava/lang/String;", + r'getCallingPackage', + r'()Ljava/lang/String;', ); - static final _getCallingPackage = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getCallingPackage = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getCallingPackage() + /// from: `public java.lang.String getCallingPackage()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getCallingPackage() { + _$jni.JString getCallingPackage() { return _getCallingPackage( - reference.pointer, _id_getCallingPackage as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getCallingPackage as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getCallingActivity = _class.instanceMethodId( - r"getCallingActivity", - r"()Landroid/content/ComponentName;", + r'getCallingActivity', + r'()Landroid/content/ComponentName;', ); - static final _getCallingActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getCallingActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.ComponentName getCallingActivity() + /// from: `public android.content.ComponentName getCallingActivity()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getCallingActivity() { + _$jni.JObject getCallingActivity() { return _getCallingActivity( - reference.pointer, _id_getCallingActivity as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getCallingActivity as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_setVisible = _class.instanceMethodId( - r"setVisible", - r"(Z)V", + r'setVisible', + r'(Z)V', ); - static final _setVisible = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setVisible = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setVisible(boolean z) + /// from: `public void setVisible(boolean z)` void setVisible( bool z, ) { _setVisible( - reference.pointer, _id_setVisible as jni.JMethodIDPtr, z ? 1 : 0) + reference.pointer, _id_setVisible as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_isFinishing = _class.instanceMethodId( - r"isFinishing", - r"()Z", + r'isFinishing', + r'()Z', ); - static final _isFinishing = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isFinishing = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isFinishing() + /// from: `public boolean isFinishing()` bool isFinishing() { - return _isFinishing(reference.pointer, _id_isFinishing as jni.JMethodIDPtr) + return _isFinishing( + reference.pointer, _id_isFinishing as _$jni.JMethodIDPtr) .boolean; } static final _id_isDestroyed = _class.instanceMethodId( - r"isDestroyed", - r"()Z", + r'isDestroyed', + r'()Z', ); - static final _isDestroyed = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isDestroyed = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isDestroyed() + /// from: `public boolean isDestroyed()` bool isDestroyed() { - return _isDestroyed(reference.pointer, _id_isDestroyed as jni.JMethodIDPtr) + return _isDestroyed( + reference.pointer, _id_isDestroyed as _$jni.JMethodIDPtr) .boolean; } static final _id_isChangingConfigurations = _class.instanceMethodId( - r"isChangingConfigurations", - r"()Z", + r'isChangingConfigurations', + r'()Z', ); - static final _isChangingConfigurations = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isChangingConfigurations = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isChangingConfigurations() + /// from: `public boolean isChangingConfigurations()` bool isChangingConfigurations() { - return _isChangingConfigurations( - reference.pointer, _id_isChangingConfigurations as jni.JMethodIDPtr) + return _isChangingConfigurations(reference.pointer, + _id_isChangingConfigurations as _$jni.JMethodIDPtr) .boolean; } static final _id_recreate = _class.instanceMethodId( - r"recreate", - r"()V", + r'recreate', + r'()V', ); - static final _recreate = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _recreate = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void recreate() + /// from: `public void recreate()` void recreate() { - _recreate(reference.pointer, _id_recreate as jni.JMethodIDPtr).check(); + _recreate(reference.pointer, _id_recreate as _$jni.JMethodIDPtr).check(); } static final _id_finish = _class.instanceMethodId( - r"finish", - r"()V", + r'finish', + r'()V', ); - static final _finish = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _finish = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void finish() + /// from: `public void finish()` void finish() { - _finish(reference.pointer, _id_finish as jni.JMethodIDPtr).check(); + _finish(reference.pointer, _id_finish as _$jni.JMethodIDPtr).check(); } static final _id_finishAffinity = _class.instanceMethodId( - r"finishAffinity", - r"()V", + r'finishAffinity', + r'()V', ); - static final _finishAffinity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _finishAffinity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void finishAffinity() + /// from: `public void finishAffinity()` void finishAffinity() { - _finishAffinity(reference.pointer, _id_finishAffinity as jni.JMethodIDPtr) + _finishAffinity(reference.pointer, _id_finishAffinity as _$jni.JMethodIDPtr) .check(); } static final _id_finishFromChild = _class.instanceMethodId( - r"finishFromChild", - r"(Landroid/app/Activity;)V", + r'finishFromChild', + r'(Landroid/app/Activity;)V', ); - static final _finishFromChild = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _finishFromChild = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void finishFromChild(android.app.Activity activity) + /// from: `public void finishFromChild(android.app.Activity activity)` void finishFromChild( Activity activity, ) { - _finishFromChild(reference.pointer, _id_finishFromChild as jni.JMethodIDPtr, + _finishFromChild( + reference.pointer, + _id_finishFromChild as _$jni.JMethodIDPtr, activity.reference.pointer) .check(); } static final _id_finishAfterTransition = _class.instanceMethodId( - r"finishAfterTransition", - r"()V", + r'finishAfterTransition', + r'()V', ); - static final _finishAfterTransition = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _finishAfterTransition = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void finishAfterTransition() + /// from: `public void finishAfterTransition()` void finishAfterTransition() { _finishAfterTransition( - reference.pointer, _id_finishAfterTransition as jni.JMethodIDPtr) + reference.pointer, _id_finishAfterTransition as _$jni.JMethodIDPtr) .check(); } static final _id_finishActivity = _class.instanceMethodId( - r"finishActivity", - r"(I)V", + r'finishActivity', + r'(I)V', ); - static final _finishActivity = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _finishActivity = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void finishActivity(int i) + /// from: `public void finishActivity(int i)` void finishActivity( int i, ) { _finishActivity( - reference.pointer, _id_finishActivity as jni.JMethodIDPtr, i) + reference.pointer, _id_finishActivity as _$jni.JMethodIDPtr, i) .check(); } static final _id_finishActivityFromChild = _class.instanceMethodId( - r"finishActivityFromChild", - r"(Landroid/app/Activity;I)V", + r'finishActivityFromChild', + r'(Landroid/app/Activity;I)V', ); - static final _finishActivityFromChild = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") + static final _finishActivityFromChild = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public void finishActivityFromChild(android.app.Activity activity, int i) + /// from: `public void finishActivityFromChild(android.app.Activity activity, int i)` void finishActivityFromChild( Activity activity, int i, ) { _finishActivityFromChild( reference.pointer, - _id_finishActivityFromChild as jni.JMethodIDPtr, + _id_finishActivityFromChild as _$jni.JMethodIDPtr, activity.reference.pointer, i) .check(); } static final _id_finishAndRemoveTask = _class.instanceMethodId( - r"finishAndRemoveTask", - r"()V", + r'finishAndRemoveTask', + r'()V', ); - static final _finishAndRemoveTask = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _finishAndRemoveTask = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void finishAndRemoveTask() + /// from: `public void finishAndRemoveTask()` void finishAndRemoveTask() { _finishAndRemoveTask( - reference.pointer, _id_finishAndRemoveTask as jni.JMethodIDPtr) + reference.pointer, _id_finishAndRemoveTask as _$jni.JMethodIDPtr) .check(); } static final _id_releaseInstance = _class.instanceMethodId( - r"releaseInstance", - r"()Z", + r'releaseInstance', + r'()Z', ); - static final _releaseInstance = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _releaseInstance = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean releaseInstance() + /// from: `public boolean releaseInstance()` bool releaseInstance() { return _releaseInstance( - reference.pointer, _id_releaseInstance as jni.JMethodIDPtr) + reference.pointer, _id_releaseInstance as _$jni.JMethodIDPtr) .boolean; } - static final _id_onActivityResult = _class.instanceMethodId( - r"onActivityResult", - r"(IILandroid/content/Intent;)V", - ); - - static final _onActivityResult = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, int, ffi.Pointer)>(); - - /// from: protected void onActivityResult(int i, int i1, android.content.Intent intent) - void onActivityResult( - int i, - int i1, - Intent intent, - ) { - _onActivityResult( - reference.pointer, - _id_onActivityResult as jni.JMethodIDPtr, - i, - i1, - intent.reference.pointer) - .check(); - } - static final _id_onActivityReenter = _class.instanceMethodId( - r"onActivityReenter", - r"(ILandroid/content/Intent;)V", + r'onActivityReenter', + r'(ILandroid/content/Intent;)V', ); - static final _onActivityReenter = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") + static final _onActivityReenter = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onActivityReenter(int i, android.content.Intent intent) + /// from: `public void onActivityReenter(int i, android.content.Intent intent)` void onActivityReenter( int i, Intent intent, ) { _onActivityReenter( reference.pointer, - _id_onActivityReenter as jni.JMethodIDPtr, + _id_onActivityReenter as _$jni.JMethodIDPtr, i, intent.reference.pointer) .check(); } static final _id_createPendingResult = _class.instanceMethodId( - r"createPendingResult", - r"(ILandroid/content/Intent;I)Landroid/app/PendingIntent;", + r'createPendingResult', + r'(ILandroid/content/Intent;I)Landroid/app/PendingIntent;', ); - static final _createPendingResult = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _createPendingResult = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Int64, - ffi.Pointer, - ffi.Int64 - )>)>>("globalEnv_CallObjectMethod") + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.app.PendingIntent createPendingResult(int i, android.content.Intent intent, int i1) + /// from: `public android.app.PendingIntent createPendingResult(int i, android.content.Intent intent, int i1)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject createPendingResult( + _$jni.JObject createPendingResult( int i, Intent intent, int i1, ) { return _createPendingResult( reference.pointer, - _id_createPendingResult as jni.JMethodIDPtr, + _id_createPendingResult as _$jni.JMethodIDPtr, i, intent.reference.pointer, i1) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_setRequestedOrientation = _class.instanceMethodId( - r"setRequestedOrientation", - r"(I)V", + r'setRequestedOrientation', + r'(I)V', ); - static final _setRequestedOrientation = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setRequestedOrientation = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setRequestedOrientation(int i) + /// from: `public void setRequestedOrientation(int i)` void setRequestedOrientation( int i, ) { _setRequestedOrientation(reference.pointer, - _id_setRequestedOrientation as jni.JMethodIDPtr, i) + _id_setRequestedOrientation as _$jni.JMethodIDPtr, i) .check(); } static final _id_getRequestedOrientation = _class.instanceMethodId( - r"getRequestedOrientation", - r"()I", + r'getRequestedOrientation', + r'()I', ); - static final _getRequestedOrientation = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _getRequestedOrientation = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int getRequestedOrientation() + /// from: `public int getRequestedOrientation()` int getRequestedOrientation() { - return _getRequestedOrientation( - reference.pointer, _id_getRequestedOrientation as jni.JMethodIDPtr) + return _getRequestedOrientation(reference.pointer, + _id_getRequestedOrientation as _$jni.JMethodIDPtr) .integer; } static final _id_getTaskId = _class.instanceMethodId( - r"getTaskId", - r"()I", + r'getTaskId', + r'()I', ); - static final _getTaskId = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _getTaskId = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int getTaskId() + /// from: `public int getTaskId()` int getTaskId() { - return _getTaskId(reference.pointer, _id_getTaskId as jni.JMethodIDPtr) + return _getTaskId(reference.pointer, _id_getTaskId as _$jni.JMethodIDPtr) .integer; } static final _id_isTaskRoot = _class.instanceMethodId( - r"isTaskRoot", - r"()Z", + r'isTaskRoot', + r'()Z', ); - static final _isTaskRoot = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isTaskRoot = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isTaskRoot() + /// from: `public boolean isTaskRoot()` bool isTaskRoot() { - return _isTaskRoot(reference.pointer, _id_isTaskRoot as jni.JMethodIDPtr) + return _isTaskRoot(reference.pointer, _id_isTaskRoot as _$jni.JMethodIDPtr) .boolean; } static final _id_moveTaskToBack = _class.instanceMethodId( - r"moveTaskToBack", - r"(Z)Z", + r'moveTaskToBack', + r'(Z)Z', ); - static final _moveTaskToBack = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallBooleanMethod") + static final _moveTaskToBack = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public boolean moveTaskToBack(boolean z) + /// from: `public boolean moveTaskToBack(boolean z)` bool moveTaskToBack( bool z, ) { return _moveTaskToBack(reference.pointer, - _id_moveTaskToBack as jni.JMethodIDPtr, z ? 1 : 0) + _id_moveTaskToBack as _$jni.JMethodIDPtr, z ? 1 : 0) .boolean; } static final _id_getLocalClassName = _class.instanceMethodId( - r"getLocalClassName", - r"()Ljava/lang/String;", + r'getLocalClassName', + r'()Ljava/lang/String;', ); - static final _getLocalClassName = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getLocalClassName = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getLocalClassName() + /// from: `public java.lang.String getLocalClassName()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getLocalClassName() { + _$jni.JString getLocalClassName() { return _getLocalClassName( - reference.pointer, _id_getLocalClassName as jni.JMethodIDPtr) - .object(const jni.JStringType()); + reference.pointer, _id_getLocalClassName as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_getComponentName = _class.instanceMethodId( - r"getComponentName", - r"()Landroid/content/ComponentName;", + r'getComponentName', + r'()Landroid/content/ComponentName;', ); - static final _getComponentName = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getComponentName = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.ComponentName getComponentName() + /// from: `public android.content.ComponentName getComponentName()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getComponentName() { + _$jni.JObject getComponentName() { return _getComponentName( - reference.pointer, _id_getComponentName as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getComponentName as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getPreferences = _class.instanceMethodId( - r"getPreferences", - r"(I)Landroid/content/SharedPreferences;", + r'getPreferences', + r'(I)Landroid/content/SharedPreferences;', ); - static final _getPreferences = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _getPreferences = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public android.content.SharedPreferences getPreferences(int i) + /// from: `public android.content.SharedPreferences getPreferences(int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getPreferences( + _$jni.JObject getPreferences( int i, ) { return _getPreferences( - reference.pointer, _id_getPreferences as jni.JMethodIDPtr, i) - .object(const jni.JObjectType()); + reference.pointer, _id_getPreferences as _$jni.JMethodIDPtr, i) + .object(const _$jni.JObjectType()); } static final _id_isLaunchedFromBubble = _class.instanceMethodId( - r"isLaunchedFromBubble", - r"()Z", + r'isLaunchedFromBubble', + r'()Z', ); - static final _isLaunchedFromBubble = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isLaunchedFromBubble = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isLaunchedFromBubble() + /// from: `public boolean isLaunchedFromBubble()` bool isLaunchedFromBubble() { return _isLaunchedFromBubble( - reference.pointer, _id_isLaunchedFromBubble as jni.JMethodIDPtr) + reference.pointer, _id_isLaunchedFromBubble as _$jni.JMethodIDPtr) .boolean; } static final _id_getSystemService = _class.instanceMethodId( - r"getSystemService", - r"(Ljava/lang/String;)Ljava/lang/Object;", + r'getSystemService', + r'(Ljava/lang/String;)Ljava/lang/Object;', ); - static final _getSystemService = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getSystemService = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.lang.Object getSystemService(java.lang.String string) + /// from: `public java.lang.Object getSystemService(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getSystemService( - jni.JString string, + _$jni.JObject getSystemService( + _$jni.JString string, ) { - return _getSystemService(reference.pointer, - _id_getSystemService as jni.JMethodIDPtr, string.reference.pointer) - .object(const jni.JObjectType()); + return _getSystemService( + reference.pointer, + _id_getSystemService as _$jni.JMethodIDPtr, + string.reference.pointer) + .object(const _$jni.JObjectType()); } static final _id_setTitle = _class.instanceMethodId( - r"setTitle", - r"(Ljava/lang/CharSequence;)V", + r'setTitle', + r'(Ljava/lang/CharSequence;)V', ); - static final _setTitle = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setTitle = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setTitle(java.lang.CharSequence charSequence) + /// from: `public void setTitle(java.lang.CharSequence charSequence)` void setTitle( - jni.JObject charSequence, + _$jni.JObject charSequence, ) { - _setTitle(reference.pointer, _id_setTitle as jni.JMethodIDPtr, + _setTitle(reference.pointer, _id_setTitle as _$jni.JMethodIDPtr, charSequence.reference.pointer) .check(); } - static final _id_setTitle1 = _class.instanceMethodId( - r"setTitle", - r"(I)V", + static final _id_setTitle$1 = _class.instanceMethodId( + r'setTitle', + r'(I)V', ); - static final _setTitle1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setTitle$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setTitle(int i) - void setTitle1( + /// from: `public void setTitle(int i)` + void setTitle$1( int i, ) { - _setTitle1(reference.pointer, _id_setTitle1 as jni.JMethodIDPtr, i).check(); + _setTitle$1(reference.pointer, _id_setTitle$1 as _$jni.JMethodIDPtr, i) + .check(); } static final _id_setTitleColor = _class.instanceMethodId( - r"setTitleColor", - r"(I)V", + r'setTitleColor', + r'(I)V', ); - static final _setTitleColor = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setTitleColor = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setTitleColor(int i) + /// from: `public void setTitleColor(int i)` void setTitleColor( int i, ) { - _setTitleColor(reference.pointer, _id_setTitleColor as jni.JMethodIDPtr, i) + _setTitleColor( + reference.pointer, _id_setTitleColor as _$jni.JMethodIDPtr, i) .check(); } static final _id_getTitle = _class.instanceMethodId( - r"getTitle", - r"()Ljava/lang/CharSequence;", + r'getTitle', + r'()Ljava/lang/CharSequence;', ); - static final _getTitle = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getTitle = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final java.lang.CharSequence getTitle() + /// from: `public final java.lang.CharSequence getTitle()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getTitle() { - return _getTitle(reference.pointer, _id_getTitle as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _$jni.JObject getTitle() { + return _getTitle(reference.pointer, _id_getTitle as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_getTitleColor = _class.instanceMethodId( - r"getTitleColor", - r"()I", + r'getTitleColor', + r'()I', ); - static final _getTitleColor = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _getTitleColor = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final int getTitleColor() + /// from: `public final int getTitleColor()` int getTitleColor() { return _getTitleColor( - reference.pointer, _id_getTitleColor as jni.JMethodIDPtr) + reference.pointer, _id_getTitleColor as _$jni.JMethodIDPtr) .integer; } - static final _id_onTitleChanged = _class.instanceMethodId( - r"onTitleChanged", - r"(Ljava/lang/CharSequence;I)V", - ); - - static final _onTitleChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); - - /// from: protected void onTitleChanged(java.lang.CharSequence charSequence, int i) - void onTitleChanged( - jni.JObject charSequence, - int i, - ) { - _onTitleChanged(reference.pointer, _id_onTitleChanged as jni.JMethodIDPtr, - charSequence.reference.pointer, i) - .check(); - } - - static final _id_onChildTitleChanged = _class.instanceMethodId( - r"onChildTitleChanged", - r"(Landroid/app/Activity;Ljava/lang/CharSequence;)V", - ); - - static final _onChildTitleChanged = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< - ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); - - /// from: protected void onChildTitleChanged(android.app.Activity activity, java.lang.CharSequence charSequence) - void onChildTitleChanged( - Activity activity, - jni.JObject charSequence, - ) { - _onChildTitleChanged( - reference.pointer, - _id_onChildTitleChanged as jni.JMethodIDPtr, - activity.reference.pointer, - charSequence.reference.pointer) - .check(); - } - static final _id_setTaskDescription = _class.instanceMethodId( - r"setTaskDescription", - r"(Landroid/app/ActivityManager$TaskDescription;)V", + r'setTaskDescription', + r'(Landroid/app/ActivityManager$TaskDescription;)V', ); - static final _setTaskDescription = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setTaskDescription = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setTaskDescription(android.app.ActivityManager$TaskDescription taskDescription) + /// from: `public void setTaskDescription(android.app.ActivityManager$TaskDescription taskDescription)` void setTaskDescription( - jni.JObject taskDescription, + _$jni.JObject taskDescription, ) { _setTaskDescription( reference.pointer, - _id_setTaskDescription as jni.JMethodIDPtr, + _id_setTaskDescription as _$jni.JMethodIDPtr, taskDescription.reference.pointer) .check(); } static final _id_setProgressBarVisibility = _class.instanceMethodId( - r"setProgressBarVisibility", - r"(Z)V", + r'setProgressBarVisibility', + r'(Z)V', ); - static final _setProgressBarVisibility = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setProgressBarVisibility = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setProgressBarVisibility(boolean z) + /// from: `public final void setProgressBarVisibility(boolean z)` void setProgressBarVisibility( bool z, ) { _setProgressBarVisibility(reference.pointer, - _id_setProgressBarVisibility as jni.JMethodIDPtr, z ? 1 : 0) + _id_setProgressBarVisibility as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_setProgressBarIndeterminateVisibility = _class.instanceMethodId( - r"setProgressBarIndeterminateVisibility", - r"(Z)V", + r'setProgressBarIndeterminateVisibility', + r'(Z)V', ); static final _setProgressBarIndeterminateVisibility = - ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setProgressBarIndeterminateVisibility(boolean z) + /// from: `public final void setProgressBarIndeterminateVisibility(boolean z)` void setProgressBarIndeterminateVisibility( bool z, ) { _setProgressBarIndeterminateVisibility( reference.pointer, - _id_setProgressBarIndeterminateVisibility as jni.JMethodIDPtr, + _id_setProgressBarIndeterminateVisibility as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_setProgressBarIndeterminate = _class.instanceMethodId( - r"setProgressBarIndeterminate", - r"(Z)V", + r'setProgressBarIndeterminate', + r'(Z)V', ); - static final _setProgressBarIndeterminate = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + static final _setProgressBarIndeterminate = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setProgressBarIndeterminate(boolean z) + /// from: `public final void setProgressBarIndeterminate(boolean z)` void setProgressBarIndeterminate( bool z, ) { _setProgressBarIndeterminate(reference.pointer, - _id_setProgressBarIndeterminate as jni.JMethodIDPtr, z ? 1 : 0) + _id_setProgressBarIndeterminate as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_setProgress = _class.instanceMethodId( - r"setProgress", - r"(I)V", + r'setProgress', + r'(I)V', ); - static final _setProgress = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setProgress = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setProgress(int i) + /// from: `public final void setProgress(int i)` void setProgress( int i, ) { - _setProgress(reference.pointer, _id_setProgress as jni.JMethodIDPtr, i) + _setProgress(reference.pointer, _id_setProgress as _$jni.JMethodIDPtr, i) .check(); } static final _id_setSecondaryProgress = _class.instanceMethodId( - r"setSecondaryProgress", - r"(I)V", + r'setSecondaryProgress', + r'(I)V', ); - static final _setSecondaryProgress = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setSecondaryProgress = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setSecondaryProgress(int i) + /// from: `public final void setSecondaryProgress(int i)` void setSecondaryProgress( int i, ) { - _setSecondaryProgress( - reference.pointer, _id_setSecondaryProgress as jni.JMethodIDPtr, i) + _setSecondaryProgress(reference.pointer, + _id_setSecondaryProgress as _$jni.JMethodIDPtr, i) .check(); } static final _id_setVolumeControlStream = _class.instanceMethodId( - r"setVolumeControlStream", - r"(I)V", + r'setVolumeControlStream', + r'(I)V', ); - static final _setVolumeControlStream = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setVolumeControlStream = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public final void setVolumeControlStream(int i) + /// from: `public final void setVolumeControlStream(int i)` void setVolumeControlStream( int i, ) { _setVolumeControlStream(reference.pointer, - _id_setVolumeControlStream as jni.JMethodIDPtr, i) + _id_setVolumeControlStream as _$jni.JMethodIDPtr, i) .check(); } static final _id_getVolumeControlStream = _class.instanceMethodId( - r"getVolumeControlStream", - r"()I", + r'getVolumeControlStream', + r'()I', ); - static final _getVolumeControlStream = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _getVolumeControlStream = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final int getVolumeControlStream() + /// from: `public final int getVolumeControlStream()` int getVolumeControlStream() { return _getVolumeControlStream( - reference.pointer, _id_getVolumeControlStream as jni.JMethodIDPtr) + reference.pointer, _id_getVolumeControlStream as _$jni.JMethodIDPtr) .integer; } static final _id_setMediaController = _class.instanceMethodId( - r"setMediaController", - r"(Landroid/media/session/MediaController;)V", + r'setMediaController', + r'(Landroid/media/session/MediaController;)V', ); - static final _setMediaController = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _setMediaController = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final void setMediaController(android.media.session.MediaController mediaController) + /// from: `public final void setMediaController(android.media.session.MediaController mediaController)` void setMediaController( - jni.JObject mediaController, + _$jni.JObject mediaController, ) { _setMediaController( reference.pointer, - _id_setMediaController as jni.JMethodIDPtr, + _id_setMediaController as _$jni.JMethodIDPtr, mediaController.reference.pointer) .check(); } static final _id_getMediaController = _class.instanceMethodId( - r"getMediaController", - r"()Landroid/media/session/MediaController;", + r'getMediaController', + r'()Landroid/media/session/MediaController;', ); - static final _getMediaController = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getMediaController = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final android.media.session.MediaController getMediaController() + /// from: `public final android.media.session.MediaController getMediaController()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getMediaController() { + _$jni.JObject getMediaController() { return _getMediaController( - reference.pointer, _id_getMediaController as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + reference.pointer, _id_getMediaController as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } static final _id_runOnUiThread = _class.instanceMethodId( - r"runOnUiThread", - r"(Ljava/lang/Runnable;)V", + r'runOnUiThread', + r'(Ljava/lang/Runnable;)V', ); - static final _runOnUiThread = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _runOnUiThread = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final void runOnUiThread(java.lang.Runnable runnable) + /// from: `public final void runOnUiThread(java.lang.Runnable runnable)` void runOnUiThread( - jni.JObject runnable, + _$jni.JObject runnable, ) { - _runOnUiThread(reference.pointer, _id_runOnUiThread as jni.JMethodIDPtr, + _runOnUiThread(reference.pointer, _id_runOnUiThread as _$jni.JMethodIDPtr, runnable.reference.pointer) .check(); } static final _id_onCreateView = _class.instanceMethodId( - r"onCreateView", - r"(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;", + r'onCreateView', + r'(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;', ); - static final _onCreateView = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onCreateView = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public android.view.View onCreateView(java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject onCreateView( - jni.JString string, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public android.view.View onCreateView(java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet)` + /// The returned object must be released after use, by calling the [release] method. + _$jni.JObject onCreateView( + _$jni.JString string, Context context, - jni.JObject attributeSet, + _$jni.JObject attributeSet, ) { return _onCreateView( reference.pointer, - _id_onCreateView as jni.JMethodIDPtr, + _id_onCreateView as _$jni.JMethodIDPtr, string.reference.pointer, context.reference.pointer, attributeSet.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_onCreateView1 = _class.instanceMethodId( - r"onCreateView", - r"(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;", + static final _id_onCreateView$1 = _class.instanceMethodId( + r'onCreateView', + r'(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;', ); - static final _onCreateView1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _onCreateView$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public android.view.View onCreateView(android.view.View view, java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject onCreateView1( - jni.JObject view, - jni.JString string, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public android.view.View onCreateView(android.view.View view, java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet)` + /// The returned object must be released after use, by calling the [release] method. + _$jni.JObject onCreateView$1( + _$jni.JObject view, + _$jni.JString string, Context context, - jni.JObject attributeSet, + _$jni.JObject attributeSet, ) { - return _onCreateView1( + return _onCreateView$1( reference.pointer, - _id_onCreateView1 as jni.JMethodIDPtr, + _id_onCreateView$1 as _$jni.JMethodIDPtr, view.reference.pointer, string.reference.pointer, context.reference.pointer, attributeSet.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_dump = _class.instanceMethodId( - r"dump", - r"(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V", + r'dump', + r'(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V', ); - static final _dump = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _dump = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void dump(java.lang.String string, java.io.FileDescriptor fileDescriptor, java.io.PrintWriter printWriter, java.lang.String[] strings) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void dump(java.lang.String string, java.io.FileDescriptor fileDescriptor, java.io.PrintWriter printWriter, java.lang.String[] strings)` void dump( - jni.JString string, - jni.JObject fileDescriptor, - jni.JObject printWriter, - jni.JArray strings, + _$jni.JString string, + _$jni.JObject fileDescriptor, + _$jni.JObject printWriter, + _$jni.JArray<_$jni.JString> strings, ) { _dump( reference.pointer, - _id_dump as jni.JMethodIDPtr, + _id_dump as _$jni.JMethodIDPtr, string.reference.pointer, fileDescriptor.reference.pointer, printWriter.reference.pointer, @@ -21109,2121 +21991,2004 @@ class Activity extends jni.JObject { } static final _id_isImmersive = _class.instanceMethodId( - r"isImmersive", - r"()Z", + r'isImmersive', + r'()Z', ); - static final _isImmersive = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + static final _isImmersive = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public boolean isImmersive() + /// from: `public boolean isImmersive()` bool isImmersive() { - return _isImmersive(reference.pointer, _id_isImmersive as jni.JMethodIDPtr) + return _isImmersive( + reference.pointer, _id_isImmersive as _$jni.JMethodIDPtr) .boolean; } static final _id_setTranslucent = _class.instanceMethodId( - r"setTranslucent", - r"(Z)Z", + r'setTranslucent', + r'(Z)Z', ); - static final _setTranslucent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallBooleanMethod") + static final _setTranslucent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public boolean setTranslucent(boolean z) + /// from: `public boolean setTranslucent(boolean z)` bool setTranslucent( bool z, ) { return _setTranslucent(reference.pointer, - _id_setTranslucent as jni.JMethodIDPtr, z ? 1 : 0) + _id_setTranslucent as _$jni.JMethodIDPtr, z ? 1 : 0) .boolean; } static final _id_requestVisibleBehind = _class.instanceMethodId( - r"requestVisibleBehind", - r"(Z)Z", + r'requestVisibleBehind', + r'(Z)Z', ); - static final _requestVisibleBehind = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallBooleanMethod") + static final _requestVisibleBehind = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public boolean requestVisibleBehind(boolean z) + /// from: `public boolean requestVisibleBehind(boolean z)` bool requestVisibleBehind( bool z, ) { return _requestVisibleBehind(reference.pointer, - _id_requestVisibleBehind as jni.JMethodIDPtr, z ? 1 : 0) + _id_requestVisibleBehind as _$jni.JMethodIDPtr, z ? 1 : 0) .boolean; } static final _id_onVisibleBehindCanceled = _class.instanceMethodId( - r"onVisibleBehindCanceled", - r"()V", + r'onVisibleBehindCanceled', + r'()V', ); - static final _onVisibleBehindCanceled = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onVisibleBehindCanceled = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onVisibleBehindCanceled() + /// from: `public void onVisibleBehindCanceled()` void onVisibleBehindCanceled() { - _onVisibleBehindCanceled( - reference.pointer, _id_onVisibleBehindCanceled as jni.JMethodIDPtr) + _onVisibleBehindCanceled(reference.pointer, + _id_onVisibleBehindCanceled as _$jni.JMethodIDPtr) .check(); } static final _id_onEnterAnimationComplete = _class.instanceMethodId( - r"onEnterAnimationComplete", - r"()V", + r'onEnterAnimationComplete', + r'()V', ); - static final _onEnterAnimationComplete = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _onEnterAnimationComplete = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void onEnterAnimationComplete() + /// from: `public void onEnterAnimationComplete()` void onEnterAnimationComplete() { - _onEnterAnimationComplete( - reference.pointer, _id_onEnterAnimationComplete as jni.JMethodIDPtr) + _onEnterAnimationComplete(reference.pointer, + _id_onEnterAnimationComplete as _$jni.JMethodIDPtr) .check(); } static final _id_setImmersive = _class.instanceMethodId( - r"setImmersive", - r"(Z)V", + r'setImmersive', + r'(Z)V', ); - static final _setImmersive = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setImmersive = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setImmersive(boolean z) + /// from: `public void setImmersive(boolean z)` void setImmersive( bool z, ) { - _setImmersive( - reference.pointer, _id_setImmersive as jni.JMethodIDPtr, z ? 1 : 0) + _setImmersive(reference.pointer, _id_setImmersive as _$jni.JMethodIDPtr, + z ? 1 : 0) .check(); } static final _id_setVrModeEnabled = _class.instanceMethodId( - r"setVrModeEnabled", - r"(ZLandroid/content/ComponentName;)V", + r'setVrModeEnabled', + r'(ZLandroid/content/ComponentName;)V', ); - static final _setVrModeEnabled = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallVoidMethod") + static final _setVrModeEnabled = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int32, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - int, ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setVrModeEnabled(boolean z, android.content.ComponentName componentName) + /// from: `public void setVrModeEnabled(boolean z, android.content.ComponentName componentName)` void setVrModeEnabled( bool z, - jni.JObject componentName, + _$jni.JObject componentName, ) { _setVrModeEnabled( reference.pointer, - _id_setVrModeEnabled as jni.JMethodIDPtr, + _id_setVrModeEnabled as _$jni.JMethodIDPtr, z ? 1 : 0, componentName.reference.pointer) .check(); } static final _id_startActionMode = _class.instanceMethodId( - r"startActionMode", - r"(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", + r'startActionMode', + r'(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;', ); - static final _startActionMode = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _startActionMode = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback) + /// from: `public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject startActionMode( - jni.JObject callback, + _$jni.JObject startActionMode( + _$jni.JObject callback, ) { - return _startActionMode(reference.pointer, - _id_startActionMode as jni.JMethodIDPtr, callback.reference.pointer) - .object(const jni.JObjectType()); + return _startActionMode( + reference.pointer, + _id_startActionMode as _$jni.JMethodIDPtr, + callback.reference.pointer) + .object(const _$jni.JObjectType()); } - static final _id_startActionMode1 = _class.instanceMethodId( - r"startActionMode", - r"(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", + static final _id_startActionMode$1 = _class.instanceMethodId( + r'startActionMode', + r'(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;', ); - static final _startActionMode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _startActionMode$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int32)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback, int i) + /// from: `public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject startActionMode1( - jni.JObject callback, + _$jni.JObject startActionMode$1( + _$jni.JObject callback, int i, ) { - return _startActionMode1( + return _startActionMode$1( reference.pointer, - _id_startActionMode1 as jni.JMethodIDPtr, + _id_startActionMode$1 as _$jni.JMethodIDPtr, callback.reference.pointer, i) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_onWindowStartingActionMode = _class.instanceMethodId( - r"onWindowStartingActionMode", - r"(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", - ); - - static final _onWindowStartingActionMode = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'onWindowStartingActionMode', + r'(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;', + ); + + static final _onWindowStartingActionMode = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback) + /// from: `public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject onWindowStartingActionMode( - jni.JObject callback, + _$jni.JObject onWindowStartingActionMode( + _$jni.JObject callback, ) { return _onWindowStartingActionMode( reference.pointer, - _id_onWindowStartingActionMode as jni.JMethodIDPtr, + _id_onWindowStartingActionMode as _$jni.JMethodIDPtr, callback.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_onWindowStartingActionMode1 = _class.instanceMethodId( - r"onWindowStartingActionMode", - r"(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", + static final _id_onWindowStartingActionMode$1 = _class.instanceMethodId( + r'onWindowStartingActionMode', + r'(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;', ); - static final _onWindowStartingActionMode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + static final _onWindowStartingActionMode$1 = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< + ( + _$jni.Pointer<_$jni.Void>, + _$jni.Int32 + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback, int i) + /// from: `public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback, int i)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject onWindowStartingActionMode1( - jni.JObject callback, + _$jni.JObject onWindowStartingActionMode$1( + _$jni.JObject callback, int i, ) { - return _onWindowStartingActionMode1( + return _onWindowStartingActionMode$1( reference.pointer, - _id_onWindowStartingActionMode1 as jni.JMethodIDPtr, + _id_onWindowStartingActionMode$1 as _$jni.JMethodIDPtr, callback.reference.pointer, i) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_onActionModeStarted = _class.instanceMethodId( - r"onActionModeStarted", - r"(Landroid/view/ActionMode;)V", + r'onActionModeStarted', + r'(Landroid/view/ActionMode;)V', ); - static final _onActionModeStarted = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onActionModeStarted = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onActionModeStarted(android.view.ActionMode actionMode) + /// from: `public void onActionModeStarted(android.view.ActionMode actionMode)` void onActionModeStarted( - jni.JObject actionMode, + _$jni.JObject actionMode, ) { _onActionModeStarted( reference.pointer, - _id_onActionModeStarted as jni.JMethodIDPtr, + _id_onActionModeStarted as _$jni.JMethodIDPtr, actionMode.reference.pointer) .check(); } static final _id_onActionModeFinished = _class.instanceMethodId( - r"onActionModeFinished", - r"(Landroid/view/ActionMode;)V", + r'onActionModeFinished', + r'(Landroid/view/ActionMode;)V', ); - static final _onActionModeFinished = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + static final _onActionModeFinished = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void onActionModeFinished(android.view.ActionMode actionMode) + /// from: `public void onActionModeFinished(android.view.ActionMode actionMode)` void onActionModeFinished( - jni.JObject actionMode, + _$jni.JObject actionMode, ) { _onActionModeFinished( reference.pointer, - _id_onActionModeFinished as jni.JMethodIDPtr, + _id_onActionModeFinished as _$jni.JMethodIDPtr, actionMode.reference.pointer) .check(); } static final _id_shouldUpRecreateTask = _class.instanceMethodId( - r"shouldUpRecreateTask", - r"(Landroid/content/Intent;)Z", + r'shouldUpRecreateTask', + r'(Landroid/content/Intent;)Z', ); - static final _shouldUpRecreateTask = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _shouldUpRecreateTask = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean shouldUpRecreateTask(android.content.Intent intent) + /// from: `public boolean shouldUpRecreateTask(android.content.Intent intent)` bool shouldUpRecreateTask( Intent intent, ) { return _shouldUpRecreateTask( reference.pointer, - _id_shouldUpRecreateTask as jni.JMethodIDPtr, + _id_shouldUpRecreateTask as _$jni.JMethodIDPtr, intent.reference.pointer) .boolean; } static final _id_navigateUpTo = _class.instanceMethodId( - r"navigateUpTo", - r"(Landroid/content/Intent;)Z", + r'navigateUpTo', + r'(Landroid/content/Intent;)Z', ); - static final _navigateUpTo = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _navigateUpTo = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean navigateUpTo(android.content.Intent intent) + /// from: `public boolean navigateUpTo(android.content.Intent intent)` bool navigateUpTo( Intent intent, ) { return _navigateUpTo(reference.pointer, - _id_navigateUpTo as jni.JMethodIDPtr, intent.reference.pointer) + _id_navigateUpTo as _$jni.JMethodIDPtr, intent.reference.pointer) .boolean; } static final _id_navigateUpToFromChild = _class.instanceMethodId( - r"navigateUpToFromChild", - r"(Landroid/app/Activity;Landroid/content/Intent;)Z", + r'navigateUpToFromChild', + r'(Landroid/app/Activity;Landroid/content/Intent;)Z', ); - static final _navigateUpToFromChild = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _navigateUpToFromChild = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallBooleanMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean navigateUpToFromChild(android.app.Activity activity, android.content.Intent intent) + /// from: `public boolean navigateUpToFromChild(android.app.Activity activity, android.content.Intent intent)` bool navigateUpToFromChild( Activity activity, Intent intent, ) { return _navigateUpToFromChild( reference.pointer, - _id_navigateUpToFromChild as jni.JMethodIDPtr, + _id_navigateUpToFromChild as _$jni.JMethodIDPtr, activity.reference.pointer, intent.reference.pointer) .boolean; } static final _id_getParentActivityIntent = _class.instanceMethodId( - r"getParentActivityIntent", - r"()Landroid/content/Intent;", + r'getParentActivityIntent', + r'()Landroid/content/Intent;', ); - static final _getParentActivityIntent = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getParentActivityIntent = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public android.content.Intent getParentActivityIntent() + /// from: `public android.content.Intent getParentActivityIntent()` /// The returned object must be released after use, by calling the [release] method. Intent getParentActivityIntent() { - return _getParentActivityIntent( - reference.pointer, _id_getParentActivityIntent as jni.JMethodIDPtr) - .object(const $IntentType()); + return _getParentActivityIntent(reference.pointer, + _id_getParentActivityIntent as _$jni.JMethodIDPtr) + .object(const $Intent$Type()); } static final _id_setEnterSharedElementCallback = _class.instanceMethodId( - r"setEnterSharedElementCallback", - r"(Landroid/app/SharedElementCallback;)V", - ); - - static final _setEnterSharedElementCallback = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'setEnterSharedElementCallback', + r'(Landroid/app/SharedElementCallback;)V', + ); + + static final _setEnterSharedElementCallback = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setEnterSharedElementCallback(android.app.SharedElementCallback sharedElementCallback) + /// from: `public void setEnterSharedElementCallback(android.app.SharedElementCallback sharedElementCallback)` void setEnterSharedElementCallback( - jni.JObject sharedElementCallback, + _$jni.JObject sharedElementCallback, ) { _setEnterSharedElementCallback( reference.pointer, - _id_setEnterSharedElementCallback as jni.JMethodIDPtr, + _id_setEnterSharedElementCallback as _$jni.JMethodIDPtr, sharedElementCallback.reference.pointer) .check(); } static final _id_setExitSharedElementCallback = _class.instanceMethodId( - r"setExitSharedElementCallback", - r"(Landroid/app/SharedElementCallback;)V", - ); - - static final _setExitSharedElementCallback = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'setExitSharedElementCallback', + r'(Landroid/app/SharedElementCallback;)V', + ); + + static final _setExitSharedElementCallback = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void setExitSharedElementCallback(android.app.SharedElementCallback sharedElementCallback) + /// from: `public void setExitSharedElementCallback(android.app.SharedElementCallback sharedElementCallback)` void setExitSharedElementCallback( - jni.JObject sharedElementCallback, + _$jni.JObject sharedElementCallback, ) { _setExitSharedElementCallback( reference.pointer, - _id_setExitSharedElementCallback as jni.JMethodIDPtr, + _id_setExitSharedElementCallback as _$jni.JMethodIDPtr, sharedElementCallback.reference.pointer) .check(); } static final _id_postponeEnterTransition = _class.instanceMethodId( - r"postponeEnterTransition", - r"()V", + r'postponeEnterTransition', + r'()V', ); - static final _postponeEnterTransition = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _postponeEnterTransition = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void postponeEnterTransition() + /// from: `public void postponeEnterTransition()` void postponeEnterTransition() { - _postponeEnterTransition( - reference.pointer, _id_postponeEnterTransition as jni.JMethodIDPtr) + _postponeEnterTransition(reference.pointer, + _id_postponeEnterTransition as _$jni.JMethodIDPtr) .check(); } static final _id_startPostponedEnterTransition = _class.instanceMethodId( - r"startPostponedEnterTransition", - r"()V", + r'startPostponedEnterTransition', + r'()V', ); - static final _startPostponedEnterTransition = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _startPostponedEnterTransition = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public void startPostponedEnterTransition() + /// from: `public void startPostponedEnterTransition()` void startPostponedEnterTransition() { _startPostponedEnterTransition(reference.pointer, - _id_startPostponedEnterTransition as jni.JMethodIDPtr) + _id_startPostponedEnterTransition as _$jni.JMethodIDPtr) .check(); } static final _id_requestDragAndDropPermissions = _class.instanceMethodId( - r"requestDragAndDropPermissions", - r"(Landroid/view/DragEvent;)Landroid/view/DragAndDropPermissions;", - ); - - static final _requestDragAndDropPermissions = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + r'requestDragAndDropPermissions', + r'(Landroid/view/DragEvent;)Landroid/view/DragAndDropPermissions;', + ); + + static final _requestDragAndDropPermissions = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent dragEvent) + /// from: `public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent dragEvent)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject requestDragAndDropPermissions( - jni.JObject dragEvent, + _$jni.JObject requestDragAndDropPermissions( + _$jni.JObject dragEvent, ) { return _requestDragAndDropPermissions( reference.pointer, - _id_requestDragAndDropPermissions as jni.JMethodIDPtr, + _id_requestDragAndDropPermissions as _$jni.JMethodIDPtr, dragEvent.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_startLockTask = _class.instanceMethodId( - r"startLockTask", - r"()V", + r'startLockTask', + r'()V', ); - static final _startLockTask = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _startLockTask = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void startLockTask() + /// from: `public void startLockTask()` void startLockTask() { - _startLockTask(reference.pointer, _id_startLockTask as jni.JMethodIDPtr) + _startLockTask(reference.pointer, _id_startLockTask as _$jni.JMethodIDPtr) .check(); } static final _id_stopLockTask = _class.instanceMethodId( - r"stopLockTask", - r"()V", + r'stopLockTask', + r'()V', ); - static final _stopLockTask = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _stopLockTask = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void stopLockTask() + /// from: `public void stopLockTask()` void stopLockTask() { - _stopLockTask(reference.pointer, _id_stopLockTask as jni.JMethodIDPtr) + _stopLockTask(reference.pointer, _id_stopLockTask as _$jni.JMethodIDPtr) .check(); } static final _id_showLockTaskEscapeMessage = _class.instanceMethodId( - r"showLockTaskEscapeMessage", - r"()V", + r'showLockTaskEscapeMessage', + r'()V', ); - static final _showLockTaskEscapeMessage = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + static final _showLockTaskEscapeMessage = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public void showLockTaskEscapeMessage() + /// from: `public void showLockTaskEscapeMessage()` void showLockTaskEscapeMessage() { _showLockTaskEscapeMessage(reference.pointer, - _id_showLockTaskEscapeMessage as jni.JMethodIDPtr) + _id_showLockTaskEscapeMessage as _$jni.JMethodIDPtr) .check(); } static final _id_setRecentsScreenshotEnabled = _class.instanceMethodId( - r"setRecentsScreenshotEnabled", - r"(Z)V", + r'setRecentsScreenshotEnabled', + r'(Z)V', ); - static final _setRecentsScreenshotEnabled = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") - .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + static final _setRecentsScreenshotEnabled = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int32,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setRecentsScreenshotEnabled(boolean z) + /// from: `public void setRecentsScreenshotEnabled(boolean z)` void setRecentsScreenshotEnabled( bool z, ) { _setRecentsScreenshotEnabled(reference.pointer, - _id_setRecentsScreenshotEnabled as jni.JMethodIDPtr, z ? 1 : 0) + _id_setRecentsScreenshotEnabled as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_setShowWhenLocked = _class.instanceMethodId( - r"setShowWhenLocked", - r"(Z)V", + r'setShowWhenLocked', + r'(Z)V', ); - static final _setShowWhenLocked = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setShowWhenLocked = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setShowWhenLocked(boolean z) + /// from: `public void setShowWhenLocked(boolean z)` void setShowWhenLocked( bool z, ) { _setShowWhenLocked(reference.pointer, - _id_setShowWhenLocked as jni.JMethodIDPtr, z ? 1 : 0) + _id_setShowWhenLocked as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_setInheritShowWhenLocked = _class.instanceMethodId( - r"setInheritShowWhenLocked", - r"(Z)V", + r'setInheritShowWhenLocked', + r'(Z)V', ); - static final _setInheritShowWhenLocked = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setInheritShowWhenLocked = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setInheritShowWhenLocked(boolean z) + /// from: `public void setInheritShowWhenLocked(boolean z)` void setInheritShowWhenLocked( bool z, ) { _setInheritShowWhenLocked(reference.pointer, - _id_setInheritShowWhenLocked as jni.JMethodIDPtr, z ? 1 : 0) + _id_setInheritShowWhenLocked as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_setTurnScreenOn = _class.instanceMethodId( - r"setTurnScreenOn", - r"(Z)V", + r'setTurnScreenOn', + r'(Z)V', ); - static final _setTurnScreenOn = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JThrowablePtr Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallVoidMethod") + static final _setTurnScreenOn = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni.JThrowablePtr Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JThrowablePtr Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public void setTurnScreenOn(boolean z) + /// from: `public void setTurnScreenOn(boolean z)` void setTurnScreenOn( bool z, ) { - _setTurnScreenOn(reference.pointer, _id_setTurnScreenOn as jni.JMethodIDPtr, - z ? 1 : 0) + _setTurnScreenOn(reference.pointer, + _id_setTurnScreenOn as _$jni.JMethodIDPtr, z ? 1 : 0) .check(); } static final _id_getOnBackInvokedDispatcher = _class.instanceMethodId( - r"getOnBackInvokedDispatcher", - r"()Landroid/window/OnBackInvokedDispatcher;", + r'getOnBackInvokedDispatcher', + r'()Landroid/window/OnBackInvokedDispatcher;', ); - static final _getOnBackInvokedDispatcher = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>(); + static final _getOnBackInvokedDispatcher = + _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>(); - /// from: public android.window.OnBackInvokedDispatcher getOnBackInvokedDispatcher() + /// from: `public android.window.OnBackInvokedDispatcher getOnBackInvokedDispatcher()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject getOnBackInvokedDispatcher() { + _$jni.JObject getOnBackInvokedDispatcher() { return _getOnBackInvokedDispatcher(reference.pointer, - _id_getOnBackInvokedDispatcher as jni.JMethodIDPtr) - .object(const jni.JObjectType()); + _id_getOnBackInvokedDispatcher as _$jni.JMethodIDPtr) + .object(const _$jni.JObjectType()); } } -final class $ActivityType extends jni.JObjType { - const $ActivityType(); +final class $Activity$Type extends _$jni.JObjType { + @_$jni.internal + const $Activity$Type(); - @override - String get signature => r"Landroid/app/Activity;"; + @_$jni.internal + @_$core.override + String get signature => r'Landroid/app/Activity;'; - @override - Activity fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + Activity fromReference(_$jni.JReference reference) => Activity.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($ActivityType).hashCode; + @_$core.override + int get hashCode => ($Activity$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($ActivityType) && other is $ActivityType; + return other.runtimeType == ($Activity$Type) && other is $Activity$Type; } } -/// from: java.time.Instant -class Instant extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `java.time.Instant` +class Instant extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal Instant.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName(r"java/time/Instant"); + static final _class = _$jni.JClass.forName(r'java/time/Instant'); /// The type which includes information such as the signature of this class. - static const type = $InstantType(); + static const type = $Instant$Type(); static final _id_EPOCH = _class.staticFieldId( - r"EPOCH", - r"Ljava/time/Instant;", + r'EPOCH', + r'Ljava/time/Instant;', ); - /// from: static public final java.time.Instant EPOCH + /// from: `static public final java.time.Instant EPOCH` /// The returned object must be released after use, by calling the [release] method. - static Instant get EPOCH => _id_EPOCH.get(_class, const $InstantType()); + static Instant get EPOCH => _id_EPOCH.get(_class, const $Instant$Type()); static final _id_MAX = _class.staticFieldId( - r"MAX", - r"Ljava/time/Instant;", + r'MAX', + r'Ljava/time/Instant;', ); - /// from: static public final java.time.Instant MAX + /// from: `static public final java.time.Instant MAX` /// The returned object must be released after use, by calling the [release] method. - static Instant get MAX => _id_MAX.get(_class, const $InstantType()); + static Instant get MAX => _id_MAX.get(_class, const $Instant$Type()); static final _id_MIN = _class.staticFieldId( - r"MIN", - r"Ljava/time/Instant;", + r'MIN', + r'Ljava/time/Instant;', ); - /// from: static public final java.time.Instant MIN + /// from: `static public final java.time.Instant MIN` /// The returned object must be released after use, by calling the [release] method. - static Instant get MIN => _id_MIN.get(_class, const $InstantType()); + static Instant get MIN => _id_MIN.get(_class, const $Instant$Type()); static final _id_now = _class.staticMethodId( - r"now", - r"()Ljava/time/Instant;", + r'now', + r'()Ljava/time/Instant;', ); - static final _now = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + static final _now = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: static public java.time.Instant now() + /// from: `static public java.time.Instant now()` /// The returned object must be released after use, by calling the [release] method. static Instant now() { - return _now(_class.reference.pointer, _id_now as jni.JMethodIDPtr) - .object(const $InstantType()); + return _now(_class.reference.pointer, _id_now as _$jni.JMethodIDPtr) + .object(const $Instant$Type()); } - static final _id_now1 = _class.staticMethodId( - r"now", - r"(Ljava/time/Clock;)Ljava/time/Instant;", + static final _id_now$1 = _class.staticMethodId( + r'now', + r'(Ljava/time/Clock;)Ljava/time/Instant;', ); - static final _now1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _now$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public java.time.Instant now(java.time.Clock clock) + /// from: `static public java.time.Instant now(java.time.Clock clock)` /// The returned object must be released after use, by calling the [release] method. - static Instant now1( - jni.JObject clock, + static Instant now$1( + _$jni.JObject clock, ) { - return _now1(_class.reference.pointer, _id_now1 as jni.JMethodIDPtr, + return _now$1(_class.reference.pointer, _id_now$1 as _$jni.JMethodIDPtr, clock.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } static final _id_ofEpochSecond = _class.staticMethodId( - r"ofEpochSecond", - r"(J)Ljava/time/Instant;", + r'ofEpochSecond', + r'(J)Ljava/time/Instant;', ); - static final _ofEpochSecond = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.VarArgs<(ffi.Int64,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _ofEpochSecond = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int64,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: static public java.time.Instant ofEpochSecond(long j) + /// from: `static public java.time.Instant ofEpochSecond(long j)` /// The returned object must be released after use, by calling the [release] method. static Instant ofEpochSecond( int j, ) { - return _ofEpochSecond( - _class.reference.pointer, _id_ofEpochSecond as jni.JMethodIDPtr, j) - .object(const $InstantType()); + return _ofEpochSecond(_class.reference.pointer, + _id_ofEpochSecond as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } - static final _id_ofEpochSecond1 = _class.staticMethodId( - r"ofEpochSecond", - r"(JJ)Ljava/time/Instant;", + static final _id_ofEpochSecond$1 = _class.staticMethodId( + r'ofEpochSecond', + r'(JJ)Ljava/time/Instant;', ); - static final _ofEpochSecond1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.VarArgs<(ffi.Int64, ffi.Int64)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _ofEpochSecond$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int64, _$jni.Int64)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int, int)>(); - /// from: static public java.time.Instant ofEpochSecond(long j, long j1) + /// from: `static public java.time.Instant ofEpochSecond(long j, long j1)` /// The returned object must be released after use, by calling the [release] method. - static Instant ofEpochSecond1( + static Instant ofEpochSecond$1( int j, int j1, ) { - return _ofEpochSecond1(_class.reference.pointer, - _id_ofEpochSecond1 as jni.JMethodIDPtr, j, j1) - .object(const $InstantType()); + return _ofEpochSecond$1(_class.reference.pointer, + _id_ofEpochSecond$1 as _$jni.JMethodIDPtr, j, j1) + .object(const $Instant$Type()); } static final _id_ofEpochMilli = _class.staticMethodId( - r"ofEpochMilli", - r"(J)Ljava/time/Instant;", + r'ofEpochMilli', + r'(J)Ljava/time/Instant;', ); - static final _ofEpochMilli = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, - jni.JMethodIDPtr, ffi.VarArgs<(ffi.Int64,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _ofEpochMilli = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.VarArgs<(_$jni.Int64,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: static public java.time.Instant ofEpochMilli(long j) + /// from: `static public java.time.Instant ofEpochMilli(long j)` /// The returned object must be released after use, by calling the [release] method. static Instant ofEpochMilli( int j, ) { return _ofEpochMilli( - _class.reference.pointer, _id_ofEpochMilli as jni.JMethodIDPtr, j) - .object(const $InstantType()); + _class.reference.pointer, _id_ofEpochMilli as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } static final _id_from = _class.staticMethodId( - r"from", - r"(Ljava/time/temporal/TemporalAccessor;)Ljava/time/Instant;", + r'from', + r'(Ljava/time/temporal/TemporalAccessor;)Ljava/time/Instant;', ); - static final _from = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _from = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public java.time.Instant from(java.time.temporal.TemporalAccessor temporalAccessor) + /// from: `static public java.time.Instant from(java.time.temporal.TemporalAccessor temporalAccessor)` /// The returned object must be released after use, by calling the [release] method. static Instant from( - jni.JObject temporalAccessor, + _$jni.JObject temporalAccessor, ) { - return _from(_class.reference.pointer, _id_from as jni.JMethodIDPtr, + return _from(_class.reference.pointer, _id_from as _$jni.JMethodIDPtr, temporalAccessor.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } static final _id_parse = _class.staticMethodId( - r"parse", - r"(Ljava/lang/CharSequence;)Ljava/time/Instant;", + r'parse', + r'(Ljava/lang/CharSequence;)Ljava/time/Instant;', ); - static final _parse = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _parse = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public java.time.Instant parse(java.lang.CharSequence charSequence) + /// from: `static public java.time.Instant parse(java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. static Instant parse( - jni.JObject charSequence, + _$jni.JObject charSequence, ) { - return _parse(_class.reference.pointer, _id_parse as jni.JMethodIDPtr, + return _parse(_class.reference.pointer, _id_parse as _$jni.JMethodIDPtr, charSequence.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } static final _id_isSupported = _class.instanceMethodId( - r"isSupported", - r"(Ljava/time/temporal/TemporalField;)Z", + r'isSupported', + r'(Ljava/time/temporal/TemporalField;)Z', ); - static final _isSupported = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _isSupported = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean isSupported(java.time.temporal.TemporalField temporalField) + /// from: `public boolean isSupported(java.time.temporal.TemporalField temporalField)` bool isSupported( - jni.JObject temporalField, + _$jni.JObject temporalField, ) { - return _isSupported(reference.pointer, _id_isSupported as jni.JMethodIDPtr, + return _isSupported( + reference.pointer, + _id_isSupported as _$jni.JMethodIDPtr, temporalField.reference.pointer) .boolean; } - static final _id_isSupported1 = _class.instanceMethodId( - r"isSupported", - r"(Ljava/time/temporal/TemporalUnit;)Z", + static final _id_isSupported$1 = _class.instanceMethodId( + r'isSupported', + r'(Ljava/time/temporal/TemporalUnit;)Z', ); - static final _isSupported1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _isSupported$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean isSupported(java.time.temporal.TemporalUnit temporalUnit) - bool isSupported1( - jni.JObject temporalUnit, + /// from: `public boolean isSupported(java.time.temporal.TemporalUnit temporalUnit)` + bool isSupported$1( + _$jni.JObject temporalUnit, ) { - return _isSupported1( + return _isSupported$1( reference.pointer, - _id_isSupported1 as jni.JMethodIDPtr, + _id_isSupported$1 as _$jni.JMethodIDPtr, temporalUnit.reference.pointer) .boolean; } static final _id_range = _class.instanceMethodId( - r"range", - r"(Ljava/time/temporal/TemporalField;)Ljava/time/temporal/ValueRange;", + r'range', + r'(Ljava/time/temporal/TemporalField;)Ljava/time/temporal/ValueRange;', ); - static final _range = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _range = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.temporal.ValueRange range(java.time.temporal.TemporalField temporalField) + /// from: `public java.time.temporal.ValueRange range(java.time.temporal.TemporalField temporalField)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject range( - jni.JObject temporalField, + _$jni.JObject range( + _$jni.JObject temporalField, ) { - return _range(reference.pointer, _id_range as jni.JMethodIDPtr, + return _range(reference.pointer, _id_range as _$jni.JMethodIDPtr, temporalField.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } - static final _id_get0 = _class.instanceMethodId( - r"get", - r"(Ljava/time/temporal/TemporalField;)I", + static final _id_get = _class.instanceMethodId( + r'get', + r'(Ljava/time/temporal/TemporalField;)I', ); - static final _get0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallIntMethod") + static final _get = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public int get(java.time.temporal.TemporalField temporalField) - int get0( - jni.JObject temporalField, + /// from: `public int get(java.time.temporal.TemporalField temporalField)` + int get( + _$jni.JObject temporalField, ) { - return _get0(reference.pointer, _id_get0 as jni.JMethodIDPtr, + return _get(reference.pointer, _id_get as _$jni.JMethodIDPtr, temporalField.reference.pointer) .integer; } static final _id_getLong = _class.instanceMethodId( - r"getLong", - r"(Ljava/time/temporal/TemporalField;)J", + r'getLong', + r'(Ljava/time/temporal/TemporalField;)J', ); - static final _getLong = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallLongMethod") + static final _getLong = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallLongMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public long getLong(java.time.temporal.TemporalField temporalField) + /// from: `public long getLong(java.time.temporal.TemporalField temporalField)` int getLong( - jni.JObject temporalField, + _$jni.JObject temporalField, ) { - return _getLong(reference.pointer, _id_getLong as jni.JMethodIDPtr, + return _getLong(reference.pointer, _id_getLong as _$jni.JMethodIDPtr, temporalField.reference.pointer) .long; } static final _id_getEpochSecond = _class.instanceMethodId( - r"getEpochSecond", - r"()J", + r'getEpochSecond', + r'()J', ); - static final _getEpochSecond = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallLongMethod") + static final _getEpochSecond = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallLongMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public long getEpochSecond() + /// from: `public long getEpochSecond()` int getEpochSecond() { return _getEpochSecond( - reference.pointer, _id_getEpochSecond as jni.JMethodIDPtr) + reference.pointer, _id_getEpochSecond as _$jni.JMethodIDPtr) .long; } static final _id_getNano = _class.instanceMethodId( - r"getNano", - r"()I", + r'getNano', + r'()I', ); - static final _getNano = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _getNano = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int getNano() + /// from: `public int getNano()` int getNano() { - return _getNano(reference.pointer, _id_getNano as jni.JMethodIDPtr).integer; + return _getNano(reference.pointer, _id_getNano as _$jni.JMethodIDPtr) + .integer; } - static final _id_with0 = _class.instanceMethodId( - r"with", - r"(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/Instant;", + static final _id_with$ = _class.instanceMethodId( + r'with', + r'(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/Instant;', ); - static final _with0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _with$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.Instant with(java.time.temporal.TemporalAdjuster temporalAdjuster) + /// from: `public java.time.Instant with(java.time.temporal.TemporalAdjuster temporalAdjuster)` /// The returned object must be released after use, by calling the [release] method. - Instant with0( - jni.JObject temporalAdjuster, + Instant with$( + _$jni.JObject temporalAdjuster, ) { - return _with0(reference.pointer, _id_with0 as jni.JMethodIDPtr, + return _with$(reference.pointer, _id_with$ as _$jni.JMethodIDPtr, temporalAdjuster.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } - static final _id_with1 = _class.instanceMethodId( - r"with", - r"(Ljava/time/temporal/TemporalField;J)Ljava/time/Instant;", + static final _id_with$1 = _class.instanceMethodId( + r'with', + r'(Ljava/time/temporal/TemporalField;J)Ljava/time/Instant;', ); - static final _with1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + static final _with$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Pointer<_$jni.Void>, _$jni.Int64)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>, int)>(); - /// from: public java.time.Instant with(java.time.temporal.TemporalField temporalField, long j) + /// from: `public java.time.Instant with(java.time.temporal.TemporalField temporalField, long j)` /// The returned object must be released after use, by calling the [release] method. - Instant with1( - jni.JObject temporalField, + Instant with$1( + _$jni.JObject temporalField, int j, ) { - return _with1(reference.pointer, _id_with1 as jni.JMethodIDPtr, + return _with$1(reference.pointer, _id_with$1 as _$jni.JMethodIDPtr, temporalField.reference.pointer, j) - .object(const $InstantType()); + .object(const $Instant$Type()); } static final _id_truncatedTo = _class.instanceMethodId( - r"truncatedTo", - r"(Ljava/time/temporal/TemporalUnit;)Ljava/time/Instant;", + r'truncatedTo', + r'(Ljava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _truncatedTo = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _truncatedTo = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit temporalUnit) + /// from: `public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. Instant truncatedTo( - jni.JObject temporalUnit, + _$jni.JObject temporalUnit, ) { - return _truncatedTo(reference.pointer, _id_truncatedTo as jni.JMethodIDPtr, + return _truncatedTo( + reference.pointer, + _id_truncatedTo as _$jni.JMethodIDPtr, temporalUnit.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } static final _id_plus = _class.instanceMethodId( - r"plus", - r"(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;", + r'plus', + r'(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;', ); - static final _plus = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _plus = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.Instant plus(java.time.temporal.TemporalAmount temporalAmount) + /// from: `public java.time.Instant plus(java.time.temporal.TemporalAmount temporalAmount)` /// The returned object must be released after use, by calling the [release] method. Instant plus( - jni.JObject temporalAmount, + _$jni.JObject temporalAmount, ) { - return _plus(reference.pointer, _id_plus as jni.JMethodIDPtr, + return _plus(reference.pointer, _id_plus as _$jni.JMethodIDPtr, temporalAmount.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } - static final _id_plus1 = _class.instanceMethodId( - r"plus", - r"(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;", + static final _id_plus$1 = _class.instanceMethodId( + r'plus', + r'(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _plus1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") + static final _plus$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int64, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.Instant plus(long j, java.time.temporal.TemporalUnit temporalUnit) + /// from: `public java.time.Instant plus(long j, java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant plus1( + Instant plus$1( int j, - jni.JObject temporalUnit, + _$jni.JObject temporalUnit, ) { - return _plus1(reference.pointer, _id_plus1 as jni.JMethodIDPtr, j, + return _plus$1(reference.pointer, _id_plus$1 as _$jni.JMethodIDPtr, j, temporalUnit.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } static final _id_plusSeconds = _class.instanceMethodId( - r"plusSeconds", - r"(J)Ljava/time/Instant;", + r'plusSeconds', + r'(J)Ljava/time/Instant;', ); - static final _plusSeconds = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _plusSeconds = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public java.time.Instant plusSeconds(long j) + /// from: `public java.time.Instant plusSeconds(long j)` /// The returned object must be released after use, by calling the [release] method. Instant plusSeconds( int j, ) { return _plusSeconds( - reference.pointer, _id_plusSeconds as jni.JMethodIDPtr, j) - .object(const $InstantType()); + reference.pointer, _id_plusSeconds as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } static final _id_plusMillis = _class.instanceMethodId( - r"plusMillis", - r"(J)Ljava/time/Instant;", + r'plusMillis', + r'(J)Ljava/time/Instant;', ); - static final _plusMillis = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _plusMillis = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public java.time.Instant plusMillis(long j) + /// from: `public java.time.Instant plusMillis(long j)` /// The returned object must be released after use, by calling the [release] method. Instant plusMillis( int j, ) { - return _plusMillis(reference.pointer, _id_plusMillis as jni.JMethodIDPtr, j) - .object(const $InstantType()); + return _plusMillis( + reference.pointer, _id_plusMillis as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } static final _id_plusNanos = _class.instanceMethodId( - r"plusNanos", - r"(J)Ljava/time/Instant;", + r'plusNanos', + r'(J)Ljava/time/Instant;', ); - static final _plusNanos = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _plusNanos = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public java.time.Instant plusNanos(long j) + /// from: `public java.time.Instant plusNanos(long j)` /// The returned object must be released after use, by calling the [release] method. Instant plusNanos( int j, ) { - return _plusNanos(reference.pointer, _id_plusNanos as jni.JMethodIDPtr, j) - .object(const $InstantType()); + return _plusNanos(reference.pointer, _id_plusNanos as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } static final _id_minus = _class.instanceMethodId( - r"minus", - r"(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;", + r'minus', + r'(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;', ); - static final _minus = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _minus = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.Instant minus(java.time.temporal.TemporalAmount temporalAmount) + /// from: `public java.time.Instant minus(java.time.temporal.TemporalAmount temporalAmount)` /// The returned object must be released after use, by calling the [release] method. Instant minus( - jni.JObject temporalAmount, + _$jni.JObject temporalAmount, ) { - return _minus(reference.pointer, _id_minus as jni.JMethodIDPtr, + return _minus(reference.pointer, _id_minus as _$jni.JMethodIDPtr, temporalAmount.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } - static final _id_minus1 = _class.instanceMethodId( - r"minus", - r"(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;", + static final _id_minus$1 = _class.instanceMethodId( + r'minus', + r'(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _minus1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") + static final _minus$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni + .VarArgs<(_$jni.Int64, _$jni.Pointer<_$jni.Void>)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, int, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.Instant minus(long j, java.time.temporal.TemporalUnit temporalUnit) + /// from: `public java.time.Instant minus(long j, java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant minus1( + Instant minus$1( int j, - jni.JObject temporalUnit, + _$jni.JObject temporalUnit, ) { - return _minus1(reference.pointer, _id_minus1 as jni.JMethodIDPtr, j, + return _minus$1(reference.pointer, _id_minus$1 as _$jni.JMethodIDPtr, j, temporalUnit.reference.pointer) - .object(const $InstantType()); + .object(const $Instant$Type()); } static final _id_minusSeconds = _class.instanceMethodId( - r"minusSeconds", - r"(J)Ljava/time/Instant;", + r'minusSeconds', + r'(J)Ljava/time/Instant;', ); - static final _minusSeconds = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _minusSeconds = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public java.time.Instant minusSeconds(long j) + /// from: `public java.time.Instant minusSeconds(long j)` /// The returned object must be released after use, by calling the [release] method. Instant minusSeconds( int j, ) { return _minusSeconds( - reference.pointer, _id_minusSeconds as jni.JMethodIDPtr, j) - .object(const $InstantType()); + reference.pointer, _id_minusSeconds as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } static final _id_minusMillis = _class.instanceMethodId( - r"minusMillis", - r"(J)Ljava/time/Instant;", + r'minusMillis', + r'(J)Ljava/time/Instant;', ); - static final _minusMillis = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _minusMillis = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public java.time.Instant minusMillis(long j) + /// from: `public java.time.Instant minusMillis(long j)` /// The returned object must be released after use, by calling the [release] method. Instant minusMillis( int j, ) { return _minusMillis( - reference.pointer, _id_minusMillis as jni.JMethodIDPtr, j) - .object(const $InstantType()); + reference.pointer, _id_minusMillis as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } static final _id_minusNanos = _class.instanceMethodId( - r"minusNanos", - r"(J)Ljava/time/Instant;", + r'minusNanos', + r'(J)Ljava/time/Instant;', ); - static final _minusNanos = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64,)>)>>("globalEnv_CallObjectMethod") + static final _minusNanos = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Int64,)>)>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, jni.JMethodIDPtr, int)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, _$jni.JMethodIDPtr, int)>(); - /// from: public java.time.Instant minusNanos(long j) + /// from: `public java.time.Instant minusNanos(long j)` /// The returned object must be released after use, by calling the [release] method. Instant minusNanos( int j, ) { - return _minusNanos(reference.pointer, _id_minusNanos as jni.JMethodIDPtr, j) - .object(const $InstantType()); + return _minusNanos( + reference.pointer, _id_minusNanos as _$jni.JMethodIDPtr, j) + .object(const $Instant$Type()); } static final _id_query = _class.instanceMethodId( - r"query", - r"(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;", + r'query', + r'(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;', ); - static final _query = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _query = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public R query(java.time.temporal.TemporalQuery temporalQuery) + /// from: `public R query(java.time.temporal.TemporalQuery temporalQuery)` /// The returned object must be released after use, by calling the [release] method. - $R query<$R extends jni.JObject>( - jni.JObject temporalQuery, { - required jni.JObjType<$R> R, + $R query<$R extends _$jni.JObject>( + _$jni.JObject temporalQuery, { + required _$jni.JObjType<$R> R, }) { - return _query(reference.pointer, _id_query as jni.JMethodIDPtr, + return _query(reference.pointer, _id_query as _$jni.JMethodIDPtr, temporalQuery.reference.pointer) .object(R); } static final _id_adjustInto = _class.instanceMethodId( - r"adjustInto", - r"(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal;", + r'adjustInto', + r'(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal;', ); - static final _adjustInto = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _adjustInto = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal temporal) + /// from: `public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal temporal)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject adjustInto( - jni.JObject temporal, + _$jni.JObject adjustInto( + _$jni.JObject temporal, ) { - return _adjustInto(reference.pointer, _id_adjustInto as jni.JMethodIDPtr, + return _adjustInto(reference.pointer, _id_adjustInto as _$jni.JMethodIDPtr, temporal.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_until = _class.instanceMethodId( - r"until", - r"(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J", + r'until', + r'(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J', ); - static final _until = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _until = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_CallLongMethod") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_CallLongMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public long until(java.time.temporal.Temporal temporal, java.time.temporal.TemporalUnit temporalUnit) + /// from: `public long until(java.time.temporal.Temporal temporal, java.time.temporal.TemporalUnit temporalUnit)` int until( - jni.JObject temporal, - jni.JObject temporalUnit, + _$jni.JObject temporal, + _$jni.JObject temporalUnit, ) { - return _until(reference.pointer, _id_until as jni.JMethodIDPtr, + return _until(reference.pointer, _id_until as _$jni.JMethodIDPtr, temporal.reference.pointer, temporalUnit.reference.pointer) .long; } static final _id_atOffset = _class.instanceMethodId( - r"atOffset", - r"(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", + r'atOffset', + r'(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;', ); - static final _atOffset = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _atOffset = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.OffsetDateTime atOffset(java.time.ZoneOffset zoneOffset) + /// from: `public java.time.OffsetDateTime atOffset(java.time.ZoneOffset zoneOffset)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject atOffset( - jni.JObject zoneOffset, + _$jni.JObject atOffset( + _$jni.JObject zoneOffset, ) { - return _atOffset(reference.pointer, _id_atOffset as jni.JMethodIDPtr, + return _atOffset(reference.pointer, _id_atOffset as _$jni.JMethodIDPtr, zoneOffset.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_atZone = _class.instanceMethodId( - r"atZone", - r"(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;", + r'atZone', + r'(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;', ); - static final _atZone = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _atZone = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public java.time.ZonedDateTime atZone(java.time.ZoneId zoneId) + /// from: `public java.time.ZonedDateTime atZone(java.time.ZoneId zoneId)` /// The returned object must be released after use, by calling the [release] method. - jni.JObject atZone( - jni.JObject zoneId, + _$jni.JObject atZone( + _$jni.JObject zoneId, ) { - return _atZone(reference.pointer, _id_atZone as jni.JMethodIDPtr, + return _atZone(reference.pointer, _id_atZone as _$jni.JMethodIDPtr, zoneId.reference.pointer) - .object(const jni.JObjectType()); + .object(const _$jni.JObjectType()); } static final _id_toEpochMilli = _class.instanceMethodId( - r"toEpochMilli", - r"()J", + r'toEpochMilli', + r'()J', ); - static final _toEpochMilli = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallLongMethod") + static final _toEpochMilli = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallLongMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public long toEpochMilli() + /// from: `public long toEpochMilli()` int toEpochMilli() { return _toEpochMilli( - reference.pointer, _id_toEpochMilli as jni.JMethodIDPtr) + reference.pointer, _id_toEpochMilli as _$jni.JMethodIDPtr) .long; } static final _id_compareTo = _class.instanceMethodId( - r"compareTo", - r"(Ljava/time/Instant;)I", + r'compareTo', + r'(Ljava/time/Instant;)I', ); - static final _compareTo = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallIntMethod") + static final _compareTo = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public int compareTo(java.time.Instant instant) + /// from: `public int compareTo(java.time.Instant instant)` int compareTo( Instant instant, ) { - return _compareTo(reference.pointer, _id_compareTo as jni.JMethodIDPtr, + return _compareTo(reference.pointer, _id_compareTo as _$jni.JMethodIDPtr, instant.reference.pointer) .integer; } static final _id_isAfter = _class.instanceMethodId( - r"isAfter", - r"(Ljava/time/Instant;)Z", + r'isAfter', + r'(Ljava/time/Instant;)Z', ); - static final _isAfter = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _isAfter = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean isAfter(java.time.Instant instant) + /// from: `public boolean isAfter(java.time.Instant instant)` bool isAfter( Instant instant, ) { - return _isAfter(reference.pointer, _id_isAfter as jni.JMethodIDPtr, + return _isAfter(reference.pointer, _id_isAfter as _$jni.JMethodIDPtr, instant.reference.pointer) .boolean; } static final _id_isBefore = _class.instanceMethodId( - r"isBefore", - r"(Ljava/time/Instant;)Z", + r'isBefore', + r'(Ljava/time/Instant;)Z', ); - static final _isBefore = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _isBefore = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean isBefore(java.time.Instant instant) + /// from: `public boolean isBefore(java.time.Instant instant)` bool isBefore( Instant instant, ) { - return _isBefore(reference.pointer, _id_isBefore as jni.JMethodIDPtr, + return _isBefore(reference.pointer, _id_isBefore as _$jni.JMethodIDPtr, instant.reference.pointer) .boolean; } static final _id_equals = _class.instanceMethodId( - r"equals", - r"(Ljava/lang/Object;)Z", + r'equals', + r'(Ljava/lang/Object;)Z', ); - static final _equals = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _equals = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean equals(java.lang.Object object) + /// from: `public boolean equals(java.lang.Object object)` bool equals( - jni.JObject object, + _$jni.JObject object, ) { - return _equals(reference.pointer, _id_equals as jni.JMethodIDPtr, + return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, object.reference.pointer) .boolean; } - static final _id_hashCode1 = _class.instanceMethodId( - r"hashCode", - r"()I", + static final _id_hashCode$1 = _class.instanceMethodId( + r'hashCode', + r'()I', ); - static final _hashCode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int hashCode() - int hashCode1() { - return _hashCode1(reference.pointer, _id_hashCode1 as jni.JMethodIDPtr) + /// from: `public int hashCode()` + int hashCode$1() { + return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) .integer; } - static final _id_toString1 = _class.instanceMethodId( - r"toString", - r"()Ljava/lang/String;", + static final _id_toString$1 = _class.instanceMethodId( + r'toString', + r'()Ljava/lang/String;', ); - static final _toString1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _toString$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public java.lang.String toString() - /// The returned object must be released after use, by calling the [release] method. - jni.JString toString1() { - return _toString1(reference.pointer, _id_toString1 as jni.JMethodIDPtr) - .object(const jni.JStringType()); - } - - static final _id_minus2 = _class.instanceMethodId( - r"minus", - r"(JLjava/time/temporal/TemporalUnit;)Ljava/time/temporal/Temporal;", - ); - - static final _minus2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); - - /// from: public java.time.temporal.Temporal minus(long j, java.time.temporal.TemporalUnit temporalUnit) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject minus2( - int j, - jni.JObject temporalUnit, - ) { - return _minus2(reference.pointer, _id_minus2 as jni.JMethodIDPtr, j, - temporalUnit.reference.pointer) - .object(const jni.JObjectType()); - } - - static final _id_minus3 = _class.instanceMethodId( - r"minus", - r"(Ljava/time/temporal/TemporalAmount;)Ljava/time/temporal/Temporal;", - ); - - static final _minus3 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: public java.time.temporal.Temporal minus(java.time.temporal.TemporalAmount temporalAmount) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject minus3( - jni.JObject temporalAmount, - ) { - return _minus3(reference.pointer, _id_minus3 as jni.JMethodIDPtr, - temporalAmount.reference.pointer) - .object(const jni.JObjectType()); - } - - static final _id_plus2 = _class.instanceMethodId( - r"plus", - r"(JLjava/time/temporal/TemporalUnit;)Ljava/time/temporal/Temporal;", - ); - - static final _plus2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Int64, ffi.Pointer)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, - ffi.Pointer)>(); - - /// from: public java.time.temporal.Temporal plus(long j, java.time.temporal.TemporalUnit temporalUnit) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject plus2( - int j, - jni.JObject temporalUnit, - ) { - return _plus2(reference.pointer, _id_plus2 as jni.JMethodIDPtr, j, - temporalUnit.reference.pointer) - .object(const jni.JObjectType()); - } - - static final _id_plus3 = _class.instanceMethodId( - r"plus", - r"(Ljava/time/temporal/TemporalAmount;)Ljava/time/temporal/Temporal;", - ); - - static final _plus3 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: public java.time.temporal.Temporal plus(java.time.temporal.TemporalAmount temporalAmount) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject plus3( - jni.JObject temporalAmount, - ) { - return _plus3(reference.pointer, _id_plus3 as jni.JMethodIDPtr, - temporalAmount.reference.pointer) - .object(const jni.JObjectType()); - } - - static final _id_with2 = _class.instanceMethodId( - r"with", - r"(Ljava/time/temporal/TemporalField;J)Ljava/time/temporal/Temporal;", - ); - - static final _with2 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, int)>(); - - /// from: public java.time.temporal.Temporal with(java.time.temporal.TemporalField temporalField, long j) - /// The returned object must be released after use, by calling the [release] method. - jni.JObject with2( - jni.JObject temporalField, - int j, - ) { - return _with2(reference.pointer, _id_with2 as jni.JMethodIDPtr, - temporalField.reference.pointer, j) - .object(const jni.JObjectType()); - } - - static final _id_with3 = _class.instanceMethodId( - r"with", - r"(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/temporal/Temporal;", - ); - - static final _with3 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: public java.time.temporal.Temporal with(java.time.temporal.TemporalAdjuster temporalAdjuster) + /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. - jni.JObject with3( - jni.JObject temporalAdjuster, - ) { - return _with3(reference.pointer, _id_with3 as jni.JMethodIDPtr, - temporalAdjuster.reference.pointer) - .object(const jni.JObjectType()); - } - - static final _id_compareTo1 = _class.instanceMethodId( - r"compareTo", - r"(Ljava/lang/Object;)I", - ); - - static final _compareTo1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallIntMethod") - .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); - - /// from: public int compareTo(java.lang.Object object) - int compareTo1( - jni.JObject object, - ) { - return _compareTo1(reference.pointer, _id_compareTo1 as jni.JMethodIDPtr, - object.reference.pointer) - .integer; + _$jni.JString toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } } -final class $InstantType extends jni.JObjType { - const $InstantType(); +final class $Instant$Type extends _$jni.JObjType { + @_$jni.internal + const $Instant$Type(); - @override - String get signature => r"Ljava/time/Instant;"; + @_$jni.internal + @_$core.override + String get signature => r'Ljava/time/Instant;'; - @override - Instant fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + Instant fromReference(_$jni.JReference reference) => Instant.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($InstantType).hashCode; + @_$core.override + int get hashCode => ($Instant$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($InstantType) && other is $InstantType; + return other.runtimeType == ($Instant$Type) && other is $Instant$Type; } } -/// from: androidx.health.connect.client.request.AggregateGroupByDurationRequest -class AggregateGroupByDurationRequest extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.request.AggregateGroupByDurationRequest` +class AggregateGroupByDurationRequest extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal AggregateGroupByDurationRequest.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/request/AggregateGroupByDurationRequest"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/request/AggregateGroupByDurationRequest'); /// The type which includes information such as the signature of this class. - static const type = $AggregateGroupByDurationRequestType(); - static final _id_new0 = _class.constructorId( - r"(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;)V", + static const type = $AggregateGroupByDurationRequest$Type(); + static final _id_new$ = _class.constructorId( + r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateGroupByDurationRequest( - jni.JSet> set0, + _$jni.JSet> set, TimeRangeFilter timeRangeFilter, - jni.JObject duration, - jni.JSet set1, + _$jni.JObject duration, + _$jni.JSet<_$jni.JObject> set1, ) { - return AggregateGroupByDurationRequest.fromReference(_new0( + return AggregateGroupByDurationRequest.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$ as _$jni.JMethodIDPtr, + set.reference.pointer, timeRangeFilter.reference.pointer, duration.reference.pointer, set1.reference.pointer) .reference); } - static final _id_new1 = _class.constructorId( - r"(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$1 = _class.constructorId( + r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory AggregateGroupByDurationRequest.new1( - jni.JSet set0, + factory AggregateGroupByDurationRequest.new$1( + _$jni.JSet<_$jni.JObject> set, TimeRangeFilter timeRangeFilter, - jni.JObject duration, - jni.JSet set1, + _$jni.JObject duration, + _$jni.JSet<_$jni.JObject> set1, int i, - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return AggregateGroupByDurationRequest.fromReference(_new1( + return AggregateGroupByDurationRequest.fromReference(_new$1( _class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$1 as _$jni.JMethodIDPtr, + set.reference.pointer, timeRangeFilter.reference.pointer, duration.reference.pointer, set1.reference.pointer, @@ -23233,134 +23998,142 @@ class AggregateGroupByDurationRequest extends jni.JObject { } } -final class $AggregateGroupByDurationRequestType - extends jni.JObjType { - const $AggregateGroupByDurationRequestType(); +final class $AggregateGroupByDurationRequest$Type + extends _$jni.JObjType { + @_$jni.internal + const $AggregateGroupByDurationRequest$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;"; + r'Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;'; - @override - AggregateGroupByDurationRequest fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregateGroupByDurationRequest fromReference(_$jni.JReference reference) => AggregateGroupByDurationRequest.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($AggregateGroupByDurationRequestType).hashCode; + @_$core.override + int get hashCode => ($AggregateGroupByDurationRequest$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateGroupByDurationRequestType) && - other is $AggregateGroupByDurationRequestType; + return other.runtimeType == ($AggregateGroupByDurationRequest$Type) && + other is $AggregateGroupByDurationRequest$Type; } } -/// from: androidx.health.connect.client.request.AggregateGroupByPeriodRequest -class AggregateGroupByPeriodRequest extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.request.AggregateGroupByPeriodRequest` +class AggregateGroupByPeriodRequest extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal AggregateGroupByPeriodRequest.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/request/AggregateGroupByPeriodRequest"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/request/AggregateGroupByPeriodRequest'); /// The type which includes information such as the signature of this class. - static const type = $AggregateGroupByPeriodRequestType(); - static final _id_new0 = _class.constructorId( - r"(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;)V", + static const type = $AggregateGroupByPeriodRequest$Type(); + static final _id_new$ = _class.constructorId( + r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateGroupByPeriodRequest( - jni.JSet> set0, + _$jni.JSet> set, TimeRangeFilter timeRangeFilter, - jni.JObject period, - jni.JSet set1, + _$jni.JObject period, + _$jni.JSet<_$jni.JObject> set1, ) { - return AggregateGroupByPeriodRequest.fromReference(_new0( + return AggregateGroupByPeriodRequest.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$ as _$jni.JMethodIDPtr, + set.reference.pointer, timeRangeFilter.reference.pointer, period.reference.pointer, set1.reference.pointer) .reference); } - static final _id_new1 = _class.constructorId( - r"(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$1 = _class.constructorId( + r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory AggregateGroupByPeriodRequest.new1( - jni.JSet set0, + factory AggregateGroupByPeriodRequest.new$1( + _$jni.JSet<_$jni.JObject> set, TimeRangeFilter timeRangeFilter, - jni.JObject period, - jni.JSet set1, + _$jni.JObject period, + _$jni.JSet<_$jni.JObject> set1, int i, - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return AggregateGroupByPeriodRequest.fromReference(_new1( + return AggregateGroupByPeriodRequest.fromReference(_new$1( _class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$1 as _$jni.JMethodIDPtr, + set.reference.pointer, timeRangeFilter.reference.pointer, period.reference.pointer, set1.reference.pointer, @@ -23370,127 +24143,135 @@ class AggregateGroupByPeriodRequest extends jni.JObject { } } -final class $AggregateGroupByPeriodRequestType - extends jni.JObjType { - const $AggregateGroupByPeriodRequestType(); +final class $AggregateGroupByPeriodRequest$Type + extends _$jni.JObjType { + @_$jni.internal + const $AggregateGroupByPeriodRequest$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;"; + r'Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;'; - @override - AggregateGroupByPeriodRequest fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregateGroupByPeriodRequest fromReference(_$jni.JReference reference) => AggregateGroupByPeriodRequest.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($AggregateGroupByPeriodRequestType).hashCode; + @_$core.override + int get hashCode => ($AggregateGroupByPeriodRequest$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateGroupByPeriodRequestType) && - other is $AggregateGroupByPeriodRequestType; + return other.runtimeType == ($AggregateGroupByPeriodRequest$Type) && + other is $AggregateGroupByPeriodRequest$Type; } } -/// from: androidx.health.connect.client.request.AggregateRequest -class AggregateRequest extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.request.AggregateRequest` +class AggregateRequest extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal AggregateRequest.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/request/AggregateRequest"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/request/AggregateRequest'); /// The type which includes information such as the signature of this class. - static const type = $AggregateRequestType(); - static final _id_new0 = _class.constructorId( - r"(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;)V", + static const type = $AggregateRequest$Type(); + static final _id_new$ = _class.constructorId( + r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1) + /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateRequest( - jni.JSet> set0, + _$jni.JSet> set, TimeRangeFilter timeRangeFilter, - jni.JSet set1, + _$jni.JSet<_$jni.JObject> set1, ) { - return AggregateRequest.fromReference(_new0( + return AggregateRequest.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$ as _$jni.JMethodIDPtr, + set.reference.pointer, timeRangeFilter.reference.pointer, set1.reference.pointer) .reference); } - static final _id_new1 = _class.constructorId( - r"(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$1 = _class.constructorId( + r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory AggregateRequest.new1( - jni.JSet set0, + factory AggregateRequest.new$1( + _$jni.JSet<_$jni.JObject> set, TimeRangeFilter timeRangeFilter, - jni.JSet set1, + _$jni.JSet<_$jni.JObject> set1, int i, - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return AggregateRequest.fromReference(_new1( + return AggregateRequest.fromReference(_new$1( _class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$1 as _$jni.JMethodIDPtr, + set.reference.pointer, timeRangeFilter.reference.pointer, set1.reference.pointer, i, @@ -23499,116 +24280,127 @@ class AggregateRequest extends jni.JObject { } } -final class $AggregateRequestType extends jni.JObjType { - const $AggregateRequestType(); +final class $AggregateRequest$Type extends _$jni.JObjType { + @_$jni.internal + const $AggregateRequest$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/request/AggregateRequest;"; + r'Landroidx/health/connect/client/request/AggregateRequest;'; - @override - AggregateRequest fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregateRequest fromReference(_$jni.JReference reference) => AggregateRequest.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($AggregateRequestType).hashCode; + @_$core.override + int get hashCode => ($AggregateRequest$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateRequestType) && - other is $AggregateRequestType; + return other.runtimeType == ($AggregateRequest$Type) && + other is $AggregateRequest$Type; } } -/// from: androidx.health.connect.client.request.ChangesTokenRequest -class ChangesTokenRequest extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.request.ChangesTokenRequest` +class ChangesTokenRequest extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal ChangesTokenRequest.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/request/ChangesTokenRequest"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/request/ChangesTokenRequest'); /// The type which includes information such as the signature of this class. - static const type = $ChangesTokenRequestType(); - static final _id_new0 = _class.constructorId( - r"(Ljava/util/Set;Ljava/util/Set;)V", + static const type = $ChangesTokenRequest$Type(); + static final _id_new$ = _class.constructorId( + r'(Ljava/util/Set;Ljava/util/Set;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer, ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.util.Set set, java.util.Set set1) + /// from: `public void (java.util.Set set, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. factory ChangesTokenRequest( - jni.JSet set0, - jni.JSet set1, + _$jni.JSet<_$jni.JObject> set, + _$jni.JSet<_$jni.JObject> set1, ) { - return ChangesTokenRequest.fromReference(_new0( + return ChangesTokenRequest.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$ as _$jni.JMethodIDPtr, + set.reference.pointer, set1.reference.pointer) .reference); } - static final _id_new1 = _class.constructorId( - r"(Ljava/util/Set;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$1 = _class.constructorId( + r'(Ljava/util/Set;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.util.Set set, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (java.util.Set set, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory ChangesTokenRequest.new1( - jni.JSet set0, - jni.JSet set1, + factory ChangesTokenRequest.new$1( + _$jni.JSet<_$jni.JObject> set, + _$jni.JSet<_$jni.JObject> set1, int i, - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return ChangesTokenRequest.fromReference(_new1( + return ChangesTokenRequest.fromReference(_new$1( _class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, - set0.reference.pointer, + _id_new$1 as _$jni.JMethodIDPtr, + set.reference.pointer, set1.reference.pointer, i, defaultConstructorMarker.reference.pointer) @@ -23616,165 +24408,175 @@ class ChangesTokenRequest extends jni.JObject { } } -final class $ChangesTokenRequestType extends jni.JObjType { - const $ChangesTokenRequestType(); +final class $ChangesTokenRequest$Type + extends _$jni.JObjType { + @_$jni.internal + const $ChangesTokenRequest$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/request/ChangesTokenRequest;"; + r'Landroidx/health/connect/client/request/ChangesTokenRequest;'; - @override - ChangesTokenRequest fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + ChangesTokenRequest fromReference(_$jni.JReference reference) => ChangesTokenRequest.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($ChangesTokenRequestType).hashCode; + @_$core.override + int get hashCode => ($ChangesTokenRequest$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($ChangesTokenRequestType) && - other is $ChangesTokenRequestType; + return other.runtimeType == ($ChangesTokenRequest$Type) && + other is $ChangesTokenRequest$Type; } } -/// from: androidx.health.connect.client.request.ReadRecordsRequest -class ReadRecordsRequest<$T extends jni.JObject> extends jni.JObject { - @override - late final jni.JObjType> $type = type(T); +/// from: `androidx.health.connect.client.request.ReadRecordsRequest` +class ReadRecordsRequest<$T extends _$jni.JObject> extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType> $type; - final jni.JObjType<$T> T; + @_$jni.internal + final _$jni.JObjType<$T> T; + @_$jni.internal ReadRecordsRequest.fromReference( this.T, - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type(T), + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/request/ReadRecordsRequest"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/request/ReadRecordsRequest'); /// The type which includes information such as the signature of this class. - static $ReadRecordsRequestType<$T> type<$T extends jni.JObject>( - jni.JObjType<$T> T, + static $ReadRecordsRequest$Type<$T> type<$T extends _$jni.JObject>( + _$jni.JObjType<$T> T, ) { - return $ReadRecordsRequestType( + return $ReadRecordsRequest$Type( T, ); } - static final _id_new0 = _class.constructorId( - r"(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;)V", + static final _id_new$ = _class.constructorId( + r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string) + /// from: `public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. factory ReadRecordsRequest( - jni.JObject kClass, + _$jni.JObject kClass, TimeRangeFilter timeRangeFilter, - jni.JSet set0, + _$jni.JSet<_$jni.JObject> set, bool z, int i, - jni.JString string, { - required jni.JObjType<$T> T, + _$jni.JString string, { + required _$jni.JObjType<$T> T, }) { return ReadRecordsRequest.fromReference( T, - _new0( + _new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, kClass.reference.pointer, timeRangeFilter.reference.pointer, - set0.reference.pointer, + set.reference.pointer, z ? 1 : 0, i, string.reference.pointer) .reference); } - static final _id_new1 = _class.constructorId( - r"(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", + static final _id_new$1 = _class.constructorId( + r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Int32, + _$jni.Pointer<_$jni.Void>, + _$jni.Int32, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, int, int, - ffi.Pointer, + _$jni.Pointer<_$jni.Void>, int, - ffi.Pointer)>(); + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string, int i1, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string, int i1, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory ReadRecordsRequest.new1( - jni.JObject kClass, + factory ReadRecordsRequest.new$1( + _$jni.JObject kClass, TimeRangeFilter timeRangeFilter, - jni.JSet set0, + _$jni.JSet<_$jni.JObject> set, bool z, int i, - jni.JString string, + _$jni.JString string, int i1, - jni.JObject defaultConstructorMarker, { - required jni.JObjType<$T> T, + _$jni.JObject defaultConstructorMarker, { + required _$jni.JObjType<$T> T, }) { return ReadRecordsRequest.fromReference( T, - _new1( + _new$1( _class.reference.pointer, - _id_new1 as jni.JMethodIDPtr, + _id_new$1 as _$jni.JMethodIDPtr, kClass.reference.pointer, timeRangeFilter.reference.pointer, - set0.reference.pointer, + set.reference.pointer, z ? 1 : 0, i, string.reference.pointer, @@ -23784,820 +24586,1171 @@ class ReadRecordsRequest<$T extends jni.JObject> extends jni.JObject { } static final _id_equals = _class.instanceMethodId( - r"equals", - r"(Ljava/lang/Object;)Z", + r'equals', + r'(Ljava/lang/Object;)Z', ); - static final _equals = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _equals = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public boolean equals(java.lang.Object object) + /// from: `public boolean equals(java.lang.Object object)` bool equals( - jni.JObject object, + _$jni.JObject object, ) { - return _equals(reference.pointer, _id_equals as jni.JMethodIDPtr, + return _equals(reference.pointer, _id_equals as _$jni.JMethodIDPtr, object.reference.pointer) .boolean; } - static final _id_hashCode1 = _class.instanceMethodId( - r"hashCode", - r"()I", + static final _id_hashCode$1 = _class.instanceMethodId( + r'hashCode', + r'()I', ); - static final _hashCode1 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + static final _hashCode$1 = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public int hashCode() - int hashCode1() { - return _hashCode1(reference.pointer, _id_hashCode1 as jni.JMethodIDPtr) + /// from: `public int hashCode()` + int hashCode$1() { + return _hashCode$1(reference.pointer, _id_hashCode$1 as _$jni.JMethodIDPtr) .integer; } } -final class $ReadRecordsRequestType<$T extends jni.JObject> - extends jni.JObjType> { - final jni.JObjType<$T> T; +final class $ReadRecordsRequest$Type<$T extends _$jni.JObject> + extends _$jni.JObjType> { + @_$jni.internal + final _$jni.JObjType<$T> T; - const $ReadRecordsRequestType( + @_$jni.internal + const $ReadRecordsRequest$Type( this.T, ); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/request/ReadRecordsRequest;"; + r'Landroidx/health/connect/client/request/ReadRecordsRequest;'; - @override - ReadRecordsRequest<$T> fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + ReadRecordsRequest<$T> fromReference(_$jni.JReference reference) => ReadRecordsRequest.fromReference(T, reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => Object.hash($ReadRecordsRequestType, T); + @_$core.override + int get hashCode => Object.hash($ReadRecordsRequest$Type, T); - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($ReadRecordsRequestType<$T>) && - other is $ReadRecordsRequestType<$T> && + return other.runtimeType == ($ReadRecordsRequest$Type<$T>) && + other is $ReadRecordsRequest$Type<$T> && T == other.T; } } -/// from: androidx.health.connect.client.aggregate.AggregationResult -class AggregationResult extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.aggregate.AggregationResult` +class AggregationResult extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal AggregationResult.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/aggregate/AggregationResult"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/aggregate/AggregationResult'); /// The type which includes information such as the signature of this class. - static const type = $AggregationResultType(); - static final _id_new0 = _class.constructorId( - r"(Ljava/util/Map;Ljava/util/Map;Ljava/util/Set;)V", + static const type = $AggregationResult$Type(); + static final _id_new$ = _class.constructorId( + r'(Ljava/util/Map;Ljava/util/Map;Ljava/util/Set;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (java.util.Map map, java.util.Map map1, java.util.Set set) + /// from: `public void (java.util.Map map, java.util.Map map1, java.util.Set set)` /// The returned object must be released after use, by calling the [release] method. factory AggregationResult( - jni.JMap map, - jni.JMap map1, - jni.JSet set0, + _$jni.JMap<_$jni.JString, _$jni.JLong> map, + _$jni.JMap<_$jni.JString, _$jni.JDouble> map1, + _$jni.JSet<_$jni.JObject> set, ) { - return AggregationResult.fromReference(_new0( + return AggregationResult.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, map.reference.pointer, map1.reference.pointer, - set0.reference.pointer) + set.reference.pointer) .reference); } static final _id_getDataOrigins = _class.instanceMethodId( - r"getDataOrigins", - r"()Ljava/util/Set;", + r'getDataOrigins', + r'()Ljava/util/Set;', ); - static final _getDataOrigins = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getDataOrigins = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final java.util.Set getDataOrigins() + /// from: `public final java.util.Set getDataOrigins()` /// The returned object must be released after use, by calling the [release] method. - jni.JSet getDataOrigins() { + _$jni.JSet<_$jni.JObject> getDataOrigins() { return _getDataOrigins( - reference.pointer, _id_getDataOrigins as jni.JMethodIDPtr) - .object(const jni.JSetType(jni.JObjectType())); + reference.pointer, _id_getDataOrigins as _$jni.JMethodIDPtr) + .object(const _$jni.JSetType(_$jni.JObjectType())); } static final _id_hasMetric = _class.instanceMethodId( - r"hasMetric", - r"(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z", + r'hasMetric', + r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z', ); - static final _hasMetric = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _hasMetric = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final boolean hasMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric) + /// from: `public final boolean hasMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` bool hasMetric( - AggregateMetric aggregateMetric, + AggregateMetric<_$jni.JObject> aggregateMetric, ) { - return _hasMetric(reference.pointer, _id_hasMetric as jni.JMethodIDPtr, + return _hasMetric(reference.pointer, _id_hasMetric as _$jni.JMethodIDPtr, aggregateMetric.reference.pointer) .boolean; } static final _id_contains = _class.instanceMethodId( - r"contains", - r"(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z", + r'contains', + r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z', ); - static final _contains = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + static final _contains = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallBooleanMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final boolean contains(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric) + /// from: `public final boolean contains(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` bool contains( - AggregateMetric aggregateMetric, + AggregateMetric<_$jni.JObject> aggregateMetric, ) { - return _contains(reference.pointer, _id_contains as jni.JMethodIDPtr, + return _contains(reference.pointer, _id_contains as _$jni.JMethodIDPtr, aggregateMetric.reference.pointer) .boolean; } static final _id_getMetric = _class.instanceMethodId( - r"getMetric", - r"(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;", + r'getMetric', + r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;', ); - static final _getMetric = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _getMetric = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final T getMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric) + /// from: `public final T getMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` /// The returned object must be released after use, by calling the [release] method. - $T getMetric<$T extends jni.JObject>( + $T getMetric<$T extends _$jni.JObject>( AggregateMetric<$T> aggregateMetric, { - jni.JObjType<$T>? T, + _$jni.JObjType<$T>? T, }) { - T ??= jni.lowestCommonSuperType([ - (aggregateMetric.$type as $AggregateMetricType).T, - ]) as jni.JObjType<$T>; - return _getMetric(reference.pointer, _id_getMetric as jni.JMethodIDPtr, + T ??= _$jni.lowestCommonSuperType([ + (aggregateMetric.$type as $AggregateMetric$Type).T, + ]) as _$jni.JObjType<$T>; + return _getMetric(reference.pointer, _id_getMetric as _$jni.JMethodIDPtr, aggregateMetric.reference.pointer) .object(T); } - static final _id_get0 = _class.instanceMethodId( - r"get", - r"(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;", + static final _id_get = _class.instanceMethodId( + r'get', + r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;', ); - static final _get0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + static final _get = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public final T get(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric) + /// from: `public final T get(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` /// The returned object must be released after use, by calling the [release] method. - $T get0<$T extends jni.JObject>( + $T get<$T extends _$jni.JObject>( AggregateMetric<$T> aggregateMetric, { - jni.JObjType<$T>? T, + _$jni.JObjType<$T>? T, }) { - T ??= jni.lowestCommonSuperType([ - (aggregateMetric.$type as $AggregateMetricType).T, - ]) as jni.JObjType<$T>; - return _get0(reference.pointer, _id_get0 as jni.JMethodIDPtr, + T ??= _$jni.lowestCommonSuperType([ + (aggregateMetric.$type as $AggregateMetric$Type).T, + ]) as _$jni.JObjType<$T>; + return _get(reference.pointer, _id_get as _$jni.JMethodIDPtr, aggregateMetric.reference.pointer) .object(T); } } -final class $AggregationResultType extends jni.JObjType { - const $AggregationResultType(); +final class $AggregationResult$Type extends _$jni.JObjType { + @_$jni.internal + const $AggregationResult$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/aggregate/AggregationResult;"; + r'Landroidx/health/connect/client/aggregate/AggregationResult;'; - @override - AggregationResult fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregationResult fromReference(_$jni.JReference reference) => AggregationResult.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($AggregationResultType).hashCode; + @_$core.override + int get hashCode => ($AggregationResult$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregationResultType) && - other is $AggregationResultType; + return other.runtimeType == ($AggregationResult$Type) && + other is $AggregationResult$Type; } } -/// from: androidx.health.connect.client.aggregate.AggregateMetric$AggregationType -class AggregateMetric_AggregationType extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.aggregate.AggregateMetric$AggregationType` +class AggregateMetric_AggregationType extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal AggregateMetric_AggregationType.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/aggregate/AggregateMetric$AggregationType"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/aggregate/AggregateMetric$AggregationType'); /// The type which includes information such as the signature of this class. - static const type = $AggregateMetric_AggregationTypeType(); + static const type = $AggregateMetric_AggregationType$Type(); static final _id_DURATION = _class.staticFieldId( - r"DURATION", - r"Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'DURATION', + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType DURATION + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType DURATION` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_AggregationType get DURATION => - _id_DURATION.get(_class, const $AggregateMetric_AggregationTypeType()); + _id_DURATION.get(_class, const $AggregateMetric_AggregationType$Type()); static final _id_AVERAGE = _class.staticFieldId( - r"AVERAGE", - r"Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'AVERAGE', + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType AVERAGE + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType AVERAGE` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_AggregationType get AVERAGE => - _id_AVERAGE.get(_class, const $AggregateMetric_AggregationTypeType()); + _id_AVERAGE.get(_class, const $AggregateMetric_AggregationType$Type()); static final _id_MINIMUM = _class.staticFieldId( - r"MINIMUM", - r"Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'MINIMUM', + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType MINIMUM + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType MINIMUM` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_AggregationType get MINIMUM => - _id_MINIMUM.get(_class, const $AggregateMetric_AggregationTypeType()); + _id_MINIMUM.get(_class, const $AggregateMetric_AggregationType$Type()); static final _id_MAXIMUM = _class.staticFieldId( - r"MAXIMUM", - r"Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'MAXIMUM', + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType MAXIMUM + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType MAXIMUM` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_AggregationType get MAXIMUM => - _id_MAXIMUM.get(_class, const $AggregateMetric_AggregationTypeType()); + _id_MAXIMUM.get(_class, const $AggregateMetric_AggregationType$Type()); static final _id_TOTAL = _class.staticFieldId( - r"TOTAL", - r"Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'TOTAL', + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType TOTAL + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType TOTAL` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_AggregationType get TOTAL => - _id_TOTAL.get(_class, const $AggregateMetric_AggregationTypeType()); + _id_TOTAL.get(_class, const $AggregateMetric_AggregationType$Type()); static final _id_COUNT = _class.staticFieldId( - r"COUNT", - r"Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'COUNT', + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType COUNT + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$AggregationType COUNT` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_AggregationType get COUNT => - _id_COUNT.get(_class, const $AggregateMetric_AggregationTypeType()); + _id_COUNT.get(_class, const $AggregateMetric_AggregationType$Type()); static final _id_getAggregationTypeString = _class.instanceMethodId( - r"getAggregationTypeString", - r"()Ljava/lang/String;", + r'getAggregationTypeString', + r'()Ljava/lang/String;', ); - static final _getAggregationTypeString = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + static final _getAggregationTypeString = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: public final java.lang.String getAggregationTypeString() + /// from: `public final java.lang.String getAggregationTypeString()` /// The returned object must be released after use, by calling the [release] method. - jni.JString getAggregationTypeString() { - return _getAggregationTypeString( - reference.pointer, _id_getAggregationTypeString as jni.JMethodIDPtr) - .object(const jni.JStringType()); + _$jni.JString getAggregationTypeString() { + return _getAggregationTypeString(reference.pointer, + _id_getAggregationTypeString as _$jni.JMethodIDPtr) + .object(const _$jni.JStringType()); } static final _id_values = _class.staticMethodId( - r"values", - r"()[Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'values', + r'()[Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - static final _values = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + static final _values = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + )>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, )>(); - /// from: static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType[] values() + /// from: `static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType[] values()` /// The returned object must be released after use, by calling the [release] method. - static jni.JArray values() { - return _values(_class.reference.pointer, _id_values as jni.JMethodIDPtr) - .object(const jni.JArrayType($AggregateMetric_AggregationTypeType())); + static _$jni.JArray values() { + return _values(_class.reference.pointer, _id_values as _$jni.JMethodIDPtr) + .object( + const _$jni.JArrayType($AggregateMetric_AggregationType$Type())); } static final _id_valueOf = _class.staticMethodId( - r"valueOf", - r"(Ljava/lang/String;)Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;", + r'valueOf', + r'(Ljava/lang/String;)Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - static final _valueOf = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + static final _valueOf = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType valueOf(java.lang.String string) + /// from: `static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType valueOf(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_AggregationType valueOf( - jni.JString string, + _$jni.JString string, ) { - return _valueOf(_class.reference.pointer, _id_valueOf as jni.JMethodIDPtr, + return _valueOf(_class.reference.pointer, _id_valueOf as _$jni.JMethodIDPtr, string.reference.pointer) - .object(const $AggregateMetric_AggregationTypeType()); + .object(const $AggregateMetric_AggregationType$Type()); } } -final class $AggregateMetric_AggregationTypeType - extends jni.JObjType { - const $AggregateMetric_AggregationTypeType(); +final class $AggregateMetric_AggregationType$Type + extends _$jni.JObjType { + @_$jni.internal + const $AggregateMetric_AggregationType$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;"; + r'Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;'; - @override - AggregateMetric_AggregationType fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregateMetric_AggregationType fromReference(_$jni.JReference reference) => AggregateMetric_AggregationType.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($AggregateMetric_AggregationTypeType).hashCode; + @_$core.override + int get hashCode => ($AggregateMetric_AggregationType$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetric_AggregationTypeType) && - other is $AggregateMetric_AggregationTypeType; + return other.runtimeType == ($AggregateMetric_AggregationType$Type) && + other is $AggregateMetric_AggregationType$Type; } } -/// from: androidx.health.connect.client.aggregate.AggregateMetric$Companion -class AggregateMetric_Companion extends jni.JObject { - @override - late final jni.JObjType $type = type; +/// from: `androidx.health.connect.client.aggregate.AggregateMetric$Companion` +class AggregateMetric_Companion extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType $type; + @_$jni.internal AggregateMetric_Companion.fromReference( - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type, + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/aggregate/AggregateMetric$Companion"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/aggregate/AggregateMetric$Companion'); /// The type which includes information such as the signature of this class. - static const type = $AggregateMetric_CompanionType(); - static final _id_new0 = _class.constructorId( - r"(Lkotlin/jvm/internal/DefaultConstructorMarker;)V", + static const type = $AggregateMetric_Companion$Type(); + static final _id_new$ = _class.constructorId( + r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs<(_$jni.Pointer<_$jni.Void>,)>)>>( + 'globalEnv_NewObject') .asFunction< - jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.Pointer)>(); + _$jni.JniResult Function(_$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, _$jni.Pointer<_$jni.Void>)>(); - /// from: public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) + /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. factory AggregateMetric_Companion( - jni.JObject defaultConstructorMarker, + _$jni.JObject defaultConstructorMarker, ) { - return AggregateMetric_Companion.fromReference(_new0( + return AggregateMetric_Companion.fromReference(_new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, defaultConstructorMarker.reference.pointer) .reference); } } -final class $AggregateMetric_CompanionType - extends jni.JObjType { - const $AggregateMetric_CompanionType(); +final class $AggregateMetric_Companion$Type + extends _$jni.JObjType { + @_$jni.internal + const $AggregateMetric_Companion$Type(); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/aggregate/AggregateMetric$Companion;"; + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Companion;'; - @override - AggregateMetric_Companion fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregateMetric_Companion fromReference(_$jni.JReference reference) => AggregateMetric_Companion.fromReference(reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => ($AggregateMetric_CompanionType).hashCode; + @_$core.override + int get hashCode => ($AggregateMetric_Companion$Type).hashCode; - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetric_CompanionType) && - other is $AggregateMetric_CompanionType; + return other.runtimeType == ($AggregateMetric_Companion$Type) && + other is $AggregateMetric_Companion$Type; } } -/// from: androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromDouble -class AggregateMetric_Converter_FromDouble<$R extends jni.JObject> - extends jni.JObject { - @override - late final jni.JObjType> $type = - type(R); +/// from: `androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromDouble` +class AggregateMetric_Converter_FromDouble<$R extends _$jni.JObject> + extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType> $type; - final jni.JObjType<$R> R; + @_$jni.internal + final _$jni.JObjType<$R> R; + @_$jni.internal AggregateMetric_Converter_FromDouble.fromReference( this.R, - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type(R), + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble'); /// The type which includes information such as the signature of this class. - static $AggregateMetric_Converter_FromDoubleType<$R> - type<$R extends jni.JObject>( - jni.JObjType<$R> R, + static $AggregateMetric_Converter_FromDouble$Type<$R> + type<$R extends _$jni.JObject>( + _$jni.JObjType<$R> R, ) { - return $AggregateMetric_Converter_FromDoubleType( + return $AggregateMetric_Converter_FromDouble$Type( R, ); } + + /// Maps a specific port to the implemented interface. + static final _$core.Map _$impls = + {}; + static _$jni.JObjectPtr _$invoke( + int port, + _$jni.JObjectPtr descriptor, + _$jni.JObjectPtr args, + ) { + return _$invokeMethod( + port, + _$jni.MethodInvocation.fromAddresses( + 0, + descriptor.address, + args.address, + ), + ); + } + + static final _$jni.Pointer< + _$jni.NativeFunction< + _$jni.JObjectPtr Function( + _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> + _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + + static _$jni.Pointer<_$jni.Void> _$invokeMethod( + int $p, + _$jni.MethodInvocation $i, + ) { + try { + final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); + final $a = $i.args; + } catch (e) { + return _$jni.ProtectedJniExtensions.newDartException(e); + } + return _$jni.nullptr; + } + + static void implementIn<$R extends _$jni.JObject>( + _$jni.JImplementer implementer, + $AggregateMetric_Converter_FromDouble<$R> $impl, + ) { + late final _$jni.RawReceivePort $p; + $p = _$jni.RawReceivePort(($m) { + if ($m == null) { + _$impls.remove($p.sendPort.nativePort); + $p.close(); + return; + } + final $i = _$jni.MethodInvocation.fromMessage($m); + final $r = _$invokeMethod($p.sendPort.nativePort, $i); + _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + }); + implementer.add( + r'androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromDouble', + $p, + _$invokePointer, + [], + ); + final $a = $p.sendPort.nativePort; + _$impls[$a] = $impl; + } + + factory AggregateMetric_Converter_FromDouble.implement( + $AggregateMetric_Converter_FromDouble<$R> $impl, + ) { + final $i = _$jni.JImplementer(); + implementIn($i, $impl); + return AggregateMetric_Converter_FromDouble.fromReference( + $impl.R, + $i.implementReference(), + ); + } } -final class $AggregateMetric_Converter_FromDoubleType<$R extends jni.JObject> - extends jni.JObjType> { - final jni.JObjType<$R> R; +abstract base mixin class $AggregateMetric_Converter_FromDouble< + $R extends _$jni.JObject> { + factory $AggregateMetric_Converter_FromDouble({ + required _$jni.JObjType<$R> R, + }) = _$AggregateMetric_Converter_FromDouble; - const $AggregateMetric_Converter_FromDoubleType( + _$jni.JObjType<$R> get R; +} + +final class _$AggregateMetric_Converter_FromDouble<$R extends _$jni.JObject> + with $AggregateMetric_Converter_FromDouble<$R> { + _$AggregateMetric_Converter_FromDouble({ + required this.R, + }); + + @_$core.override + final _$jni.JObjType<$R> R; +} + +final class $AggregateMetric_Converter_FromDouble$Type<$R extends _$jni.JObject> + extends _$jni.JObjType> { + @_$jni.internal + final _$jni.JObjType<$R> R; + + @_$jni.internal + const $AggregateMetric_Converter_FromDouble$Type( this.R, ); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble;"; + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble;'; - @override + @_$jni.internal + @_$core.override AggregateMetric_Converter_FromDouble<$R> fromReference( - jni.JReference reference) => + _$jni.JReference reference) => AggregateMetric_Converter_FromDouble.fromReference(R, reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => Object.hash($AggregateMetric_Converter_FromDoubleType, R); + @_$core.override + int get hashCode => + Object.hash($AggregateMetric_Converter_FromDouble$Type, R); - @override + @_$core.override bool operator ==(Object other) { return other.runtimeType == - ($AggregateMetric_Converter_FromDoubleType<$R>) && - other is $AggregateMetric_Converter_FromDoubleType<$R> && + ($AggregateMetric_Converter_FromDouble$Type<$R>) && + other is $AggregateMetric_Converter_FromDouble$Type<$R> && R == other.R; } } -/// from: androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromLong -class AggregateMetric_Converter_FromLong<$R extends jni.JObject> - extends jni.JObject { - @override - late final jni.JObjType> $type = - type(R); +/// from: `androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromLong` +class AggregateMetric_Converter_FromLong<$R extends _$jni.JObject> + extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType> $type; - final jni.JObjType<$R> R; + @_$jni.internal + final _$jni.JObjType<$R> R; + @_$jni.internal AggregateMetric_Converter_FromLong.fromReference( this.R, - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type(R), + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong'); /// The type which includes information such as the signature of this class. - static $AggregateMetric_Converter_FromLongType<$R> - type<$R extends jni.JObject>( - jni.JObjType<$R> R, + static $AggregateMetric_Converter_FromLong$Type<$R> + type<$R extends _$jni.JObject>( + _$jni.JObjType<$R> R, ) { - return $AggregateMetric_Converter_FromLongType( + return $AggregateMetric_Converter_FromLong$Type( R, ); } + + /// Maps a specific port to the implemented interface. + static final _$core.Map _$impls = + {}; + static _$jni.JObjectPtr _$invoke( + int port, + _$jni.JObjectPtr descriptor, + _$jni.JObjectPtr args, + ) { + return _$invokeMethod( + port, + _$jni.MethodInvocation.fromAddresses( + 0, + descriptor.address, + args.address, + ), + ); + } + + static final _$jni.Pointer< + _$jni.NativeFunction< + _$jni.JObjectPtr Function( + _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> + _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + + static _$jni.Pointer<_$jni.Void> _$invokeMethod( + int $p, + _$jni.MethodInvocation $i, + ) { + try { + final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); + final $a = $i.args; + } catch (e) { + return _$jni.ProtectedJniExtensions.newDartException(e); + } + return _$jni.nullptr; + } + + static void implementIn<$R extends _$jni.JObject>( + _$jni.JImplementer implementer, + $AggregateMetric_Converter_FromLong<$R> $impl, + ) { + late final _$jni.RawReceivePort $p; + $p = _$jni.RawReceivePort(($m) { + if ($m == null) { + _$impls.remove($p.sendPort.nativePort); + $p.close(); + return; + } + final $i = _$jni.MethodInvocation.fromMessage($m); + final $r = _$invokeMethod($p.sendPort.nativePort, $i); + _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + }); + implementer.add( + r'androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromLong', + $p, + _$invokePointer, + [], + ); + final $a = $p.sendPort.nativePort; + _$impls[$a] = $impl; + } + + factory AggregateMetric_Converter_FromLong.implement( + $AggregateMetric_Converter_FromLong<$R> $impl, + ) { + final $i = _$jni.JImplementer(); + implementIn($i, $impl); + return AggregateMetric_Converter_FromLong.fromReference( + $impl.R, + $i.implementReference(), + ); + } +} + +abstract base mixin class $AggregateMetric_Converter_FromLong< + $R extends _$jni.JObject> { + factory $AggregateMetric_Converter_FromLong({ + required _$jni.JObjType<$R> R, + }) = _$AggregateMetric_Converter_FromLong; + + _$jni.JObjType<$R> get R; +} + +final class _$AggregateMetric_Converter_FromLong<$R extends _$jni.JObject> + with $AggregateMetric_Converter_FromLong<$R> { + _$AggregateMetric_Converter_FromLong({ + required this.R, + }); + + @_$core.override + final _$jni.JObjType<$R> R; } -final class $AggregateMetric_Converter_FromLongType<$R extends jni.JObject> - extends jni.JObjType> { - final jni.JObjType<$R> R; +final class $AggregateMetric_Converter_FromLong$Type<$R extends _$jni.JObject> + extends _$jni.JObjType> { + @_$jni.internal + final _$jni.JObjType<$R> R; - const $AggregateMetric_Converter_FromLongType( + @_$jni.internal + const $AggregateMetric_Converter_FromLong$Type( this.R, ); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong;"; + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong;'; - @override + @_$jni.internal + @_$core.override AggregateMetric_Converter_FromLong<$R> fromReference( - jni.JReference reference) => + _$jni.JReference reference) => AggregateMetric_Converter_FromLong.fromReference(R, reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => Object.hash($AggregateMetric_Converter_FromLongType, R); + @_$core.override + int get hashCode => Object.hash($AggregateMetric_Converter_FromLong$Type, R); - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetric_Converter_FromLongType<$R>) && - other is $AggregateMetric_Converter_FromLongType<$R> && + return other.runtimeType == + ($AggregateMetric_Converter_FromLong$Type<$R>) && + other is $AggregateMetric_Converter_FromLong$Type<$R> && R == other.R; } } -/// from: androidx.health.connect.client.aggregate.AggregateMetric$Converter -class AggregateMetric_Converter<$T extends jni.JObject, $R extends jni.JObject> - extends jni.JObject { - @override - late final jni.JObjType> $type = type(T, R); +/// from: `androidx.health.connect.client.aggregate.AggregateMetric$Converter` +class AggregateMetric_Converter<$T extends _$jni.JObject, + $R extends _$jni.JObject> extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType> $type; - final jni.JObjType<$T> T; - final jni.JObjType<$R> R; + @_$jni.internal + final _$jni.JObjType<$T> T; + @_$jni.internal + final _$jni.JObjType<$R> R; + + @_$jni.internal AggregateMetric_Converter.fromReference( this.T, this.R, - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type(T, R), + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/aggregate/AggregateMetric$Converter"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/aggregate/AggregateMetric$Converter'); /// The type which includes information such as the signature of this class. - static $AggregateMetric_ConverterType<$T, $R> - type<$T extends jni.JObject, $R extends jni.JObject>( - jni.JObjType<$T> T, - jni.JObjType<$R> R, + static $AggregateMetric_Converter$Type<$T, $R> + type<$T extends _$jni.JObject, $R extends _$jni.JObject>( + _$jni.JObjType<$T> T, + _$jni.JObjType<$R> R, ) { - return $AggregateMetric_ConverterType( + return $AggregateMetric_Converter$Type( T, R, ); } + + /// Maps a specific port to the implemented interface. + static final _$core.Map _$impls = {}; + static _$jni.JObjectPtr _$invoke( + int port, + _$jni.JObjectPtr descriptor, + _$jni.JObjectPtr args, + ) { + return _$invokeMethod( + port, + _$jni.MethodInvocation.fromAddresses( + 0, + descriptor.address, + args.address, + ), + ); + } + + static final _$jni.Pointer< + _$jni.NativeFunction< + _$jni.JObjectPtr Function( + _$jni.Int64, _$jni.JObjectPtr, _$jni.JObjectPtr)>> + _$invokePointer = _$jni.Pointer.fromFunction(_$invoke); + + static _$jni.Pointer<_$jni.Void> _$invokeMethod( + int $p, + _$jni.MethodInvocation $i, + ) { + try { + final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); + final $a = $i.args; + } catch (e) { + return _$jni.ProtectedJniExtensions.newDartException(e); + } + return _$jni.nullptr; + } + + static void implementIn<$T extends _$jni.JObject, $R extends _$jni.JObject>( + _$jni.JImplementer implementer, + $AggregateMetric_Converter<$T, $R> $impl, + ) { + late final _$jni.RawReceivePort $p; + $p = _$jni.RawReceivePort(($m) { + if ($m == null) { + _$impls.remove($p.sendPort.nativePort); + $p.close(); + return; + } + final $i = _$jni.MethodInvocation.fromMessage($m); + final $r = _$invokeMethod($p.sendPort.nativePort, $i); + _$jni.ProtectedJniExtensions.returnResult($i.result, $r); + }); + implementer.add( + r'androidx.health.connect.client.aggregate.AggregateMetric$Converter', + $p, + _$invokePointer, + [], + ); + final $a = $p.sendPort.nativePort; + _$impls[$a] = $impl; + } + + factory AggregateMetric_Converter.implement( + $AggregateMetric_Converter<$T, $R> $impl, + ) { + final $i = _$jni.JImplementer(); + implementIn($i, $impl); + return AggregateMetric_Converter.fromReference( + $impl.T, + $impl.R, + $i.implementReference(), + ); + } } -final class $AggregateMetric_ConverterType<$T extends jni.JObject, - $R extends jni.JObject> - extends jni.JObjType> { - final jni.JObjType<$T> T; - final jni.JObjType<$R> R; +abstract base mixin class $AggregateMetric_Converter<$T extends _$jni.JObject, + $R extends _$jni.JObject> { + factory $AggregateMetric_Converter({ + required _$jni.JObjType<$T> T, + required _$jni.JObjType<$R> R, + }) = _$AggregateMetric_Converter; + + _$jni.JObjType<$T> get T; + _$jni.JObjType<$R> get R; +} + +final class _$AggregateMetric_Converter<$T extends _$jni.JObject, + $R extends _$jni.JObject> with $AggregateMetric_Converter<$T, $R> { + _$AggregateMetric_Converter({ + required this.T, + required this.R, + }); + + @_$core.override + final _$jni.JObjType<$T> T; + + @_$core.override + final _$jni.JObjType<$R> R; +} + +final class $AggregateMetric_Converter$Type<$T extends _$jni.JObject, + $R extends _$jni.JObject> + extends _$jni.JObjType> { + @_$jni.internal + final _$jni.JObjType<$T> T; + + @_$jni.internal + final _$jni.JObjType<$R> R; - const $AggregateMetric_ConverterType( + @_$jni.internal + const $AggregateMetric_Converter$Type( this.T, this.R, ); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;"; + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;'; - @override - AggregateMetric_Converter<$T, $R> fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregateMetric_Converter<$T, $R> fromReference(_$jni.JReference reference) => AggregateMetric_Converter.fromReference(T, R, reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => Object.hash($AggregateMetric_ConverterType, T, R); + @_$core.override + int get hashCode => Object.hash($AggregateMetric_Converter$Type, T, R); - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetric_ConverterType<$T, $R>) && - other is $AggregateMetric_ConverterType<$T, $R> && + return other.runtimeType == ($AggregateMetric_Converter$Type<$T, $R>) && + other is $AggregateMetric_Converter$Type<$T, $R> && T == other.T && R == other.R; } } -/// from: androidx.health.connect.client.aggregate.AggregateMetric -class AggregateMetric<$T extends jni.JObject> extends jni.JObject { - @override - late final jni.JObjType> $type = type(T); +/// from: `androidx.health.connect.client.aggregate.AggregateMetric` +class AggregateMetric<$T extends _$jni.JObject> extends _$jni.JObject { + @_$jni.internal + @_$core.override + final _$jni.JObjType> $type; - final jni.JObjType<$T> T; + @_$jni.internal + final _$jni.JObjType<$T> T; + @_$jni.internal AggregateMetric.fromReference( this.T, - jni.JReference reference, - ) : super.fromReference(reference); + _$jni.JReference reference, + ) : $type = type(T), + super.fromReference(reference); - static final _class = jni.JClass.forName( - r"androidx/health/connect/client/aggregate/AggregateMetric"); + static final _class = _$jni.JClass.forName( + r'androidx/health/connect/client/aggregate/AggregateMetric'); /// The type which includes information such as the signature of this class. - static $AggregateMetricType<$T> type<$T extends jni.JObject>( - jni.JObjType<$T> T, + static $AggregateMetric$Type<$T> type<$T extends _$jni.JObject>( + _$jni.JObjType<$T> T, ) { - return $AggregateMetricType( + return $AggregateMetric$Type( T, ); } static final _id_Companion = _class.staticFieldId( - r"Companion", - r"Landroidx/health/connect/client/aggregate/AggregateMetric$Companion;", + r'Companion', + r'Landroidx/health/connect/client/aggregate/AggregateMetric$Companion;', ); - /// from: static public final androidx.health.connect.client.aggregate.AggregateMetric$Companion Companion + /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric_Companion get Companion => - _id_Companion.get(_class, const $AggregateMetric_CompanionType()); + _id_Companion.get(_class, const $AggregateMetric_Companion$Type()); - static final _id_new0 = _class.constructorId( - r"(Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;Ljava/lang/String;Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;Ljava/lang/String;)V", + static final _id_new$ = _class.constructorId( + r'(Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;Ljava/lang/String;Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;Ljava/lang/String;)V', ); - static final _new0 = ProtectedJniExtensions.lookup< - ffi.NativeFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.VarArgs< + static final _new$ = _$jni.ProtectedJniExtensions.lookup< + _$jni.NativeFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.VarArgs< ( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer - )>)>>("globalEnv_NewObject") - .asFunction< - jni.JniResult Function( - ffi.Pointer, - jni.JMethodIDPtr, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - /// from: public void (androidx.health.connect.client.aggregate.AggregateMetric$Converter converter, java.lang.String string, androidx.health.connect.client.aggregate.AggregateMetric$AggregationType aggregationType, java.lang.String string1) + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void> + )>)>>('globalEnv_NewObject') + .asFunction< + _$jni.JniResult Function( + _$jni.Pointer<_$jni.Void>, + _$jni.JMethodIDPtr, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>, + _$jni.Pointer<_$jni.Void>)>(); + + /// from: `public void (androidx.health.connect.client.aggregate.AggregateMetric$Converter converter, java.lang.String string, androidx.health.connect.client.aggregate.AggregateMetric$AggregationType aggregationType, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. factory AggregateMetric( - AggregateMetric_Converter converter, - jni.JString string, + AggregateMetric_Converter<_$jni.JObject, $T> converter, + _$jni.JString string, AggregateMetric_AggregationType aggregationType, - jni.JString string1, { - jni.JObjType<$T>? T, + _$jni.JString string1, { + _$jni.JObjType<$T>? T, }) { - T ??= jni.lowestCommonSuperType([ - (converter.$type as $AggregateMetric_ConverterType).R, - ]) as jni.JObjType<$T>; + T ??= _$jni.lowestCommonSuperType([ + (converter.$type as $AggregateMetric_Converter$Type).R, + ]) as _$jni.JObjType<$T>; return AggregateMetric.fromReference( T, - _new0( + _new$( _class.reference.pointer, - _id_new0 as jni.JMethodIDPtr, + _id_new$ as _$jni.JMethodIDPtr, converter.reference.pointer, string.reference.pointer, aggregationType.reference.pointer, @@ -24606,35 +25759,41 @@ class AggregateMetric<$T extends jni.JObject> extends jni.JObject { } } -final class $AggregateMetricType<$T extends jni.JObject> - extends jni.JObjType> { - final jni.JObjType<$T> T; +final class $AggregateMetric$Type<$T extends _$jni.JObject> + extends _$jni.JObjType> { + @_$jni.internal + final _$jni.JObjType<$T> T; - const $AggregateMetricType( + @_$jni.internal + const $AggregateMetric$Type( this.T, ); - @override + @_$jni.internal + @_$core.override String get signature => - r"Landroidx/health/connect/client/aggregate/AggregateMetric;"; + r'Landroidx/health/connect/client/aggregate/AggregateMetric;'; - @override - AggregateMetric<$T> fromReference(jni.JReference reference) => + @_$jni.internal + @_$core.override + AggregateMetric<$T> fromReference(_$jni.JReference reference) => AggregateMetric.fromReference(T, reference); - @override - jni.JObjType get superType => const jni.JObjectType(); + @_$jni.internal + @_$core.override + _$jni.JObjType get superType => const _$jni.JObjectType(); - @override + @_$jni.internal + @_$core.override final superCount = 1; - @override - int get hashCode => Object.hash($AggregateMetricType, T); + @_$core.override + int get hashCode => Object.hash($AggregateMetric$Type, T); - @override + @_$core.override bool operator ==(Object other) { - return other.runtimeType == ($AggregateMetricType<$T>) && - other is $AggregateMetricType<$T> && + return other.runtimeType == ($AggregateMetric$Type<$T>) && + other is $AggregateMetric$Type<$T> && T == other.T; } } diff --git a/experimental/pedometer/pubspec.yaml b/experimental/pedometer/pubspec.yaml index 466939435..9af6d1b85 100644 --- a/experimental/pedometer/pubspec.yaml +++ b/experimental/pedometer/pubspec.yaml @@ -4,21 +4,21 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: sdk: flutter plugin_platform_interface: ^2.1.8 - jni: ^0.11.0 + jni: ^0.12.0 ffi: ^2.1.2 dev_dependencies: ffigen: ^14.0.0 - jnigen: ^0.11.0 + jnigen: ^0.12.1 flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/experimental/varfont_shader_puzzle/pubspec.yaml b/experimental/varfont_shader_puzzle/pubspec.yaml index d9d956d54..1088eaf63 100644 --- a/experimental/varfont_shader_puzzle/pubspec.yaml +++ b/experimental/varfont_shader_puzzle/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/experimental/web_dashboard/pubspec.yaml b/experimental/web_dashboard/pubspec.yaml index d95c6b8b4..3a6df6f48 100644 --- a/experimental/web_dashboard/pubspec.yaml +++ b/experimental/web_dashboard/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: cloud_firestore: ^5.0.1 diff --git a/flutter_maps_firestore/pubspec.yaml b/flutter_maps_firestore/pubspec.yaml index 5a3e8ad52..42cbdec64 100644 --- a/flutter_maps_firestore/pubspec.yaml +++ b/flutter_maps_firestore/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/form_app/pubspec.yaml b/form_app/pubspec.yaml index 5589b3ef8..ce5df21e9 100644 --- a/form_app/pubspec.yaml +++ b/form_app/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/game_template/pubspec.yaml b/game_template/pubspec.yaml index 84ba04fff..6d4317c16 100644 --- a/game_template/pubspec.yaml +++ b/game_template/pubspec.yaml @@ -7,7 +7,7 @@ publish_to: 'none' version: 0.0.1+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: @@ -30,7 +30,7 @@ dependencies: in_app_purchase: ^3.0.1 # In-app purchases dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter_test: sdk: flutter flutter_launcher_icons: ^0.14.0 diff --git a/gemini_tasks/pubspec.yaml b/gemini_tasks/pubspec.yaml index fe2d2e699..649f8c9d0 100644 --- a/gemini_tasks/pubspec.yaml +++ b/gemini_tasks/pubspec.yaml @@ -3,7 +3,7 @@ description: "Sample app for the google_generative_ai package" publish_to: 'none' version: 1.0.0+1 environment: - sdk: '>=3.3.0 <4.0.0' + sdk: ^3.5.0 dependencies: flutter: @@ -15,7 +15,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true diff --git a/google_maps/pubspec.yaml b/google_maps/pubspec.yaml index 2bb7ad701..23420100f 100644 --- a/google_maps/pubspec.yaml +++ b/google_maps/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/infinite_list/pubspec.yaml b/infinite_list/pubspec.yaml index e8a41eef0..64d1f82ee 100644 --- a/infinite_list/pubspec.yaml +++ b/infinite_list/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/ios_app_clip/pubspec.yaml b/ios_app_clip/pubspec.yaml index ff99b0731..f3d820991 100644 --- a/ios_app_clip/pubspec.yaml +++ b/ios_app_clip/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/isolate_example/pubspec.yaml b/isolate_example/pubspec.yaml index aa370863c..f7a2e1a59 100644 --- a/isolate_example/pubspec.yaml +++ b/isolate_example/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/material_3_demo/lib/color_box.dart b/material_3_demo/lib/color_box.dart new file mode 100644 index 000000000..d76bd9a10 --- /dev/null +++ b/material_3_demo/lib/color_box.dart @@ -0,0 +1,97 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; + +class ColorBox extends StatefulWidget { + const ColorBox( + {super.key, + required this.label, + required this.tone, + required this.color, + required this.onColor, + required this.height, + required this.width, + this.displayPaletteInfo = false}); + + final String label; + final String tone; + final Color color, onColor; + final double height, width; + final bool displayPaletteInfo; + + @override + State createState() => _ColorBoxState(); +} + +class _ColorBoxState extends State { + bool hovered = false; + + @override + Widget build(BuildContext context) { + final fonts = Theme.of(context).textTheme; + return MouseRegion( + onEnter: (_) { + if (mounted) setState(() => hovered = true); + }, + onExit: (_) { + if (mounted) setState(() => hovered = false); + }, + child: Container( + color: widget.color, + height: widget.height, + width: widget.width, + child: DefaultTextStyle( + style: fonts.labelSmall!.copyWith(color: widget.onColor), + child: Stack( + children: [ + Positioned( + top: 10, + left: 10, + child: Text(widget.label), + ), + Positioned( + bottom: 10, + right: 10, + child: Text(widget.displayPaletteInfo ? widget.tone : ''), + ), + if (hovered) + Positioned( + top: 0, + right: 0, + child: IconButton( + padding: EdgeInsets.zero, + color: widget.onColor, + tooltip: 'Copy hex color', + icon: const Icon(Icons.copy, size: 24), + onPressed: () async { + final messenger = ScaffoldMessenger.of(context); + // Copy color as hex to clipboard + String hex = '#'; + final c = widget.color; + // Will change from int 0-255 to double 0.0-1.0 in 3.26+ + // The properties also change from red/green/blue to r/g/b + // hex += (c.[r g b] * 255.0).round().toRadixString(16).padLeft(2, '0'); + hex += c.red.toRadixString(16).padLeft(2, '0'); + hex += c.green.toRadixString(16).padLeft(2, '0'); + hex += c.blue.toRadixString(16).padLeft(2, '0'); + final data = ClipboardData(text: hex); + await Clipboard.setData(data); + messenger.hideCurrentSnackBar(); + messenger.showSnackBar( + SnackBar( + content: Text('Copied $hex to clipboard'), + ), + ); + }, + ), + ), + ], + ), + ), + ), + ); + } +} diff --git a/material_3_demo/lib/color_palettes_screen.dart b/material_3_demo/lib/color_palettes_screen.dart index a3462c454..56aca010c 100644 --- a/material_3_demo/lib/color_palettes_screen.dart +++ b/material_3_demo/lib/color_palettes_screen.dart @@ -4,6 +4,7 @@ import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; +import 'package:material_3_demo/scheme.dart'; import 'package:url_launcher/url_launcher.dart'; const Widget divider = SizedBox(height: 10); @@ -11,7 +12,7 @@ const Widget divider = SizedBox(height: 10); // If screen content width is greater or equal to this value, the light and dark // color schemes will be displayed in a column. Otherwise, they will // be displayed in a row. -const double narrowScreenWidthThreshold = 400; +const double narrowScreenWidthThreshold = 500; class ColorPalettesScreen extends StatelessWidget { const ColorPalettesScreen({super.key}); @@ -94,32 +95,32 @@ class ColorPalettesScreen extends StatelessWidget { ), ); } else { + Color seed = Theme.of(context).colorScheme.primary; + ColorScheme lightScheme = ColorScheme.fromSeed( + seedColor: seed, brightness: Brightness.light); + ColorScheme darkScheme = ColorScheme.fromSeed( + seedColor: seed, brightness: Brightness.dark); return SingleChildScrollView( child: Padding( - padding: const EdgeInsets.only(top: 5), + padding: const EdgeInsets.all(8), child: Column( children: [ - dynamicColorNotice(), - Row( - children: [ - Expanded( - child: Column( - children: [ - schemeLabel('Light ColorScheme'), - schemeView(lightTheme), - ], - ), - ), - Expanded( - child: Column( - children: [ - schemeLabel('Dark ColorScheme'), - schemeView(darkTheme), - ], - ), - ), - ], + SchemePreview( + label: "Light ColorScheme", + scheme: lightScheme, + brightness: Brightness.light, + contrast: 1.0, + colorMatch: false, ), + const SizedBox(height: 16), + SchemePreview( + label: "Dark ColorScheme", + scheme: darkScheme, + brightness: Brightness.dark, + contrast: 1.0, + colorMatch: false, + ), + const SizedBox(height: 16), ], ), ), diff --git a/material_3_demo/lib/component_screen.dart b/material_3_demo/lib/component_screen.dart index 685137c33..5d0bc3974 100644 --- a/material_3_demo/lib/component_screen.dart +++ b/material_3_demo/lib/component_screen.dart @@ -2506,7 +2506,7 @@ class _ComponentDecorationState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ Text(widget.label, - style: Theme.of(context).textTheme.titleSmall), + style: Theme.of(context).textTheme.titleMedium), Tooltip( message: widget.tooltipMessage, child: const Padding( diff --git a/material_3_demo/lib/scheme.dart b/material_3_demo/lib/scheme.dart new file mode 100644 index 000000000..f2ef72a33 --- /dev/null +++ b/material_3_demo/lib/scheme.dart @@ -0,0 +1,421 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +import '../color_box.dart'; + +class SchemePreview extends StatefulWidget { + const SchemePreview({ + super.key, + required this.label, + required this.scheme, + required this.brightness, + required this.colorMatch, + required this.contrast, + }); + + final String label; + final ColorScheme scheme; + final Brightness brightness; + final bool colorMatch; + final double contrast; + + @override + State createState() => _SchemePreviewState(); +} + +class _SchemePreviewState extends State { + @override + Widget build(BuildContext context) { + final theme = Theme.of(context); + final fonts = theme.textTheme; + final colors = theme.colorScheme; + final dark = widget.brightness == Brightness.dark; + + final scheme = widget.scheme; + + return Theme( + data: theme.copyWith(colorScheme: scheme), + child: FittedBox( + fit: BoxFit.fitWidth, + child: Container( + width: 902, + decoration: BoxDecoration( + color: scheme.surface, + borderRadius: BorderRadius.circular(12), + border: Border.all( + color: theme.brightness == widget.brightness + ? colors.outlineVariant + : Colors.transparent, + ), + ), + padding: const EdgeInsets.only( + top: 16, + left: 16, + right: 16, + ), + child: Column( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + children: [ + Expanded( + child: Text( + widget.label, + style: fonts.titleMedium!.copyWith( + color: scheme.onSurface, + fontWeight: FontWeight.bold, + ), + textAlign: TextAlign.start, + ), + ), + ], + ), + const SizedBox(height: 20), + Row( + mainAxisSize: MainAxisSize.min, + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Column( + mainAxisSize: MainAxisSize.min, + children: [ + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Column( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'Primary', + tone: dark ? 'P-80' : 'P-40', + color: scheme.primary, + onColor: scheme.onPrimary, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Primary', + tone: dark ? 'P-20' : 'P-100', + color: scheme.onPrimary, + onColor: scheme.primary, + height: 40, + width: 208, + ), + const SizedBox(height: 5), + ColorBox( + label: 'Primary Container', + tone: dark ? 'P-30' : 'P-90', + color: scheme.primaryContainer, + onColor: scheme.onPrimaryContainer, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Primary Container', + tone: dark ? 'P-90' : 'P-10', + color: scheme.onPrimaryContainer, + onColor: scheme.primaryContainer, + height: 40, + width: 208, + ), + ], + ), + const SizedBox(width: 5), + Column( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'Secondary', + tone: dark ? 'S-80' : 'S-40', + color: scheme.secondary, + onColor: scheme.onSecondary, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Secondary', + tone: dark ? 'S-20' : 'S-100', + color: scheme.onSecondary, + onColor: scheme.secondary, + height: 40, + width: 208, + ), + const SizedBox(height: 5), + ColorBox( + label: 'Secondary Container', + tone: dark ? 'S-30' : 'S-90', + color: scheme.secondaryContainer, + onColor: scheme.onSecondaryContainer, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Secondary Container', + tone: dark ? 'S-90' : 'S-10', + color: scheme.onSecondaryContainer, + onColor: scheme.secondaryContainer, + height: 40, + width: 208, + ), + ], + ), + const SizedBox(width: 5), + Column( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'Tertiary', + tone: dark ? 'T-80' : 'T-40', + color: scheme.tertiary, + onColor: scheme.onTertiary, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Tertiary', + tone: dark ? 'T-20' : 'T-100', + color: scheme.onTertiary, + onColor: scheme.tertiary, + height: 40, + width: 208, + ), + const SizedBox(height: 5), + ColorBox( + label: 'Tertiary Container', + tone: dark ? 'T-30' : 'T-90', + color: scheme.tertiaryContainer, + onColor: scheme.onTertiaryContainer, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Tertiary Container', + tone: dark ? 'T-90' : 'T-10', + color: scheme.onTertiaryContainer, + onColor: scheme.tertiaryContainer, + height: 40, + width: 208, + ), + ], + ), + ], + ), + const SizedBox(height: 20), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'Surface Dim', + tone: dark ? 'N-6' : 'N-87', + color: scheme.surfaceDim, + onColor: scheme.onSurface, + height: 105, + width: 211.45, + ), + ColorBox( + label: 'Surface', + tone: dark ? 'N-6' : 'N-98', + color: scheme.surface, + onColor: scheme.onSurface, + height: 105, + width: 211.45, + ), + ColorBox( + label: 'Surface Bright', + tone: dark ? 'N-24' : 'N-98', + color: scheme.surfaceBright, + onColor: scheme.onSurface, + height: 105, + width: 211.45, + ), + ], + ), + const SizedBox(height: 5), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'Surf. Container\nLowest', + tone: dark ? 'N-4' : 'N-100', + color: scheme.surfaceContainerLowest, + onColor: scheme.onSurface, + height: 105, + width: 126.87, + ), + ColorBox( + label: 'Surf. Container\nLow', + tone: dark ? 'N-10' : 'N-96', + color: scheme.surfaceContainerLow, + onColor: scheme.onSurface, + height: 105, + width: 126.87, + ), + ColorBox( + label: 'Surf. Container', + tone: dark ? 'N-12' : 'N-94', + color: scheme.surfaceContainer, + onColor: scheme.onSurface, + height: 105, + width: 126.87, + ), + ColorBox( + label: 'Surf. Container\nHigh', + tone: dark ? 'N-17' : 'N-92', + color: scheme.surfaceContainerHigh, + onColor: scheme.onSurface, + height: 105, + width: 126.87, + ), + ColorBox( + label: 'Surf. Container\nHighest', + tone: dark ? 'N-24' : 'N-90', + color: scheme.surfaceContainerHighest, + onColor: scheme.onSurface, + height: 105, + width: 126.87, + ), + ], + ), + const SizedBox(height: 5), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'On Surface', + tone: dark ? 'N-90' : 'N-10', + color: scheme.onSurface, + onColor: scheme.surface, + height: 40, + width: 158.59, + ), + ColorBox( + label: 'On Surface Var.', + tone: dark ? 'NV-90' : 'NV-30', + color: scheme.onSurfaceVariant, + onColor: scheme.surfaceContainerHighest, + height: 40, + width: 158.59, + ), + ColorBox( + label: 'Outline', + tone: dark ? 'NV-60' : 'NV-50', + color: scheme.outline, + onColor: scheme.surface, + height: 40, + width: 158.59, + ), + ColorBox( + label: 'Outline Variant', + tone: dark ? 'NV-30' : 'NV-80', + color: scheme.outlineVariant, + onColor: scheme.onSurface, + height: 40, + width: 158.59, + ), + ], + ), + ], + ), + const SizedBox(width: 20), + Column( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'Error', + tone: dark ? 'E-80' : 'E-40', + color: scheme.error, + onColor: scheme.onError, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Error', + tone: dark ? 'E-20' : 'E-100', + color: scheme.onError, + onColor: scheme.error, + height: 40, + width: 208, + ), + const SizedBox(height: 5), + ColorBox( + label: 'Error Container', + tone: dark ? 'E-30' : 'E-90', + color: scheme.errorContainer, + onColor: scheme.onErrorContainer, + height: 87, + width: 208, + ), + ColorBox( + label: 'On Error Container', + tone: dark ? 'E-90' : 'E-10', + color: scheme.onErrorContainer, + onColor: scheme.errorContainer, + height: 40, + width: 208, + ), + const SizedBox(height: 20), + ColorBox( + label: 'Inverse Surface', + tone: dark ? 'N-90' : 'N-20', + color: scheme.inverseSurface, + onColor: scheme.onInverseSurface, + height: 120, + width: 208, + ), + ColorBox( + label: 'Inverse On Surface', + tone: dark ? 'N-20' : 'N-95', + color: scheme.onInverseSurface, + onColor: scheme.inverseSurface, + height: 40, + width: 208, + ), + const SizedBox(height: 5), + ColorBox( + label: 'Inverse Primary', + tone: dark ? 'P-40' : 'P-80', + color: scheme.inversePrimary, + onColor: scheme.onSurface, + height: 40, + width: 208, + ), + const SizedBox(height: 16), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + ColorBox( + label: 'Scrim', + tone: 'N-0', + color: scheme.scrim, + onColor: Colors.white, + height: 40, + width: 96.31, + ), + const SizedBox(width: 20), + ColorBox( + label: 'Shadow', + tone: 'N-0', + color: scheme.shadow, + onColor: Colors.white, + height: 40, + width: 96.31, + ), + ], + ), + const SizedBox(height: 8), + ], + ), + ], + ), + ], + ), + ), + ), + ); + } +} diff --git a/material_3_demo/lib/typography_screen.dart b/material_3_demo/lib/typography_screen.dart index 6950e9575..08888115b 100644 --- a/material_3_demo/lib/typography_screen.dart +++ b/material_3_demo/lib/typography_screen.dart @@ -15,7 +15,7 @@ class TypographyScreen extends StatelessWidget { return Expanded( child: ListView( children: [ - const SizedBox(height: 7), + const SizedBox(height: 8), TextStyleExample( name: 'Display Large', style: textTheme.displayLarge!), TextStyleExample( diff --git a/material_3_demo/pubspec.yaml b/material_3_demo/pubspec.yaml index c207dd138..2df0a17d3 100644 --- a/material_3_demo/pubspec.yaml +++ b/material_3_demo/pubspec.yaml @@ -8,7 +8,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.3.0 + sdk: ^3.5.0 flutter: ^3.19.0 dependencies: diff --git a/material_3_demo/test/color_screen_test.dart b/material_3_demo/test/color_screen_test.dart index 6282bf798..45d8e41eb 100644 --- a/material_3_demo/test/color_screen_test.dart +++ b/material_3_demo/test/color_screen_test.dart @@ -6,6 +6,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:material_3_demo/color_palettes_screen.dart'; import 'package:material_3_demo/main.dart'; +import 'package:material_3_demo/scheme.dart'; import 'component_screen_test.dart'; @@ -69,6 +70,6 @@ void main() { )); expect(find.text('Light ColorScheme'), findsOneWidget); expect(find.text('Dark ColorScheme'), findsOneWidget); - expect(find.byType(ColorGroup, skipOffstage: false), findsNWidgets(18)); + expect(find.byType(SchemePreview, skipOffstage: false), findsNWidgets(2)); }); } diff --git a/navigation_and_routing/pubspec.yaml b/navigation_and_routing/pubspec.yaml index 9999e367c..dfc3ccef8 100644 --- a/navigation_and_routing/pubspec.yaml +++ b/navigation_and_routing/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: adaptive_navigation: ^0.0.3 diff --git a/place_tracker/pubspec.yaml b/place_tracker/pubspec.yaml index b3e7fbad6..1d2148f8a 100644 --- a/place_tracker/pubspec.yaml +++ b/place_tracker/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/platform_channels/pubspec.yaml b/platform_channels/pubspec.yaml index 9f12d5578..bd4dcb625 100644 --- a/platform_channels/pubspec.yaml +++ b/platform_channels/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/platform_design/pubspec.yaml b/platform_design/pubspec.yaml index cd817c094..da7d3ddd1 100644 --- a/platform_design/pubspec.yaml +++ b/platform_design/pubspec.yaml @@ -3,7 +3,7 @@ description: A project showcasing a Flutter app following different platform IA version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: english_words: ^4.0.0 diff --git a/platform_view_swift/pubspec.yaml b/platform_view_swift/pubspec.yaml index 51f368be6..ddded240e 100644 --- a/platform_view_swift/pubspec.yaml +++ b/platform_view_swift/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/provider_counter/pubspec.yaml b/provider_counter/pubspec.yaml index d68c61e53..d641cab8f 100644 --- a/provider_counter/pubspec.yaml +++ b/provider_counter/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/provider_shopper/pubspec.yaml b/provider_shopper/pubspec.yaml index 2cfd7731f..ea9216f93 100644 --- a/provider_shopper/pubspec.yaml +++ b/provider_shopper/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/simple_shader/pubspec.yaml b/simple_shader/pubspec.yaml index d97d6ba21..bc37ede56 100644 --- a/simple_shader/pubspec.yaml +++ b/simple_shader/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/simplistic_calculator/pubspec.yaml b/simplistic_calculator/pubspec.yaml index f72a00676..7c1889f6d 100644 --- a/simplistic_calculator/pubspec.yaml +++ b/simplistic_calculator/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: auto_size_text: ^3.0.0 diff --git a/simplistic_editor/pubspec.yaml b/simplistic_editor/pubspec.yaml index 32b24a9a3..2e255021c 100644 --- a/simplistic_editor/pubspec.yaml +++ b/simplistic_editor/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/testing_app/pubspec.yaml b/testing_app/pubspec.yaml index b062ff386..ecfb505c8 100644 --- a/testing_app/pubspec.yaml +++ b/testing_app/pubspec.yaml @@ -4,7 +4,7 @@ description: A sample that shows testing in Flutter. version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/tool/flutter_ci_script_beta.sh b/tool/flutter_ci_script_beta.sh index 3ff79879f..7c3b33d8a 100755 --- a/tool/flutter_ci_script_beta.sh +++ b/tool/flutter_ci_script_beta.sh @@ -23,6 +23,9 @@ declare -ar PROJECT_NAMES=( "code_sharing/client" "code_sharing/server" "code_sharing/shared" +# @ewindmill: withOpacity is deprecated +# "compass_app/app" +# "compass_app/server" "context_menus" "deeplink_store_example" "desktop_photo_search/fluent_ui" @@ -34,10 +37,12 @@ declare -ar PROJECT_NAMES=( "experimental/federated_plugin/federated_plugin_platform_interface" "experimental/federated_plugin/federated_plugin_web" "experimental/federated_plugin/federated_plugin_windows" - "experimental/pedometer" + # TODO(domesticmouse): Angle brackets will be interpreted as HTML. + # "experimental/pedometer" "experimental/pedometer/example" "experimental/varfont_shader_puzzle" - "experimental/web_dashboard" + # TODO(ewindmill): whereNotNull deprecated in dart:collection + # "experimental/web_dashboard" "flutter_maps_firestore" "form_app" "game_template" @@ -46,7 +51,8 @@ declare -ar PROJECT_NAMES=( "infinite_list" "ios_app_clip" "isolate_example" - "material_3_demo" + # TODO(ewindmill): Color.red is deprecated and should be Color.r (same for green and blue) + # "material_3_demo" "navigation_and_routing" "place_tracker" "platform_channels" diff --git a/tool/flutter_ci_script_master.sh b/tool/flutter_ci_script_master.sh index ccaf11d57..7abc49091 100755 --- a/tool/flutter_ci_script_master.sh +++ b/tool/flutter_ci_script_master.sh @@ -23,6 +23,9 @@ declare -ar PROJECT_NAMES=( "code_sharing/client" "code_sharing/server" "code_sharing/shared" +# @ewindmill: withOpacity is deprecated +# "compass_app/app" +# "compass_app/server" "context_menus" "deeplink_store_example" "desktop_photo_search/fluent_ui" @@ -34,20 +37,23 @@ declare -ar PROJECT_NAMES=( "experimental/federated_plugin/federated_plugin_platform_interface" "experimental/federated_plugin/federated_plugin_web" "experimental/federated_plugin/federated_plugin_windows" - "experimental/pedometer" + # TODO(domesticmouse): Angle brackets will be interpreted as HTML. + # "experimental/pedometer" "experimental/pedometer/example" "experimental/varfont_shader_puzzle" -# TODO ewindmill -- whereNotNull deprecated in dart:collection -# "experimental/web_dashboard" + # TODO(ewindmill): whereNotNull deprecated in dart:collection + # "experimental/web_dashboard" "flutter_maps_firestore" "form_app" "game_template" "gemini_tasks" "google_maps" "infinite_list" - "ios_app_clip" + # TODO(domesticmouse): The import of 'package:flutter/material.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/cupertino.dart'. + # "ios_app_clip" "isolate_example" - "material_3_demo" + # TODO(ewindmill): Color.red is deprecated and should be Color.r (same for green and blue) + # "material_3_demo" "navigation_and_routing" "place_tracker" "platform_channels" diff --git a/tool/flutter_ci_script_stable.sh b/tool/flutter_ci_script_stable.sh index 8eb245196..b1171a4d4 100755 --- a/tool/flutter_ci_script_stable.sh +++ b/tool/flutter_ci_script_stable.sh @@ -23,6 +23,8 @@ declare -ar PROJECT_NAMES=( "code_sharing/client" "code_sharing/server" "code_sharing/shared" + "compass_app/app" + "compass_app/server" "context_menus" "deeplink_store_example" "desktop_photo_search/fluent_ui" diff --git a/veggieseasons/pubspec.yaml b/veggieseasons/pubspec.yaml index 35b83357e..06589a2d3 100644 --- a/veggieseasons/pubspec.yaml +++ b/veggieseasons/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.2.0 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/web/_packages/web_startup_analyzer/example/pubspec.yaml b/web/_packages/web_startup_analyzer/example/pubspec.yaml index 9f8459ae3..049c8d561 100644 --- a/web/_packages/web_startup_analyzer/example/pubspec.yaml +++ b/web/_packages/web_startup_analyzer/example/pubspec.yaml @@ -3,7 +3,7 @@ description: "flutter_web_startup_analyzer example" publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 flutter: ^3.16.0 dependencies: flutter: @@ -14,6 +14,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true diff --git a/web/_packages/web_startup_analyzer/pubspec.yaml b/web/_packages/web_startup_analyzer/pubspec.yaml index 4c4d5a9ff..4e00789d9 100644 --- a/web/_packages/web_startup_analyzer/pubspec.yaml +++ b/web/_packages/web_startup_analyzer/pubspec.yaml @@ -3,7 +3,7 @@ description: "Captures web startup timing data in a Flutter web app" version: 0.1.0-wip environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 flutter: ^3.16.0 dependencies: @@ -13,7 +13,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: assets: - lib/web_startup_analyzer.js diff --git a/web/_tool/fix_base_tags.dart b/web/_tool/fix_base_tags.dart index 0331bed0f..7c6f066ad 100644 --- a/web/_tool/fix_base_tags.dart +++ b/web/_tool/fix_base_tags.dart @@ -10,7 +10,7 @@ Future main() async { /// /// For example, after building using `build_ci.dart, /// `../samples_index/public/web/navigation_and_routing/index.html` should -/// contain ` +/// contain `` Future fixBaseTags() async { print('currentDir = ${Directory.current.path}'); var builtSamplesDir = Directory(p.joinAll([ diff --git a/web/_tool/pubspec.yaml b/web/_tool/pubspec.yaml index 33dd4f2c6..eaf56590e 100644 --- a/web/_tool/pubspec.yaml +++ b/web/_tool/pubspec.yaml @@ -2,11 +2,11 @@ name: tool publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: markdown: ^7.0.0 path: ^1.8.0 dev_dependencies: - lints: ^4.0.0 + lints: ^5.0.0 diff --git a/web/samples_index/analysis_options.yaml b/web/samples_index/analysis_options.yaml index 298a50d3e..55e017eec 100644 --- a/web/samples_index/analysis_options.yaml +++ b/web/samples_index/analysis_options.yaml @@ -15,7 +15,6 @@ linter: cancel_subscriptions: true close_sinks: true directives_ordering: true - package_api_docs: true package_prefixed_library_names: true prefer_final_in_for_each: true prefer_single_quotes: true diff --git a/web/samples_index/lib/src/samples.yaml b/web/samples_index/lib/src/samples.yaml index 4ed54aab1..baf533b2c 100644 --- a/web/samples_index/lib/src/samples.yaml +++ b/web/samples_index/lib/src/samples.yaml @@ -52,92 +52,6 @@ samples: type: demo web: web/simplistic_editor - - name: Gallery - author: Flutter - screenshots: - - url: images/gallery1.png - alt: Gallery app screenshot - - url: images/gallery2.png - alt: Rally app screenshot - - url: images/gallery3.png - alt: Fortnightly app screenshot - - url: images/gallery4.png - alt: Crane app screenshot - - url: images/gallery5.png - alt: Shrine app screenshot - source: https://github.com/flutter/gallery - web: https://flutter-gallery-archive.web.app - description: > - A collection of Material Design & Cupertino widgets, behaviors, - and vignettes implemented with Flutter. - difficulty: intermediate - widgets: - - AlertDialog - - AppBar - - BottomAppBar - - BottomNavigationBar - - BottomSheet - - Card - - Checkbox - - ChoiceChip - - CircularProgressIndicator - - Container - - CupertinoActivityIndicator - - CupertinoAlertDialog - - CupertinoButton - - CupertinoButton - - CupertinoDatePicker - - CupertinoDialogAction - - CupertinoNavigationBar - - CupertinoPageScaffold - - CupertinoSegmentedControl - - CupertinoSlider - - CupertinoSlidingSegmentedControl - - CupertinoSliverRefreshControl - - CupertinoSwitch - - CupertinoTabView - - CupertinoTextField - - CupertinoTheme - - DayPicker - - FilterChip - - FlatButton - - FloatingActionButton - - GridTile - - GridView - - Icon - - InputChip - - LayoutBuilder - - LinearProgressIndicator - - ListTile - - ListView - - MaterialBanner - - MonthPicker - - PaginatedDataTable - - PopupMenuButton - - PopupMenuItem - - Radio - - RaisedButton - - RangeSlider - - Scaffold - - SimpleDialog - - Slider - - SnackBar - - Switch - - TabBar - - TabBarView - - TextField - - TextFormField - - Tooltip - - YearPicker - packages: - - flutter/material - - flutter/cupertino - - google_fonts - - scoped_model - tags: ['intermediate', 'sample', 'gallery', 'material', 'design', 'vignettes'] - platforms: ['web', 'ios', 'android'] - type: demo - - name: Web Embedding author: Flutter and Angular screenshots: diff --git a/web/samples_index/pubspec.yaml b/web/samples_index/pubspec.yaml index 912453b81..f80252203 100644 --- a/web/samples_index/pubspec.yaml +++ b/web/samples_index/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: checked_yaml: ^2.0.3 @@ -22,7 +22,7 @@ dev_dependencies: grinder: ^0.9.4 image: ^4.1.3 json_serializable: ^6.6.2 - lints: ^4.0.0 + lints: ^5.0.0 test: ^1.24.2 # package:mdc_web needs to upgrade the version of material-components-web 12.0.0 diff --git a/web_embedding/element_embedding_demo/pubspec.yaml b/web_embedding/element_embedding_demo/pubspec.yaml index f35e99415..df2b65325 100644 --- a/web_embedding/element_embedding_demo/pubspec.yaml +++ b/web_embedding/element_embedding_demo/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.4.0-0 + sdk: ^3.5.0 dependencies: flutter: @@ -13,7 +13,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true diff --git a/web_embedding/ng-flutter/flutter/analysis_options.yaml b/web_embedding/ng-flutter/flutter/analysis_options.yaml index eacfc78ad..2b76d1763 100644 --- a/web_embedding/ng-flutter/flutter/analysis_options.yaml +++ b/web_embedding/ng-flutter/flutter/analysis_options.yaml @@ -13,7 +13,6 @@ linter: - cancel_subscriptions - close_sinks - directives_ordering - - package_api_docs - package_prefixed_library_names - test_types_in_equals - throw_in_finally diff --git a/web_embedding/ng-flutter/flutter/pubspec.yaml b/web_embedding/ng-flutter/flutter/pubspec.yaml index e3110161d..4ac7d725c 100644 --- a/web_embedding/ng-flutter/flutter/pubspec.yaml +++ b/web_embedding/ng-flutter/flutter/pubspec.yaml @@ -4,8 +4,8 @@ publish_to: none version: 1.0.0 environment: - sdk: ^3.4.0-0 - flutter: ">=3.22.0-0" + sdk: ^3.5.0 + flutter: ">=3.22.0" dependencies: flutter: @@ -15,7 +15,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true diff --git a/web_embedding/ng-flutter/package.json b/web_embedding/ng-flutter/package.json index 0b2fcb43f..eaf1aff5b 100644 --- a/web_embedding/ng-flutter/package.json +++ b/web_embedding/ng-flutter/package.json @@ -30,7 +30,7 @@ "@angular/cli": "~18.2.0", "@angular/compiler-cli": "^18.0.1", "@types/jasmine": "~5.1.0", - "jasmine-core": "~5.3.0", + "jasmine-core": "~5.4.0", "karma": "~6.4.2", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0",