বেসএডভিউ

abstract class BaseAdView : ViewGroup

পরিচিত সরাসরি উপশ্রেণী AdManagerAdView , AdView
AdManagerAdView

গুগল অ্যাড ম্যানেজারের সাথে ব্যবহারের জন্য ব্যানার বিজ্ঞাপন প্রদর্শনের View

AdView

ব্যানার বিজ্ঞাপন প্রদর্শনের জন্য android.view.View


ব্যানার বিজ্ঞাপন প্রদর্শনের জন্য বেস বিজ্ঞাপন android.view.View

সারাংশ

সুরক্ষিত কনস্ট্রাক্টর

BaseAdView (context: Context !, adViewType: Int )

কোড থেকে একটি BaseAdView তৈরি করে।

BaseAdView (context: Context !, attrs: AttributeSet !, adViewType: Int )

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

BaseAdView (
context: Context !,
attrs: AttributeSet !,
allowMultipleAdSizes: Boolean
)

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

BaseAdView (
context: Context !,
attrs: AttributeSet !,
defStyle: Int ,
adViewType: Int
)

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

BaseAdView (
context: Context !,
attrs: AttributeSet !,
defStyle: Int ,
adViewType: Int ,
allowMultipleAdSizes: Boolean
)

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

জনসাধারণের অনুষ্ঠান

Unit

বিজ্ঞাপনের দৃশ্য নষ্ট করে।

AdListener !

এই বিজ্ঞাপন দর্শনের জন্য AdListener ফেরত দেয়।

AdSize ?

বিজ্ঞাপনের আকার ফেরত দেয়।

String !

বিজ্ঞাপন ইউনিট আইডি ফেরত দেয়।

OnPaidEventListener ?

এই বিজ্ঞাপন দেখার জন্য OnPaidEventListener পায়।

Long

এই BaseAdView এর জন্য প্লেসমেন্ট আইডি পায়।

ResponseInfo ?

লোড করা বিজ্ঞাপনের জন্য ResponseInfo অবজেক্টটি ফেরত পাঠায়।

Boolean

বিজ্ঞাপনটি যদি একটি কলাপসিবল ব্যানার হয় তবে true ফেরত দেয়; বিজ্ঞাপন লোড না হওয়া পর্যন্ত false ফেরত দেয়।

Boolean

বিজ্ঞাপন লোড হলে true ফেরত পাঠায়।

Unit

একটি বিজ্ঞাপন লোড করে।

Unit
pause ()

এই বিজ্ঞাপন দৃশ্যের সাথে সম্পর্কিত যেকোনো অতিরিক্ত প্রক্রিয়াকরণকে থামায়।

Unit
resume ()

পূর্ববর্তী কল টু pause পরে একটি বিজ্ঞাপন ভিউ পুনরায় শুরু করে।

Unit
setAdListener (adListener: AdListener !)

এই বিজ্ঞাপন দর্শনের জন্য একটি AdListener সেট করে।

Unit
setAdSize (adSize: AdSize !)

বিজ্ঞাপনের আকার নির্ধারণ করে।

Unit
setAdUnitId (adUnitId: String !)

বিজ্ঞাপন ইউনিট আইডি সেট করে।

Unit

এই বিজ্ঞাপনটি অর্থ উপার্জন করেছে বলে অনুমান করা হলে একটি কলব্যাক নিবন্ধন করে।

Unit
setPlacementId (placementId: Long )

এই বিজ্ঞাপন দর্শনের জন্য একটি প্লেসমেন্ট আইডি সেট করে।

সুরক্ষিত ফাংশন

Unit
onLayout (changed: Boolean , left: Int , top: Int , right: Int , bottom: Int )
Unit
onMeasure (widthMeasureSpec: Int , heightMeasureSpec: Int )

উত্তরাধিকারসূত্রে প্রাপ্ত ধ্রুবক

