AnimatorInflater.LoadAnimator(Context, Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リソースからオブジェクトを Animator
読み込みます
[Android.Runtime.Register("loadAnimator", "(Landroid/content/Context;I)Landroid/animation/Animator;", "")]
public static Android.Animation.Animator? LoadAnimator (Android.Content.Context? context, int id);
[<Android.Runtime.Register("loadAnimator", "(Landroid/content/Context;I)Landroid/animation/Animator;", "")>]
static member LoadAnimator : Android.Content.Context * int -> Android.Animation.Animator
パラメーター
- context
- Context
リソースへのアクセスに使用されるアプリケーション コンテキスト
- id
- Int32
読み込むアニメーションのリソース ID
戻り値
指定した ID によるアニメーター オブジェクト参照
- 属性
例外
アニメーションを読み込めない場合
注釈
リソースからオブジェクトを Animator
読み込みます
の Java ドキュメント android.animation.AnimatorInflater.loadAnimator(android.content.Context, int)
。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。