Language

NearbyStreaming Enum

Definition

Identifies the policy for nearby streaming of apps or notifications.

public enum NearbyStreaming
type NearbyStreaming = 
Inheritance
NearbyStreaming

Fields

Name Value Description
NotControlledByPolicy 0

Indicates that nearby streaming is not controlled by policy, which means nearby streaming is allowed.

Android reference for android.app.admin.DevicePolicyManager.NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY.

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.

Disabled 1

Indicates that nearby streaming is disabled.

Android reference for android.app.admin.DevicePolicyManager.NEARBY_STREAMING_DISABLED.

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.

Enabled 2

Indicates that nearby streaming is enabled.

Android reference for android.app.admin.DevicePolicyManager.NEARBY_STREAMING_ENABLED.

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.

SameManagedAccountOnly 3

Indicates that nearby streaming is enabled only to devices offering a comparable level of security, with the same authenticated managed account.

Android reference for android.app.admin.DevicePolicyManager.NEARBY_STREAMING_SAME_MANAGED_ACCOUNT_ONLY.

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.

Remarks

These values match the policy values of the NearbyAppStreamingPolicy and NearbyNotificationStreamingPolicy properties. These properties use the Int32 type, so cast the values.

Applies to