[]Struct jni_android_sys::android::media::tv::TvContract

#[repr(transparent)]
pub struct TvContract(_);

public final class TvContract

Required feature: "android-media-tv-TvContract"

Methods

impl TvContract

pub fn buildInputId<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

buildInputId

Required features: "android-content-ComponentName", "java-lang-String"

pub fn buildChannelUri<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildChannelUri

Required features: "android-net-Uri"

pub fn buildChannelUriForPassthroughInput<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildChannelUriForPassthroughInput

Required features: "android-net-Uri", "java-lang-String"

pub fn buildChannelLogoUri_long<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildChannelLogoUri

Required features: "android-net-Uri"

pub fn buildChannelLogoUri_Uri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildChannelLogoUri

Required features: "android-net-Uri"

pub fn buildChannelsUriForInput<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildChannelsUriForInput

Required features: "android-net-Uri", "java-lang-String"

pub fn buildProgramUri<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildProgramUri

Required features: "android-net-Uri"

pub fn buildProgramsUriForChannel_long<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildProgramsUriForChannel

Required features: "android-net-Uri"

pub fn buildProgramsUriForChannel_Uri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildProgramsUriForChannel

Required features: "android-net-Uri"

pub fn buildProgramsUriForChannel_long_long_long<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i64,
    arg2: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildProgramsUriForChannel

Required features: "android-net-Uri"

pub fn buildProgramsUriForChannel_Uri_long_long<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>,
    arg1: i64,
    arg2: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildProgramsUriForChannel

Required features: "android-net-Uri"

pub fn buildRecordedProgramUri<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildRecordedProgramUri

Required features: "android-net-Uri"

pub fn buildPreviewProgramUri<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildPreviewProgramUri

Required features: "android-net-Uri"

pub fn buildPreviewProgramsUriForChannel_long<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildPreviewProgramsUriForChannel

Required features: "android-net-Uri"

pub fn buildPreviewProgramsUriForChannel_Uri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildPreviewProgramsUriForChannel

Required features: "android-net-Uri"

pub fn buildWatchNextProgramUri<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildWatchNextProgramUri

Required features: "android-net-Uri"

pub fn isChannelUri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isChannelUri

Required features: "android-net-Uri"

pub fn isChannelUriForTunerInput<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isChannelUriForTunerInput

Required features: "android-net-Uri"

pub fn isChannelUriForPassthroughInput<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isChannelUriForPassthroughInput

Required features: "android-net-Uri"

pub fn isProgramUri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isProgramUri

Required features: "android-net-Uri"

pub fn isRecordedProgramUri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isRecordedProgramUri

Required features: "android-net-Uri"

pub fn requestChannelBrowsable<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]

requestChannelBrowsable

Required features: "android-content-Context"

pub const ACTION_INITIALIZE_PROGRAMS: &'static str[src]

public static final ACTION_INITIALIZE_PROGRAMS

pub const ACTION_PREVIEW_PROGRAM_ADDED_TO_WATCH_NEXT: &'static str[src]

pub const ACTION_PREVIEW_PROGRAM_BROWSABLE_DISABLED: &'static str[src]

pub const ACTION_REQUEST_CHANNEL_BROWSABLE: &'static str[src]

pub const ACTION_WATCH_NEXT_PROGRAM_BROWSABLE_DISABLED: &'static str[src]

pub const AUTHORITY: &'static str[src]

public static final AUTHORITY

pub const EXTRA_CHANNEL_ID: &'static str[src]

public static final EXTRA_CHANNEL_ID

pub const EXTRA_PREVIEW_PROGRAM_ID: &'static str[src]

public static final EXTRA_PREVIEW_PROGRAM_ID

pub const EXTRA_WATCH_NEXT_PROGRAM_ID: &'static str[src]

public static final EXTRA_WATCH_NEXT_PROGRAM_ID

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for TvContract

impl AsValidJObjectAndEnv for TvContract

impl Deref for TvContract

type Target = Object

The resulting type after dereferencing.

impl JniType for TvContract

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.