NendUnityPlugin 5.2.0
Classes | Enumerations
NendUnityPlugin.Common Namespace Reference

Classes

class  NendAdErrorEventArgs
 Information of error. More...
 
class  NendUtils
 Utility class for this plugin. More...
 

Enumerations

enum  Gravity : int {
  LEFT = 1 , TOP = 2 , RIGHT = 4 , BOTTOM = 8 ,
  CENTER_VERTICAL = 16 , CENTER_HORIZONTAL = 32
}
 The gravity of ad on the screen. More...
 
enum  NendAdInterstitialShowResult : int {
  AD_SHOW_SUCCESS = 0 , AD_LOAD_INCOMPLETE = 1 , AD_REQUEST_INCOMPLETE = 2 , AD_DOWNLOAD_INCOMPLETE = 3 ,
  AD_FREQUENCY_NOT_REACHABLE = 4 , AD_SHOW_ALREADY = 5 , AD_CANNOT_DISPLAY = 6
}
 The result of ad display. More...
 
enum  NendAdInterstitialStatusCode : int { SUCCESS = 0 , INVALID_RESPONSE_TYPE = 1 , FAILED_AD_REQUEST = 2 , FAILED_AD_DOWNLOAD = 3 }
 The status of ad load. More...
 
enum  NendAdInterstitialClickType : int { DOWNLOAD = 0 , CLOSE = 1 , INFORMATION = 2 }
 The type of ad click. More...
 
enum  NendErrorCode : int {
  AD_SIZE_TOO_LARGE = 0 , INVALID_RESPONSE_TYPE , FAILED_AD_REQUEST , FAILED_AD_DOWNLOAD ,
  AD_SIZE_DIFFERENCES
}
 The error code of ad. More...
 
enum  Orientation : int { HORIZONTAL = 0 , VERTICAL , UNSPECIFIED }
 The orientation of the icon ad. More...
 

Enumeration Type Documentation

◆ Gravity

The gravity of ad on the screen.

Enumerator
LEFT 

Left.

TOP 

Top.

RIGHT 

Right.

BOTTOM 

Bottom.

CENTER_VERTICAL 

Vertical center.

CENTER_HORIZONTAL 

Horizontal center.

◆ NendAdInterstitialShowResult

The result of ad display.

Enumerator
AD_SHOW_SUCCESS 

Show ad on the screen.

AD_LOAD_INCOMPLETE 

Request of ad has been failed.

AD_REQUEST_INCOMPLETE 

Request of ad has not been completed.

AD_DOWNLOAD_INCOMPLETE 

Download of ad image has not been completed.

AD_FREQUENCY_NOT_REACHABLE 

Not reached the frequency count.

AD_SHOW_ALREADY 

Ad is already display.

AD_CANNOT_DISPLAY 

Ad cannot display.

◆ NendAdInterstitialStatusCode

The status of ad load.

Enumerator
SUCCESS 

Success.

INVALID_RESPONSE_TYPE 

The response type is invalid.

FAILED_AD_REQUEST 

Failed to ad request.

FAILED_AD_DOWNLOAD 

Failed to ad download.

◆ NendAdInterstitialClickType

The type of ad click.

Enumerator
DOWNLOAD 

The download button was clicked.

CLOSE 

The close button was clicked.

INFORMATION 

The information button was clicked.

◆ NendErrorCode

The error code of ad.

Enumerator
AD_SIZE_TOO_LARGE 

Ad size is larger than display size.

INVALID_RESPONSE_TYPE 

The response type is invalid.

FAILED_AD_REQUEST 

Failed to ad request.

FAILED_AD_DOWNLOAD 

Failed to ad download.

AD_SIZE_DIFFERENCES 

Gets size and request size is different.

◆ Orientation

The orientation of the icon ad.

Enumerator
HORIZONTAL 

Horizontal orientation.

VERTICAL 

Vertical orientation.

UNSPECIFIED 

Not specified orientation.