RestrictionsManager.ConvertRestrictionsToBundle Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Converte uma lista de restrições para o pacote correspondente, usando o seguinte mapeamento: <tabela><tr><th>RestrictionEntry</th>><Bundle</th></tr<>tr><td<RestrictionEntry#TYPE_BOOLEAN
>/td><tdBundle#putBoolean
<>/td></tr><tr tdRestrictionEntry#TYPE_CHOICE
>><,<RestrictionEntry#TYPE_MULTI_SELECT
/td<>tdBundle#putStringArray
<>/td></tr><tr><td<RestrictionEntry#TYPE_INTEGER
>/td><td<>Bundle#putInt
/td>><<td><>RestrictionEntry#TYPE_STRING
</td><td>Bundle#putString
</td></tr><tr><td>RestrictionEntry#TYPE_BUNDLE
</td><tdBundle#putBundle
<>/td></tr><tr><td><RestrictionEntry#TYPE_BUNDLE_ARRAY
/td><td<Bundle#putParcelableArray
>/td></tr/tabela><>
[Android.Runtime.Register("convertRestrictionsToBundle", "(Ljava/util/List;)Landroid/os/Bundle;", "", ApiSince=23)]
public static Android.OS.Bundle? ConvertRestrictionsToBundle (System.Collections.Generic.IList<Android.Content.RestrictionEntry>? entries);
[<Android.Runtime.Register("convertRestrictionsToBundle", "(Ljava/util/List;)Landroid/os/Bundle;", "", ApiSince=23)>]
static member ConvertRestrictionsToBundle : System.Collections.Generic.IList<Android.Content.RestrictionEntry> -> Android.OS.Bundle
Parâmetros
- entries
- IList<RestrictionEntry>
Lista de restrições
Retornos
- Atributos
Comentários
Converte uma lista de restrições para o pacote correspondente, usando o seguinte mapeamento: <tabela><tr><th>RestrictionEntry</th>><Bundle</th></tr<>tr><td<RestrictionEntry#TYPE_BOOLEAN
>/td><tdBundle#putBoolean
<>/td></tr><tr tdRestrictionEntry#TYPE_CHOICE
>><,<RestrictionEntry#TYPE_MULTI_SELECT
/td<>tdBundle#putStringArray
<>/td></tr><tr><td<RestrictionEntry#TYPE_INTEGER
>/td><td<>Bundle#putInt
/td>><<td><>RestrictionEntry#TYPE_STRING
</td><td>Bundle#putString
</td></tr><tr><td>RestrictionEntry#TYPE_BUNDLE
</td><tdBundle#putBundle
<>/td></tr><tr><td><RestrictionEntry#TYPE_BUNDLE_ARRAY
/td><td<Bundle#putParcelableArray
>/td></tr/tabela><>
Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.