C# Class GooglePlayServices.ResolverVer1_1

Inheritance: DefaultResolver
Datei anzeigen Open project: googlesamples/unity-jar-resolver Class Usage Examples

Public Methods

Method Description
DoResolution ( PlayServicesSupport svcSupport, string destinationDirectory, PlayServicesSupport handleOverwriteConfirmation ) : void
DoResolution ( PlayServicesSupport svcSupport, string destinationDirectory, PlayServicesSupport handleOverwriteConfirmation, System resolutionComplete ) : void

Perform the resolution and the exploding/cleanup as needed.

OnBundleId ( string bundleId ) : string[]

Called during Update to allow the resolver to check the bundle ID of the application to see whether resolution should be triggered again.

Version ( ) : int

Version of the resolver. - 1.1.0

The resolver with the greatest version is used when resolving. The value of the verison is calcuated using MakeVersion in DefaultResolver

Private Methods

Method Description
CollectionToArray ( ICollection enumerator ) : string[]

Generate an array from a string collection.

DoResolutionNoAndroidPackageChecks ( PlayServicesSupport svcSupport, string destinationDirectory, PlayServicesSupport handleOverwriteConfirmation ) : void

Perform resolution with no Android package dependency checks.

FindAndroidSdkTool ( PlayServicesSupport svcSupport, string toolName ) : string

Find a tool in the Android SDK.

GetAvailablePackages ( string androidTool, PlayServicesSupport svcSupport, GetAvailablePackagesComplete complete ) : void

Get the set of available SDK packages and whether they're installed.

LoadAarExplodeCache ( ) : void

Load data cached in aarExplodeDataFile into aarExplodeData.

ProcessAars ( string dir ) : void

Processes the aars.

ReplaceVariables ( string exploded ) : void

Replaces the variables in the AndroidManifest file.

ResolverVer1_1 ( ) : UnityEngine
SaveAarExplodeCache ( ) : void

Save data from aarExplodeData into aarExplodeDataFile.

ShouldExplode ( string aarFile ) : bool

Determined whether an aar file should be exploded (extracted). This is required for some aars so that the Unity Jar Resolver can perform variable expansion on manifests in the package before they're merged by aapt.

Method Details

DoResolution() public method

public DoResolution ( PlayServicesSupport svcSupport, string destinationDirectory, PlayServicesSupport handleOverwriteConfirmation ) : void
svcSupport Google.JarResolver.PlayServicesSupport
destinationDirectory string
handleOverwriteConfirmation Google.JarResolver.PlayServicesSupport
return void

DoResolution() public method

Perform the resolution and the exploding/cleanup as needed.
public DoResolution ( PlayServicesSupport svcSupport, string destinationDirectory, PlayServicesSupport handleOverwriteConfirmation, System resolutionComplete ) : void
svcSupport Google.JarResolver.PlayServicesSupport
destinationDirectory string
handleOverwriteConfirmation Google.JarResolver.PlayServicesSupport
resolutionComplete System
return void

OnBundleId() public method

Called during Update to allow the resolver to check the bundle ID of the application to see whether resolution should be triggered again.
public OnBundleId ( string bundleId ) : string[]
bundleId string
return string[]

Version() public method

Version of the resolver. - 1.1.0
The resolver with the greatest version is used when resolving. The value of the verison is calcuated using MakeVersion in DefaultResolver
public Version ( ) : int
return int