खास जानकारी
एक व्यू कंट्रोलर, जो "अभी चल रहा है" कंट्रोल बार को लागू करता है.
डिफ़ॉल्ट कॉन्फ़िगरेशन में, यह मौजूदा मीडिया आइटम के लिए थंबनेल, शीर्षक, और सबटाइटल दिखाता है. साथ ही, एक स्ट्रीम प्रगति बार और 'चलाएं/रोकें' टॉगल बटन भी दिखाता है.
डेलिगेट प्रोटोकॉल के लिए GCKUIMiniMediaControlsViewControllerDelegate देखें.
- सिंस
- 3.0
UIViewController इनहेरिट करता है. <GCKUIMediaButtonBarProtocol> को लागू करता है.
इंस्टेंस के तरीके की खास जानकारी | |
(NSUInteger) | - buttonCount |
रिसीवर के ज़रिए पसंद के मुताबिक बनाए जा सकने वाले बटन की ज़्यादा से ज़्यादा संख्या. ज़्यादा... | |
(void) | - setButtonType:atIndex: |
index पर बटन के लिए बटन का टाइप सेट करता है. ज़्यादा... | |
(GCKUIMediaButtonType) | - buttonTypeAtIndex: |
दिए गए स्थान पर वर्तमान प्रकार का बटन देता है. ज़्यादा... | |
(void) | - setCustomButton:atIndex: |
UIButton का इंस्टेंस सेट करता है, जिसे बटन की दी गई जगह पर दिखाया जाना चाहिए. ज़्यादा... | |
(UIButton *__nullable) | - customButtonAtIndex: |
किसी स्थिति के कस्टम बटन का संदर्भ देता है. ज़्यादा... | |
प्रॉपर्टी की खास जानकारी | |
id< GCKUIMiniMediaControlsViewControllerDelegate > | delegate |
व्यू कंट्रोलर का डेलिगेट, आम तौर पर फ़ुल-स्क्रीन व्यू कंट्रोलर, जो ज़रूरत पड़ने पर इस कंट्रोल बार को प्रज़ेंट और छिपाता है. ज़्यादा... | |
BOOL | thumbnailEnabled |
थंबनेल इमेज को दिखाया जाना चाहिए या नहीं. ज़्यादा... | |
BOOL | active |
कंट्रोल बार की डिसप्ले स्थिति दिखाता है. ज़्यादा... | |
CGFloat | minHeight |
वह कम से कम (और पसंदीदा) ऊंचाई जिस पर यह व्यू दिखाया जाना चाहिए. ज़्यादा... | |
तरीके की जानकारी
- (NSUInteger) buttonCount |
रिसीवर के ज़रिए पसंद के मुताबिक बनाए जा सकने वाले बटन की ज़्यादा से ज़्यादा संख्या.
- लौटाए गए आइटम
- बटन की संख्या.
- (void) setButtonType: | (GCKUIMediaButtonType) | buttonType | |
atIndex: | (NSUInteger) | index | |
index
पर बटन के लिए बटन का टाइप सेट करता है.
- Parameters
-
buttonType The type of the button. If the type is GCKUIMediaButtonTypeCustom, a UIButton instance should be passed for the same index using setCustomButton:atIndex:. Otherwise a default button is created and presented in that position. index The position in which the button should be presented. 0 is the left-most position. Indices should be smaller than the value returned by buttonCount.
- (GCKUIMediaButtonType) buttonTypeAtIndex: | (NSUInteger) | index |
दिए गए स्थान पर वर्तमान प्रकार का बटन देता है.
- Parameters
-
index The button's position, where 0 is the left-most position.
- लौटाए गए आइटम
- चुनी गई जगह पर मौजूद बटन.
- (void) setCustomButton: | (UIButton *__nullable) | customButton | |
atIndex: | (NSUInteger) | index | |
UIButton का इंस्टेंस सेट करता है, जिसे बटन की दी गई जगह पर दिखाया जाना चाहिए.
- Parameters
-
customButton The button instance to be presented in the control bar. index The position in which the button should be presented. 0 is the left-most position. Indices should be smaller than the value returned by buttonCount.
- (UIButton *__nullable) customButtonAtIndex: | (NSUInteger) | index |
किसी स्थिति के कस्टम बटन का संदर्भ देता है.
- Parameters
-
index The button's position, where 0 is the right-most position.
- लौटाए गए आइटम
- चुनी गई जगह पर मौजूद बटन का रेफ़रंस या
nil
. अगर उस पोज़िशन पर कोई कस्टम बटन नहीं है या पोज़िशन अमान्य है.
प्रॉपर्टी की जानकारी
|
readwritenonatomicweak |
व्यू कंट्रोलर का डेलिगेट, आम तौर पर फ़ुल-स्क्रीन व्यू कंट्रोलर, जो ज़रूरत पड़ने पर इस कंट्रोल बार को प्रज़ेंट और छिपाता है.
|
readwritenonatomicassign |
थंबनेल इमेज को दिखाया जाना चाहिए या नहीं.
डिफ़ॉल्ट रूप से, यह प्रॉपर्टी YES
पर सेट होती है.
|
readnonatomicassign |
कंट्रोल बार की डिसप्ले स्थिति दिखाता है.
YES
में मौजूद मीडिया को कास्ट किया जा रहा है. इसे कंट्रोल बार से कंट्रोल किया जा सकता है और इसे स्क्रीन पर दिखाया जा सकता है. NO
के इस्तेमाल के दौरान, कंट्रोल बार छिपा होना चाहिए.
|
readnonatomicassign |
वह कम से कम (और पसंदीदा) ऊंचाई जिस पर यह व्यू दिखाया जाना चाहिए.