Enum Visibility
वीडियो किसको दिखे
किसी इवेंट के दिखने की संख्या दिखाने वाला एनम.
किसी Enum को कॉल करने के लिए, आपको उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल करना होता है. उदाहरण के लिए,
CalendarApp.Visibility.CONFIDENTIAL
.
प्रॉपर्टी
प्रॉपर्टी | Type | ब्यौरा |
CONFIDENTIAL | Enum | यह इवेंट निजी है. यह वैल्यू इस वजह से दी गई है कि यह साथ काम करता है या नहीं. |
DEFAULT | Enum | कैलेंडर पर इवेंट के लिए डिफ़ॉल्ट दिखने की सेटिंग का इस्तेमाल करता है. |
PRIVATE | Enum | यह इवेंट निजी है और सिर्फ़ इवेंट में शामिल मेहमान ही इवेंट की जानकारी देख सकते हैं. |
PUBLIC | Enum | इवेंट सार्वजनिक है और इवेंट की जानकारी कैलेंडर के सभी पाठकों को दिखती है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया."],[[["`CalendarApp.Visibility` is an enum used to define the visibility of an event."],["You can set an event's visibility to `CONFIDENTIAL`, `DEFAULT`, `PRIVATE`, or `PUBLIC` to control who can view its details."],["`PRIVATE` events are only visible to attendees, while `PUBLIC` events are visible to all calendar readers."],["`CONFIDENTIAL` is provided for compatibility and `DEFAULT` uses the calendar's default visibility settings."]]],["The `Visibility` enum defines the privacy settings for calendar events. It has four properties: `CONFIDENTIAL` (private, for compatibility), `DEFAULT` (calendar's default setting), `PRIVATE` (visible only to attendees), and `PUBLIC` (visible to all calendar readers). To access these, use the format `CalendarApp.Visibility.[Property]`. Each property is of `Enum` type, and defines who can view the event details.\n"]]