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 con la siguiente asignación: <tabla><tr><th>RestrictionEntry</th><>Bundle</th></tr tr><><td>RestrictionEntry#TYPE_BOOLEAN</td><>Bundle#putBoolean< td/td></tr tr td><><>RestrictionEntry#TYPE_CHOICE, RestrictionEntry#TYPE_MULTI_SELECT</td><td/td/td>Bundle#putStringArray<></tr tr>td<><>/RestrictionEntry#TYPE_INTEGERtd<></td td/td>Bundle#putInt<></tr tr><td><>RestrictionEntry#TYPE_STRING</td td><>Bundle#putString</td></tr tr><><td>RestrictionEntry#TYPE_BUNDLE</td td></td>Bundle#putBundle<></tr 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
Convierte una lista de restricciones en la agrupación correspondiente mediante la siguiente asignación: RestrictionEntry Bundle RestrictionEntry.TYPE_BOOLEAN Bundle.putBoolean RestrictionEntry.TYPE_CHOICE , RestrictionEntry.TYPE_MULTI_SELECT Bundle.putStringArray RestrictionEntry.TYPE_INTEGER Bundle.putInt RestrictionEntry.TYPE_STRING Bundle.putString RestrictionEntry.TYPE_BUNDLE Bundle.putBundle RestrictionEntry.TYPE_BUNDLE_ARRAY Bundle.putParcelableArray
- Atributos
Comentarios
Convierte una lista de restricciones en la agrupación correspondiente con la siguiente asignación: <tabla><tr><th>RestrictionEntry</th><>Bundle</th></tr tr><><td>RestrictionEntry#TYPE_BOOLEAN</td><>Bundle#putBoolean< td/td></tr tr td><><>RestrictionEntry#TYPE_CHOICE, RestrictionEntry#TYPE_MULTI_SELECT</td><td/td/td>Bundle#putStringArray<></tr tr>td<><>/RestrictionEntry#TYPE_INTEGERtd<></td td/td>Bundle#putInt<></tr tr><td><>RestrictionEntry#TYPE_STRING</td td><>Bundle#putString</td></tr tr><><td>RestrictionEntry#TYPE_BUNDLE</td td></td>Bundle#putBundle<></tr 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 Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.