GCKUIEexpandedMediaControlsViewController ক্লাস

GCKUIEexpandedMediaControlsViewController ক্লাস রেফারেন্স

ওভারভিউ

একটি ভিউ কন্ট্রোলার যা প্রসারিত কন্ট্রোল পূর্ণস্ক্রীন ভিউ প্রয়োগ করে।

থেকে
3.1

UIViewController ইনহেরিট করে। <GCKUIMediaButtonBarProtocol> প্রয়োগ করে।

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

(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