Compartilhar via


TvRecordingInfo.RepeatDays Property

Definition

Returns the days of the week for which this recording should be repeated for.

public Android.Media.TV.RecordingWeekDays RepeatDays { [Android.Runtime.Register("getRepeatDays", "()I", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getRepeatDays", "()I", "", ApiSince=34)>]
member this.RepeatDays : Android.Media.TV.RecordingWeekDays

Property Value

Attributes

Remarks

Returns the days of the week for which this recording should be repeated for.

This information is represented in the form of a bitfield, with each bit representing the day which the recording should be repeated.

The bitfield corresponds to each day of the week with the following format: <ul> <li>#SUNDAY - 0x01 (00000001)</li> <li>#MONDAY - 0x02 (00000010)</li> <li>#TUESDAY - 0x04 (00000100)</li> <li>#WEDNESDAY - 0x08 (00001000)</li> <li>#THURSDAY - 0x10 (00010000)</li> <li>#FRIDAY - 0x20 (00100000)</li> <li>#SATURDAY - 0x40 (01000000)</li> </ul>

You can specify multiple days to repeat the recording by performing a bitwise 'OR' on the bitfield. For example, for a recording to repeat on Sunday and Mondays, this function should return 0x03 (00000011).

A value of 0x00 indicates that the recording will not be repeated.

This format comes from the Open IPTV Forum Release 2 Specification. It is described in Volume 5, section 7.10.1.1.

Java documentation for android.media.tv.TvRecordingInfo.getRepeatDays().

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