validate
Returns a sequence which throws SplitPackageException on iteration if the split package is invalid and closes all I/O resources opened in the upstream sequence if it's supported.
If any APK split conflicts with base APK by package name, ConflictingPackageNameException will be thrown. If any APK split conflicts with base APK by version code, ConflictingVersionCodeException will be thrown.
If there is more than one base APK in the sequence, ConflictingBaseApkException will be thrown. If there is no base APK in the sequence, NoBaseApkException will be thrown.
If there are conflicting split names, ConflictingSplitNameException will be thrown.
This sequence supports cancellation when used with SplitPackage API.
The operation is intermediate and stateful.
Return
Returns a list of APK splits and throws SplitPackageException if the split package is invalid.
If any APK split conflicts with base APK by package name, ConflictingPackageNameException will be thrown. If any APK split conflicts with base APK by version code, ConflictingVersionCodeException will be thrown.
If there is more than one base APK in the iterable, ConflictingBaseApkException will be thrown. If there is no base APK in the iterable, NoBaseApkException will be thrown.
If there are conflicting split names, ConflictingSplitNameException will be thrown.