GCKRemoteMediaClient ক্লাস

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

ওভারভিউ

কাস্ট রিসিভারে মিডিয়া প্লেব্যাক নিয়ন্ত্রণ করার জন্য একটি ক্লাস।

এই শ্রেণীটি অপ্রচলিত GCKMediaControlChannel এর মতো একই কার্যকারিতা প্রদান করে, যা এটি মোড়ানো হয়, কিন্তু আরও সুবিধাজনক API সহ। প্রধান পার্থক্য হল:

  • প্রতিটি অনুরোধ একটি GCKRequest বস্তু দ্বারা প্রতিনিধিত্ব করা হয় যা একটি ডেডিকেটেড প্রতিনিধির সাথে ট্র্যাক করা যেতে পারে।
  • GCKRemoteMediaClient একক প্রতিনিধির পরিবর্তে একাধিক শ্রোতাকে সমর্থন করে।
থেকে
3.0

উত্তরাধিকারসূত্রে এনএসওবজেক্ট।

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

(void) - addListener:
এই বস্তুর শ্রোতাদের তালিকায় একজন শ্রোতা যোগ করে। আরও...
(void) - removeListener:
এই বস্তুর শ্রোতাদের তালিকা থেকে একজন শ্রোতাকে সরিয়ে দেয়। আরও...
( GCKRequest *) - loadMedia:
একটি নতুন মিডিয়া আইটেম লোড করে এবং প্লেব্যাক শুরু করে। আরও...
( GCKRequest *) - loadMedia:autoplay:
লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়। আরও...
( GCKRequest *) - loadMedia:autoplay:playPosition:
লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়। আরও...
( GCKRequest *) - loadMedia:autoplay:playPosition:customData:
লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়। আরও...
( GCKRequest *) - loadMedia:autoplay:playPosition:activeTrackIDs:
লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়। আরও...
( GCKRequest *) - loadMedia:autoplay:playPosition:activeTrackIDs:customData:
লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়। আরও...
( GCKRequest *) - setActiveTrackIDs:
সক্রিয় ট্র্যাক সেট করে। আরও...
( GCKRequest *) - setTextTrackStyle:
টেক্সট ট্র্যাক শৈলী সেট করে। আরও...
( GCKRequest *) - pause
বর্তমান মিডিয়া আইটেমের প্লেব্যাক বিরতি দেয়। আরও...
( GCKRequest *) - pauseWithCustomData:
বর্তমান মিডিয়া আইটেমের প্লেব্যাক বিরতি দেয়। আরও...
( GCKRequest *) - stop
বর্তমান মিডিয়া আইটেমের প্লেব্যাক বন্ধ করে। আরও...
( GCKRequest *) - stopWithCustomData:
বর্তমান মিডিয়া আইটেমের প্লেব্যাক বন্ধ করে। আরও...
( GCKRequest *) - play
বর্তমান মিডিয়া আইটেমের প্লেব্যাক শুরু হয় (বা পুনরায় শুরু হয়)। আরও...
( GCKRequest *) - playWithCustomData:
বর্তমান মিডিয়া আইটেমের প্লেব্যাক শুরু হয় (বা পুনরায় শুরু হয়)। আরও...
( GCKRequest *) - seekToTimeInterval:
বর্তমান মিডিয়া আইটেমের মধ্যে একটি নতুন অবস্থান খোঁজে. আরও...
( GCKRequest *) - seekToTimeInterval:resumeState:
বর্তমান মিডিয়া আইটেমের মধ্যে একটি নতুন অবস্থান খোঁজে. আরও...
( GCKRequest *) - seekToTimeInterval:resumeState:customData:
বর্তমান মিডিয়া আইটেমের মধ্যে একটি নতুন অবস্থান খোঁজে. আরও...
( GCKRequest *) - queueLoadItems:startIndex:repeatMode:
লোড হয় এবং ঐচ্ছিকভাবে মিডিয়া আইটেমের একটি নতুন সারি প্লেব্যাক শুরু করে। আরও...
( GCKRequest *) - queueLoadItems:startIndex:repeatMode:customData:
লোড হয় এবং ঐচ্ছিকভাবে মিডিয়া আইটেমের একটি নতুন সারি প্লেব্যাক শুরু করে। আরও...
( GCKRequest *) - queueLoadItems:startIndex:playPosition:repeatMode:customData:
লোড হয় এবং ঐচ্ছিকভাবে মিডিয়া আইটেমের একটি নতুন সারি প্লেব্যাক শুরু করে। আরও...
( GCKRequest *) - queueInsertItems:beforeItemWithID:
সারিতে নতুন মিডিয়া আইটেমগুলির একটি তালিকা সন্নিবেশ করান। আরও...
( GCKRequest *) - queueInsertItems:beforeItemWithID:customData:
সারিতে নতুন মিডিয়া আইটেমগুলির একটি তালিকা সন্নিবেশ করান। আরও...
( GCKRequest *) - queueInsertItem:beforeItemWithID:
একটি সুবিধার পদ্ধতি যা সারিতে একটি আইটেম সন্নিবেশ করায়। আরও...
( GCKRequest *) - queueInsertAndPlayItem:beforeItemWithID:
একটি সুবিধার পদ্ধতি যা একটি একক আইটেমকে সারিতে সন্নিবেশিত করে এবং এটিকে বর্তমান আইটেম করে। আরও...
( GCKRequest *) - queueInsertAndPlayItem:beforeItemWithID:playPosition:customData:
একটি সুবিধার পদ্ধতি যা একটি একক আইটেমকে সারিতে সন্নিবেশিত করে এবং এটিকে বর্তমান আইটেম করে। আরও...
( GCKRequest *) - queueUpdateItems:
সারি আপডেট করে। আরও...
( GCKRequest *) - queueUpdateItems:customData:
সারি আপডেট করে। আরও...
( GCKRequest *) - queueRemoveItemsWithIDs:
সারি থেকে মিডিয়া আইটেমগুলির একটি তালিকা সরিয়ে দেয়। আরও...
( GCKRequest *) - queueRemoveItemsWithIDs:customData:
সারি থেকে মিডিয়া আইটেমগুলির একটি তালিকা সরিয়ে দেয়। আরও...
( GCKRequest *) - queueRemoveItemWithID:
একটি সুবিধার পদ্ধতি যা সারি থেকে একটি আইটেম সরিয়ে দেয়। আরও...
( GCKRequest *) - queueReorderItemsWithIDs:insertBeforeItemWithID:
সারিতে থাকা মিডিয়া আইটেমগুলির একটি তালিকা পুনরায় সাজায়৷ আরও...
( GCKRequest *) - queueReorderItemsWithIDs:insertBeforeItemWithID:customData:
সারিতে থাকা মিডিয়া আইটেমগুলির একটি তালিকা পুনরায় সাজান। আরও...
( GCKRequest *) - queueMoveItemWithID:beforeItemWithID:
একটি সুবিধার পদ্ধতি যা একটি একক আইটেমকে সারিতে নিয়ে যায়। আরও...
( GCKRequest *) - queueJumpToItemWithID:
সারিতে নির্দিষ্ট আইডি সহ আইটেমে লাফ দেয়। আরও...
( GCKRequest *) - queueJumpToItemWithID:customData:
সারিতে নির্দিষ্ট আইডি সহ আইটেমে লাফ দেয়। আরও...
( GCKRequest *) - queueJumpToItemWithID:playPosition:customData:
সারিতে নির্দিষ্ট আইডি সহ আইটেমে লাফ দেয়। আরও...
( GCKRequest *) - queueNextItem
সারিতে থাকা পরবর্তী আইটেমে চলে যায়। আরও...
( GCKRequest *) - queuePreviousItem
সারিতে থাকা আগের আইটেমে চলে যায়। আরও...
( GCKRequest *) - queueSetRepeatMode:
সারির পুনরাবৃত্তি মোড সেট করে। আরও...
( GCKRequest *) - setStreamVolume:
স্ট্রিম ভলিউম সেট করে। আরও...
( GCKRequest *) - setStreamVolume:customData:
স্ট্রিম ভলিউম সেট করে। আরও...
( GCKRequest *) - setStreamMuted:
স্ট্রীমটি নিঃশব্দ করা হয়েছে কিনা তা সেট করে। আরও...
( GCKRequest *) - setStreamMuted:customData:
স্ট্রীমটি নিঃশব্দ করা হয়েছে কিনা তা সেট করে। আরও...
( GCKRequest *) - requestStatus
রিসিভার থেকে আপডেট মিডিয়া স্থিতি তথ্য অনুরোধ. আরও...
(NSTimeInterval) - approximateStreamPosition
সর্বশেষ প্রাপ্ত স্ট্রিম তথ্য এবং সেই আপডেটের পর থেকে অতিবাহিত প্রাচীর-সময় থেকে গণনা করা আনুমানিক স্ট্রীম অবস্থান প্রদান করে। আরও...
(void) - notifyDidStartMediaSession
যখনই একটি মিডিয়া সেশন শুরু হয় তখনই সাবক্লাস দ্বারা ডাকা হয়, যেমন, রিমোট প্লেয়ারে নতুন মিডিয়া সফলভাবে লোড হওয়ার পরে। আরও...
(void) - notifyDidUpdateMediaStatus
ক্লায়েন্টের মিডিয়া স্ট্যাটাস অবজেক্ট পরিবর্তিত হলে যেকোন সময় সাবক্লাস দ্বারা ডাকা হবে। আরও...
(void) - notifyDidUpdateQueue
ক্লায়েন্ট দ্বারা পরিচালিত মিডিয়া সারি পরিবর্তিত হলে যে কোনো সময় সাবক্লাস দ্বারা ডাকা হবে। আরও...
(void) - notifyDidUpdatePreloadStatus
যখনই ক্লায়েন্টের মিডিয়া স্ট্যাটাসের জন্য GCKMediaStatus::preloadedItemID পরিবর্তন হয় তখনই সাবক্লাস দ্বারা ডাকা হবে। আরও...
(void) - notifyDidUpdateMetadata
যে কোনো সময় মেটাডেটা পরিবর্তিত হলে উপশ্রেণীর দ্বারা ডাকা হবে। আরও...

