Android 12 Developer Preview is here! Try it out, and give us your feedback!

SplitInstallRequest

public class SplitInstallRequest
extends Object

java.lang.Object
   ↳ com.google.android.play.core.splitinstall.SplitInstallRequest


Creates a request to install split APKs.

For more information and examples, see Request an on demand module.

Summary

Nested classes

class SplitInstallRequest.Builder

A builder for a request to install split APKs. 

Public methods

List<Locale> getLanguages()

Returns languages that are included in the request.

List<String> getModuleNames()

Returns modules that are included in the request.

static SplitInstallRequest.Builder newBuilder()

Start building a SplitInstallRequest

String toString()

Inherited methods

Public methods

getLanguages

public List<Locale> getLanguages ()

Returns languages that are included in the request.

Returns
List<Locale>

getModuleNames

public List<String> getModuleNames ()

Returns modules that are included in the request.

Returns
List<String>

newBuilder

public static SplitInstallRequest.Builder newBuilder ()

Start building a SplitInstallRequest

Returns
SplitInstallRequest.Builder a new SplitInstallRequest.Builder

toString

public String toString ()

Returns
String