android.app.WallpaperInfo壁纸信息类

 

java.lang.Object

 

android.app.WallpaperInfo

 

 

 

Class Overview

 

 

This class is used to specify meta information of a wallpaper service.

该类用于获取壁纸服务的元数据信息

Summary(摘要)

[Expand]

Inherited Constants(继承常量)

From interface android.os.Parcelable

Fields(域)

public static final Creator<WallpaperInfo>     CREATOR     Used to make this class parcelable.

Public Constructors(构造器)

    WallpaperInfo(Context context, ResolveInfo service)

Constructor.

Public Methods(公开函数)

int     describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

void     dump(Printer pw, String prefix)

ComponentName     getComponent()

Return the component of the service that implements this wallpaper.

返回实现壁纸的服务的组件名

String     getPackageName()

Return the .apk package that implements this wallpaper.

返回实现壁纸的包名

ServiceInfo     getServiceInfo()

Return the raw information about the Service implementing this wallpaper.

返回实现壁纸的服务的信息

String     getServiceName()

Return the class name of the service component that implements this wallpaper.

返回实现壁纸的服务组件的类名

String     getSettingsActivity()

Return the class name of an activity that provides a settings UI for the wallpaper.

CharSequence     loadAuthor(PackageManager pm)

Return a string indicating the author(s) of this wallpaper.

返回壁纸作者描述的字符串

CharSequence     loadDescription(PackageManager pm)

Return a brief summary of this wallpaper's behavior.

Drawable     loadIcon(PackageManager pm)

Load the user-displayed icon for this wallpaper.

CharSequence     loadLabel(PackageManager pm)

Load the user-displayed label for this wallpaper.

Drawable     loadThumbnail(PackageManager pm)

Load the thumbnail image for this wallpaper.

String     toString()

Returns a string containing a concise, human-readable description of this object.

void     writeToParcel(Parcel dest, int flags)

Used to package this object into a Parcel.

[Expand]

Inherited Methods(继承函数)

From class java.lang.Object

From interface android.os.Parcelable

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值