সম্পত্তি সারাংশ

BOOL  connected
একটি পতাকা যা নির্দেশ করে যে এই বস্তুটি একটি সেশনের সাথে সংযুক্ত কিনা। আরও...
GCKMediaStatus mediaStatus
মিডিয়া কন্ট্রোল চ্যানেল দ্বারা রিপোর্ট করা বর্তমান মিডিয়া অবস্থা। আরও...
NSTimeInterval  timeSinceLastMediaStatusUpdate
সর্বশেষ মিডিয়া স্ট্যাটাস আপডেট পাওয়ার পর থেকে যে পরিমাণ সময় কেটে গেছে। আরও...
id< GCKRemoteMediaClientAdInfoParserDelegate adInfoParserDelegate
GCKMediaStatus অবজেক্টের কাস্টম ডেটা থেকে বিজ্ঞাপন বিরতির তথ্য বের করতে সক্ষম একজন প্রতিনিধি। আরও...

পদ্ধতির বিস্তারিত

- (void) addListener: (id< GCKRemoteMediaClientListener >)  listener

এই বস্তুর শ্রোতাদের তালিকায় একজন শ্রোতা যোগ করে।

Parameters
listenerThe listener to add.
- (void) removeListener: (id< GCKRemoteMediaClientListener >)  listener

