TvAdManager Class

Definition

Central system API to the overall client-side TV AD architecture, which arbitrates interaction between applications and AD services.

[Android.Runtime.Register("android/media/tv/ad/TvAdManager", ApiSince=36, DoNotGenerateAcw=true)]
public sealed class TvAdManager : Java.Lang.Object
[<Android.Runtime.Register("android/media/tv/ad/TvAdManager", ApiSince=36, DoNotGenerateAcw=true)>]
type TvAdManager = class
    inherit Object
Inheritance
TvAdManager
Attributes

Remarks

Central system API to the overall client-side TV AD architecture, which arbitrates interaction between applications and AD services.

Java documentation for android.media.tv.ad.TvAdManager.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

ActionAppLinkCommand

Broadcast intent action to send app command to TV app.

AppLinkKeyBackUri

Key for back URI in app link command.

AppLinkKeyClassName

Key for class name in app link.

AppLinkKeyCommandType

Key for command type in app link command.

AppLinkKeyPackageName

Key for package name in app link.

AppLinkKeyServiceId

Key for service ID in app link command.

ErrorBlocked
Obsolete.

Error code for blocked contents.

ErrorEncrypted
Obsolete.

Error code when the key or module is missing for the encrypted channel.

ErrorNone
Obsolete.

No error.

ErrorNotSupported
Obsolete.

Error code for an unsupported channel.

ErrorResourceUnavailable
Obsolete.

Error code when resource (e.

ErrorUnknown
Obsolete.

Unknown error code.

ErrorUnknownChannel
Obsolete.

Error code when the current channel is an unknown channel.

ErrorWeakSignal
Obsolete.

Error code for weak signal.

IntentKeyAdServiceId

Intent key for TV AD service ID.

IntentKeyChannelUri

Intent key for TV channel URI.

IntentKeyCommandType

Intent key for command type.

IntentKeyTvInputId

Intent key for TV input ID.

SessionDataKeyAdBuffer

An object of AdBuffer.

SessionDataKeyAdRequest

An object of android.media.tv.AdRequest.

SessionDataKeyBroadcastInfoRequest

An object of android.media.tv.BroadcastInfoRequest.

SessionDataKeyRequestId

The ID of android.media.tv.BroadcastInfoRequest.

SessionDataTypeAdBufferReady

Notifies the advertisement buffer is ready.

SessionDataTypeAdRequest

Sends an advertisement request to be processed by the related TV input.

SessionDataTypeBroadcastInfoRequest

Sends request for broadcast info.

SessionDataTypeRemoveBroadcastInfoRequest

Removes request for broadcast info.

SessionStateError
Obsolete.

Error state of AD service session.

SessionStateRunning
Obsolete.

Running state of AD service session.

SessionStateStopped
Obsolete.

Stopped (or not started) state of AD service session.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
TvAdServiceList

Returns the complete list of TV AD services on the system.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
RegisterCallback(IExecutor, TvAdManager+TvAdServiceCallback)
SendAppLinkCommand(String, Bundle)

Sends app link command.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterCallback(TvAdManager+TvAdServiceCallback)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to