Inherits from NSObject
Declared in NBContentsRequest.h

Overview

コンテンツ取得条件指定クラス 【SDKバージョン2.0.0以降】

Properties

contentId

コンテンツID

@property (nonatomic) NSString *contentId

Discussion

コンテンツID

取得するコンテンツのIDを限定する

[初期値:"“ - 限定しない]

Declared In

NBContentsRequest.h

contentType

取得するコンテンツのタイプを限定する

@property (nonatomic) NBContentTypeFlag contentType

Discussion

取得するコンテンツのタイプを限定する

NBContentTypeFlagの中から限定するものの論理和を指定する

[初期値:kNBContentTypeFlagCoupon | kNBContentTypeFlagFlyer | kNBContentTypeFlagInfo - クーポン・お知らせ・チラシを取得する]

Declared In

NBContentsRequest.h

customContentLimit

取得するコンテンツのタイプを限定する。[拡張コンテンツタイプ用]【SDKバージョン3.2.0以降】

@property (nonatomic) int customContentLimit

Discussion

取得するコンテンツのタイプを限定する。[拡張コンテンツタイプ用]【SDKバージョン3.2.0以降】

初期値以外の数字を入れた場合、NBContentTypeFlagでの指定は無効となる。

[初期値:-1 - 拡張コンテンツを取得しない]

Declared In

NBContentsRequest.h

customContentType

拡張コンテンツのタイプ [拡張コンテンツタイプ用]【SDKバージョン3.2.0以降】
@return

@property (nonatomic) int customContentType

Discussion

拡張コンテンツのタイプ [拡張コンテンツタイプ用]【SDKバージョン3.2.0以降】
@return

Declared In

NBContentsRequest.h

isDisableOn

無効コンテンツを取得するかどうか

@property (nonatomic) BOOL isDisableOn

Discussion

無効コンテンツを取得するかどうか

[初期値:NO - 無効コンテンツを取得しない]

Declared In

NBContentsRequest.h

isOverLimitOn

使用上限回数以上、使用したコンテンツを取得するかどうか

@property (nonatomic) BOOL isOverLimitOn

Discussion

使用上限回数以上、使用したコンテンツを取得するかどうか

[初期値:NO - 使用上限回数以上、使用されたコンテンツは取得しない]

Declared In

NBContentsRequest.h

isTmpDisableOn

一時無効コンテンツを取得するかどうか

@property (nonatomic) BOOL isTmpDisableOn

Discussion

一時無効コンテンツを取得するかどうか

[初期値:NO - 一時無効コンテンツを取得しない]

Declared In

NBContentsRequest.h

pubTiming

取得するコンテンツの配信契機を限定する

@property (nonatomic) NBContentTimingFlag pubTiming

Discussion

取得するコンテンツの配信契機を限定する

NBContentTimingFlagの中から限定するものの論理和を指定する

[初期値:kNBContentTimingFlagNormal - 通常コンテンツのみ取得]

Declared In

NBContentsRequest.h

relatedLandmarkId

取得するコンテンツを、指定したランドマークIDと関連づいているものに限定する

@property (nonatomic) NSString *relatedLandmarkId

Discussion

取得するコンテンツを、指定したランドマークIDと関連づいているものに限定する

[初期値:"“ - 限定しない]

Declared In

NBContentsRequest.h

tag

タグで取得するコンテンツを限定する

@property (nonatomic) NSString *tag

Discussion

タグで取得するコンテンツを限定する

※NBContentのtagの中に、指定した文字列が『含まれている』コンテンツのみを取得

[初期値:"“ - 限定しない]

Declared In

NBContentsRequest.h

validTerm

取得するコンテンツの有効期限の条件を限定する

@property (nonatomic) NBContentTermFlag validTerm

Discussion

取得するコンテンツの有効期限の条件を限定する

NBContentTermFlagの中から限定するものの論理和を指定する

[初期値:kNBContentTermFlagIn - 有効期限内のコンテンツのみ取得]

Declared In

NBContentsRequest.h

Instance Methods

getCustomContentType

限定しているコンテンツのタイプを取得する。[拡張コンテンツタイプ用]【SDKバージョン3.2.0以降】
@return

- (int)getCustomContentType

Discussion

限定しているコンテンツのタイプを取得する。[拡張コンテンツタイプ用]【SDKバージョン3.2.0以降】
@return

Declared In

NBContentsRequest.h