GCKUIminiMediaControlsViewController क्लास

GCKUIMiniMediaControlsViewController क्लास का रेफ़रंस

खास जानकारी

यह एक व्यू कंट्रोलर है, जो "अभी चल रहा है" कंट्रोल बार को लागू करता है.

डिफ़ॉल्ट कॉन्फ़िगरेशन में, यह मौजूदा मीडिया आइटम के लिए थंबनेल, टाइटल, और सबटाइटल दिखाता है. साथ ही, इसमें स्ट्रीम की प्रोग्रेस बार और चलाने/रोकने का टॉगल बटन भी होता है.

डेलिगेट प्रोटोकॉल के लिए, GCKUIMiniMediaControlsViewControllerDelegate देखें.

से
3.0

यह UIViewController को इनहेरिट करता है. <GCKUIMediaButtonBarProtocol> को लागू करता है.

इंस्टेंस के तरीके की खास जानकारी

(NSUInteger) - buttonCount
 बटन की वह ज़्यादा से ज़्यादा संख्या जिसे रिसीवर अपनी पसंद के मुताबिक बना सकता है. ज़्यादा...
 
(void) - setButtonType:atIndex:
 इस कुकी का इस्तेमाल, index पोज़िशन पर मौजूद बटन के टाइप को सेट करने के लिए किया जाता है. ज़्यादा...
 
(GCKUIMediaButtonType- buttonTypeAtIndex:
 किसी दी गई जगह पर मौजूद बटन के मौजूदा टाइप की जानकारी देता है. ज़्यादा...
 
(void) - setCustomButton:atIndex:
 यह UIButton का वह इंस्टेंस सेट करता है जिसे बटन की दी गई जगह पर दिखाया जाना चाहिए. ज़्यादा...
 
(UIButton *__nullable) - customButtonAtIndex:
 किसी दी गई पोज़िशन पर मौजूद कस्टम बटन का रेफ़रंस दिखाता है. ज़्यादा...
 

प्रॉपर्टी की खास जानकारी

id< GCKUIMiniMediaControlsViewControllerDelegatedelegate
 व्यू कंट्रोलर का डेलिगेट. आम तौर पर, यह फ़ुल-स्क्रीन व्यू कंट्रोलर होता है. यह कंट्रोल बार को सही समय पर दिखाने और छिपाने का काम करता है. ज़्यादा...
 
BOOL thumbnailEnabled
 थंबनेल इमेज दिखनी चाहिए या नहीं. ज़्यादा...
 
BOOL active
 इससे कंट्रोल बार के दिखने की स्थिति के बारे में पता चलता है. ज़्यादा...
 
CGFloat minHeight
 यह व्यू कम से कम (और बेहतर) ऊंचाई पर दिखना चाहिए. ज़्यादा...
 

तरीके की जानकारी

- (NSUInteger) buttonCount

बटन की वह ज़्यादा से ज़्यादा संख्या जिसे रिसीवर अपनी पसंद के मुताबिक बना सकता है.

रिटर्न
बटन की संख्या.
- (void) setButtonType: (GCKUIMediaButtonType buttonType
atIndex: (NSUInteger)  index 

इस कुकी का इस्तेमाल, index पोज़िशन पर मौजूद बटन के टाइप को सेट करने के लिए किया जाता है.

Parameters
buttonTypeThe 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.
indexThe 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
indexThe button's position, where 0 is the left-most position.
रिटर्न
चुनी गई जगह पर मौजूद बटन का टाइप.
- (void) setCustomButton: (UIButton *__nullable)  customButton
atIndex: (NSUInteger)  index 

यह UIButton का वह इंस्टेंस सेट करता है जिसे बटन की दी गई जगह पर दिखाया जाना चाहिए.

Parameters
customButtonThe button instance to be presented in the control bar.
indexThe 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
indexThe button's position, where 0 is the right-most position.
रिटर्न
चुनी गई जगह पर मौजूद बटन का रेफ़रंस या nil अगर उस जगह पर कोई कस्टम बटन मौजूद नहीं है या जगह अमान्य है.

प्रॉपर्टी की जानकारी

- (id<GCKUIMiniMediaControlsViewControllerDelegate>) delegate
readwritenonatomicweak

व्यू कंट्रोलर का डेलिगेट. आम तौर पर, यह फ़ुल-स्क्रीन व्यू कंट्रोलर होता है. यह कंट्रोल बार को सही समय पर दिखाने और छिपाने का काम करता है.

- (BOOL) thumbnailEnabled
readwritenonatomicassign

थंबनेल इमेज दिखनी चाहिए या नहीं.

डिफ़ॉल्ट रूप से, इस प्रॉपर्टी को YES पर सेट किया जाता है.

- (BOOL) active
readnonatomicassign

इससे कंट्रोल बार के दिखने की स्थिति के बारे में पता चलता है.

जब YES, तब मीडिया को कास्ट किया जा रहा होता है. इसे कंट्रोल बार से कंट्रोल किया जा सकता है और इसे दिखाया जा सकता है. जब NO हो, तब कंट्रोल बार छिपा होना चाहिए.

- (CGFloat) minHeight
readnonatomicassign

यह व्यू कम से कम (और बेहतर) ऊंचाई पर दिखना चाहिए.