android.view.View থেকে
const Int
const Int
const Int
const Int
const Int
const Int
const Property < View !, Float !>!
const Int
const String !
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE = "creditCardExpirationDate"
const String !
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY = "creditCardExpirationDay"
const String !
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH = "creditCardExpirationMonth"
const String !
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR = "creditCardExpirationYear"
const String !
AUTOFILL_HINT_CREDIT_CARD_NUMBER = "creditCardNumber"
const String !
AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE = "creditCardSecurityCode"
const String !
AUTOFILL_HINT_EMAIL_ADDRESS = "emailAddress"
const String !
const String !
const String !
const String !
AUTOFILL_HINT_POSTAL_ADDRESS = "postalAddress"
const String !
const String !
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const Int
const Int
const Int
const Int
const Int
const Int
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const Int
const Int
FOCUS_DOWN = 130
const Int
const Int
const Int
const Int
FOCUS_UP = 33
const Int
GONE = 8
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
KEEP_SCREEN_ON = 67108864
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
MEASURED_SIZE_MASK = 16777215
const Int
MEASURED_STATE_MASK = -16777216
const Int
const Int
const Int
NO_ID = -1
const Int
const Int
const Int
const Int
const Int
const Int
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const IntArray < Int >!
const Int
const Int
const Int
const Int
const Float
const Float
const Float
const Float
const Float
const Property < View !, Float !>!
const Property < View !, Float !>!
const Property < View !, Float !>!
const Property < View !, Float !>!
const Property < View !, Float !>!
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const IntArray < Int >!
const IntArray < Int >!
const Int
const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Property < View !, Float !>!
const Property < View !, Float !>!
const Property < View !, Float !>!
const String !
VIEW_LOG_TAG = "View"
const Int
VISIBLE = 0
const IntArray < Int >!
const Property < View !, Float !>!
X
const Property < View !, Float !>!
Y
const Property < View !, Float !>!
Z
android.view.ViewGroup থেকে
const Int
const Int
const Int
const Int
const Int
const Int
const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

const Int

এই সম্পত্তিটি অবচিত।

উত্তরাধিকারসূত্রে প্রাপ্ত ফাংশন

android.view.View থেকে
Unit
Unit
Unit
ViewPropertyAnimator !
Unit

এই ফাংশনটি অবচিত।

Unit
Boolean
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
java-static Int
Int
Int
Int
Unit
WindowInsets !
Int
Int
Int
AccessibilityNodeInfo !
Unit
Unit

এই ফাংশনটি অবচিত।

Boolean
Boolean
Boolean
Boolean
Boolean
dispatchNestedPreScroll (p: Int , p1: Int , p2: IntArray !, p3: IntArray !)
Boolean
dispatchNestedScroll (p: Int , p1: Int , p2: Int , p3: Int , p4: IntArray !)
Boolean
Unit
draw (p: Canvas !)
Unit
OnBackInvokedDispatcher !
T!
<T : View ?> findViewById (p: Int )
T!
<T : View ?> findViewWithTag (p: Any !)
Boolean

এই ফাংশনটি অবচিত।

Unit
Unit
Unit
java-static Int
View.AccessibilityDelegate !
Int
AccessibilityNodeProvider !
CharSequence !
Int
Int
String !
String !
Float
Animation !
Matrix !
IBinder !
IntArray < Int >!
( Mutable ) Map < Int !, Int !>!
Array < String !>!
AutofillId !
Int
AutofillValue !
Drawable !
BlendMode !
ColorStateList !
PorterDuff.Mode !
Int
Int
Float
Int
Float
Rect !
Boolean
Boolean
ContentCaptureSession !
CharSequence !
Int
Context !
ContextMenu.ContextMenuInfo !
Boolean
java-static Int
getDefaultSize (p: Int , p1: Int )
Display !
IntArray < Int >!
Bitmap !

এই ফাংশনটি অবচিত।

Int

এই ফাংশনটি অবচিত।

Int

এই ফাংশনটি অবচিত।

