Space Ad Mobile 9.5.1
Space Ad Mobile makes ads easy to add into your mobile game: one unified workflow for LevelPlay, AdMob, Yandex.Ads across banners, interstitials and rewarded.
Loading...
Searching...
No Matches
update_yandex_sdk Namespace Reference

Classes

class  UpdateError
class  UserCancelled
class  EscapeCancelled
class  EditorOperationError
class  EditorOperationCancelled
class  EditorOperationInterrupted
class  EditorBridge

Functions

Path get_downloads_directory ()
Path find_assets_directory (Path script_directory)
None validate_script_directory (Path script_directory)
tuple[int,...] version_key (str version)
tuple[str, list[Path], list[str]] discover_packages (Path downloads_directory)
Path metadata_path (Path asset_path)
bool path_exists (Path path)
None check_escape ()
bool read_console_enter_pressed ()
str read_console_input (str message)
None ask_to_continue (str message)
None atomic_write_json (Path path, dict[str, object] content)
dict[str, object]|None read_json (Path path)
Iterator[None] exclusive_session (Path lock_path)
Iterator[bool] focus_unity_editor (str project_name)
Iterator[bool] focus_unity_editor_windows (str project_name)
Iterator[bool] activate_unity_windows_macos (str project_name)
str|None run_xdotool (*str arguments)
Iterator[bool] activate_unity_windows_linux (str project_name)
None verify_recovery (EditorBridge bridge, Path local_asset, Path root_asset)
str unity_asset_path (Path path)
None run_update (EditorBridge bridge, Path script_directory, Path assets_directory)
None claim_controller_startup_attempt ()
Iterator[None] active_update_session (Path directory)
int main ()

Variables

str ASSETS_DIRECTORY = "Assets"
str TARGET_DIRECTORY = "YandexMobileAds"
str PRESERVED_DIRECTORY = "AdRevenue"
str PACKAGE_EXTENSION = ".unitypackage"
str YANDEX_MOBILE_ADS_PACKAGE_PREFIX = "yandex-mobileads-"
str MEDIATION_ADAPTER_PACKAGE_PREFIX = "mobileads-"
str XDG_CONFIG_HOME_ENVIRONMENT_VARIABLE = "XDG_CONFIG_HOME"
str XDG_DOWNLOAD_DIR_ENVIRONMENT_VARIABLE = "XDG_DOWNLOAD_DIR"
str XDG_USER_DIRECTORIES_FILENAME = "user-dirs.dirs"
str BRIDGE_DIRECTORY = "YandexSdkUpdater"
str REQUEST_FILENAME = "request.json"
str RESULT_FILENAME = "result.json"
str RECOVERY_FILENAME = "recovery.json"
str LOCK_FILENAME = "session.lock"
str ACTIVE_SESSION_FILENAME = "active-session.json"
str STARTUP_ATTEMPT_ENVIRONMENT_VARIABLE = "YANDEX_SDK_UPDATER_STARTUP_ATTEMPT"
str MANUAL_IMPORT_COMPLETION_FIELD = "ManualImportCompletionConfirmed"
 CORE_PACKAGE_PATTERN
 CANCEL_COMMANDS = frozenset({"q", "quit", "n", "no", "cancel"})
float POLL_INTERVAL_SECONDS = 0.35
int EDITOR_RESPONSE_TIMEOUT_SECONDS = 60
int EDITOR_BUSY_RETRY_SECONDS = 60
str EDITOR_NOT_READY_ERROR = "The editor reported an error: The editor is not ready to process the request."
int EDITOR_WAIT_WARNING_SECONDS = 30
int EDITOR_STATUS_INTERVAL_SECONDS = 10
float UNITY_BACKGROUND_RESPONSE_GRACE_SECONDS = 3.0
float UNITY_FOCUS_DELAY_SECONDS = 0.65
float UNITY_FOCUS_VERIFY_TIMEOUT_SECONDS = 1.0
float UNITY_FOCUS_VERIFY_INTERVAL_SECONDS = 0.05
int WINDOW_RESTORE_COMMAND = 9
int UNITY_FOCUS_MAX_WINDOWS = 16
str ESCAPE_KEY = "\x1b"
 flush
int exit_code = 1
bool escape_requested = False

Detailed Description

Coordinate package imports with the active Unity Editor instance.