DevicePolicyManager.NearbyNotificationStreamingPolicy Propiedad

Definición

Devuelve la directiva de streaming de notificaciones cercanas del entorno de ejecución actual establecida por el propietario del dispositivo o del perfil. -o bien- Llamado por un propietario de dispositivo o perfil para establecer la directiva de streaming de notificaciones cercana.

public virtual int NearbyNotificationStreamingPolicy { [Android.Runtime.Register("getNearbyNotificationStreamingPolicy", "()I", "GetGetNearbyNotificationStreamingPolicyHandler", ApiSince=31)] [Android.Runtime.RequiresPermission("android.permission.READ_NEARBY_STREAMING_POLICY")] get; [Android.Runtime.Register("setNearbyNotificationStreamingPolicy", "(I)V", "GetSetNearbyNotificationStreamingPolicy_IHandler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("getNearbyNotificationStreamingPolicy", "()I", "GetGetNearbyNotificationStreamingPolicyHandler", ApiSince=31)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_NEARBY_STREAMING_POLICY")>]
[<set: Android.Runtime.Register("setNearbyNotificationStreamingPolicy", "(I)V", "GetSetNearbyNotificationStreamingPolicy_IHandler", ApiSince=31)>]
member this.NearbyNotificationStreamingPolicy : int with get, set

Valor de propiedad

Atributos

Comentarios

Documentación del captador de propiedades:

Devuelve la directiva de streaming de notificaciones cercanas del entorno de ejecución actual establecida por el propietario del dispositivo o del perfil.

El autor de la llamada debe ser el propietario o el propietario del perfil del dispositivo del usuario de destino o contener el android.Manifest.permission#READ_NEARBY_STREAMING_POLICY READ_NEARBY_STREAMING_POLICY permiso.

Java documentación para android.app.admin.DevicePolicyManager.getNearbyNotificationStreamingPolicy().

Documentación del establecedor de propiedades:

Llamado por un propietario de dispositivo o perfil para establecer la directiva de streaming de notificaciones cercana. El streaming de notificaciones envía datos de notificación desde aplicaciones preinstaladas a dispositivos cercanos.

Java documentación para android.app.admin.DevicePolicyManager.setNearbyNotificationStreamingPolicy(int).

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.

Se aplica a