Unit
Long
Float
Int
Boolean
Boolean
Int
ArrayList < View !>!
Unit
Drawable !
Int
BlendMode !
ColorStateList !
PorterDuff.Mode !
Float
Boolean
Handler !
Float
Float
Float
Float
Int
Runnable !
Boolean
Int
Unit
Int
Int
Drawable !
Drawable !
Int
getId ()
Int
Int
Int
Boolean
KeyEvent.DispatcherState !
Int
Int
Int
ViewGroup.LayoutParams !
Int
Float
Int
Boolean
Unit
Unit
Unit
Matrix !
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
View.OnFocusChangeListener !
Int
ViewOutlineProvider !
Int
Int
ViewOverlay !
Int
Int
Int
Int
Int
Int
ViewParent !
ViewParent !
OutcomeReceiver < GetCredentialResponse !, GetCredentialException !>!
GetCredentialRequest !
Float
Float
PointerIcon !
( Mutable ) List < Rect !>!
Array < String !>!
Float
Resources !
Boolean
Int
Float
Int
AttachedSurfaceControl !
View !
WindowInsets !
Float
Float
Float
Float
Float
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
CharSequence !
StateListAnimator !
Int
Int
CharSequence !
( Mutable ) List < Rect !>!
Int

এই ফাংশনটি অবচিত।

Any !
getTag ()
Int
Int
CharSequence !
Int
getTop ()
Float
Int
TouchDelegate !
ArrayList < View !>!
Float
String !
Float
Float
Float
Long
Int
Int
Drawable !
Drawable !
Int
ViewTranslationResponse !
ViewTreeObserver !
Int
Int
Int
WindowId !
WindowInsetsController !
Int

এই ফাংশনটি অবচিত।

IBinder !
Int
Unit
Float
getX ()
Float
getY ()
Float
getZ ()
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
java-static View !
inflate (p: Context !, p1: Int , p2: ViewGroup !)
Unit
Unit
Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean

এই ফাংশনটি অবচিত।

Boolean
Boolean

এই ফাংশনটি অবচিত।

Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
View !
Unit
measure (p: Int , p1: Int )
java-static IntArray < Int >!
Unit
Unit
Unit
Unit
WindowInsets !
Unit
Boolean
Boolean
Unit
Unit
InputConnection !
Unit
Unit
Unit
Boolean
Unit
onDraw (p: Canvas !)
Unit
Unit
Boolean
Unit
Unit
Unit
onFocusChanged (p: Boolean , p1: Int , p2: Rect !)
Boolean
Unit
Boolean
Unit
Unit
Boolean
onKeyDown (p: Int , p1: KeyEvent !)
Boolean
Boolean
onKeyMultiple (p: Int , p1: Int , p2: KeyEvent !)
Boolean
onKeyPreIme (p: Int , p1: KeyEvent !)
Boolean
onKeyShortcut (p: Int , p1: KeyEvent !)
Boolean
onKeyUp (p: Int , p1: KeyEvent !)
Unit
onOverScrolled (p: Int , p1: Int , p2: Boolean , p3: Boolean )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
ContentInfo !
Unit
Unit
Parcelable !
Unit
Unit
Unit
onScrollChanged (p: Int , p1: Int , p2: Int , p3: Int )
Boolean
Unit
onSizeChanged (p: Int , p1: Int , p2: Int , p3: Int )
Unit
Boolean
Boolean
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Boolean
overScrollBy (
p: Int ,
p1: Int ,
p2: Int ,
p3: Int ,
p4: Int ,
p5: Int ,
p6: Int ,
p7: Int ,
p8: Boolean
)
Boolean
Boolean
Boolean
Boolean
Boolean
ContentInfo !
Unit
Boolean
post (p: Runnable !)
Boolean
postDelayed (p: Runnable !, p1: Long )
Unit
Unit
Unit
Unit
Unit
Unit
java-static Unit
Unit
Boolean
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Boolean
Unit
Unit
Boolean
Unit
T!
<T : View ?> requireViewById (p: Int )
Unit
java-static Int
resolveSize (p: Int , p1: Int )
java-static Int
resolveSizeAndState (p: Int , p1: Int , p2: Int )
Unit
Unit
saveAttributeDataForStyleable (
p: Context !,
p1: IntArray !,
p2: AttributeSet !,
p3: TypedArray !,
p4: Int ,
p5: Int
)
Unit
Unit
scheduleDrawable (p: Drawable !, p1: Runnable !, p2: Long )
Unit
scrollBy (p: Int , p1: Int )
Unit
scrollTo (p: Int , p1: Int )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Unit
Unit
Unit
Unit
setBottom (p: Int )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit

