GCKMediaSeekOptions ক্লাস
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
GCKRemoteMediaClient এর মাধ্যমে মিডিয়ার মধ্যে খোঁজার বিকল্প।
- থেকে
- 4.0
উত্তরাধিকারসূত্রে NSObject, <NSCopying>, এবং <NSSecureCoding>।
|
(instancetype) | - init |
| মনোনীত ইনিশিয়ালাইজার। আরও...
|
|
|
NSTimeInterval | interval |
| সময়ের ব্যবধান যার দ্বারা খুঁজতে হবে। আরও...
|
|
BOOL | relative |
| সময়ের ব্যবধান বর্তমান স্ট্রীম অবস্থান ( YES ) বা স্ট্রিমের শুরু ( NO ) এর সাথে আপেক্ষিক কিনা। আরও...
|
|
GCKMediaResumeState | resumeState |
| অনুসন্ধান অপারেশন শেষ হওয়ার পরে করণীয় ব্যবস্থা। আরও...
|
|
BOOL | seekToInfinite |
| স্ট্রীম বা লাইভ শেষ করতে চান কিনা. আরও...
|
|
id | customData |
| অনুরোধের সাথে পাস করার জন্য কাস্টম অ্যাপ্লিকেশন-নির্দিষ্ট ডেটা। আরও...
|
|
মনোনীত ইনিশিয়ালাইজার।
সমস্ত বৈশিষ্ট্যের জন্য ডিফল্ট মান সহ একটি GCKMediaSeekOptions সূচনা করে।
- (NSTimeInterval) interval |
|
read write nonatomic assign |
সময়ের ব্যবধান যার দ্বারা খুঁজতে হবে।
ডিফল্ট মান হল 0
।
|
read write nonatomic assign |
সময়ের ব্যবধান বর্তমান স্ট্রীম অবস্থান ( YES
) বা স্ট্রিমের শুরু ( NO
) এর সাথে আপেক্ষিক কিনা।
ডিফল্ট মান হল NO
, একটি পরম সন্ধানের অবস্থান নির্দেশ করে৷
- (GCKMediaResumeState) resumeState |
|
read write nonatomic assign |
অনুসন্ধান অপারেশন শেষ হওয়ার পরে করণীয় ব্যবস্থা।
ডিফল্ট মান হল GCKMediaResumeStateUnchanged।
|
read write nonatomic assign |
স্ট্রীম বা লাইভ শেষ করতে চান কিনা.
- থেকে
- 4.4.1
|
read write nonatomic strong |
অনুরোধের সাথে পাস করার জন্য কাস্টম অ্যাপ্লিকেশন-নির্দিষ্ট ডেটা।
NSJSONSerialization , অথবা nil
ব্যবহার করে JSON-এ সিরিয়াল করা যেতে পারে এমন একটি বস্তু হতে হবে।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eGCKMediaSeekOptions\u003c/code\u003e allows developers to control seeking within media on a Cast receiver using the \u003ccode\u003eGCKRemoteMediaClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides options for specifying the seek interval, whether it's relative to the current position or the beginning, and the desired playback state after seeking.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can also include custom application-specific data with the seek request.\u003c/p\u003e\n"],["\u003cp\u003eIntroduced in Google Cast SDK v4.0, this class inherits from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e.\u003c/p\u003e\n"]]],["GCKMediaSeekOptions provides configurations for media seeking within a stream. Key properties include `interval`, defining the seek duration; `relative`, indicating whether the seek is relative to the current position or absolute; `resumeState`, determining the post-seek action; `seekToInfinite`, enabling seeking to the end of a stream or live content and `customData`, which allows for passing application-specific information. An `init` method initializes these options with default values. These options can be utilized with GCKRemoteMediaClient.\n"],null,["# GCKMediaSeekOptions Class\n\n[Instance Methods](#pub-methods) \\| [Properties](#properties) \nGCKMediaSeekOptions Class Reference \n\nOverview\n--------\n\nOptions for seeking within media with [GCKRemoteMediaClient](/cast/docs/reference/ios/interface_g_c_k_remote_media_client \"A class for controlling media playback on a Cast receiver. \").\n\nSince\n: 4.0\n\nInherits NSObject, \\\u003cNSCopying\\\u003e, and \\\u003cNSSecureCoding\\\u003e.\n\n|----------------|---------------------------------------------------------------------------------------------------------|\n| Instance Method Summary ----------------------- ||\n| (instancetype) | - [init](/cast/docs/reference/ios/interface_g_c_k_media_seek_options#a3a9d2c7260d135cd98b532da2379cf9a) |\n| | Designated initializer. [More...](#a3a9d2c7260d135cd98b532da2379cf9a) |\n| ||\n\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| NSTimeInterval | [interval](/cast/docs/reference/ios/interface_g_c_k_media_seek_options#a7d2fd7a14623f3ca11a5a0ac9a7f97f5) |\n| | The time interval by which to seek. [More...](#a7d2fd7a14623f3ca11a5a0ac9a7f97f5) |\n| ||\n| BOOL | [relative](/cast/docs/reference/ios/interface_g_c_k_media_seek_options#a040b8878fb3c2aa669ffd5011459b72b) |\n| | Whether the time interval is relative to the current stream position (`YES`) or to the beginning of the stream (`NO`). [More...](#a040b8878fb3c2aa669ffd5011459b72b) |\n| ||\n| GCKMediaResumeState | [resumeState](/cast/docs/reference/ios/interface_g_c_k_media_seek_options#a3a61f208a425bbb53d297ef33bae17fa) |\n| | The action to take after the seek operation has finished. [More...](#a3a61f208a425bbb53d297ef33bae17fa) |\n| ||\n| BOOL | [seekToInfinite](/cast/docs/reference/ios/interface_g_c_k_media_seek_options#ae04b528334b3e73cfd4372613132bfa3) |\n| | Whether seek to end of stream or live. [More...](#ae04b528334b3e73cfd4372613132bfa3) |\n| ||\n| id | [customData](/cast/docs/reference/ios/interface_g_c_k_media_seek_options#ad79b024c34308bacda3de6e334b247d7) |\n| | Custom application-specific data to pass along with the request. [More...](#ad79b024c34308bacda3de6e334b247d7) |\n| ||\n\nMethod Detail\n-------------\n\n|-----------------------|---|---|---|\n| - (instancetype) init | | | |\n\nDesignated initializer.\n\nInitializes a [GCKMediaSeekOptions](/cast/docs/reference/ios/interface_g_c_k_media_seek_options \"Options for seeking within media with GCKRemoteMediaClient. \") with default values for all properties.\n\nProperty Detail\n---------------\n\n|-----------------------------------------------------------------|--------------------------|\n| |-----------------------------| | - (NSTimeInterval) interval | | readwritenonatomicassign |\n\nThe time interval by which to seek.\n\nThe default value is `0`. \n\n|---------------------------------------------|--------------------------|\n| |-------------------| | - (BOOL) relative | | readwritenonatomicassign |\n\nWhether the time interval is relative to the current stream position (`YES`) or to the beginning of the stream (`NO`).\n\nThe default value is `NO`, indicating an absolute seek position. \n\n|---------------------------------------------------------------------------------|--------------------------|\n| |-------------------------------------| | - (GCKMediaResumeState) resumeState | | readwritenonatomicassign |\n\nThe action to take after the seek operation has finished.\n\nThe default value is GCKMediaResumeStateUnchanged. \n\n|---------------------------------------------------------|--------------------------|\n| |-------------------------| | - (BOOL) seekToInfinite | | readwritenonatomicassign |\n\nWhether seek to end of stream or live.\n\nSince\n: 4.4.1 \n\n|---------------------------------------------|--------------------------|\n| |-------------------| | - (id) customData | | readwritenonatomicstrong |\n\nCustom application-specific data to pass along with the request.\n\nMust either be an object that can be serialized to JSON using [**NSJSONSerialization**](https://goo.gl/0vd4Q2), or `nil`."]]