DevicePolicyManager.NearbyNotificationStreamingPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current runtime nearby notification streaming policy set by the device or profile owner. -or- Called by a device/profile owner to set nearby notification streaming policy.
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
Property Value
- Attributes
Remarks
Property getter documentation:
Returns the current runtime nearby notification streaming policy set by the device or profile owner.
The caller must be the target user's device owner/profile owner or hold the android.Manifest.permission#READ_NEARBY_STREAMING_POLICY READ_NEARBY_STREAMING_POLICY
permission.
Java documentation for android.app.admin.DevicePolicyManager.getNearbyNotificationStreamingPolicy()
.
Property setter documentation:
Called by a device/profile owner to set nearby notification streaming policy. Notification streaming is sending notification data from pre-installed apps to nearby devices.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.