Interface AndroidKeySettingsOrBuilder (3.1.0)

public interface AndroidKeySettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowAllPackageNames()

public abstract boolean getAllowAllPackageNames()

If set to true, allowed_package_names are not enforced.

bool allow_all_package_names = 2;

Returns
TypeDescription
boolean

The allowAllPackageNames.

getAllowedPackageNames(int index)

public abstract String getAllowedPackageNames(int index)

Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allowedPackageNames at the given index.

getAllowedPackageNamesBytes(int index)

public abstract ByteString getAllowedPackageNamesBytes(int index)

Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allowedPackageNames at the given index.

getAllowedPackageNamesCount()

public abstract int getAllowedPackageNamesCount()

Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1;

Returns
TypeDescription
int

The count of allowedPackageNames.

getAllowedPackageNamesList()

public abstract List<String> getAllowedPackageNamesList()

Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1;

Returns
TypeDescription
List<String>

A list containing the allowedPackageNames.