chunk 2: remaining non-audio non-NewImport assets

This commit is contained in:
2026-04-06 11:25:19 +03:00
parent 0d11a097d8
commit ed675b9f4a
3742 changed files with 1640416 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
namespace Google.Play.Common.Internal
{
/// <summary>
/// Android API constants. Also includes some Java class, method, and field names for use by
/// <a href="https://docs.unity3d.com/ScriptReference/AndroidJavaObject.html">AndroidJavaObject</a>.
/// </summary>
public static class AndroidConstants
{
public const string GooglePlayServicesPackageName = "com.google.android.gms";
public const string GooglePlayStorePackageName = "com.android.vending";
public const string ActivityMethodGetIntent = "getIntent";
public const string ActivityMethodStartActivityForResult = "startActivityForResult";
public const string BundleClass = "android.os.Bundle";
public const string BundleMethodGetBoolean = "getBoolean";
public const string BundleMethodGetByteArray = "getByteArray";
public const string BundleMethodGetInt = "getInt";
public const string BundleMethodPutByteArray = "putByteArray";
public const string BundleMethodPutInt = "putInt";
public const string ContentResolverMethodCall = "call";
public const string ContextMethodGetContentResolver = "getContentResolver";
public const string ContextMethodGetPackageManager = "getPackageManager";
public const string IntentActionMain = "android.intent.action.MAIN";
public const string IntentActionView = "android.intent.action.VIEW";
public const string IntentCategoryDefault = "android.intent.category.DEFAULT";
public const string IntentCategoryLauncher = "android.intent.category.LAUNCHER";
public const string IntentClass = "android.content.Intent";
public const string IntentMethodAddCategory = "addCategory";
public const string IntentMethodGetStringExtra = "getStringExtra";
public const string IntentMethodPutExtra = "putExtra";
public const string IntentMethodSetData = "setData";
public const string IntentMethodSetPackage = "setPackage";
public const string ObjectMethodGetClass = "getClass";
public const string PackageInfoFieldSignatures = "signatures";
public const int PackageManagerFieldGetSignatures = 64;
public const string PackageManagerMethodGetPackageInfo = "getPackageInfo";
public const string PackageManagerMethodResolveActivity = "resolveActivity";
public const string PackageManagerMethodResolveContentProvider = "resolveContentProvider";
public const string ProcessClass = "android.os.Process";
public const string ProcessMethodMyUid = "myUid";
public const string ProviderInfoFieldPackageName = "packageName";
public const string SignatureMethodToByteArray = "toByteArray";
public const string UriClass = "android.net.Uri";
public const string UriMethodParse = "parse";
public const string UriBuilderClass = "android.net.Uri$Builder";
public const string UriBuilderMethodAppendQueryParameter = "appendQueryParameter";
public const string UriBuilderMethodAuthority = "authority";
public const string UriBuilderMethodBuild = "build";
public const string UriBuilderMethodScheme = "scheme";
}
}

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: c40261b45b4a848379e77043c231bf64
timeCreated: 1540331105
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,60 @@
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System;
namespace Google.Play.Common.Internal
{
/// <summary>
/// Provides implementation for <see cref="PlayAsyncOperation{TResult,TError}"/>.
/// </summary>
public abstract class PlayAsyncOperationImpl<TResult, TError> : PlayAsyncOperation<TResult, TError>
{
private TResult _result;
public override event Action<PlayAsyncOperation<TResult, TError>> Completed
{
add
{
if (IsDone)
{
value.Invoke(this);
return;
}
base.Completed += value;
}
remove { base.Completed -= value; }
}
public void SetResult(TResult result)
{
_result = result;
IsDone = true;
InvokeCompletedEvent();
}
public void SetError(TError errorCode)
{
Error = errorCode;
IsDone = true;
InvokeCompletedEvent();
}
protected override TResult GetResultImpl()
{
return _result;
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ef4e6ba1afbc4eeca3d1a96d7c115e52
timeCreated: 1566434163