এই বস্তুর শ্রোতাদের তালিকা থেকে একজন শ্রোতাকে সরিয়ে দেয়।

Parameters
listenerThe listener to remove.
- ( GCKRequest *) loadMedia: ( GCKMediaInformation *)  mediaInfo

একটি নতুন মিডিয়া আইটেম লোড করে এবং প্লেব্যাক শুরু করে।

Parameters
mediaInfoAn object describing the media item to load.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) loadMedia: ( GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay  

লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়।

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) loadMedia: ( GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition  

লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়।

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) loadMedia: ( GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
customData: (id __nullable)  customData  

লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়।

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) loadMedia: ( GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
activeTrackIDs: (NSArray< NSNumber * > *__nullable)  activeTrackIDs  

লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়।

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
activeTrackIDsAn array of integers specifying the active tracks. May be nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) loadMedia: ( GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
activeTrackIDs: (NSArray< NSNumber * > *__nullable)  activeTrackIDs
customData: (id __nullable)  customData  

লোড হয় এবং ঐচ্ছিকভাবে একটি নতুন মিডিয়া আইটেমের প্লেব্যাক শুরু হয়।

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
activeTrackIDsAn array of integers specifying the active tracks. May be nil .
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) setActiveTrackIDs: (NSArray< NSNumber * > *__nullable)  activeTrackIDs