এই ফাংশনটি অবচিত।

Unit

এই ফাংশনটি অবচিত।

Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
setId (p: Int )
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Unit
Unit
Unit
Unit
Unit
setLayerType (p: Int , p1: Paint !)
Unit
Unit
Unit
setLeft (p: Int )
Unit
setLeftTopRightBottom (p: Int , p1: Int , p2: Int , p3: Int )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Unit
Unit
Unit
Unit
Unit
setPadding (p: Int , p1: Int , p2: Int , p3: Int )
Unit
setPaddingRelative (p: Int , p1: Int , p2: Int , p3: Int )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
setRight (p: Int )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
setTag (p: Int , p1: Any !)
Unit
Unit
Unit
Unit
setTop (p: Int )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Unit
setX (p: Float )
Unit
setY (p: Float )
Unit
setZ (p: Float )
Boolean
ActionMode !
Unit
Boolean
startDrag (p: ClipData !, p1: View.DragShadowBuilder !, p2: Any !, p3: Int )

এই ফাংশনটি অবচিত।

Boolean
Boolean
Unit
String !
Unit
Unit
java-static Unit
Unit
Unit
Boolean
Boolean

এই ফাংশনটি অবচিত।

Boolean
android.view.ViewGroup থেকে
Unit
Unit
Unit
addFocusables (p: ArrayList < View !>!, p1: Int , p2: Int )
Unit
Boolean
Unit
Unit
addView (p: View !)
Boolean
Unit
Unit
Unit
Boolean
Boolean
Unit
Unit
Unit
Unit
Unit
Unit
Unit
debug (p: Int )
Unit
Unit
Unit
WindowInsets !
Boolean
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Unit
Unit
Unit
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Boolean
Boolean
Boolean
Unit
Unit
Unit
Unit
WindowInsets !
WindowInsetsAnimation.Bounds !
Unit

এই ফাংশনটি অবচিত।

Unit
Boolean
drawChild (p: Canvas !, p1: View !, p2: Long )
Unit
Unit
View !
OnBackInvokedDispatcher !
Unit
View !
focusSearch (p: View !, p1: Int )
Unit
Boolean
ViewGroup.LayoutParams !
ViewGroup.LayoutParams !
CharSequence !
View !
Int
Int
java-static Int
getChildMeasureSpec (p: Int , p1: Int , p2: Int )
Boolean
Boolean
getChildVisibleRect (p: View !, p1: Rect !, p2: Point !)
Boolean
Boolean
Int
View !
LayoutAnimationController !
Animation.AnimationListener !
Int
LayoutTransition !
Int
ViewGroupOverlay !
Int

এই ফাংশনটি অবচিত।

Boolean
Boolean
Boolean
Int
Unit
invalidateChild (p: View !, p1: Rect !)

এই ফাংশনটি অবচিত।

ViewParent !

এই ফাংশনটি অবচিত।

Boolean

এই ফাংশনটি অবচিত।

Boolean

এই ফাংশনটি অবচিত।

Boolean
Boolean

এই ফাংশনটি অবচিত।

