setAudienceLevel
setAudienceLevel(audienceLevel)
setAudienceLevel 메소드는 setAudiencestartSession 명령에 대해 대상 레벨을 정의합니다.
*
audienceLevel - 대상 레벨을 포함하는 문자열입니다.
*
audienceLevel 이름은 Campaign에 정의된 대상 레벨 이름과 정확히 일치해야 합니다. 대소문자를 구분합니다.
리턴 값
없음
다음 예는startSessionsetAudience를 호출하는 executeBatch 메소드에서 발췌한 것입니다.
String audienceLevel="Customer";
. . .
Command startSessionCommand = new CommandImpl();
startSessionCommand.setAudienceID(initialAudienceId);
. . .
Command setAudienceCommand = new CommandImpl();
setAudienceCommand.setAudienceLevel(audienceLevel);
. . .
/** Build command array */
Command[] commands =
{
startSessionCommand,
setAudienceCommand,
};
/** Make the call */
BatchResponse batchResponse = api.executeBatch(sessionId, commands);

/** Process the response appropriately */
processExecuteBatchResponse(batchResponse);