<GCKUIMediaButtonBarProtocol> প্রোটোকল

<GCKUIMediaButtonBarProtocol> প্রোটোকল রেফারেন্স

ওভারভিউ

GCKUIMediaButtonBarProtocol প্রতিনিধি প্রোটোকল।

থেকে
3.1

উত্তরাধিকারসূত্রে <NSObject>।

GCKUIExpandedMediaControlsViewController এবং GCKUIMiniMediaControlsViewController দ্বারা উত্তরাধিকারসূত্রে প্রাপ্ত।

উদাহরণ পদ্ধতির সারাংশ

(NSUInteger) - buttonCount
সর্বাধিক সংখ্যক বোতাম যা রিসিভার দ্বারা কাস্টমাইজ করা যেতে পারে। আরও...
(void) - setButtonType:atIndex:
অবস্থান index বোতামের জন্য বোতামের ধরন সেট করে। আরও...
( GCKUIMediaButtonType- buttonTypeAtIndex:
একটি প্রদত্ত অবস্থানে বোতামের বর্তমান প্রকার প্রদান করে। আরও...
(void) - setCustomButton:atIndex:
UIButton এর উদাহরণ সেট করে যা একটি প্রদত্ত বোতাম অবস্থানে উপস্থাপন করা উচিত। আরও...
(nullable UIButton *) - 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: (nullable UIButton *)  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 .
- (nullable UIButton *) customButtonAtIndex: (NSUInteger)  index

একটি নির্দিষ্ট অবস্থানে কাস্টম বোতামের একটি রেফারেন্স প্রদান করে।

Parameters
indexThe button's position, where 0 is the right-most position.
রিটার্নস
নির্বাচিত অবস্থানে বোতামের একটি রেফারেন্স, অথবা যদি সেই অবস্থানে কোনো কাস্টম বোতাম না থাকে, বা অবস্থানটি অবৈধ হয় তাহলে nil