Boolean
Boolean
Boolean
Unit
Unit
layout (p: Int , p1: Int , p2: Int , p3: Int )
Unit
measureChild (p: View !, p1: Int , p2: Int )
Unit
measureChildWithMargins (p: View !, p1: Int , p2: Int , p3: Int , p4: Int )
Unit
measureChildren (p: Int , p1: Int )
Unit
Unit
Unit
Unit
IntArray < Int >!
Unit
Unit
Boolean
Boolean
Boolean
onNestedFling (p: View !, p1: Float , p2: Float , p3: Boolean )
Boolean
onNestedPreFling (p: View !, p1: Float , p2: Float )
Boolean
Unit
onNestedPreScroll (p: View !, p1: Int , p2: Int , p3: IntArray !)
Unit
onNestedScroll (p: View !, p1: Int , p2: Int , p3: Int , p4: Int )
Unit
onNestedScrollAccepted (p: View !, p1: View !, p2: Int )
Boolean
Boolean
PointerIcon !
Boolean
onStartNestedScroll (p: View !, p1: View !, p2: Int )
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
removeViews (p: Int , p1: Int )
Unit
Unit
requestChildFocus (p: View !, p1: View !)
Boolean
Unit
Boolean
requestFocus (p: Int , p1: Rect !)
Boolean
Unit
Boolean
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit

এই ফাংশনটি অবচিত।

Unit

এই ফাংশনটি অবচিত।

Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

এই ফাংশনটি অবচিত।

Unit
Unit
Unit
Unit
Unit
Boolean
Boolean
ActionMode !
Unit
Unit
Unit
Unit

সুরক্ষিত কনস্ট্রাক্টর

বেসএডভিউ

protected BaseAdView(context: Context!, adViewType: Int)

কোড থেকে একটি BaseAdView তৈরি করে।

পরামিতি
context: Context !

BaseAdView যে Context চলছে।

বেসএডভিউ

protected BaseAdView(context: Context!, attrs: AttributeSet!, adViewType: Int)

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

বেসএডভিউ

protected BaseAdView(
    context: Context!,
    attrs: AttributeSet!,
    allowMultipleAdSizes: Boolean
)

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

বেসএডভিউ

protected BaseAdView(
    context: Context!,
    attrs: AttributeSet!,
    defStyle: Int,
    adViewType: Int
)

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

বেসএডভিউ

protected BaseAdView(
    context: Context!,
    attrs: AttributeSet!,
    defStyle: Int,
    adViewType: Int,
    allowMultipleAdSizes: Boolean
)

একটি XML লেআউট থেকে একটি BaseAdView তৈরি করে।

জনসাধারণের অনুষ্ঠান

ধ্বংস করা

fun destroy(): Unit

বিজ্ঞাপনের ভিউ নষ্ট করে। এই পদ্ধতিটি প্যারেন্ট অ্যাক্টিভিটির onDestroy পদ্ধতিতে ডাকা উচিত। destroy কল করার পরে বিজ্ঞাপন ভিউতে অন্য কোনও পদ্ধতি ডাকা উচিত নয়।

getAdListener সম্পর্কে

fun getAdListener(): AdListener!

এই বিজ্ঞাপন দর্শনের জন্য AdListener ফেরত দেয়।

getAdSize সম্পর্কে

fun getAdSize(): AdSize?

বিজ্ঞাপনের আকার দেখায়। যদি setAdSize এখনও কল না করা থাকে, তাহলে null দেখায়।

রেফারেন্স com.google.android.gms.ads.R.styleable#AdsAttrs_adSize

অ্যাডইউনিটআইডি পান

fun getAdUnitId(): String!

বিজ্ঞাপন ইউনিট আইডি ফেরত দেয়।

রেফারেন্স com.google.android.gms.ads.R.styleable#AdsAttrs_adUnitId

getOnPaidEventListener সম্পর্কে

fun getOnPaidEventListener(): OnPaidEventListener?

এই বিজ্ঞাপন দেখার জন্য OnPaidEventListener পায়।

প্লেসমেন্ট আইডি পান

fun getPlacementId(): Long

এই BaseAdView এর জন্য প্লেসমেন্ট আইডি পায়।

getResponseInfo সম্পর্কে

