<GCKUIMediaButtonBarProtocol> प्रोटोकॉल

<GCKUIMediaButtonBarProtocol> प्रोटोकॉल रेफ़रंस

खास जानकारी

GCKUIMediaButtonBarProtocol डेलिगेट प्रोटोकॉल.

सिंस
3.1

<NSObject> इनहेरिट करता है.

GCKUIExpandedMediaControlsViewController, और GCKUIMiniMediaControlsViewController से इनहेरिट की गई.

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

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

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

- (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. अगर उस पोज़िशन पर कोई कस्टम बटन नहीं है या पोज़िशन अमान्य है.