Lingua

RestrictionsManager.ConvertRestrictionsToBundle Metodo

Definizione

Converte un elenco di restrizioni nel bundle corrispondente, usando il mapping seguente: table<tr th RestrictionEntry>/th th<><Bundle>/th</tr><><td><></td td><>RestrictionEntry#TYPE_BOOLEAN/td<></tr tr>Bundle#putBoolean<td><>,<>< /td td>RestrictionEntry#TYPE_CHOICERestrictionEntry#TYPE_MULTI_SELECT<>/td</tr td/tr>Bundle#putStringArray<td><></td/><>RestrictionEntry#TYPE_INTEGER<td><>Bundle#putInt<><><><>RestrictionEntry#TYPE_STRING</td><td>Bundle#putString</td></tr tr><><td/td>RestrictionEntry#TYPE_BUNDLE< td><>Bundle#putBundle</td></tr><tr><td>RestrictionEntry#TYPE_BUNDLE_ARRAY</td td></td>Bundle#putParcelableArray<></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

Parametri

entries
IList<RestrictionEntry>

elenco di restrizioni

Valori restituiti

Converte un elenco di restrizioni nel bundle corrispondente usando il mapping seguente: 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

Attributi

Commenti

Converte un elenco di restrizioni nel bundle corrispondente, usando il mapping seguente: table<tr th RestrictionEntry>/th th<><Bundle>/th</tr><><td><></td td><>RestrictionEntry#TYPE_BOOLEAN/td<></tr tr>Bundle#putBoolean<td><>,<>< /td td>RestrictionEntry#TYPE_CHOICERestrictionEntry#TYPE_MULTI_SELECT<>/td</tr td/tr>Bundle#putStringArray<td><></td/><>RestrictionEntry#TYPE_INTEGER<td><>Bundle#putInt<><><><>RestrictionEntry#TYPE_STRING</td><td>Bundle#putString</td></tr tr><><td/td>RestrictionEntry#TYPE_BUNDLE< td><>Bundle#putBundle</td></tr><tr><td>RestrictionEntry#TYPE_BUNDLE_ARRAY</td td></td>Bundle#putParcelableArray<></tr></table>

per android.content.RestrictionsManager.convertRestrictionsToBundle(java.util.List<android.content.RestrictionEntry>).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a