সক্রিয় ট্র্যাক সেট করে।

কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
activeTrackIDsAn array of integers specifying the active tracks. May be empty or nil to disable any currently active tracks.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) setTextTrackStyle: ( GCKMediaTextTrackStyle *__nullable)  textTrackStyle

টেক্সট ট্র্যাক শৈলী সেট করে।

কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
textTrackStyleThe text track style. The style will not be changed if this is nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) pause

বর্তমান মিডিয়া আইটেমের প্লেব্যাক বিরতি দেয়।

কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) pauseWithCustomData: (id __nullable)  customData

বর্তমান মিডিয়া আইটেমের প্লেব্যাক বিরতি দেয়।

কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) stop

বর্তমান মিডিয়া আইটেমের প্লেব্যাক বন্ধ করে।

একটি সারি বর্তমানে লোড করা হলে, এটি সরানো হবে. কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) stopWithCustomData: (id __nullable)  customData

বর্তমান মিডিয়া আইটেমের প্লেব্যাক বন্ধ করে।

একটি সারি বর্তমানে লোড করা হলে, এটি সরানো হবে. কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) play

বর্তমান মিডিয়া আইটেমের প্লেব্যাক শুরু হয় (বা পুনরায় শুরু হয়)।

প্লেব্যাক সবসময় স্ট্রিমের শুরুতে শুরু হয়। কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) playWithCustomData: (id __nullable)  customData

বর্তমান মিডিয়া আইটেমের প্লেব্যাক শুরু হয় (বা পুনরায় শুরু হয়)।

প্লেব্যাক সবসময় স্ট্রিমের শুরুতে শুরু হয়। কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position

বর্তমান মিডিয়া আইটেমের মধ্যে একটি নতুন অবস্থান খোঁজে.

কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
positionThe new position from the beginning of the stream.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position
resumeState: ( GCKMediaResumeState resumeState  

বর্তমান মিডিয়া আইটেমের মধ্যে একটি নতুন অবস্থান খোঁজে.

কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
positionThe new position interval from the beginning of the stream.
resumeStateThe action to take after the seek operation has finished.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position
resumeState: ( GCKMediaResumeState resumeState
customData: (id __nullable)  customData  

বর্তমান মিডিয়া আইটেমের মধ্যে একটি নতুন অবস্থান খোঁজে.

কোনো বর্তমান মিডিয়া স্থিতি না থাকলে অনুরোধটি ব্যর্থ হবে৷

Parameters
positionThe new position from the beginning of the stream.
resumeStateThe action to take after the seek operation has finished.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
repeatMode: ( GCKMediaRepeatMode repeatMode  

লোড হয় এবং ঐচ্ছিকভাবে মিডিয়া আইটেমের একটি নতুন সারি প্লেব্যাক শুরু করে।

Parameters
queueItemsAn array of GCKMediaQueueItem instances to load. Must not be nil or empty.
startIndexThe index of the item in the items array that should be played first.
repeatModeThe repeat mode for playing the queue.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
repeatMode: ( GCKMediaRepeatMode repeatMode
customData: (id __nullable)  customData  

লোড হয় এবং ঐচ্ছিকভাবে মিডিয়া আইটেমের একটি নতুন সারি প্লেব্যাক শুরু করে।

Parameters
queueItemsAn array of GCKMediaQueueItem instances to load. Must not be nil or empty.
startIndexThe index of the item in the items array that should be played first.
repeatModeThe repeat mode for playing the queue.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
playPosition: (NSTimeInterval)  playPosition
repeatMode: ( GCKMediaRepeatMode repeatMode
customData: (id __nullable)  customData  

লোড হয় এবং ঐচ্ছিকভাবে মিডিয়া আইটেমের একটি নতুন সারি প্লেব্যাক শুরু করে।

Parameters
queueItemsAn array of GCKMediaQueueItem instances to load. Must not be nil or empty.
startIndexThe index of the item in the items array that should be played first.
playPositionThe initial playback position for the item when it is first played, relative to the beginning of the stream. This value is ignored when the same item is played again, for example when the queue repeats, or the item is later jumped to. In those cases the item's startTime is used.
repeatModeThe repeat mode for playing the queue.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueInsertItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
beforeItemWithID: (NSUInteger)  beforeItemID  

সারিতে নতুন মিডিয়া আইটেমগুলির একটি তালিকা সন্নিবেশ করান।

Parameters
queueItemsAn array of GCKMediaQueueItem instances to insert. Must not be nil or empty.
beforeItemIDThe ID of the item that will be located immediately after the inserted list. If the value is kGCKMediaQueueInvalidItemID , the inserted list will be appended to the end of the queue.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueInsertItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
beforeItemWithID: (NSUInteger)  beforeItemID
customData: (id __nullable)  customData  

সারিতে নতুন মিডিয়া আইটেমগুলির একটি তালিকা সন্নিবেশ করান।

Parameters
queueItemsAn array of GCKMediaQueueItem instances to insert. Must not be nil or empty.
beforeItemIDID of the item that will be located immediately after the inserted list. If the value is kGCKMediaQueueInvalidItemID , the inserted list will be appended to the end of the queue.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueInsertItem: ( GCKMediaQueueItem *)  item
beforeItemWithID: (NSUInteger)  beforeItemID  

একটি সুবিধার পদ্ধতি যা সারিতে একটি আইটেম সন্নিবেশ করায়।

Parameters
itemThe item to insert.
beforeItemIDThe ID of the item that will be located immediately after the inserted item. If the value is kGCKMediaQueueInvalidItemID , or does not refer to any item currently in the queue, the inserted item will be appended to the end of the queue.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueInsertAndPlayItem: ( GCKMediaQueueItem *)  item
beforeItemWithID: (NSUInteger)  beforeItemID  

একটি সুবিধার পদ্ধতি যা একটি একক আইটেমকে সারিতে সন্নিবেশিত করে এবং এটিকে বর্তমান আইটেম করে।

Parameters
itemThe item to insert.
beforeItemIDThe ID of the item that will be located immediately after the inserted item. If the value is kGCKMediaQueueInvalidItemID , or does not refer to any item currently in the queue, the inserted item will be appended to the end of the queue.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueInsertAndPlayItem: ( GCKMediaQueueItem *)  item
beforeItemWithID: (NSUInteger)  beforeItemID
playPosition: (NSTimeInterval)  playPosition
customData: (id __nullable)  customData  

একটি সুবিধার পদ্ধতি যা একটি একক আইটেমকে সারিতে সন্নিবেশিত করে এবং এটিকে বর্তমান আইটেম করে।

Parameters
itemThe item to insert.
beforeItemIDThe ID of the item that will be located immediately after the inserted item. If the value is kGCKMediaQueueInvalidItemID , or does not refer to any item currently in the queue, the inserted item will be appended to the end of the queue.
playPositionThe initial playback position for the item when it is first played, relative to the beginning of the stream. This value is ignored when the same item is played again, for example when the queue repeats, or the item is later jumped to. In those cases the item's startTime is used.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueUpdateItems: (NSArray< GCKMediaQueueItem * > *)  queueItems

সারি আপডেট করে।

Parameters
queueItemsThe list of updated items.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueUpdateItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
customData: (id __nullable)  customData  

সারি আপডেট করে।

Parameters
queueItemsThe list of updated items.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueRemoveItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs

সারি থেকে মিডিয়া আইটেমগুলির একটি তালিকা সরিয়ে দেয়।

ফলস্বরূপ সারি খালি হয়ে গেলে, বর্তমান মিডিয়া সেশনটি বন্ধ হয়ে যাবে।

Parameters
itemIDsAn array of media item IDs identifying the items to remove. Must not be nil or empty.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueRemoveItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs
customData: (id __nullable)  customData  

সারি থেকে মিডিয়া আইটেমগুলির একটি তালিকা সরিয়ে দেয়।

ফলস্বরূপ সারি খালি হয়ে গেলে, বর্তমান মিডিয়া সেশনটি বন্ধ হয়ে যাবে।

Parameters
itemIDsAn array of media item IDs identifying the items to remove. Must not be nil or empty.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueRemoveItemWithID: (NSUInteger)  itemID

একটি সুবিধার পদ্ধতি যা সারি থেকে একটি আইটেম সরিয়ে দেয়।

Parameters
itemIDThe ID of the item to remove.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueReorderItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs
insertBeforeItemWithID: (NSUInteger)  beforeItemID  

সারিতে থাকা মিডিয়া আইটেমগুলির একটি তালিকা পুনরায় সাজায়৷

Parameters
queueItemIDsAn array of media item IDs identifying the items to reorder. Must not be nil or empty.
beforeItemIDID of the item that will be located immediately after the reordered list. If the value is kGCKMediaQueueInvalidItemID , or does not refer to any item currently in the queue, the reordered list will be appended at the end of the queue.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueReorderItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs
insertBeforeItemWithID: (NSUInteger)  beforeItemID
customData: (id __nullable)  customData  

সারিতে থাকা মিডিয়া আইটেমগুলির একটি তালিকা পুনরায় সাজান।

Parameters
queueItemIDsAn array of media item IDs identifying the items to reorder. Must not be nil or empty.
beforeItemIDThe ID of the item that will be located immediately after the reordered list. If the value is kGCKMediaQueueInvalidItemID , or does not refer to any item currently in the queue, the reordered list will be moved to the end of the queue.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueMoveItemWithID: (NSUInteger)  itemID
beforeItemWithID: (NSUInteger)  beforeItemID  

একটি সুবিধার পদ্ধতি যা একটি একক আইটেমকে সারিতে নিয়ে যায়।

Parameters
itemIDThe ID of the item to move.
beforeItemIDThe ID of the item that will be located immediately after the reordered list. If the value is kGCKMediaQueueInvalidItemID , or does not refer to any item currently in the queue, the item will be moved to the end of the queue.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueJumpToItemWithID: (NSUInteger)  itemID

সারিতে নির্দিষ্ট আইডি সহ আইটেমে লাফ দেয়।

Parameters
itemIDThe ID of the item to jump to.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueJumpToItemWithID: (NSUInteger)  itemID
customData: (id __nullable)  customData  

সারিতে নির্দিষ্ট আইডি সহ আইটেমে লাফ দেয়।

Parameters
itemIDThe ID of the item to jump to.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueJumpToItemWithID: (NSUInteger)  itemID
playPosition: (NSTimeInterval)  playPosition
customData: (id __nullable)  customData  

সারিতে নির্দিষ্ট আইডি সহ আইটেমে লাফ দেয়।

Parameters
itemIDThe ID of the item to jump to.
playPositionThe initial playback position for the item when it is first played, relative to the beginning of the stream. This value is ignored when the same item is played again, for example when the queue repeats, or the item is later jumped to. In those cases the item's startTime is used.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueNextItem

সারিতে থাকা পরবর্তী আইটেমে চলে যায়।

রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queuePreviousItem

সারিতে থাকা আগের আইটেমে চলে যায়।

রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) queueSetRepeatMode: ( GCKMediaRepeatMode repeatMode

সারির পুনরাবৃত্তি মোড সেট করে।

Parameters
repeatModeThe new repeat mode.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) setStreamVolume: (float)  volume

স্ট্রিম ভলিউম সেট করে।

বর্তমান মিডিয়া সেশন না থাকলে অনুরোধটি ব্যর্থ হবে।

Parameters
volumeThe new volume, in the range [0.0 - 1.0].
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) setStreamVolume: (float)  volume
customData: (id __nullable)  customData  

স্ট্রিম ভলিউম সেট করে।

বর্তমান মিডিয়া সেশন না থাকলে অনুরোধটি ব্যর্থ হবে।

Parameters
volumeThe new volume, in the range [0.0 - 1.0].
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) setStreamMuted: (BOOL)  muted

স্ট্রীমটি নিঃশব্দ করা হয়েছে কিনা তা সেট করে।

বর্তমান মিডিয়া সেশন না থাকলে অনুরোধটি ব্যর্থ হবে।

Parameters
mutedWhether the stream should be muted or unmuted.
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) setStreamMuted: (BOOL)  muted
customData: (id __nullable)  customData  

স্ট্রীমটি নিঃশব্দ করা হয়েছে কিনা তা সেট করে।

বর্তমান মিডিয়া সেশন না থাকলে অনুরোধটি ব্যর্থ হবে।

Parameters
mutedWhether the stream should be muted or unmuted.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .
রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- ( GCKRequest *) requestStatus

রিসিভার থেকে আপডেট মিডিয়া স্থিতি তথ্য অনুরোধ.

রিটার্নস
এই অনুরোধ ট্র্যাক করার জন্য GCKRequest অবজেক্ট।
- (NSTimeInterval) approximateStreamPosition

সর্বশেষ প্রাপ্ত স্ট্রিম তথ্য এবং সেই আপডেটের পর থেকে অতিবাহিত প্রাচীর-সময় থেকে গণনা করা আনুমানিক স্ট্রীম অবস্থান প্রদান করে।

চ্যানেল সংযুক্ত না থাকলে বা বর্তমানে কোনো মিডিয়া লোড না হলে 0 প্রদান করে।

- (void) notifyDidStartMediaSession

যখনই একটি মিডিয়া সেশন শুরু হয় তখনই সাবক্লাস দ্বারা ডাকা হয়, যেমন, রিমোট প্লেয়ারে নতুন মিডিয়া সফলভাবে লোড হওয়ার পরে।

বিভাগ দ্বারা প্রদান করা হয়েছে GCKRemoteMediaClient(Protected)

- (void) notifyDidUpdateMediaStatus

ক্লায়েন্টের মিডিয়া স্ট্যাটাস অবজেক্ট পরিবর্তিত হলে যেকোন সময় সাবক্লাস দ্বারা ডাকা হবে।

বিভাগ দ্বারা প্রদান করা হয়েছে GCKRemoteMediaClient(Protected)

- (void) notifyDidUpdateQueue

ক্লায়েন্ট দ্বারা পরিচালিত মিডিয়া সারি পরিবর্তিত হলে যে কোনো সময় সাবক্লাস দ্বারা ডাকা হবে।

বিভাগ দ্বারা প্রদান করা হয়েছে GCKRemoteMediaClient(Protected)

- (void) notifyDidUpdatePreloadStatus

যখনই ক্লায়েন্টের মিডিয়া স্ট্যাটাসের জন্য GCKMediaStatus::preloadedItemID পরিবর্তন হয় তখনই সাবক্লাস দ্বারা ডাকা হবে।

বিভাগ দ্বারা প্রদান করা হয়েছে GCKRemoteMediaClient(Protected)

- (void) notifyDidUpdateMetadata

যে কোনো সময় মেটাডেটা পরিবর্তিত হলে উপশ্রেণীর দ্বারা ডাকা হবে।

বিভাগ দ্বারা প্রদান করা হয়েছে GCKRemoteMediaClient(Protected)

সম্পত্তি বিস্তারিত

- (BOOL) connected
read nonatomic assign

একটি পতাকা যা নির্দেশ করে যে এই বস্তুটি একটি সেশনের সাথে সংযুক্ত কিনা।

- ( GCKMediaStatus *) mediaStatus
read nonatomic strong

মিডিয়া কন্ট্রোল চ্যানেল দ্বারা রিপোর্ট করা বর্তমান মিডিয়া অবস্থা।

- (NSTimeInterval) timeSinceLastMediaStatusUpdate
read nonatomic assign

সর্বশেষ মিডিয়া স্ট্যাটাস আপডেট পাওয়ার পর থেকে যে পরিমাণ সময় কেটে গেছে।

যদি একটি স্ট্যাটাস অনুরোধ বর্তমানে চলছে, তাহলে এটি 0 হবে।

- (id< GCKRemoteMediaClientAdInfoParserDelegate >) adInfoParserDelegate
read write nonatomic weak

GCKMediaStatus অবজেক্টের কাস্টম ডেটা থেকে বিজ্ঞাপন বিরতির তথ্য বের করতে সক্ষম একজন প্রতিনিধি।

Deprecated:
পরিবর্তে GCKAdBreakStatus ব্যবহার করুন।