共用方式為


FontsContract.Columns.FileId Field

Definition

Constant used to request data from a font provider.

[Android.Runtime.Register("FILE_ID", ApiSince=26)]
public const string FileId;
[<Android.Runtime.Register("FILE_ID", ApiSince=26)>]
val mutable FileId : string

Field Value

Attributes

Remarks

Constant used to request data from a font provider. The cursor returned from the query may populate this column with a long for the font file ID. The client will request a file descriptor to "file/FILE_ID" with this ID immediately under the top-level content URI. If not present, the client will request a file descriptor to the top-level URI with the given base font ID. Note that several results may return the same file ID, e.g. for TTC files with different indices.

Java documentation for android.provider.FontsContract.Columns.FILE_ID.

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.

Applies to