/** * Get the subItems MediaList associated with the Media. This Media should be alive (not released). * * @return subItems as a MediaList. This MediaList should be released with {@link #release()}. */ public MediaList subItems() { synchronized (this) { if (mSubItems != null) { mSubItems.retain(); return mSubItems; } } final MediaList subItems = new MediaList(this); synchronized (this) { mSubItems = subItems; mSubItems.retain(); return mSubItems; } }
/** * Get the MediaList associated with the MediaDiscoverer. * This MediaDiscoverer should be alive (not released). * * @return MediaList. This MediaList should be released with {@link #release()}. */ public MediaList getMediaList() { synchronized (this) { if (mMediaList != null) { mMediaList.retain(); return mMediaList; } } final MediaList mediaList = new MediaList(this); synchronized (this) { mMediaList = mediaList; mMediaList.retain(); return mMediaList; } }
/** * Get the MediaList associated with the MediaDiscoverer. * This MediaDiscoverer should be alive (not released). * * @return MediaList. This MediaList should be released with {@link #release()}. */ public MediaList getMediaList() { synchronized (this) { if (mMediaList != null) { mMediaList.retain(); return mMediaList; } } final MediaList mediaList = new MediaList(this); synchronized (this) { mMediaList = mediaList; mMediaList.retain(); return mMediaList; } }
/** * Get the subItems MediaList associated with the Media. This Media should be alive (not released). * * @return subItems as a MediaList. This MediaList should be released with {@link #release()}. */ public MediaList subItems() { synchronized (this) { if (mSubItems != null) { mSubItems.retain(); return mSubItems; } } final MediaList subItems = new MediaList(this); synchronized (this) { mSubItems = subItems; mSubItems.retain(); return mSubItems; } }
/** * Get the subItems MediaList associated with the Media. This Media should be alive (not released). * * @return subItems as a MediaList. This MediaList should be released with {@link #release()}. */ public MediaList subItems() { synchronized (this) { if (mSubItems != null) { mSubItems.retain(); return mSubItems; } } final MediaList subItems = new MediaList(this); synchronized (this) { mSubItems = subItems; mSubItems.retain(); return mSubItems; } }
/** * Get the subItems MediaList associated with the Media. This Media should be alive (not released). * * @return subItems as a MediaList. This MediaList should be released with {@link #release()}. */ public MediaList subItems() { synchronized (this) { if (mSubItems != null) { mSubItems.retain(); return mSubItems; } } final MediaList subItems = new MediaList(this); synchronized (this) { mSubItems = subItems; mSubItems.retain(); return mSubItems; } }
/** * Get the subItems MediaList associated with the Media. This Media should be alive (not released). * * @return subItems as a MediaList. This MediaList should be released with {@link #release()}. */ public MediaList subItems() { synchronized (this) { if (mSubItems != null) { mSubItems.retain(); return mSubItems; } } final MediaList subItems = new MediaList(this); synchronized (this) { mSubItems = subItems; mSubItems.retain(); return mSubItems; } }
/** * Get the MediaList associated with the MediaDiscoverer. * This MediaDiscoverer should be alive (not released). * * @return MediaList. This MediaList should be released with {@link #release()}. */ public MediaList getMediaList() { synchronized (this) { if (mMediaList != null) { mMediaList.retain(); return mMediaList; } } final MediaList mediaList = new MediaList(this); synchronized (this) { mMediaList = mediaList; mMediaList.retain(); return mMediaList; } }
/** * Get the MediaList associated with the MediaDiscoverer. * This MediaDiscoverer should be alive (not released). * * @return MediaList. This MediaList should be released with {@link #release()}. */ public MediaList getMediaList() { synchronized (this) { if (mMediaList != null) { mMediaList.retain(); return mMediaList; } } final MediaList mediaList = new MediaList(this); synchronized (this) { mMediaList = mediaList; mMediaList.retain(); return mMediaList; } }
/** * Get the MediaList associated with the MediaDiscoverer. * This MediaDiscoverer should be alive (not released). * * @return MediaList. This MediaList should be released with {@link #release()}. */ public MediaList getMediaList() { synchronized (this) { if (mMediaList != null) { mMediaList.retain(); return mMediaList; } } final MediaList mediaList = new MediaList(this); synchronized (this) { mMediaList = mediaList; mMediaList.retain(); return mMediaList; } }