RestrictionsManager.ConvertRestrictionsToBundle Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Convierte una lista de restricciones en la agrupación correspondiente mediante la siguiente asignación: <table><tr><th>RestrictionEntry</th Bundle/th><>Bundle</th></tr<><>tdRestrictionEntry#TYPE_BOOLEAN
<>/td><tdBundle#putBoolean
<>/td></tr tr><td>RestrictionEntry#TYPE_CHOICE
><, RestrictionEntry#TYPE_MULTI_SELECT
</td<>td/td>><Bundle#putStringArray
</tr tr>><<td><RestrictionEntry#TYPE_INTEGER
/td td><<Bundle#putInt
>/td td/tr td><><><>RestrictionEntry#TYPE_STRING
</td><td>Bundle#putString
</td></tr tr><><td>RestrictionEntry#TYPE_BUNDLE
</td td/tdBundle#putBundle
<>></td></tr>><<td><RestrictionEntry#TYPE_BUNDLE_ARRAY
/td<>td<Bundle#putParcelableArray
>/td></tr></table>
[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 restricciones
Devoluciones
- Atributos
Comentarios
Convierte una lista de restricciones en la agrupación correspondiente mediante la siguiente asignación: <table><tr><th>RestrictionEntry</th Bundle/th><>Bundle</th></tr<><>tdRestrictionEntry#TYPE_BOOLEAN
<>/td><tdBundle#putBoolean
<>/td></tr tr><td>RestrictionEntry#TYPE_CHOICE
><, RestrictionEntry#TYPE_MULTI_SELECT
</td<>td/td>><Bundle#putStringArray
</tr tr>><<td><RestrictionEntry#TYPE_INTEGER
/td td><<Bundle#putInt
>/td td/tr td><><><>RestrictionEntry#TYPE_STRING
</td><td>Bundle#putString
</td></tr tr><><td>RestrictionEntry#TYPE_BUNDLE
</td td/tdBundle#putBundle
<>></td></tr>><<td><RestrictionEntry#TYPE_BUNDLE_ARRAY
/td<>td<Bundle#putParcelableArray
>/td></tr></table>
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código Project y que se usan según los términos Creative Commons 2.5 Attribution License.