Condividi tramite


TvContract.Channels.ColumnLocked Field

Definition

The flag indicating whether this TV channel is locked or not.

[Android.Runtime.Register("COLUMN_LOCKED", ApiSince=26)]
public const string ColumnLocked;
[<Android.Runtime.Register("COLUMN_LOCKED", ApiSince=26)>]
val mutable ColumnLocked : string

Field Value

Attributes

Remarks

The flag indicating whether this TV channel is locked or not.

This is primarily used for alternative parental control to prevent unauthorized users from watching the current channel regardless of the content rating. A value of 1 indicates the channel is locked and the user is required to enter passcode to unlock it in order to watch the current program from the channel, a value of 0 indicates the channel is not locked thus the user is not prompted to enter passcode If not specified, this value is set to 0 (not locked) by default.

This column can only be set by applications having proper system permission to modify parental control settings. For other applications, this is a read-only column.

Type: INTEGER (boolean)

Java documentation for android.media.tv.TvContract.Channels.COLUMN_LOCKED.

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.

Applies to