-
public class DeviceMarketingNamesGet the marketing names of the device or for a given model.
For more information please see the documentation.
-
-
Field Summary
Fields Modifier and Type Field Description public final static DeviceMarketingNamesINSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetNames()Get all marketing names of the device. final List<String>getNamesAsList()Get all marketing names of the device as list. final StringgetSingleName()Get one marketing name of the device. final StringgetNamesFromModel(String model)Get all marketing names for the given model. final List<String>getNamesFromModelAsList(String model)Get all marketing names for the given model as list. final StringgetSingleNameFromModel(String model)Get one marketing name for the given model. -
-
Method Detail
-
getNames
final String getNames()
Get all marketing names of the device. If multiple names match the model, those are concatenated and separated by " / ". The model used for the lookup is determined by Build.MODEL. Lookup results are cached.
-
getNamesAsList
final List<String> getNamesAsList()
Get all marketing names of the device as list. The model used for the lookup is determined by Build.MODEL. Lookup results are cached.
-
getSingleName
final String getSingleName()
Get one marketing name of the device. If multiple names match the model, the first match is selected. The model used for the lookup is determined by Build.MODEL. Lookup results are cached.
-
getNamesFromModel
final String getNamesFromModel(String model)
Get all marketing names for the given model. If multiple names match the model, those are concatenated and separated by " / ".
-
getNamesFromModelAsList
final List<String> getNamesFromModelAsList(String model)
Get all marketing names for the given model as list.
-
getSingleNameFromModel
final String getSingleNameFromModel(String model)
Get one marketing name for the given model. If multiple names match the model, the first match is selected.
-
-
-
-