fun getResponseInfo(): ResponseInfo?

লোড করা বিজ্ঞাপনের জন্য ResponseInfo অবজেক্টটি ফেরত পাঠায়। বিজ্ঞাপনটি সফলভাবে লোড না হওয়া পর্যন্ত null ফেরত পাঠায়।

সংকোচনযোগ্য

fun isCollapsible(): Boolean

বিজ্ঞাপনটি যদি একটি কলাপসিবল ব্যানার হয় তবে true ফেরত দেয়; বিজ্ঞাপন লোড না হওয়া পর্যন্ত false ফেরত দেয়।

লোড হচ্ছে

fun isLoading(): Boolean

বিজ্ঞাপন লোড হলে true ফেরত পাঠায়।

লোডএড

@RequiresPermission(value = Manifest.permission.INTERNET)
fun loadAd(adRequest: AdRequest!): Unit

একটি বিজ্ঞাপন লোড করে।

থ্রো
java.lang.IllegalStateException

যদি বিজ্ঞাপনের আকার বা বিজ্ঞাপন ইউনিট আইডি সেট না করা থাকে।

বিরতি

fun pause(): Unit

এই বিজ্ঞাপন দর্শনের সাথে সম্পর্কিত যেকোনো অতিরিক্ত প্রক্রিয়াকরণকে থামায়। এই পদ্ধতিটি মূল কার্যকলাপের onPause পদ্ধতিতে বলা উচিত।

জীবনবৃত্তান্ত

fun resume(): Unit

পূর্ববর্তী কল টু pause এর পরে একটি বিজ্ঞাপন ভিউ পুনরায় শুরু করে। এই পদ্ধতিটি প্যারেন্ট অ্যাক্টিভিটির onResume পদ্ধতিতে কল করা উচিত।

সেটঅ্যাডলিস্টনার

fun setAdListener(adListener: AdListener!): Unit

এই বিজ্ঞাপন দর্শনের জন্য একটি AdListener সেট করে।

সেট অ্যাডসাইজ

fun setAdSize(adSize: AdSize!): Unit

বিজ্ঞাপনের আকার নির্ধারণ করে।

রেফারেন্স com.google.android.gms.ads.R.styleable#AdsAttrs_adSize

থ্রো
java.lang.IllegalStateException

যদি বিজ্ঞাপনের আকার ইতিমধ্যেই সেট করা থাকে।

সেটঅ্যাডইউনিটআইডি

fun setAdUnitId(adUnitId: String!): Unit

বিজ্ঞাপন ইউনিট আইডি সেট করে।

রেফারেন্স com.google.android.gms.ads.R.styleable#AdsAttrs_adUnitId

থ্রো
java.lang.IllegalStateException

যদি বিজ্ঞাপন ইউনিট আইডি ইতিমধ্যেই সেট করা থাকে।

সেটঅনপেইডইভেন্টলিস্টনার

fun setOnPaidEventListener(listener: OnPaidEventListener?): Unit

এই বিজ্ঞাপনটি অর্থ উপার্জন করেছে বলে অনুমান করা হলে একটি কলব্যাক নিবন্ধন করে।

সেটপ্লেসমেন্ট আইডি

fun setPlacementId(placementId: Long): Unit

এই বিজ্ঞাপন দর্শনের জন্য একটি প্লেসমেন্ট আইডি সেট করে।

এই প্লেসমেন্ট আইডি রিপোর্টিংয়ে অন্তর্ভুক্ত আছে কিনা তা নিশ্চিত করতে, বিজ্ঞাপনটি প্রদর্শনের আগে এই পদ্ধতিতে কল করুন।

পরামিতি
placementId: Long

কনফিগার করা প্লেসমেন্টের জন্য AdMob UI দ্বারা প্রদত্ত একটি দীর্ঘ পূর্ণসংখ্যা।

সুরক্ষিত ফাংশন

অনলেআউট

protected fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int): Unit

onMeasure সম্পর্কে

protected fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int): Unit